LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot open serial port anymore. Error -1073807194 occurred at Property Node (arg 8) in VISA Configure Serial Port (Instr).vi

Hello everyone, 

 

After sucessfully using rs232 serial port communication for many days, the connection abruptly ended and now I can no longer ascess the port.  I have tried restarting the computer, updating lab view, and changing computers.  I also made a very simple VI that just opens the port, reads the number of bytes and closes it.  This simple program does not work either, leading me to believe that it is not an issue with my original VI.  When I run the VI and hit the stop button, I get the error in the subject line and Possible reason(s): VISA: (Hex 0xBFFF00A6) The connection for the given session has been lost.  I have attatched my simple VI below.  If anyone has any ideas, that would be greatly appreciated.

 

0 Kudos
Message 1 of 2
(152 Views)

I'm not surprised that the code snippet you attached didn't work.  There's no VISA resource name, the Serial setttings are unspecified, you have a Bytes at Port function (which should almost never be used -- see Tim Robinson's talk in the LabVIEW Wiki), you are trying to read 90,000 bytes when you don't even know if you have any, etc.

 

Have you tested your serial port by opening MAX, finding the port (into which you've plugged something that can communicate with LabVIEW), and opened a Test Panel to see if you can "see each other" and exchange information (for example, you send a Command, and it responds)?

 

Bob Schor

0 Kudos
Message 2 of 2
(103 Views)