Author Topic: Program that can log from many multimeters.  (Read 488545 times)

0 Members and 4 Guests are viewing this topic.

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3400 on: March 27, 2024, 08:00:30 pm »
Hello again!

It seems to work now, thanks! I modded the already existing file and added a changelog. Continuity is now an option too (strangely the meter returns values in volts rather than ohms).

Best wishes!

Replace these two lines:
#value VoltageDC V D4 VDC, VACDC, DIODE

#value Resistance OHMS si OHMS, CONT

and report back.
 
The following users thanked this post: kblue

Offline Messtechniker

  • Frequent Contributor
  • **
  • Posts: 782
  • Country: de
  • Old analog audio hand - No voodoo.
Re: Program that can log from many multimeters.
« Reply #3401 on: March 28, 2024, 10:46:46 am »
Found a bit of annoyance.
In the window "Scales for chart" and in "Maximum", the entered value there is only visibly retained provided 8 digits after the decimal point is not exceeded.

When entering more than 8 digits after the decimal point "0" is always displayed. But even so, an entered value having 11 digits after the decimal, for example, is honoured in the "Chart" window.

This came to light when measuring small capacitances of around 4 pF. Here "Auto" scaling does not work, so that the maximum chart value needs to be entered manually. 11 digits after the decimal points are needed in my case (UT622E) to display the 1 to 10 pF range, for example.

Multiplying such a small value - 4 pF - by 1000, for example, won't work.
Averaging will obviously not work too. But the graph can be readied to show averaged values in the pF range.
« Last Edit: March 28, 2024, 03:17:48 pm by Messtechniker »
Agilent 34465A, Siglent SDG 2042X, Hameg HMO1022, R&S HMC 8043, Peaktech 2025A, Voltcraft VC 940, M-Audio Audiophile 192, R&S Psophometer UPGR, 3 Transistor Testers, DL4JAL Transistor Curve Tracer, UT622E LCR meter
 

Offline kblue

  • Newbie
  • Posts: 8
  • Country: de
Re: Program that can log from many multimeters.
« Reply #3402 on: April 02, 2024, 01:20:09 pm »
Hello again!

These changes do not work, still reporting in "voltages". Even in the manual (and on the display) the value is reported in "voltage" rather than "ohms". So i guess it works as intended, just some oddity with this meter.
 

Online bdunham7

  • Super Contributor
  • ***
  • Posts: 7860
  • Country: us
Re: Program that can log from many multimeters.
« Reply #3403 on: April 05, 2024, 03:28:30 am »
Does anyone have a Fluke 45 working properly with TestController?  I'm trying to connect one now and not having any luck.

I set the meter for 9600 N 8 1 and connected to a terminal program and in response to *IDN? I get "Fluke, 45, (and them more stuff)".  When I try to load it in TestController, I get the response that there isn't a match to ID Fluke, 45,  .  The response I get is exactly as specified in the ID string in the configuration file supplied, written by author Bad Drive in Nov 2020.

Any clues appreciated.

Edit:  Got it!  In case anyone else has this issue I'll leave the post.  The issue was that you have to set the meter configuration to Echo = OFF.   :)
« Last Edit: April 05, 2024, 03:31:20 am by bdunham7 »
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 

Online the Chris

  • Contributor
  • Posts: 35
  • Country: de
Re: Program that can log from many multimeters.
« Reply #3404 on: April 05, 2024, 01:14:39 pm »
With the 34401A attached via RS232, starting TC normally and opening the setup causes an ERROR 101 on the Agilent and the setup dialog box to remain unfilled.

However, starting TC via debug mode and opening the setup causes no error and the dialog box to be filled successfully.

Could this behavior be timing related?

This is currently on Windows 7 32-bit using a full-handshake serial cable as I wanted to exclude any causes by serial handshake errors.

 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3405 on: April 05, 2024, 04:15:49 pm »
Found a bit of annoyance.
In the window "Scales for chart" and in "Maximum", the entered value there is only visibly retained provided 8 digits after the decimal point is not exceeded.

When entering more than 8 digits after the decimal point "0" is always displayed. But even so, an entered value having 11 digits after the decimal, for example, is honoured in the "Chart" window.

This came to light when measuring small capacitances of around 4 pF. Here "Auto" scaling does not work, so that the maximum chart value needs to be entered manually. 11 digits after the decimal points are needed in my case (UT622E) to display the 1 to 10 pF range, for example.

