LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HP Basic Equivalent in LabView

Hi all!
I want to write a Labview driver for the HP 5371A "Frequency and Time
Interval Analyzer". I'm looking for the equivalent for the following lines
to get data from the instrument written in HP Basic:

TRIGGER Counter
FOR I=1 to Sample_Size
ENTER Counter USING "%,K"; Meas_a$(I)
PRINT I, Meas_a$(I)
NEXT I

It's not clear to me how to implement the ENTER Statement in Labview. The
VI_GPIB_Read doesn't work.

Can anybody give me some hint or even send me a short VI?
Many thanks!
Stefan
0 Kudos
Message 1 of 4
(3,089 Views)
It has been a vry long time since I worked with HP Basic but a GPIB
Read should work with instrument assuming that there's data in the
buffer, you have the correct address, the instrument's connected, and
you're using a NI GPIB card. Have you tried something simple like
writing IDN? and then doing a read? Does the instrument show up in MAX
and can you communicate with it there?

I would also suggest that you use VISA instead of the traditional GPIB
functions. They give you some more flexibility.
0 Kudos
Message 2 of 4
(3,089 Views)

Stefan,

 

Did you ever get that issue resolved?

Can you please post or email a copy of the vi so I can take a look at the implementation

 

Thanks

 

Larry

 

0 Kudos
Message 3 of 4
(1,331 Views)

@LarryJunek wrote:

Stefan,

 

Did you ever get that issue resolved?

Can you please post or email a copy of the vi so I can take a look at the implementation

You are asking in an ancient stale thread about a user that had not visited the forum in 18 years. I strongly recommend to start a new thread and explain what problem you are trying to solve. Communicating with an instrument is typically trivial.

0 Kudos
Message 4 of 4
(1,304 Views)