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

0 Members and 5 Guests are viewing this topic.

Online KungFuJosh

  • Super Contributor
  • ***
  • Posts: 2980
  • Country: us
  • TEAS is real.
Re: Program that can log from many multimeters.
« Reply #3750 on: December 04, 2024, 06:51:28 pm »
HKJ, edited the SDM 30xxx and attached, have commented out the (hacked) 3055X-E version, also renamed the file slightly to add a space to change it from "SiglentSDM30xxx" to "Siglent SDM30xxx", so it matches the naming conventions of other units, watch out if you just drop it into the folder as you may end up with 2 versions.

If you want to leave the *RST command in there, I'd suggest adding a note that it defaults the meters to factory defaults, and that *RST should be removed to avoid that. Personally, I prefer it removed.

Thanks,
Josh
"Right now I’m having amnesia and déjà vu at the same time. I think I’ve forgotten this before." - Steven Wright
 

Online KungFuJosh

  • Super Contributor
  • ***
  • Posts: 2980
  • Country: us
  • TEAS is real.
Re: Program that can log from many multimeters.
« Reply #3751 on: December 04, 2024, 07:15:20 pm »
Is there a way to get TC to do that auto-discovery when the device list isn't empty? I like the way that works better than manually adding devices.

Not really.

Call it a feature request then. 😉

Understanding its limitations, etc., it's still a nice feature and discovers / adds most devices. It takes less time to delete all devices and have it find them all, and it avoids an issue with manually adding devices that's weird sometimes.

I have 6 devices on my desk connected to TC right now. I need to add a definition eventually for a 7th.

Thanks,
Josh
"Right now I’m having amnesia and déjà vu at the same time. I think I’ve forgotten this before." - Steven Wright
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3060
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3752 on: December 04, 2024, 07:33:00 pm »
Is there a way to get TC to do that auto-discovery when the device list isn't empty? I like the way that works better than manually adding devices.

Not really.

Call it a feature request then. 😉

Understanding its limitations, etc., it's still a nice feature and discovers / adds most devices. It takes less time to delete all devices and have it find them all, and it avoids an issue with manually adding devices that's weird sometimes.

I have 6 devices on my desk connected to TC right now. I need to add a definition eventually for a 7th.

Thanks,
Josh

Generally you are supposed to have all your devices on the loaded page and then checkmark the ones you want to use.

If the devices has changing IP address, use LXI connection. If a device is missing LXI on the #port line in the definition, try adding it and see if it works. If it does please post a notice here.

I am not that happy about the discovery command, it stops some of my LXI devices and that is a big issue if they are part of a automatic test setup (I am running multiple concurrent test setups on my network).

I have been thinking about adding a discovery button to the "Load devices" page, but because I don't see that much use for it (and the above issue), I have not done it.
 
The following users thanked this post: Chernobyl

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3060
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3753 on: December 04, 2024, 07:46:21 pm »
Understanding its limitations, etc., it's still a nice feature and discovers / adds most devices. It takes less time to delete all devices and have it find them all, and it avoids an issue with manually adding devices that's weird sometimes.

You can make TC start with a empty device list by deleting the file:

...\Documents\TestController\Settings\settingsLoad.txt

I.e. using a .bat file to delete the file and then start TC would make it start empty each time.
But be warned it will trigger a few extra things because it is the way TC detect a new installation.

Note: Each page in TC has its own configuration file, deleting that file will reset that page to initial state, but not change other settings in TC.
 

Online KungFuJosh

  • Super Contributor
  • ***
  • Posts: 2980
  • Country: us
  • TEAS is real.
Re: Program that can log from many multimeters.
« Reply #3754 on: December 04, 2024, 07:52:31 pm »
For me it would be useful when adding new devices.

I would think you can add logic to the feature to ignore devices/IP addresses already listed settingsLoad.txt?

The issue I had was adding the DAQ6510. When I manually added it by IP, it came up with 2 device options, with odd labels. I cleared the device list, and used the automatic LXI discovery, and it detected it properly.

Thanks,
Josh
"Right now I’m having amnesia and déjà vu at the same time. I think I’ve forgotten this before." - Steven Wright
 

Offline TheDefpom

  • Frequent Contributor
  • **
  • Posts: 794
  • Country: nz
  • YouTuber Nerd - I Fix Stuff
    • The Defpom's Channel
Re: Program that can log from many multimeters.
« Reply #3755 on: Yesterday at 09:35:43 am »
HKJ here is the video where I show Test Controller on the SDM4306X (towards the end of the video), in case you want to add it to your videos list.

https://www.youtube.com/watch?t=1396&v=25uQlBI0REg
Cheers Scott

Check out my Electronics Repair, Mailbag, or Review Videos at https://www.youtube.com/TheDefpom
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3060
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3756 on: Yesterday at 10:24:13 am »
I would think you can add logic to the feature to ignore devices/IP addresses already listed settingsLoad.txt?