Multiplying such a small value - 4 pF - by 1000, for example, won't work.
Averaging will obviously not work too. But the graph can be readied to show averaged values in the pF range.

I have been thinking about it, I may consider lowering the clamp level a bit. It is used to avoid near zero values where a null is supposed to show.
« Last Edit: April 05, 2024, 06:07:15 pm by HKJ »
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3406 on: April 05, 2024, 04:18:31 pm »
Does anyone have a Fluke 45 working properly with TestController?  I'm trying to connect one now and not having any luck.

I set the meter for 9600 N 8 1 and connected to a terminal program and in response to *IDN? I get "Fluke, 45, (and them more stuff)".  When I try to load it in TestController, I get the response that there isn't a match to ID Fluke, 45,  .  The response I get is exactly as specified in the ID string in the configuration file supplied, written by author Bad Drive in Nov 2020.

Any clues appreciated.

Edit:  Got it!  In case anyone else has this issue I'll leave the post.  The issue was that you have to set the meter configuration to Echo = OFF.   :)

To hopefully avoid this in the future I have added a note to the Fluke 45 definition saying echo must be off.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3407 on: April 05, 2024, 04:21:35 pm »
With the 34401A attached via RS232, starting TC normally and opening the setup causes an ERROR 101 on the Agilent and the setup dialog box to remain unfilled.

However, starting TC via debug mode and opening the setup causes no error and the dialog box to be filled successfully.

Could this behavior be timing related?

This is currently on Windows 7 32-bit using a full-handshake serial cable as I wanted to exclude any causes by serial handshake errors.

This do sound like a timing problem, I wonder why the handshake do not work. You can add [xx] (where xx is a time in ms) after the commands to probably get around it.
 

Offline Messtechniker

  • Frequent Contributor
  • **
  • Posts: 782
  • Country: de
  • Old analog audio hand - No voodoo.
Re: Program that can log from many multimeters.
« Reply #3408 on: April 05, 2024, 07:59:12 pm »
Found a bit of annoyance.
In the window "Scales for chart" and in "Maximum", the entered value there is only visibly retained provided 8 digits after the decimal point is not exceeded.

When entering more than 8 digits after the decimal point "0" is always displayed. But even so, an entered value having 11 digits after the decimal, for example, is honoured in the "Chart" window.

This came to light when measuring small capacitances of around 4 pF. Here "Auto" scaling does not work, so that the maximum chart value needs to be entered manually. 11 digits after the decimal points are needed in my case (UT622E) to display the 1 to 10 pF range, for example.

Multiplying such a small value - 4 pF - by 1000, for example, won't work.
Averaging will obviously not work too. But the graph can be readied to show averaged values in the pF range.

I have been thinking about it, I may consider lowering the clamp level a bit. It is used to avoid near zero values where a null is supposed to show.

Maybe leave the default at 8 decimal places. But with the option of say 12 decimal places selectable for a specific case.
Agilent 34465A, Siglent SDG 2042X, Hameg HMO1022, R&S HMC 8043, Peaktech 2025A, Voltcraft VC 940, M-Audio Audiophile 192, R&S Psophometer UPGR, 3 Transistor Testers, DL4JAL Transistor Curve Tracer, UT622E LCR meter
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3409 on: April 06, 2024, 03:17:34 pm »
Maybe leave the default at 8 decimal places. But with the option of say 12 decimal places selectable for a specific case.

