03-19-2021 12:26 PM - edited 03-19-2021 12:57 PM
Trying to test the SCPI commands for this power supply without a FSM first. I can easily select between OUT1 and OUT2 as well as the programmable voltage or current value, but the following are giving me errors:
NOTE: I did *IDN? and *TST? successfully and ensured front panel display's accuracy when selecting desired voltage
1. Choosing between OUTP OFF and OUTP ON
2. Choosing between P35V and P60V
Solved! Go to Solution.
03-19-2021 12:45 PM
Hi AnalogEE,
@AnalogEE wrote:
Another question: can you recommend a resource full of pure SCPI command examples for power supplies?
What about the (programming) manual of your Keysight device?
03-19-2021 12:46 PM - edited 03-19-2021 12:51 PM
@AnalogEE wrote:
Another question: can you recommend a resource full of pure SCPI command examples for power supplies?
Well YES! The manual for the device has every single one of the commands listed. You should look into that;)
It looks like your OUTP ON command is unterminated.
03-19-2021 12:49 PM
@AnalogEE wrote:
but the following are giving me errors:
What errors are you getting?
Some things I see:
03-19-2021 12:54 PM
Hi,
Below is a snippet I'm following and still getting an error on the front panel display. The model I have has P35V and P60V so disregard the P8V below.
03-19-2021 01:08 PM
WHAT DOES THE ERROR SAY?
Does the "front panel display" mean the device itself? I can't read screen that from where I am.
If by front panel you mean that small section of your LabVIEW VI front panel, it doesn't show any error.
03-19-2021 01:09 PM - edited 03-19-2021 01:12 PM
You know it would probably save you a lot of time to just use the LabVIEW Drivers for your E3649A
BTW: HP "test and measure" was spun off and became Agilent. Then Agilent became Keysight.
03-19-2021 01:48 PM
The error is -113 which means undefined header. The front panel display refers to the device being automated.
03-19-2021 02:07 PM
Now there's a little piece of information we can work with.
I googled Keysight header error and found this link. https://edadocs.software.keysight.com/kkbopen/why-do-i-get-syntax-and-undefined-header-errors-when-u...
It talks about termination characters, and that may or may not be the cause of your error.
But back in message 2, items #1 and 2, I commented on missing carriage returns. Have you investigated that yet? I'd suggest reading the manual as perhaps it needs to be a carriage return line feed.
And as RTSLVU suggested, downloading the LabVIEW drivers for it might save you a lot of troubleshooting effort.
03-19-2021 03:52 PM
Take a look inside the "drivers" and you will probably see that they are nothing more than the SCPI commands wrapped up in LabVIEW vi's.
I mean I get it wanting to know how to do it yourself, but in my company time is money.