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

0 Members and 4 Guests are viewing this topic.

Offline Baruke

  • Newbie
  • Posts: 2
  • Country: us
Re: Program that can log from many multimeters.
« Reply #3825 on: February 12, 2025, 07:34:26 pm »
Thank you for your response. Trying to figure this out has taken way too much of my time.

Do you know of a "not too expensive" multimeter or load tester (400w) that works with Mac OS and LoadTester without hassle?
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3133
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3826 on: February 13, 2025, 08:23:51 am »
Do you know of a "not too expensive" multimeter or load tester (400w) that works with Mac OS and LoadTester without hassle?

Look for serial or network connections, they are the same on all platforms.
This list is a good starting point: https://lygte-info.dk/project/TestControllerSupportedEquipment%20UK.html
Just be aware that I have not tested everything on the list, some of it is added because it is part of a series that works the same way and some of it is added because it is supposed to be a copy of a working device.

I have tested the KEL103 load and Brymen multimeters (Note HID interface is not supported on Mac).

 

Offline dmenezes

  • Contributor
  • Posts: 13
  • Country: cl
Re: Program that can log from many multimeters.
« Reply #3827 on: February 14, 2025, 04:13:04 pm »
Thanks

I have been thinking about this a couple of times, but I sort of like that TC do not ask about the save data all the time.

I agree. I wouldn't want extra prompts. However, if you added it as an optional thing, that would be cool. People could then choose if they want those prompts or not.

I'm with @KungFuJosh in this regard, an option to control that behavior would be great.

And just to complement @HKJ's response above: even without the option suggested by @KungFuJosh, TC would not ask it "all the time", it would ask only when the data in the buffer hasn't been saved (and therefore would be lost if the operation proceeded without warning the user first).
 

Offline dmenezes

  • Contributor
  • Posts: 13
  • Country: cl
Re: Program that can log from many multimeters.
« Reply #3828 on: February 14, 2025, 04:20:11 pm »
Thank you @HKJ for your prompt response.

If you really want it you can assign #CLEARTABLE to a F key.
https://lygte-info.dk/project/TestControllerScriptCommands%20UK.html##CLEARTABLE

Thank you for that. i did not know about the `#CLEARTABLE` command, and also didn't know commands could be assigned to keys. This will be really helpful in my use case (I do need to clear the buffer without stopping/starting the log or loading another file).

Quote
I have been thinking about this a couple of times, but I sort of like that TC do not ask about the save data all the time.
If you log important data, you can log directly to disk, that way you will not loose data, even if the computer crashes.

Thanks for your response. I avoid logging directly to disk because this machine has plenty of memory, but its disks are not that fast (old spinning rust), but will try logging to disk and see how it works. Will the chart/table windows still work the same, or to be able to see the data being captured in them, would I have to stop capturing and then load the data from disk?
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3133
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3829 on: February 14, 2025, 05:21:19 pm »
Thank you for that. i did not know about the `#CLEARTABLE` command, and also didn't know commands could be assigned to keys. This will be really helpful in my use case (I do need to clear the buffer without stopping/starting the log or loading another file).

You can assign a script to 10 of the 12 F keys:
Type the script in the log window
Mark it with the mouse
Right click and select the F key

These F keys only works while on the Commands page.

Thanks for your response. I avoid logging directly to disk because this machine has plenty of memory, but its disks are not that fast (old spinning rust), but will try logging to disk and see how it works. Will the chart/table windows still work the same, or to be able to see the data being captured in them, would I have to stop capturing and then load the data from disk?

TC uses multi threading to handle logging to the disk in background, i.e. even slow disk will usually not interfere with the sampling.
The chart nearly works the same way, but if you log for a log time a data reduction algorithm will kick in and reduce the table to every 3 data point (Disk log will contain all data points), this data reduction can be applied multiple times. The data reduction is done to keep memory consumption limited, as far as I remember the sample count is kept between 10k and 30k. I.e. the first time it kicks in is at 30k samples (And just to be clear: This only applies when logging direct to disk, not when logging to memory only).
« Last Edit: February 14, 2025, 05:23:03 pm by HKJ »
 
The following users thanked this post: dmenezes