Another option is to display it as SI values (i.e. with Mkm... etc.) prefix, then you will not get more digits (this depends on actual SI format used https://lygte-info.dk/project/TestControllerConfigDevice%20UK.html#Data_type_definitions, something like SI10p may work nicely), but you will get greater range for low values.
 

Online the Chris

  • Contributor
  • Posts: 35
  • Country: de
Re: Program that can log from many multimeters.
« Reply #3410 on: April 12, 2024, 10:31:52 am »
The 34401A and E3632A are finally working flawless via RS232. I've been troubleshooting various errors for hours until I found out that in the end, two problems were interfering with each other. As these were immanent at two very differently spec'd computers, two OS (Linux and Win7) and with two different cables, I guess others might have the same issues, which is why I include my working device files.

Details regarding the issues found:

1. For communication via RS232, all commands need a delay. For the E3632A, 20ms is needed for a continuously flawless operation. For the 34401A, 10ms seems to work reliable if operated alone or in combination with just one E3632A. If operated together with two E3632A, a reliable continuous readout of values requires 20ms as well. The config files therefore are set to 20ms for both devices. The SAVe and ReCaL procedures on the E3632A require more time, which is why they are set to 200ms. It might be that the time can be shortened further, but 100ms did not work out and as I do not regard that procedure time-critical, I just played save and left it at 200ms that worked.

2. Some commands defined in the device files are transmitted with a trailing value. In cases where these commands are defined as single commands (i.e. without a second command in direct sequence), the definition contains just the command without any further trailing addition. In cases of a definition that contains two commands in one single sequence in which at least the first requires a value to be inserted, there is a placeholder in-between for the position of the value within the sequence. The placeholder is called "(value)". If one now adds a delay in form of [20] to a single command, is necessary to insert the "(value)" placeholder after the command before finishing it with "," and adding the delay [20] afterwards. Otherwise, TC will transmit the command without a value and then transmit the delay as a second sequence via RS232, leading to errors on the device.

Example for case No. 2:

Original:
Does not work:
Right way:
":write: OUTP"
":write: OUTP;[20]"
":write: OUTP (value);[20]"

One should be aware that the debug mode slows the operation of TC down so that seemingly working delay timings found while testing them in debug mode can cause errors in non-debug mode.

Best wishes,
Christian
« Last Edit: April 12, 2024, 10:33:54 am by the Chris »
 

Online the Chris

  • Contributor
  • Posts: 35
  • Country: de
Re: Program that can log from many multimeters.
« Reply #3411 on: April 12, 2024, 11:52:32 am »
Not to cause a mix-up with my previous post, here are the same files but with the added functionality to be able to switch the display off and on again on the 34401A and the E3632A.

Long life the VFD!
 
The following users thanked this post: coromonadalix, Antonio90, Gulftown

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3412 on: April 13, 2024, 07:02:13 am »
The 34401A and E3632A are finally working flawless via RS232.

I will replace the definitions with your updated version in the next release, thanks.

2. Some commands defined in the device files are transmitted with a trailing value. In cases where these commands are defined as single commands (i.e. without a second command in direct sequence), the definition contains just the command without any further trailing addition. In cases of a definition that contains two commands in one single sequence in which at least the first requires a value to be inserted, there is a placeholder in-between for the position of the value within the sequence. The placeholder is called "(value)". If one now adds a delay in form of [20] to a single command, is necessary to insert the "(value)" placeholder after the command before finishing it with "," and adding the delay [20] afterwards. Otherwise, TC will transmit the command without a value and then transmit the delay as a second sequence via RS232, leading to errors on the device.

Example for case No. 2:

Original:
Does not work:
Right way:
":write: OUTP"
":write: OUTP;[20]"
":write: OUTP (value);[20]"

You are correct in this. The full line is processed for adding the value, later in the process the line is split on ; and each item is transmitted, except for a few virtual commands (Like [20])
Also note that not all drivers work the same way.

One should be aware that the debug mode slows the operation of TC down so that seemingly working delay timings found while testing them in debug mode can cause errors in non-debug mode.

It does, even though I have tried to minimize it.
 
The following users thanked this post: the Chris

Offline Pukker

  • Regular Contributor
  • *
  • Posts: 148
  • Country: nl
Re: Program that can log from many multimeters.
« Reply #3413 on: April 15, 2024, 06:46:07 am »
Made some modifications in my Powersupply-Test and Battery-Test scripts.
No spectaculair changes, but added some checks.
Removed some small faillures.
Changed information in command window after finishing tests.
« Last Edit: April 15, 2024, 05:39:28 pm by Pukker »
 

Offline Gulftown

  • Contributor
  • Posts: 38
  • Country: de
Re: Program that can log from many multimeters.
« Reply #3414 on: April 17, 2024, 07:31:48 pm »
Hello,

i found an error in the RND KEL103v2 definition.
When i tried to use the Battery Mode, TestController did not update the values, because a part of the parameters was missing in the UDP transmission.
I fixed it and the battery settings are working flawlessly now.
 

Offline Pukker

  • Regular Contributor
  • *
  • Posts: 148
  • Country: nl
Re: Program that can log from many multimeters.
« Reply #3415 on: April 21, 2024, 05:47:45 pm »
PowerSupply Test script with making BurnIn test after testing Voltage and Current depedence.
Test can be started with an Internal Resistance check.
See the graph.
First Internal resistance check.
Then Voltage - Current test.
Then BurnIn test.
In Result in Command Window.txt the results in Testcontroller Command Window.
« Last Edit: April 21, 2024, 06:26:47 pm by Pukker »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf