Author Topic: Program that can log/control many multimeters and other devices.  (Read 1702504 times)

0 Members and 116 Guests are viewing this topic.

Offline flash2b

  • Super Contributor
  • ***
  • Posts: 1027
  • Country: nl
  • Everything I like about myself is better with you.
Re: Program that can log/control many multimeters and other devices.
« Reply #6075 on: March 20, 2026, 05:47:28 pm »
I will investigate and report back.

Good to hear that you now also have a Eletechsup module and playing with it. The ones with a implementation on the MindMotion micro controller, NT48xxx, N4DAC02, N4IOA01 and 10IOAxx are very fast.
« Last Edit: March 20, 2026, 05:50:02 pm by flash2b »
They say attention is a shovel. It's time to dig 'em out.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 4917
  • Country: dk
    • Tests
Re: Program that can log/control many multimeters and other devices.
« Reply #6076 on: March 20, 2026, 05:49:41 pm »
I will investigate and report back.

Good to hear that you now also have a Eletechsup module and playing with it. The ones with a implementation on the MindMotion micro controller, NT48xxx, N4DAC02, N4IOA01 and 10IOAxx are very fast.

I needed a couple of modbus modules to test with and they where fairly cheap.
 

Offline flash2b

  • Super Contributor
  • ***
  • Posts: 1027
  • Country: nl
  • Everything I like about myself is better with you.
Re: Program that can log/control many multimeters and other devices.
« Reply #6077 on: March 20, 2026, 05:50:13 pm »
How do I process the content of the packed value into the :readmath: binConv(int(value),0,2,1) ?
They say attention is a shovel. It's time to dig 'em out.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 4917
  • Country: dk
    • Tests
Re: Program that can log/control many multimeters and other devices.
« Reply #6078 on: March 20, 2026, 05:51:40 pm »
How do I process the content of the packed value into the :readmath: binConv(int(value),0,2,1) ?

What do you mean, I tried it and it returned a list of temperatures that TC can directly parse
 

Offline flash2b

  • Super Contributor
  • ***
  • Posts: 1027
  • Country: nl
  • Everything I like about myself is better with you.
Re: Program that can log/control many multimeters and other devices.
« Reply #6079 on: March 20, 2026, 05:56:22 pm »
I will check and improve it if I can and repost the definition. Give me the weekend, ok ?
They say attention is a shovel. It's time to dig 'em out.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 4917
  • Country: dk
    • Tests
Re: Program that can log/control many multimeters and other devices.
« Reply #6080 on: March 20, 2026, 05:57:35 pm »
I will check and improve it if I can and repost the definition. Give me the weekend, ok ?

You have a lot of time, it will be some time before I make next release.
 

Offline Benleentje

  • Contributor
  • Posts: 45
  • Country: nl
Re: Program that can log/control many multimeters and other devices.
« Reply #6081 on: March 20, 2026, 08:35:48 pm »
I am working on the definition for Circutor Cvm144
There is total 165 32 bit registers to read, but i can only read 20 at any time from the device
To read 20 works great. I get correct value

The 21e not so good, it shows the wrong value. In the current values i see 13.
If i do it at the commandline i get the right value of 50.0

The strange thing is that in de debug mode i also see at first RX = 50.0
And then the old string of 20 values again.


Code: [Select]
#idString Circutor,CVM-144,
#name Circutor-CVM144
#handle CVM144

#driver Modbus
#subdriver RTU
#port 502

;#baudrate 9600
#author Benleentje

;ask for 20 values what is de maximum for the device
#scpiCmd Actual1? holdingL? 0x0000 0x0014
;ask for one value
#scpiCmd Actual2? holdingL? 0x0028 0x0001 /10

;value 1 / 20
#value V1 V D3
#value A1 mA D3
#value W1 W D3
#value var1 var D3
#value PF1 - D3
#value V2 V D3
#value A2 mA D3
#value W2 W D3
#value var2 var D3
#value PF2 - D3
#value V3 V D3
#value A3 mA D3
#value W3 W D3
#value var3 var D3
#value PF3 - D3
#value W3P W D3
#value varL3P var D3
#value varC3P var W D3
#value cos phi - D3
#value PF3P - D3
;21e value
#value L1 Hz D3