Offline jmurray

  • Contributor
  • Posts: 48
  • Country: au
Re: Program that can log from many multimeters.
« Reply #3830 on: February 18, 2025, 03:57:01 am »
I made some minor corrections to the Agilent/HP 34401A definition file. The math function for interpreting mode had been placed in the wrong section and there were underscores missing from string values, so there were instances where upon connecting to the 34401A, TC could not determine the existing mode setting of the 34401A.

 
The following users thanked this post: bdunham7

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8626
  • Country: us
Re: Program that can log from many multimeters.
« Reply #3831 on: February 18, 2025, 04:37:21 am »
I made some minor corrections to the Agilent/HP 34401A definition file. The math function for interpreting mode had been placed in the wrong section and there were underscores missing from string values, so there were instances where upon connecting to the 34401A, TC could not determine the existing mode setting of the 34401A.

Is that why I get an error when I connected to the 34401A when it was in anything other than the default configuration?  For example I had it set to power up with slow 6-digit and high impedance but had to take that out to not get an error  with TC.  If you've fixed that, then thank you!
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.
 

Offline jmurray

  • Contributor
  • Posts: 48
  • Country: au
Re: Program that can log from many multimeters.
« Reply #3832 on: February 18, 2025, 05:13:37 am »
I made some minor corrections to the Agilent/HP 34401A definition file. The math function for interpreting mode had been placed in the wrong section and there were underscores missing from string values, so there were instances where upon connecting to the 34401A, TC could not determine the existing mode setting of the 34401A.

Is that why I get an error when I connected to the 34401A when it was in anything other than the default configuration?  For example I had it set to power up with slow 6-digit and high impedance but had to take that out to not get an error  with TC.  If you've fixed that, then thank you!

I may have spoken too soon. Testing again and now it's back to inconsistent, even after making a few more corrections that I missed.
Will have to spend some more time on it.
 

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 3426
  • Country: us
  • TEAS is real.
Re: Program that can log from many multimeters.
« Reply #3833 on: February 18, 2025, 06:08:17 pm »
I dunno if this is a bug, or a glitch in the matrix, or whatever... but I added a KS 34465A to my bench today, and things got a little weird.

Previously, all my meters were setup as Type=Socket in the Load devices tab. After adding the Keysight, the Siglent no longer was discovered on start, so I switched it to LXI, and it started working. Leaving the Keysight and Keithley both as Socket, gave the attached glitches.

The grid panel showing two of the same readouts only has one readout loaded.

Anyway, I switched the Keysight to LXI, and the glitches went away. Now the Keysight and Siglent are both LXI, and the Keithley seems to like being set to Socket better. 🤷

Thanks,
Josh

ETA: Might just be a display driver glitch. I updated my drivers; I'll update if the issue reoccurs.
« Last Edit: February 18, 2025, 11:57:16 pm by KungFuJosh »
"Be nice to your children. After all, they are going to choose your nursing home." - Steven Wright
 

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 3426
  • Country: us
  • TEAS is real.
Re: Program that can log from many multimeters.
« Reply #3834 on: February 18, 2025, 06:12:48 pm »
Is it possible to save the state of TC and run that state again on TC startup?

For example, I want 3 or 4 meters with parameters set (including Current Values - Format), and the grid panel including selected channels and custom colors for those channels. Running those defaults would get me the attached screenshot setup.
"Be nice to your children. After all, they are going to choose your nursing home." - Steven Wright
 

Offline The Soulman

  • Super Contributor
  • ***
  • Posts: 1055
  • Country: nl
  • The sky is the limit!
Re: Program that can log from many multimeters.
« Reply #3835 on: February 18, 2025, 09:58:27 pm »
Attached is the working a tested definition for the Voltcraft VC7200BT bench multimeter.
It is a modified version of the Owon XDM3051 definition, same as the Owon meter the dual measurement functions are not supported.

In this definition the port number is set to 5025, set dmm accordingly.
 

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 3426
  • Country: us
  • TEAS is real.
Re: Program that can log from many multimeters.
« Reply #3836 on: February 19, 2025, 04:43:23 am »
One more feature request:

Ability to have the Grid panel "always on top" so it doesn't get lost behind other windows.

