Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get LabView to communicate with my HP4142B

I have a PCI-GPIB card from NI and running Labview 6.1 under Windows 2000.
I have trouble to communicate with a HP4142B.
Every time I send a GPIB-command to the 4142B I get an EABO error. The instrument seems to receive the command
but does not give any answer. There may be some trouble with the EOS character but I don't know how to correct it. Communication with other instuments (i.e. HP34401A) works without this problem together with LabView.
I have also tried to send commands with the NI-488.2 program but the EABO error remains.
First I thougth that HP4142B has got a HW error but then I sucessfully used a program called "HP VEE".
The instument then worked without any trouble so there must be something else
that is incorrect.

It is important for me to get the HP4142B to work with LabView and the PCI-GPIB card so I hope you can help me solve my problem!

Jon Alfredsson
M.Sc.EE, Ph.D student
Mid Sweden University
0 Kudos
Message 1 of 3
(3,572 Views)
Hello John,
First, make sure the commands that you are sending to the device are supposed to recieve responses. Queries often end in a "?". If the command is supposed to recieve a response, make sure you are using the right termination characters. The termination characters should be specified in the instrument's user manual. Common termination characters are a carriage return, a linefeed, or both. In LabVIEW you can easily add termination characters to a string by right clicking on it, selecting / codes display, typing in a /r or /n at the end of the string.

Ray K
NI Applications Engineer
0 Kudos
Message 2 of 3
(3,572 Views)
I have the same problem.... My HP4142B does'nt answer. I have the user manual...
I try the basic command *IDN? and the HP doesn't answer and there's still not any driver !!!
Please help me
0 Kudos
Message 3 of 3
(3,572 Views)