#askValues Actual1? 1000; Actual2?



;; jSerialComm version: 2.11.2
;; Start thread for: 192.168.2.30 - Circutor-CVM144
;; Found Circutor-CVM144 on 192.168.2.30
;; CVM144: Tx <Actual1? 1000>
;; CVM144: Tx <holdingL? 0x0000 0x0014>
;; 192.168.2.30: Tx: 01 03 00 00 00 28 45 D4
;; 192.168.2.30: Rx: 01 03 50 00 00 08 8D 00 00 04 06 00 00 00 20 00 00 00 DD 00 00 00 0D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 DD 00 00 00 00 00 00 00 0E 00 00 00 0D 94 85
;; CVM144: Rx <2189 1030 32 221 13 0 0 0 0 0 0 0 0 0 0 32 221 0 14 13>
;; CVM144: Tx <Actual2?>
;; CVM144: Tx <holdingL? 0x0028 0x0001 /10>
;; 192.168.2.30: Tx: 01 03 00 28 00 02 44 03
;; 192.168.2.30: Rx: 01 03 04 00 00 01 F4 FA 24
;; CVM144: Rx <50.0>
;; CVM144: Rx as numbers <2189.0 1030.0 32.0 221.0 13.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 32.0 221.0 0.0 14.0 13.0 50.0>
« Last Edit: March 20, 2026, 08:58:09 pm by Benleentje »
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 4917
  • Country: dk
    • Tests
Re: Program that can log/control many multimeters and other devices.
« Reply #6082 on: March 20, 2026, 08:56:46 pm »
I am working on the definition for Circutor Cvm144
There is total 165 32 bit registers to read, but i can only read 20 at any time from the device
To read 20 works great. I get correct value

The 21e not so good, it shows the wrong value.
If i do it at the commandline i get the right value

I cannot see what is wrong, but TC sometimes has issues decoding numbers (I have not looked for the issue), it can be fixed by #askValuesReadFormat
https://lygte-info.dk/project/TestControllerConfigDevice%20UK.html#readFormat

Modbus have a limit to how many values can be passed in each message, I do not remember if I check for it or just generate invalid messages when you go above that limit. But if you get the correct value from the command line, that is not the issue.

I hope you do not have two #askValues in the same definition, that do not work!


TC do decode this correct:
192.168.2.30: Rx: 01 03 04 00 00 01 F4 FA 24
;; CVM144: Rx <50.0>

0x01F4/10 is 50.0

« Last Edit: March 20, 2026, 08:59:01 pm by HKJ »
 

Offline Benleentje

  • Contributor
  • Posts: 45
  • Country: nl
Re: Program that can log/control many multimeters and other devices.
« Reply #6083 on: March 20, 2026, 10:00:49 pm »
Yes TC decode correctly but the value in currentvalue is different that is strange thing.

I use only one #askvalue
In the  picture below you see the value 0.1 at the end that shout be 50.0

Quote

TC do decode this correct:
192.168.2.30: Rx: 01 03 04 00 00 01 F4 FA 24
;; CVM144: Rx <50.0>

0x01F4/10 is 50.0

But why is there another line below the rx 50.0
« Last Edit: March 20, 2026, 10:05:25 pm by Benleentje »
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 4917
  • Country: dk
    • Tests
Re: Program that can log/control many multimeters and other devices.
« Reply #6084 on: March 21, 2026, 08:47:07 am »
But why is there another line below the rx 50.0

If you mean this line:
;; CVM144: Rx as numbers <2189.0 1030.0 32.0 221.0 13.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 32.0 221.0 0.0 14.0 13.0 50.0>
It is the full result that is being parsed into the TC, in the sequence they are listed. If there are more numbers than #value statements, they are ignored. If less some values will be empty.
 

Offline Benleentje

  • Contributor
  • Posts: 45
  • Country: nl
Re: Program that can log/control many multimeters and other devices.
« Reply #6085 on: March 21, 2026, 01:02:04 pm »
Thanks

Today i tryed to read 2 times 20 values and added 20 extra #value's
Know i see that there is 2 value's in between what has to filtered out. You told me to use #askValuesReadFormat. But i do not understand how to use it.

To be clear i get first 20 correct value's then i get 2 wrong values and then i get 20 good value's again

For know i captured the 2 extra value with a #value dummy1 - D0 line for each extra value. Then i know that value is not to be used.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 4917
  • Country: dk
    • Tests
Re: Program that can log/control many multimeters and other devices.
« Reply #6086 on: March 21, 2026, 01:08:03 pm »
Thanks

Today i tryed to read 2 times 20 values and added 20 extra #value's
Know i see that there is 2 value's in between what has to filtered out. You told me to use #askValuesReadFormat. But i do not understand how to use it.

To be clear i get first 20 correct value's then i get 2 wrong values and then i get 20 good value's again

For know i captured the 2 extra value with a #value dummy1 - D0 line for each extra value. Then i know that value is not to be used.


For #askValuesReadFormat you simple put a f for each value you want and a x for each value to discard, i.e. #askValuesReadFormat ffffffffffffffffffxxffffffffffffffffffxxffffffffffffffffffxx it is possible to use other letter to get different number decoders/parsers.
But are you saying that of the 20 value you read the last two are useless? Then I would only read 18 values and start next command for the next valid values.

 

Online KungFuJosh

  • Super Contributor
  • ***
  • Posts: 8381
  • Country: us
  • TEAS is real.
Re: Program that can log/control many multimeters and other devices.
« Reply #6087 on: March 21, 2026, 01:13:14 pm »
You told me to use #askValuesReadFormat. But i do not understand how to use it.

When in doubt, look through other definitions. For example:
Code: [Select]
; Format of answer: f=float, u=remove trailing letters, x=skip, *=Zero upper case values if this value is 0
#askValuesReadFormat ux

or from WT3000:
Code: [Select]
#askValuesReadFormat ffffffffffffffffffffffffffffffff
Or in my Magnova file:
Code: [Select]
#askValuesReadFormat [Mode:VMIN-V1,VMIN-A1,VMAX-V1,VMAX-A1,VPP-V1,VPP-A1,VBASe-V1,VBASe-A1,VTOP-V1,VTOP-A1,VAMP-V1,VAMP-A1,VLOWer-V1,VLOWer-A1,VUPPer-V1,VUPPer-A1,VMID-V1,VMID-A1,VAVG-V1,VAVG-A1,VRMS-V1,VRMS-A1,VSDeviation-V1,VSDeviation-A1,VPPReshoot-V1,VPPReshoot-A1,VNPReshoot-V1,VNPReshoot-A1,VPOVershoot-V1,VPOVershoot-A1,VNOVershoot-V1,VNOVershoot-A1,VPARea1,VNARea1,VAARea1,VNAArea1,VPPArea1,VNPArea1,VAPArea1,VNAPArea1,HRTime1,HFTime1,HPERiod1,HHWidth1,HLWidth1,HFReq1,HHDuty1,HLDuty1,RECount1,FECount1,PPCount1,NPCount1]F[Mode:VMIN-V2,VMIN-A2,VMAX-V2,VMAX-A2,VPP-V2,VPP-A2,VBASe-V2,VBASe-A2,VTOP-V2,VTOP-A2,VAMP-V2,VAMP-A2,VLOWer-V2,VLOWer-A2,VUPPer-V2,VUPPer-A2,VMID-V2,VMID-A2,VAVG-V2,VAVG-A2,VRMS-V2,VRMS-A2,VSDeviation-V2,VSDeviation-A2,VPPReshoot-V2,VPPReshoot-A2,VNPReshoot-V2,VNPReshoot-A2,VPOVershoot-V2,VPOVershoot-A2,VNOVershoot-V2,VNOVershoot-A2,VPARea2,VNARea2,VAARea2,VNAArea2,VPPArea2,VNPArea2,VAPArea2,VNAPArea2,HRTime2,HFTime2,HPERiod2,HHWidth2,HLWidth2,HFReq2,HHDuty2,HLDuty2,RECount2,FECount2,PPCount2,NPCount2]F[Mode:VMIN-V3,VMIN-A3,VMAX-V3,VMAX-A3,VPP-V3,VPP-A3,VBASe-V3,VBASe-A3,VTOP-V3,VTOP-A3,VAMP-V3,VAMP-A3,VLOWer-V3,VLOWer-A3,VUPPer-V3,VUPPer-A3,VMID-V3,VMID-A3,VAVG-V3,VAVG-A3,VRMS-V3,VRMS-A3,VSDeviation-V3,VSDeviation-A3,VPPReshoot-V3,VPPReshoot-A3,VNPReshoot-V3,VNPReshoot-A3,VPOVershoot-V3,VPOVershoot-A3,VNOVershoot-V3,VNOVershoot-A3,VPARea3,VNARea3,VAARea3,VNAArea3,VPPArea3,VNPArea3,VAPArea3,VNAPArea3,HRTime3,HFTime3,HPERiod3,HHWidth3,HLWidth3,HFReq3,HHDuty3,HLDuty3,RECount3,FECount3,PPCount3,NPCount3]F[Mode:VMIN-V4,VMIN-A4,VMAX-V4,VMAX-A4,VPP-V4,VPP-A4,VBASe-V4,VBASe-A4,VTOP-V4,VTOP-A4,VAMP-V4,VAMP-A4,VLOWer-V4,VLOWer-A4,VUPPer-V4,VUPPer-A4,VMID-V4,VMID-A4,VAVG-V4,VAVG-A4,VRMS-V4,VRMS-A4,VSDeviation-V4,VSDeviation-A4,VPPReshoot-V4,VPPReshoot-A4,VNPReshoot-V4,VNPReshoot-A4,VPOVershoot-V4,VPOVershoot-A4,VNOVershoot-V4,VNOVershoot-A4,VPARea4,VNARea4,VAARea4,VNAArea4,VPPArea4,VNPArea4,VAPArea4,VNAPArea4,HRTime4,HFTime4,HPERiod4,HHWidth4,HLWidth4,HFReq4,HHDuty4,HLDuty4,RECount4,FECount4,PPCount4,NPCount4]F[Mode:VMIN-V5,VMIN-A5,VMAX-V5,VMAX-A5,VPP-V5,VPP-A5,VBASe-V5,VBASe-A5,VTOP-V5,VTOP-A5,VAMP-V5,VAMP-A5,VLOWer-V5,VLOWer-A5,VUPPer-V5,VUPPer-A5,VMID-V5,VMID-A5,VAVG-V5,VAVG-A5,VRMS-V5,VRMS-V5,VSDeviation-V5,VSDeviation-A5,VPPReshoot-V5,VPPReshoot-A5,VNPReshoot-V5,VNPReshoot-A5,VPOVershoot-V5,VPOVershoot-A5,VNOVershoot-V5,VNOVershoot-A5,VPARea5,VNARea5,VAARea5,VNAArea5,VPPArea5,VNPArea5,VAPArea5,VNAPArea5,HRTime5,HFTime5,HPERiod5,HHWidth5,HLWidth5,HFReq5,HHDuty5,HLDuty5,RECount5,FECount5,PPCount5,NPCount5]F[Mode:VMIN-V6,VMIN-A6,VMAX-V6,VMAX-A6,VPP-V6,VPP-A6,VBASe-V6,VBASe-A6,VTOP-V6,VTOP-A6,VAMP-V6,VAMP-A6,VLOWer-V6,VLOWer-A6,VUPPer-V6,VUPPer-A6,VMID-V6,VMID-A6,VAVG-V6,VAVG-A6,VRMS-V6,VRMS-A6,VSDeviation-V6,VSDeviation-A6,VPPReshoot-V6,VPPReshoot-A6,VNPReshoot-V6,VNPReshoot-A6,VPOVershoot-V6,VPOVershoot-A6,VNOVershoot-V6,VNOVershoot-A6,VPARea6,VNARea6,VAARea6,VNAArea6,VPPArea6,VNPArea6,VAPArea6,VNAPArea6,HRTime6,HFTime6,HPERiod6,HHWidth6,HLWidth6,HFReq6,HHDuty6,HLDuty6,RECount6,FECount6,PPCount6,NPCount6]F[Mode:VMIN-V7,VMIN-A7,VMAX-V7,VMAX-A7,VPP-V7,VPP-A7,VBASe-V7,VBASe-A7,VTOP-V7,VTOP-A7,VAMP-V7,VAMP-A7,VLOWer-V7,VLOWer-A7,VUPPer-V7,VUPPer-A7,VMID-V7,VMID-A7,VAVG-V7,VAVG-A7,VRMS-V7,VRMS-A7,VSDeviation-V7,VSDeviation-A7,VPPReshoot-V7,VPPReshoot-A7,VNPReshoot-V7,VNPReshoot-A7,VPOVershoot-V7,VPOVershoot-A7,VNOVershoot-V7,VNOVershoot-A7,VPARea7,VNARea7,VAARea7,VNAArea7,VPPArea7,VNPArea7,VAPArea7,VNAPArea7,HRTime7,HFTime7,HPERiod7,HHWidth7,HLWidth7,HFReq7,HHDuty7,HLDuty7,RECount7,FECount7,PPCount7,NPCount7]F[Mode:VMIN-V8,VMIN-A8,VMAX-V8,VMAX-A8,VPP-V8,VPP-A8,VBASe-V8,VBASe-A8,VTOP-V8,VTOP-A8,VAMP-V8,VAMP-A8,VLOWer-V8,VLOWer-A8,VUPPer-V8,VUPPer-A8,VMID-V8,VMID-A8,VAVG-V8,VAVG-A8,VRMS-V8,VRMS-A8,VSDeviation-V8,VSDeviation-A8,VPPReshoot-V8,VPPReshoot-A8,VNPReshoot-V8,VNPReshoot-A8,VPOVershoot-V8,VPOVershoot-A8,VNOVershoot-V8,VNOVershoot-A8,VPARea8,VNARea8,VAARea8,VNAArea8,VPPArea8,VNPArea8,VAPArea8,VNAPArea8,HRTime8,HFTime8,HPERiod8,HHWidth8,HLWidth8,HFReq8,HHDuty8,HLDuty8,RECount8,FECount8,PPCount8,NPCount8]F[Mode:VMIN-V9,VMIN-A9,VMAX-V9,VMAX-A9,VPP-V9,VPP-A9,VBASe-V9,VBASe-A9,VTOP-V9,VTOP-A9,VAMP-V9,VAMP-A9,VLOWer-V9,VLOWer-A9,VUPPer-V9,VUPPer-A9,VMID-V9,VMID-A9,VAVG-V9,VAVG-A9,VRMS-V9,VRMS-A9,VSDeviation-V9,VSDeviation-A9,VPPReshoot-V9,VPPReshoot-A9,VNPReshoot-V9,VNPReshoot-A9,VPOVershoot-V9,VPOVershoot-A9,VNOVershoot-V9,VNOVershoot-A9,VPARea9,VNARea9,VAARea9,VNAArea9,VPPArea9,VNPArea9,VAPArea9,VNAPArea9,HRTime9,HFTime9,HPERiod9,HHWidth9,HLWidth9,HFReq9,HHDuty9,HLDuty9,RECount9,FECount9,PPCount9,NPCount9]F[Mode:Phase10,Delay10]F[Mode:Phase11,Delay11]F[Mode:AWGHz]F[Mode:CNTFREQ13,CNTPER13,CNTTOT13]F[Mode:CNTFREQ14,CNTPER14,CNTTOT14]F[Mode:CNTFREQ15,CNTPER15,CNTTOT15]F[Mode:CNTFREQ16,CNTPER16,CNTTOT16]F[Mode:DVMDC17,DVMAC17,DVMACDC17]F
If you have 5 numbers coming back from the device, and you want all of them, you could use:
#askValuesReadFormat FFFFF

