Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB RS232 'Is Port Connected' 'Invalid Property Value'

Solved!
Go to solution

I am quite new to this so if any of the below is unclear or needs more explanation let me know and I will attempt to provide the information.

I am trying to integrate a device into my LabView program. From the guides I could find on the NI site most of it mentioned going to NI MAX first, and then work from them down. My device is an RS232 port, so I have it connected through a USB converter, and I know I am looking at the right port (COM5) from looking at the 'Manage Devices' part on Control Panel. 

All the Serial Setting are set up correctly as I can tell (the User Manual is here, with page 17 being the relevant part, and my configuration here). I attempted to test the commands it gave me on the Input/Output section but constantly came up with the error "VISA: (Hex 0xBFFF0015) Timeout expired before operation completed." I initially suspected I was entering commands incorrectly, as I find the instructions in the manual confusing, especially when compared to the stuff other users have posted about commands ("\r" and "\n" rather than what I am being told to write, though I accept that mine may not be the literal characters).

But when I went back to "View Attributes" the final Attribute "Is Port Connected" has an error with "Invalid Property Value", and the error warning Hex 0xBFFF001D. Due to my inexperience with all this I am not sure where to really start trying to fix this problem, or what steps I need to make to make it start functioning correctly.

Any and all advice is appreciated. Thanks

0 Kudos
Message 1 of 4
(9,592 Views)
Solution
Accepted by LDodd
The 'is connected' property is only for devices from NI so if you have another brand of converter, you would just ignore the error.
Message 2 of 4
(9,576 Views)

Thanks. 

It turns out the problem was with the commands and such, but with all my uncertainties of where the error could be I was worried it might be something else.

0 Kudos
Message 3 of 4
(9,569 Views)

Hi, I am trying to communicate with a como torque type 4700 using a USB\Serial converter and I am also receiving the same error as you "VISA: (Hex 0xBFFF0015) Timeout expired before operation completed" . I was also thinking that it's because of Is port connected because I am also gettinh an Invalide property Value.

How did you resolv the problem please??

0 Kudos
Message 4 of 4
(8,404 Views)