Thanks,
Josh
"Be nice to your children. After all, they are going to choose your nursing home." - Steven Wright
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3133
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3837 on: February 19, 2025, 12:20:13 pm »
I dunno if this is a bug, or a glitch in the matrix, or whatever... but I added a KS 34465A to my bench today, and things got a little weird.

I have no idea about this, I mostly use socket connections to my devices.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3133
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3838 on: February 19, 2025, 12:29:31 pm »
Is it possible to save the state of TC and run that state again on TC startup?

For example, I want 3 or 4 meters with parameters set (including Current Values - Format), and the grid panel including selected channels and custom colors for those channels. Running those defaults would get me the attached screenshot setup.

Sort of.
Right click in log window, select "Generate scripts, Layouts, In log window", then save the generated script in:
...\Documents\TestController\Settings\autorun.txt

I prefer to save layouts as menus, then I can select the one I want each time.


 
The following users thanked this post: KungFuJosh

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3133
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3839 on: February 19, 2025, 12:31:35 pm »
Attached is the working a tested definition for the Voltcraft VC7200BT bench multimeter.
It is a modified version of the Owon XDM3051 definition, same as the Owon meter the dual measurement functions are not supported.

In this definition the port number is set to 5025, set dmm accordingly.

Thanks, I have added a #notes to the file about the port setting.
 
The following users thanked this post: The Soulman

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3133
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3840 on: February 19, 2025, 12:35:27 pm »
One more feature request:

Ability to have the Grid panel "always on top" so it doesn't get lost behind other windows.

With you layout example I can see why you might want it, I will think about it.
I have made Grid panel a full window and you can select it in the bar at the bottom, i.e. it is always fairly easy to get on top.
 

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 3426
  • Country: us
  • TEAS is real.
Re: Program that can log from many multimeters.
« Reply #3841 on: February 19, 2025, 12:41:44 pm »
One more feature request:

Ability to have the Grid panel "always on top" so it doesn't get lost behind other windows.

With you layout example I can see why you might want it, I will think about it.
I have made Grid panel a full window and you can select it in the bar at the bottom, i.e. it is always fairly easy to get on top.

A toggle for that option shouldn't be too bad. This is what google generated 😉:

Code: [Select]
import javax.swing.JFrame;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;

public class AlwaysOnTopToggle {

    private static boolean alwaysOnTop = false;

    public static void main(String[] args) {
        JFrame frame = new JFrame("Always On Top Toggle Example");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(300, 200);

        JButton toggleButton = new JButton("Toggle Always On Top");
        toggleButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                alwaysOnTop = !alwaysOnTop;
                frame.setAlwaysOnTop(alwaysOnTop);
                if (alwaysOnTop) {
                    toggleButton.setText("Disable Always On Top");
                } else {
                    toggleButton.setText("Enable Always On Top");
                }
            }
        });

        frame.getContentPane().add(toggleButton);
        frame.setVisible(true);
    }
}

I assume/hope something like that should work?

I like to keep the grid panel on top, but I also reset my chart a bunch of times. So, I have to keep finding and clicking the grid panel each time.

Thanks,
Josh
"Be nice to your children. After all, they are going to choose your nursing home." - Steven Wright
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3133
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3842 on: February 19, 2025, 12:49:11 pm »
I like to keep the grid panel on top, but I also reset my chart a bunch of times. So, I have to keep finding and clicking the grid panel each time.

Some windows in TC is on top and it can be selected for other.
Coding is not a problem, adding a menu point in a logical place is.
 

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 3426
  • Country: us
  • TEAS is real.
Re: Program that can log from many multimeters.
« Reply #3843 on: February 19, 2025, 05:59:32 pm »
I like to keep the grid panel on top, but I also reset my chart a bunch of times. So, I have to keep finding and clicking the grid panel each time.

Some windows in TC is on top and it can be selected for other.
Coding is not a problem, adding a menu point in a logical place is.

Easy! The Grid panel menu is all right-clicked, so add always on top to the right-click menu. I would add it at the bottom of the menu (top level, not sub menu).
"Be nice to your children. After all, they are going to choose your nursing home." - Steven Wright
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3133
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3844 on: February 19, 2025, 06:46:15 pm »
Easy! The Grid panel menu is all right-clicked, so add always on top to the right-click menu. I would add it at the bottom of the menu (top level, not sub menu).

