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

0 Members and 1 Guest are viewing this topic.

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #575 on: May 16, 2020, 03:50:38 pm »
Not sure if this a bug, or intentional?

Thanks.
That is a bug, it looks like I fill the combobox twice, without clearing it in between. It will not harm anything and it will be fixed in next release.
 
The following users thanked this post: tubularnut

Offline tubularnut

  • Regular Contributor
  • *
  • Posts: 225
  • Country: gb
Re: Program that can log from many multimeters.
« Reply #576 on: May 16, 2020, 03:52:10 pm »
Thanks.
That is a bug, it looks like I fill the combobox twice, without clearing it in between. It will not harm anything and it will be fixed in next release.

Thank you, thought it was just me going mad in lockdown :)
 

Offline MikeLud

  • Regular Contributor
  • *
  • Posts: 218
  • Country: us
Re: Program that can log from many multimeters.
« Reply #577 on: May 17, 2020, 12:43:27 am »
HKj,

How would I write the below readmath expression.

Code: [Select]
#scpiCmd C1:RDO? txrx? RMO
#if value>10000
:readmath: double(value-4294967296)/1000
#else
:readmath: double(value)/1000
 

Offline MikeLud

  • Regular Contributor
  • *
  • Posts: 218
  • Country: us
Re: Program that can log from many multimeters.
« Reply #578 on: May 17, 2020, 12:56:02 am »
HKJ,

Attached are updated device files. Also I am almost finished with a device that will support FeelElec FY6600-20M, FeelElec FY6600-30M, FeelElec FY6600-50M, FeelElec FY6600-60M, FeelElec FY6800-20M, FeelElec FY6800-30M, FeelElec FY6800-50M, FeelElec FY6800-60M, FeelElec FY6900-20M, FeelElec FY6900-30M, FeelElec FY6900-50M, and FeelElec FY6900-60M.

* RidenRD6006.txt (6.85 kB - downloaded 68 times.)
* SiglentSDM30xxx.txt (18.83 kB - downloaded 82 times.)
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #579 on: May 17, 2020, 03:36:10 am »
How would I write the below readmath expression.

Code: [Select]
#scpiCmd C1:RDO? txrx? RMO
#if value>10000
:readmath: double(value-4294967296)/1000
#else
:readmath: double(value)/1000

:readmath: value>10000?double(value-4294967296)/1000:double(value)/1000

or

:readmath: double(value>10000?value-4294967296:value)/1000



HKJ,

Attached are updated device files. Also I am almost finished with a device that will support FeelElec FY6600-20M, FeelElec FY6600-30M, FeelElec FY6600-50M, FeelElec FY6600-60M, FeelElec FY6800-20M, FeelElec FY6800-30M, FeelElec FY6800-50M, FeelElec FY6800-60M, FeelElec FY6900-20M, FeelElec FY6900-30M, FeelElec FY6900-50M, and FeelElec FY6900-60M.

I will include the updates in next release and look forward to the FeelElec.

« Last Edit: May 17, 2020, 03:49:06 am by HKJ »
 

Offline MikeLud

  • Regular Contributor
  • *
  • Posts: 218
  • Country: us
Re: Program that can log from many multimeters.
« Reply #580 on: May 17, 2020, 04:03:41 am »
How would I write the below readmath expression.

Code: [Select]
#scpiCmd C1:RDO? txrx? RMO
#if value>10000
:readmath: double(value-4294967296)/1000
#else
:readmath: double(value)/1000
:readmath: value>10000?double(value-4294967296)/1000:double(value)/1000
or
:readmath: double(value>10000?value-4294967296:value)/1000


HKJ,

Thanks, I also figured it out using the  below code, i know it has unnecessary () but it worked
Code: [Select]
:readmath: ((value>10000)?"double(value-4294967296)/1000":"double(value)/1000")
Below is what I am going to use, it is much cleaner
Code: [Select]
:readmath: double(value>10000?value-4294967296:value)/1000
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #581 on: May 17, 2020, 04:25:27 am »
Thanks, I also figured it out using the  below code, i know it has unnecessary () but it worked
Code: [Select]
:readmath: ((value>10000)?"double(value-4294967296)/1000":"double(value)/1000")

I am a bit surprised it worked, due to the quotes.
 

Offline MikeLud

  • Regular Contributor
  • *
  • Posts: 218
  • Country: us
Re: Program that can log from many multimeters.
« Reply #582 on: May 17, 2020, 04:28:42 am »
HKJ,

Attached is a device file that supports FeelElec FY6600-20M, FeelElec FY6600-30M, FeelElec FY6600-50M, FeelElec FY6600-60M, FeelElec FY6800-20M, FeelElec FY6800-30M, FeelElec FY6800-50M, FeelElec FY6800-60M, FeelElec FY6900-20M, FeelElec FY6900-30M, FeelElec FY6900-50M, and FeelElec FY6900-60M. I tested only the FeelElec FY6800-60M but should work on all the other models.

