Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

interfacing

Solved!
Go to solution
Hi! I have installed the NI-VISA drivers and the error is gone. Now a new error is displayed. The instrument is responding properly to the program but I am getting the following error. "Error -1073807339 occurred at VISA Read in Advanced Serial Write and Read.vi Possible reason(s): VISA: (Hex 0xBFFF0015) Timeout expired before operation completed." can any one help? Thank you!
0 Kudos
Message 1 of 3
(3,631 Views)
Solution
Accepted by topic author jkfhdskh

There are many possibilities for this error. You could have the wrong com settings (baud rate, parity). You could have the wrong type of serial cable. Null-modem and straight through are the two major types. The manual should explain which to use. Use an ohmeter to check the type you have. You could have sent a command that does not require the instrument to respond and there would be nothing to read.

 

I always verify communication with a terminal emulator such as Hyperterminal before writing any LabVIEW code. If nothing else, you should be able to get help from the vendor. All vendors should know about Hyperterminal. Many will have never heard of LabVIEW.

 

It would also help if you provided some details on the instrument you are trying to talk to. If you have an electronic copy of the manual, attach that.

Message Edited by Dennis Knutson on 10-28-2009 07:51 AM
Message 2 of 3
(3,621 Views)
hey thanks! the solution which u provided didnt help. but there was an example provided by you called serial.vi. that really solved my problem and i understood where the problem lied. thanks once again.
0 Kudos
Message 3 of 3
(3,555 Views)