[time-nuts] HP5386A GPIB

Azelio Boriani azelio.boriani at screen.it
Mon Jun 18 12:18:47 UTC 2012


I have seen that others had a communication problem with the HP5386A. When
I use the Agilent IOLibrarySuite, this counter generates ghost sessions and
can't enumerate correctly. I thought it was a faulty GPIB port at first but
after reading all this I suspect it is the strange behaviour of the 5386A
GPIB controller software. Good to know it must be stopped at the newline 0A.

On Mon, Jun 18, 2012 at 9:29 AM, 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<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<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<https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts>
> and follow the instructions there.


More information about the time-nuts mailing list