* FeelElecFY6x00-xxM.txt (10.64 kB - downloaded 72 times.)
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #583 on: May 17, 2020, 05:25:10 am »
Attached is a device file that supports FeelElec FY6600-20M, FeelElec FY6600-30M, FeelElec FY6600-50M, FeelElec FY6600-60M, FeelElec FY6800-20M, FeelElec FY6800-30M, FeelElec FY6800-50M, FeelElec FY6800-60M, FeelElec FY6900-20M, FeelElec FY6900-30M, FeelElec FY6900-50M, and FeelElec FY6900-60M. I tested only the FeelElec FY6800-60M but should work on all the other models.

A few comments:
Try to support the #verifyDevice command, it will prevent selecting the wrong device.
Handles are best without a - in the name, because they are used as variables names also. The easiest way is to drop the "-20M" etc. from the handle.
 

Offline MikeLud

  • Regular Contributor
  • *
  • Posts: 218
  • Country: us
Re: Program that can log from many multimeters.
« Reply #584 on: May 17, 2020, 01:45:56 pm »
Attached is a device file that supports FeelElec FY6600-20M, FeelElec FY6600-30M, FeelElec FY6600-50M, FeelElec FY6600-60M, FeelElec FY6800-20M, FeelElec FY6800-30M, FeelElec FY6800-50M, FeelElec FY6800-60M, FeelElec FY6900-20M, FeelElec FY6900-30M, FeelElec FY6900-50M, and FeelElec FY6900-60M. I tested only the FeelElec FY6800-60M but should work on all the other models.

A few comments:
Try to support the #verifyDevice command, it will prevent selecting the wrong device.
Handles are best without a - in the name, because they are used as variables names also. The easiest way is to drop the "-20M" etc. from the handle.

HKJ,

Changes made, added #verifyDevice and removed -xx from handles.

* FeelElecFY6x00-xxM.txt (11.07 kB - downloaded 107 times.)
« Last Edit: May 17, 2020, 09:38:36 pm by MikeLud »
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #585 on: May 17, 2020, 01:51:46 pm »

Changes maded, added #verifyDevice and removed -xx from handles.


Thanks, it will be included in the next update.

I look at bit on the datasheets for them and it looks like the 6900 series has slightly higher output voltage.
 

Offline MikeLud

  • Regular Contributor
  • *
  • Posts: 218
  • Country: us
Re: Program that can log from many multimeters.
« Reply #586 on: May 17, 2020, 02:41:36 pm »
Thanks, it will be included in the next update.

I look at bit on the datasheets for them and it looks like the 6900 series has slightly higher output voltage.

HKJ,

Adjusted Max Vpp also adjusted Min/Max Offset.

* FeelElecFY6x00-xxM.txt (12.33 kB - downloaded 39 times.)
« Last Edit: May 17, 2020, 02:51:36 pm by MikeLud »
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #587 on: May 17, 2020, 05:41:45 pm »
Adjusted Max Vpp also adjusted Min/Max Offset.

I have included it to next release.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #588 on: May 18, 2020, 01:59:13 pm »
V 0.69 is up.

This includes FeelElec, Riden, Siglent from MikeLud
The calculator have got two more formats to select (Integer & String).
The first user documentation page is ready, it is for the Commands page. Pressing F1 on the command page will load a browser with it. There is also a link from the intro page to it.

If more explanation is needed for some parts of the page, please ask (It is not supposed to cover scripting or calculator stuff).
 
The following users thanked this post: tubularnut, Marco1971, MikeLud

Offline gby

  • Regular Contributor
  • *
  • Posts: 238
  • Country: us
Re: Program that can log from many multimeters.
« Reply #589 on: May 19, 2020, 02:05:24 pm »
Device file for Sorenson/Ametek XG 850 family of 850 W power supplies.  There is also the nearly identical XG 1500 series 1500 W supplies.  Each of these series have 12 different Voltage, Amperage combinations.  So, if the device file supported all 24 variations via #metadef it would add 24 entries to the selections drop down.  24 entries would just make that list a bunch longer and tedious to scroll through.  So, I made a device file for the one version I have, included info in the file on the others, and via #metadef supported just one other so that another user would have an example to follow if they had one of the others in this series.

Ametek XG 600-1.4 and family device file attached for anyone to use.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #590 on: May 19, 2020, 02:21:08 pm »
Device file for Sorenson/Ametek XG 850 family of 850 W power supplies.  There is also the nearly identical XG 1500 series 1500 W supplies.  Each of these series have 12 different Voltage, Amperage combinations.  So, if the device file supported all 24 variations via #metadef it would add 24 entries to the selections drop down.  24 entries would just make that list a bunch longer and tedious to scroll through.  So, I made a device file for the one version I have, included info in the file on the others, and via #metadef supported just one other so that another user would have an example to follow if they had one of the others in this series.