Of course, but what if I have device X on IP1 and next time find device X on IP2? Is it the same device or another device (TC do not remember serial numbers)?

The issue I had was adding the DAQ6510. When I manually added it by IP, it came up with 2 device options, with odd labels. I cleared the device list, and used the automatic LXI discovery, and it detected it properly.

Can you give a better explanation of this, there is not supposed to be any difference between automatic and manual.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3060
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3757 on: Yesterday at 10:29:54 am »
HKJ here is the video where I show Test Controller on the SDM4306X (towards the end of the video), in case you want to add it to your videos list.

https://www.youtube.com/watch?t=1396&v=25uQlBI0REg

I have seen the video and added it.
I am a bit disappointed you do not use the logging facilities, but if you do not need to do longer or automatic test, you do not need it.
TC can do the step function can with any power supply and it can be done two ways:
1) Param sweeper (this can only vary one parameter at a time).
2) Script. This is very simple to configure (TC writes most of the script) and very flexible. I can explain more about it if anybody wants to know more.
 

Online KungFuJosh

  • Super Contributor
  • ***
  • Posts: 2980
  • Country: us
  • TEAS is real.
Re: Program that can log from many multimeters.
« Reply #3758 on: Yesterday at 03:54:35 pm »
I would think you can add logic to the feature to ignore devices/IP addresses already listed settingsLoad.txt?

Of course, but what if I have device X on IP1 and next time find device X on IP2? Is it the same device or another device (TC do not remember serial numbers)?
You could add a note that the function works better with static IPs. Or that devices with dynamic IPs that changed should be removed first so they can either be readded via this new function, or adjusted manually for their new IP address(es).

My device IPs will always be static, dynamic IPs don't make sense to me for equipment that needs to be connected to regularly.

Quote
The issue I had was adding the DAQ6510. When I manually added it by IP, it came up with 2 device options, with odd labels. I cleared the device list, and used the automatic LXI discovery, and it detected it properly.

Can you give a better explanation of this, there is not supposed to be any difference between automatic and manual.

I should have taken a screenshot, but I didn't. I manually added the DAQ6510 via the IP. When I restarted TC, it discovered two devices at the IP. One was name DAQ6510_40 and the other DAQ6510_2 or something like that. IIRC, only one of them was pushing data.

I could try to make it happen again if you want.

Thanks,
Josh
"Right now I’m having amnesia and déjà vu at the same time. I think I’ve forgotten this before." - Steven Wright
 

Offline Hexley

  • Regular Contributor
  • *
  • Posts: 209
  • Country: us
Re: Program that can log from many multimeters.
« Reply #3759 on: Yesterday at 04:08:32 pm »
I am a bit disappointed you do not use the logging facilities, but if you do not need to do longer or automatic test, you do not need it.
TC can do the step function can with any power supply and it can be done two ways:
1) Param sweeper (this can only vary one parameter at a time).
2) Script. This is very simple to configure (TC writes most of the script) and very flexible. I can explain more about it if anybody wants to know more.
Yes, please -- a tutorial on TC scripting would be very nice to have!
 

Online KungFuJosh

  • Super Contributor
  • ***
  • Posts: 2980
  • Country: us
  • TEAS is real.
Re: Program that can log from many multimeters.
« Reply #3760 on: Yesterday at 04:10:11 pm »
HKJ here is the video where I show Test Controller on the SDM4306X (towards the end of the video), in case you want to add it to your videos list.

I think you might enjoy spending some more time messing with TC. In the current value screen, right-click the value for any given item in that list, and you can choose the digits and type of display. Click SI as an example. Then make a popup for a specific device, and you'll get some great info to go with whatever you're doing.

As HKJ said, it would be good also to use the chart function. Edit the values on the Scales for chart tab, then start the Log from the Commands tab, and finally view the Chart tab. It might be a little boring for a DC PSU, but it's quite useful in general. Attached is a comparison test I used it for. It shows an example of the chart and the awesome popups.

Thanks,
Josh
« Last Edit: Yesterday at 06:13:41 pm by KungFuJosh »
"Right now I’m having amnesia and déjà vu at the same time. I think I’ve forgotten this before." - Steven Wright
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3060
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3761 on: Today at 12:13:44 pm »
I should have taken a screenshot, but I didn't. I manually added the DAQ6510 via the IP. When I restarted TC, it discovered two devices at the IP. One was name DAQ6510_40 and the other DAQ6510_2 or something like that. IIRC, only one of them was pushing data.

I could try to make it happen again if you want.

I would like to know more.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 3060
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #3762 on: Today at 12:19:28 pm »
Yes, please -- a tutorial on TC scripting would be very nice to have!

It was not a full tutorial I was thinking about, but only how to configure devices.

Here is the first version of it:
https://lygte-info.dk/project/TestControllerScript1%20UK.html

It do also contains some general information about how to use scripting in TC.

I will probably refine it a bit over time and then add it to the general list of TC pages.
Everybody is welcome to post suggestions, questions, etc. to and about it.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf