[time-nuts] HP5386A GPIB

Hui Zhang ba6it at 163.com
Mon Jun 18 13:54:49 UTC 2012


Hello Ton:
    Thanks for your reply. I tried to send 0x040A to HP5386, but I did not receive any response. I pressed RESET button when I got "52" error message, the error message disappeared and frequency reading displayed in the receive buffer area of my Serial port Assitant software.


Hui


At 2012-06-18 15:29:07,Ton <ton at mubo.nl> wrote:
>Hello Hui,
>
>I found that I needed:
>Ag488Wrap.ibeos(devDesc, 0x040A); // 04 = terminate read when 0A = /n is 
>detected
>as part of the initialization. Without this, the communication with my 
>5384A timed out.
>
>Also, see what happens when you press the reset button when you get 
>error 52 while you continue to loop on ibread with a timer.
>
>Best regards,
>Ton
>
>
>On 17-Jun-12 17:45, Michael Blazer wrote:
>> 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 at 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 at 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 at febo.com
>To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
>and follow the instructions there.


More information about the time-nuts mailing list