If the first of the 5 numbers has trailing letters (like 20mV), you want to skip the 3rd, and the rest are regular:
#askValuesReadFormat UFXFF

Thanks,
Josh
"Experience is something you don't get until just after you need it." - Steven Wright
Best Continuity Tester Ever
Best Continuity Tester Ever...Got Betterer!
 

Offline flash2b

  • Super Contributor
  • ***
  • Posts: 1027
  • Country: nl
  • Everything I like about myself is better with you.
Re: Program that can log/control many multimeters and other devices.
« Reply #6088 on: March 21, 2026, 01:13:48 pm »
#scpiCmd readTempAll? holding? 0x00 7 /10
#askValues readTempAll?

Works great for the NT18B07 very fast !!

However for not connected NTC's the output should return -2731 (dec) or -273.1 dec /10)  and now it is returning 6280.5.

;; NT18B07: Tx <readTempAll?>
;; NT18B07: Tx <holding? 0x00 7 /10>
;; COM5: Tx: 01 03 00 00 00 07 04 08
;; COM5: Rx: 01 03 0E 00 DF F5 55 F5 55 F5 55 F5 55 F5 55 F5 55 3B AF
;; NT18B07: Rx <22.3 6280.5 6280.5 6280.5 6280.5 6280.5 6280.5>
;; 22.3 6280.5 6280.5 6280.5 6280.5 6280.5 6280.5

