ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
05-08-2015 05:41 AM
Hello,
I am trying to connect my Power Supply(Hameg 8142) over GPIB with my Computer.
I have connected everything right, but when I try to ''Scan for Instruments'' on the Measurement and Automation Explorer,
I get the Message: '' NO LEADING COMMAND''. I actually don't know what it means and hope, that someone here may help me.
Thank you for your Help.
Best Regards,
C-Dpg
05-08-2015 07:08 AM
That looks like the power supply just simply does not follow the SCPI standard and does not respond to the *IDN? request. Are you still able to communicate with the power supply?
05-19-2015 06:48 AM
Hey C-Dog,
What is the current status?
Are you already come up with a solution?
Or do you need support?
Best Regards,
Jo
02-22-2019 12:25 AM
Do you solve your problem? I encounted the same problem with same power supply (Hameg 8142).
Whatever commands send to it, I just get the message "ERROR: NO LEADING COMMAND!".
03-01-2019 09:57 AM
This instrument does NOT follow the SCPI protocol. View the manual here on the command format.
03-04-2019 03:37 AM
I awared the SCPI command of HM8142 is not standard SCPI. I tried ID? instead of *IDN? to query the instrument ID, but it's not success.
03-04-2019 03:46 AM
03-04-2019 03:57 AM
I tried it before, but it's still the same. No leading command.
03-04-2019 05:25 AM
Hi
DO NOT ADD THE CHARACTERS "CR" but the single character Cr meaning carriage return.
The best you can do is to change the visibility mode of the string to display the Display Style.
The normal style only displays the readable characters, in \codes display mode you can type \r
to have the Cr I meant.
Sorry that I start in capitals but the carriage return character is character 13 in decimal and x0D in hex.
All translating to the same effect. Another possibility is to press enter but that translates into the character Line Feed that is value 10 in decimal and x0A in hex. Or \n in \codes display.
Try this again and don't be afraid to send your .vi instead of pictures of your vi.
03-17-2019 11:00 PM
Hi, thanks for pointing out the CR character meaning. I didn't aware of it.
My VI is now working!
Thank you very much 🙂