Connect to Java application
I have a java application that interfaces with a USB deviceIs it possible for my JAVA application to connect to AVHz CT-2 module in order to acquire current and volt reading ?
No, we didn't provide the interface so far.
thanks for response
Do you provide API for this device so that we can connect to the USP meter through our application ? If you don't care accessing the device by serial port directly, you can do this thing as following:
Send a command in ASCII: "Get Meter Data", then wait for about 20ms, and it will reply you with a struct, and it's defined as following:
typedef struct {
float Voltage;
float Current;
float Power;
float VoltageDP;
float VoltageDM;
}USBMeterStruct;
I think you know what to do next :) Thank you very much :)
页:
[1]