How do I filter out this value ?
« Last Edit: March 21, 2026, 01:26:49 pm by flash2b »
They say attention is a shovel. It's time to dig 'em out.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 4917
  • Country: dk
    • Tests
Re: Program that can log/control many multimeters and other devices.
« Reply #6089 on: March 21, 2026, 01:46:14 pm »
#scpiCmd readTempAll? holding? 0x00 7 /10
#askValues readTempAll?

Works great for the NT18B07 very fast !!

However for not connected NTC's the output should return -2731 (dec) or -273.1 dec /10)  and now it is returning 6280.5.

;; NT18B07: Tx <readTempAll?>
;; NT18B07: Tx <holding? 0x00 7 /10>
;; COM5: Tx: 01 03 00 00 00 07 04 08
;; COM5: Rx: 01 03 0E 00 DF F5 55 F5 55 F5 55 F5 55 F5 55 F5 55 3B AF
;; NT18B07: Rx <22.3 6280.5 6280.5 6280.5 6280.5 6280.5 6280.5>
;; 22.3 6280.5 6280.5 6280.5 6280.5 6280.5 6280.5

How do I filter out this value ?

Try using holdingS? instead, then you will get signed return values.
 

Offline Benleentje

  • Contributor
  • Posts: 45
  • Country: nl
Re: Program that can log/control many multimeters and other devices.
« Reply #6090 on: March 21, 2026, 02:12:28 pm »

But are you saying that of the 20 value you read the last two are useless?
I made i few mistakes in the #value lines. There where in some lines space's in the name and then that line is skipped over. I put _ for the spaces and now everything is working.

I don't need to read the high and low values from the meter because TC does this already in the current values.
 

Offline flash2b

  • Super Contributor
  • ***
  • Posts: 1027
  • Country: nl
  • Everything I like about myself is better with you.
Re: Program that can log/control many multimeters and other devices.
« Reply #6091 on: March 21, 2026, 02:15:41 pm »
Try using holdingS? instead, then you will get signed return values.

That fixed it. Thank you for your remark about multiple register read. The readout speed increased with a factor 10x.

