Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

In the LABView GPIB-232/485CT-A operate OK.

In the LABView GPIB-232/485CT-A operate OK. I confegure EOS ( from D to X,B,10) in LABView and send in MAX command through secondary address to device conected to GPIB and it resive it. When I begin confegure primery address in MAX it is not sucsess.
What is cause that GPIB(primery) didn't recive command eos?
0 Kudos
Message 1 of 3
(3,409 Views)
Hello-

Let's verify the serial port is communicating properly:

-The VISA interactive control can be used to send strings over the serial port to an instrument (C:\VXIPNP\WIN95\NIvisa\NIvisaic.exe when LabVIEW is installed). The "Basic I/O" tab of VISAIC is a very quick way to determine the proper port. Attach a paper clip between pins 2 and 3 of the serial port and do a viWrite for a string command then do a viRead. If the command echoes back, the loopback was successful. Also, try removing the paperclip and sending a command. This time the command should not echo back.

-There may also be a problem with the cable. Most instruments require a null modem cable. Be sure the cable is not a straight through cable. The quickest way to test the
type of cable is to use a multi-meter. A straight through cable will have a connection between pins 2 on each side of the cable.

Randy Solomonson
Application Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,409 Views)
Hello-

Let's verify the serial port is communicating properly:

-The VISA interactive control can be used to send strings over the serial port to an instrument (C:\VXIPNP\WIN95\NIvisa\NIvisaic.exe when LabVIEW is installed). The "Basic I/O" tab of VISAIC is a very quick way to determine the proper port. Attach a paper clip between pins 2 and 3 of the serial port and do a viWrite for a string command then do a viRead. If the command echoes back, the loopback was successful. Also, try removing the paperclip and sending a command. This time the command should not echo back.

-There may also be a problem with the cable. Most instruments require a null modem cable. Be sure the cable is not a straight through cable. The quickest way to test the
type of cable is to use a multi-meter. A straight through cable will have a connection between pins 2 on each side of the cable.

Randy Solomonson
Application Engineer
National Instruments
0 Kudos
Message 3 of 3
(3,409 Views)