Instrument Control (GPIB, Serial, VISA, IVI)

cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

No leading command

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

 

 

0 kudos
Mensaje 1 de 10
6.835 Vistas

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?



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Mensaje 2 de 10
6.822 Vistas

Hey C-Dog,

 

What is the current status?

Are you already come up with a solution?

Or do you need support?

 

Best Regards,

Jo

0 kudos
Mensaje 3 de 10
6.731 Vistas

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!".

0 kudos
Mensaje 4 de 10
4.297 Vistas

This instrument does NOT follow the SCPI protocol.  View the manual here on the command format.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 kudos
Mensaje 5 de 10
4.274 Vistas

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.  

0 kudos
Mensaje 6 de 10
4.253 Vistas

Did you add the Cr at the end of the string?

greetings from the Netherlands
0 kudos
Mensaje 7 de 10
4.250 Vistas

I tried it before, but it's still the same. No leading command. Capture.PNG

0 kudos
Mensaje 8 de 10
4.248 Vistas

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.

greetings from the Netherlands
Mensaje 9 de 10
4.246 Vistas

Hi, thanks for pointing out the CR character meaning. I didn't aware of it.

My VI is now working!

Thank you very much 🙂 

 

0 kudos
Mensaje 10 de 10
4.143 Vistas