LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS232 VISA communication set up and operation

Upgrading a programme from v3.11 to 6i through version 5.1 I have had problems sorting out an RS232 serial comm. Some of the base Vi's are not supported anymore. I have been advised to use a VISA technique but am having problems setting the port up even using the example VI's suggested. Does anyone have any pointers?
0 Kudos
Message 1 of 4
(2,813 Views)
You should remove VISA Clear from your VI. This is common for GPIB and VXI devices, but not for most Serial devices. VISA will return an error from this function unless you set the I/O protocol property to 4.

Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments
0 Kudos
Message 2 of 4
(2,813 Views)
I'm using LV to serial transmit and recieve RS232 info using com ports on mother. I know that the info is being transmit because I have a decoder connected on com cable but no recieve is being detected.When I use the debuger an error code -1073807339 and hex 0xBFFF0015 are display. I would like to know if there is any thing I can do to correct this problem?
0 Kudos
Message 3 of 4
(2,813 Views)
Did you use the simple error handler to find out what the error is?

It's a timeout error... So, you either need to increase the timeout limit,
or (most likely)
try and find out why your device isn't replying to your instructions.

"Test Engineer" wrote in message
news:506500000005000000FE4D0000-1004225886000@exchange.ni.com...
> I'm using LV to serial transmit and recieve RS232 info using com ports
> on mother. I know that the info is being transmit because I have a
> decoder connected on com cable but no recieve is being detected.When I
> use the debuger an error code -1073807339 and hex 0xBFFF0015 are
> display. I would like to know if there is any thing I can do to
> correct this problem?
0 Kudos
Message 4 of 4
(2,813 Views)