Hui,
The older instruments have a very simple command structure. You don't need the "?" to query. Typically just doing a GPIB Read command (ibread for NI controllers) will address the counter to output and it will send the current reading. This can cause a problem if you request data too soon after a setup command. You'll get the previous reading. The "ENTER S ; N$" command just reads from address "S" into the variable "N$". It sound like you need the command to your USB-GPIB controller to get it to read. The counter is probably ready to send the data, the controller just needs to initiate its read cycle.

Mike

On 6/17/2012 10:17 AM, Hui Zhang wrote:
I have a old HP5386A counter and a OEM USB-GPIB controller(no tech support), I use a serial port 
debug program to send command via USB-GPIB to HP5386A, when I send "FU2"(Measure period) 
or "DI"(increment display digis), the 5386 response the command and worked well, the 
other control command in the HP's manual also worked well.


But I don't know how to read the measure value from 5385A, in my HP3478A mutilmeter case, I just 
send a "?", it will return voltage value to software, but at 5386A, the “?” not work, I 
got error message "52" on LCD panel.


I read the HP5386's manual, the demonstrates used "ENTER" command to get measure value, 
but the "ENTER" is a HP-BASIC command of vintage HP-85 computer. I don't know how to send 
similar command to control my counter, can someone give me some advice? Thank you!


Hui
_______________________________________________
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.



_______________________________________________
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Reply via email to