I will investigate how many registers I can read in 1 call for the NT28 and N48 modules. Then I can improve them as well, the NT48 will be then even more faster.
They say attention is a shovel. It's time to dig 'em out.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 4917
  • Country: dk
    • Tests
Re: Program that can log/control many multimeters and other devices.
« Reply #6092 on: March 21, 2026, 02:27:19 pm »
That fixed it. Thank you for your remark about multiple register read. The readout speed increased with a factor 10x.

It was very slow, I like 1 sec logging speed and it did not work, now it will. The actual speed increase is probably between 6 and 7 times, seven messages is condensed to 1 slightly longer message.

I will investigate how many registers I can read in 1 call for the NT28 and N48 modules. Then I can improve them as well, the NT48 will be then even more faster.

Sounds good, no reason to do a lot of calls, when it can easily be reduced.
 

Offline Benleentje

  • Contributor
  • Posts: 45
  • Country: nl
Re: Program that can log/control many multimeters and other devices.
« Reply #6093 on: March 21, 2026, 05:22:07 pm »
The definition for the CVM144 is ready.

Please add the definition
« Last Edit: March 21, 2026, 05:30:10 pm by Benleentje »
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 4917
  • Country: dk
    • Tests
Re: Program that can log/control many multimeters and other devices.
« Reply #6094 on: March 21, 2026, 05:59:52 pm »
The definition for the CVM144 is ready.

Please add the definition

I have added it, thanks.

That 3 phase power analyzer is crazy, you get a overload of values with it.
 

Offline Benleentje

  • Contributor
  • Posts: 45
  • Country: nl
Re: Program that can log/control many multimeters and other devices.
« Reply #6095 on: March 21, 2026, 09:00:26 pm »
It runs smoothly and stable 1 update almost every seconde. That is enough for me. If i need a faster update i look at the device itself. But that only kan show 3 value's at any time.
There is even much more data in the device for al the minimum en maximum value's. But in TC there is no need for this.
 

Offline flash2b

  • Super Contributor
  • ***
  • Posts: 1027
  • Country: nl
  • Everything I like about myself is better with you.
Re: Program that can log/control many multimeters and other devices.
« Reply #6096 on: March 22, 2026, 07:17:03 am »
Hi Benleentje.

I would urge you to rename some of the #Value names in the first section.

#value V1 V D1 --> Voltage_L1
#value A1 A D3 --> Current_L1
#value W1 W D0 --> Power_L1
#value var1 var D0
#value PF1 - D2 --> PF_L1
etc. etc.

Also renaming the file to Circutor CVM144.txt makes much more sense that TCP at the end. This is also what other people do.
They say attention is a shovel. It's time to dig 'em out.
 

Offline Benleentje

  • Contributor
  • Posts: 45
  • Country: nl
Re: Program that can log/control many multimeters and other devices.
« Reply #6097 on: March 22, 2026, 04:42:10 pm »
Thanks flash2b.

The readout is much better with your suggestion.

The Circutor and matrix has updates,
 

Offline flash2b

  • Super Contributor
  • ***
  • Posts: 1027
  • Country: nl
  • Everything I like about myself is better with you.
Re: Program that can log/control many multimeters and other devices.
« Reply #6098 on: March 22, 2026, 04:44:00 pm »
I can convert an integer "value" into ascii with :readmath: binConvString(int(value & 0xFF),0,1,"ISO-8859-1",1)

Now when I want to do the reverse, what command do I need, e.g. A --> 65 ?

int(value) does not work when value="A"
They say attention is a shovel. It's time to dig 'em out.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 4917
  • Country: dk
    • Tests
Re: Program that can log/control many multimeters and other devices.
« Reply #6099 on: March 22, 2026, 04:48:44 pm »
I can convert an integer "value" into ascii with :readmath: binConvString(int(value & 0xFF),0,1,"ISO-8859-1",1)

Now when I want to do the reverse, what command do I need, e.g. A --> 65 ?

int(value) does not work when value="A"

Typecase it to bytes first: int(bytes("A"))
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

-->