Thanks, this will be included in the next release.
There is no reason to worry about a long list in the combobox, just use the filter function to limit it.
 

Online Messtechniker

  • Frequent Contributor
  • **
  • Posts: 782
  • Country: de
  • Old analog audio hand - No voodoo.
Re: Program that can log from many multimeters.
« Reply #591 on: May 19, 2020, 03:02:17 pm »
The Keysight 34465A is capable of measuring its internal temperature through
SYST:TEMP? which works nicely on the command line. Since Keysight344xxA.txt has become quite complex, I do not feel up to the task of modifying it without messing something else up.  :scared:
Maybe you or someone else would like to include the internal temperature sensor some day.
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 #592 on: May 19, 2020, 03:09:22 pm »
The Keysight 34465A is capable of measuring its internal temperature through
SYST:TEMP? which works nicely on the command line. Since Keysight344xxA.txt has become quite complex, I do not feel up to the task of modifying it without messing something else up.  :scared:
Maybe you or someone else would like to include the internal temperature sensor some day.

It could be shown in the setup menu, but it would not be a good idea to include it in the logging.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #593 on: May 19, 2020, 03:33:15 pm »
Device file for Sorenson/Ametek XG 850 family of 850 W power supplies.

If you want to experiment, try defining the datatype of on/off columns as:
digital(on)

I.e.
#value Main_On - digital(on)
#value Aux_On - digital(on)

Note: I have not tested that the parsing works.
 

Offline MikeLud

  • Regular Contributor
  • *
  • Posts: 218
  • Country: us
Re: Program that can log from many multimeters.
« Reply #594 on: May 19, 2020, 06:52:41 pm »
The Keysight 34465A is capable of measuring its internal temperature through
SYST:TEMP? which works nicely on the command line. Since Keysight344xxA.txt has become quite complex, I do not feel up to the task of modifying it without messing something else up.  :scared:
Maybe you or someone else would like to include the internal temperature sensor some day.

Messtechniker

I added system temperature to the bottom of each setup page please test.


* Keysight344xxA.txt (24.58 kB - downloaded 57 times.)
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #595 on: May 19, 2020, 07:18:23 pm »
Messtechniker

I added system temperature to the bottom of each setup page please test.

It works in a way, but adding this line will improve it significantly:
:readmath: formatDouble(value,1,3,1,1)

Without that it do do something like: 3.234E+1

I will include it.
« Last Edit: May 19, 2020, 07:21:59 pm by HKJ »
 

Offline MikeLud

  • Regular Contributor
  • *
  • Posts: 218
  • Country: us
Re: Program that can log from many multimeters.
« Reply #596 on: May 19, 2020, 07:30:47 pm »
It works in a way, but adding this line will improve it significantly:
:readmath: formatDouble(value,1,3,1,1)

Without that it do do something like: 3.234E+1

I will include it.

HKJ,

Readmath added.

* Keysight344xxA.txt (24.62 kB - downloaded 61 times.)
 

Online Messtechniker

  • Frequent Contributor
  • **
  • Posts: 782
  • Country: de
  • Old analog audio hand - No voodoo.
Re: Program that can log from many multimeters.
« Reply #597 on: May 20, 2020, 09:11:38 am »
Delighted  :-+ System temp now works. Very useful. 8)
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 Neomys Sapiens

  • Super Contributor
  • ***
  • Posts: 3268
  • Country: de
Re: Program that can log from many multimeters.
« Reply #598 on: May 21, 2020, 12:32:53 am »
It really looks like a fine piece of SW, but that is all it does for me right now...

I have tried to get to terms with the explanations provided, but couldn't.
If I wanted to write such a driver file for a non-SCPI multimeter and taking your 'skeleton file' for start, does this mean that I would have to find, edit and insert all the SCPI commands from some roughly comparable meter first? And then add the 'translation sequences'?
But lacking a SCPI compatible multimeter, this is a bit of a tedious exercise. Can someone point me to a good description of the SCPI command applicable to a DMM? If I select one at random, I might well end up with a manual which is making a positive outcome even less probable.

Basically, I would like to get my Schlumberger 7151 running with it, using a RS-232 connection.
 

Offline HKJTopic starter

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Program that can log from many multimeters.
« Reply #599 on: May 21, 2020, 04:12:51 am »
They way to do it is to make some SCPI equivalent command for your meters commands. Then you define the different functions with these commands.
The only example for non-SCPI at the current time is FeelElecFY6x00-xxM
For a bench DMM start by looking at KeithleyDMM6500 when you have something similar to that working, you can look at Keysight/Siglent definitions, they have a much more advanced configuration.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf