Products > Test Equipment
Stanford Research PS375 PC communication Software
simba15:
So I am trying to read from a specialized Power supply SRS PS375.
It is connected via RS232 to my win 10 pc.
I AM able to get a response from "IDN?" on the software EEZ Studio.
I am also trying with "TestController" but it seems I must create a custom device to allow it to communicate?
(I always get error like "Did not find any match for: StandfordResearchsystems,PS375"
http://lygte-info.dk/project/TestControllerConfigDMM%20UK.html
Are there any guides to create a small script for a custom read (just want to log Current reading) every 100ms.
I am OK with either software EEZStudio or TestController. ( both seem great just can never find guides that show "custom SCPI Device read" or " Graph values from SCPI device")
Thanks.
HKJ:
--- Quote from: simba15 on October 11, 2022, 06:19:58 pm ---I am also trying with "TestController" but it seems I must create a custom device to allow it to communicate?
(I always get error like "Did not find any match for: StandfordResearchsystems,PS375"
http://lygte-info.dk/project/TestControllerConfigDMM%20UK.html
--- End quote ---
TestController always needs a definition, it i very simple to start on, put these lines in a file in (..\Documents\TestController\Devices):
#idString StandfordResearchsystems,PS375
#name Standford Research PS375
#handle SRPS375
#port com
; For documentation see here: https://lygte-info.dk/project/TestControllerConfigDevice UK.html
Then it will connect and you can send commands to it.
A more usable definition takes more work, it needs a couple of lines with #value and a #askValues for TestConttroller to read values from the device.
This may look something like:
#value Current A D3
#value Voltage V D3
#askValues MEAS:CURR?;MEAS:VOLT?
Note: The semicolon ; is used between commands and each command is expected to return one numeric value. Other formats can be handled, but it might require a bit more.
To control from a popup in TC you need a couple of #cmdSetup lines.
simba15:
Thanks HKJ,
I was able to add a Definition file for the PS375. (and a Keithley 2701 that I am testing on)
And I was able to connect to the device, then I can send the command READ? and the meter responds accordingly. ( but it also gives an error 213, seems from the extra ";;" that is sent)
When I go to the "current values" the meter just beeps and shows ERROR 213 ( the log only shows lines of ";;" no READ? command from #askvalues READ?
How can I update the definition file so that I can graph this value?
Thanks!
HKJ:
--- Quote from: simba15 on October 12, 2022, 12:34:26 pm ---How can I update the definition file so that I can graph this value?
What is the structure of the line "#value Current A D3" what part is the meter SCPI command (VOUT? Or IOUT?)
Or do i need to change the line #askValues MEAS:CURR?;MEAS:VOLT? to just #askvalues VOUT?
--- End quote ---
For graphing and value readouts you need the #value and #askValues definitions.
#askValues lists the commands need to get the values you wants, it can be one or more commands.
There must be a #value line for each returned value from #askValues, each line contains:
#value heading unit displayFormat
You can read more about it here: https://lygte-info.dk/project/TestControllerConfigDevice UK.html
If you want a popup menu to configure the device look at the #cmdSetup https://lygte-info.dk/project/TestControllerConfigDevice UK.html
Use the debug .bat file to check the actual communication.
If you make a usable definition please post it in https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/
simba15:
Thanks Again HKJ,
It is a really nice program, Just need some more clarification on some of the functions.
The debug function is really helpful at this stage.
I can see the device is responding with the measured value but it seems the program is blocking it as the response contains more than just the decimal value.
;; 01: Tx <READ?>
;; 01: Rx <+2.01366577E+01VDC,+133.432121SECS,+00792RDNG#>
;; 01: Rx as numbers <NaN NaN NaN>
I can see the "readFormat" section but I don't see this in the Keithley 2000 def or the HP34401 def file.
How can I resolve this?
Thanks!
Navigation
[0] Message Index
[#] Next page
Go to full version