Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble connecting to TTI 1906 (Seral RS-232) Works in visa not in program

I am trying to connect to a TTI 1906 multimeter using a serial interface
I seem to be able to get a response in the visa test panel when I change the output RTS State to Unasserted and leave the other parameters as default, however, when I try the same thing in a program and get this error:
Error -1073807298 occurred at VISA Read in READ1906-Multimeter.vi
VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error.

 

0 Kudos
Message 1 of 3
(1,391 Views)

With the flow control turned off, you shouldn't have to worry about asserting or unasserting the RTS.

 

As far as your error, my initial thought is that you still have the VISA Test Panel open, which should lock out the port to any other application.  My second though is you should be using the adapter cable for this device because it is make to daisy chain instruments, causing some interesting wiring choices.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(1,380 Views)

Thank you for your response!
I always close the test panel before I try and start the program otherwise I get a different error

I was expecting that since I get the correct response using visa, I would get the same response using labview as I would assume these are the same settings

I also find that if I assert RTS on visa I get the same error I get in labview (attached photo)

0 Kudos
Message 3 of 3
(1,368 Views)