Not really, the Grid panel has two menus: "Grid layout" and "Add panel"
It could be used on the Single panel, because it do not have its own menu.
 

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 3426
  • Country: us
  • TEAS is real.
Re: Program that can log from many multimeters.
« Reply #3845 on: February 19, 2025, 06:53:09 pm »
Easy! The Grid panel menu is all right-clicked, so add always on top to the right-click menu. I would add it at the bottom of the menu (top level, not sub menu).

Not really, the Grid panel has two menus: "Grid layout" and "Add panel"
It could be used on the Single panel, because it do not have its own menu.

It wouldn't make sense to add it to the Grid Layout. I'd add it directly below system on the "Add panel" top level menu. From a UI perspective, it's just the Grid panel's general menu, since we don't see (what I assume is) the menu name in the code.
« Last Edit: February 19, 2025, 07:02:13 pm by KungFuJosh »
"Be nice to your children. After all, they are going to choose your nursing home." - Steven Wright
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3133
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3846 on: February 20, 2025, 01:01:52 pm »
It wouldn't make sense to add it to the Grid Layout. I'd add it directly below system on the "Add panel" top level menu. From a UI perspective, it's just the Grid panel's general menu, since we don't see (what I assume is) the menu name in the code.

Ok, Ok, try this:
http://lygte-info.dk/pic/Projects/TestController/TestController.jar
 
The following users thanked this post: KungFuJosh

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 3426
  • Country: us
  • TEAS is real.
Re: Program that can log from many multimeters.
« Reply #3847 on: February 20, 2025, 03:26:34 pm »
Ok, Ok, try this:
http://lygte-info.dk/pic/Projects/TestController/TestController.jar

THANK YOU!

Thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you
"Be nice to your children. After all, they are going to choose your nursing home." - Steven Wright
 

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 3426
  • Country: us
  • TEAS is real.
Re: Program that can log from many multimeters.
« Reply #3848 on: February 23, 2025, 03:44:09 am »
Right click in log window, select "Generate scripts, Layouts, In log window", then save the generated script in:
...\Documents\TestController\Settings\autorun.txt

I prefer to save layouts as menus, then I can select the one I want each time.
I just tried it out as a menu, and I like it. Thanks!


I have no idea about this, I mostly use socket connections to my devices.
When you have some time, could you please test with 3 or 4 devices connected via LXI? TC gets laggy when they're all LXI, and I don't know if that's a TC thing, or something about my system setup that slows it down.

I don't have the option of using socket anymore. I've tried different ways, but if the Siglent and Keysight are both powered on, they both need to be LXI for things to work right. I have all my meters connected as LXI now, and that seems more stable than 2 or 3 as LXI and the rest as Socket.

Thanks,
Josh
"Be nice to your children. After all, they are going to choose your nursing home." - Steven Wright
 

Offline dmenezes

  • Contributor
  • Posts: 13
  • Country: cl
TC locked up, stopped responding. Any chance of recovering?
« Reply #3849 on: February 23, 2025, 10:40:09 am »
Hi,

Per the subject: left TC running for a few hours, logging data from my S8000 battery charger. When I came back to it a few hours later, TC was initially responsive, and I managed to send a couple of commands to the charger and get its responses, but when I clicked on the "Chart" tab, it suddenly stopped responding and all I see is a blank window:


The OS seems OK, memory is not an issue (over 1.3GB of RAM free and no swap activity -- so the system is not thrashing or anything) and everything else but TC seems to be working fine. CPU is fine too, utilization is under 10%.

I've been using TC extensively in this same setup (Linux Debian Bookworm with openjdk-17-jre-headless), and this is the first time it shows anything like this.

I would really like not to lose the data I was capturing. Any hints? 

EDIT: forgot to mention, but this is with TestController v.2.53 downloaded exactly 26 days ago from https://lygte-info.dk/pic/Projects/TestController/TestController.zip
« Last Edit: February 23, 2025, 08:09:02 pm by dmenezes »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf