So i tested the VC870 with the old version from the normal download menu from you webite.
While using the definition:
#idString Voltcraft, VC870,
#name Voltcraft VC870
#handle VC870
#driver DMM2
#port comfixedbaud 23
#baudrate 9600
#subDriver Definition
...
With a local COM Port (comfixedbaud) i get the correct values from the meter:
;; COM2: Rx: 30 30 30 30 31 39 36 32 30 30 30 30 30 30 32 30 30 30 35 30 30 0D 0A
;; VC870: Tx <VALUE?>
;; VC870: Rx <0.1962>
;; VC870: Rx as numbers <0.1962>
When using socket i just get:
;; jSerialComm version: 2.10.3
When i use the test version from your link i get:
Using COM Port:
;; jSerialComm version: 2.10.3
Exception in thread "Scan ports" java.lang.ClassCastException: dk.hkj.comm.SerialPacketInterface cannot be cast to dk.hkj.comm.SocketInterface
at dk.hkj.devices.DeviceDMM2$DriverInterface.<init>(DeviceDMM2.java:33)
at dk.hkj.devices.DeviceDMM2.getCommInterface(DeviceDMM2.java:317)
at dk.hkj.main.InterfaceThreads$DeviceThread.<init>(InterfaceThreads.java:1432)
at dk.hkj.main.InterfaceThreads$ScanPorts.addDevicesSerial(InterfaceThreads.java:659)
at dk.hkj.main.InterfaceThreads$ScanPorts.run(InterfaceThreads.java:792)
Using socket:
Starting
;; jSerialComm version: 2.10.3
;; Start thread for: 192.168.2.43 - Voltcraft VC870
java.lang.ClassCastException: dk.hkj.comm.SocketPacketInterface cannot be cast to dk.hkj.comm.SerialPacketInterface
at dk.hkj.devices.DeviceDMM2$DriverInterface.readFromSerialPort(DeviceDMM2.java:71)
at dk.hkj.devices.DeviceDMM2$DriverInterface$1.run(DeviceDMM2.java:46)
at java.lang.Thread.run(Unknown Source)
;; Found Voltcraft VC870 on 192.168.2.43
java.lang.ClassCastException: dk.hkj.comm.SocketPacketInterface cannot be cast to dk.hkj.comm.SerialPacketInterface
at dk.hkj.devices.DeviceDMM2$DriverInterface.readFromSerialPort(DeviceDMM2.java:71)
at dk.hkj.devices.DeviceDMM2$DriverInterface$1.run(DeviceDMM2.java:46)
at java.lang.Thread.run(Unknown Source)
;; VC870: Tx <VALUE?>
;; VC870: Rx <0.0>
;; VC870: Rx as numbers <0.0>
java.lang.ClassCastException: dk.hkj.comm.SocketPacketInterface cannot be cast to dk.hkj.comm.SerialPacketInterface
at dk.hkj.devices.DeviceDMM2$DriverInterface.readFromSerialPort(DeviceDMM2.java:71)
at dk.hkj.devices.DeviceDMM2$DriverInterface$1.run(DeviceDMM2.java:46)
at java.lang.Thread.run(Unknown Source)
...
...
and no data
So its not working at all with the version from this link "
http://lygte-info.dk/pic/Projects/TestController/TestController.jar"