LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Errors out from 'VISA configure serial port (instr).vi'

Solved!
Go to solution

Dear all,

 

Error out shows 'Property Node (arg 😎 in VISA Configure Serial Port (instr).vi'. Does this mean the 8th input of the VI is wrong? How to fix it?

 

It also shows the possible reason is 'VISA: (Hex 0*BFFF0000) Unknown system error (miscellaneous error).' What does this mean?

 

Thank you very much.

 

LabVIEW 2013 sp1 in Windows 10

 

errors_VISA configure serial port.png

 

0 Kudos
Message 1 of 5
(2,268 Views)
Solution
Accepted by topic author VictoryNeal

Yes, when trying to set the 8th property  VISA encountered an error from the underlaying OS driver. And it doesn’t consider that property an optional feature for a serial port.

 

Typically this happens mostly with virtual COM ports whose USB engine isn’t quite implementing the serial port standard completely.

 

There are three solutions:

 

1) Create your own Serial Port Init function that does not use this property. This may not be an option depending on the property or may have problems when you try to use a real serial port that requires that property to be set explicitly. Don’t modify VIs in vi.lib but create a new one inside your project!

 

2) As before but instead of removing the property you call it seperately and ignore the error this property returns (but not any other errors). 

 

3) Use a different (USB) Serial Port interface

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 5
(2,207 Views)
Solution
Accepted by topic author VictoryNeal

Hi Rolf,

 

Thanks a lot. I am using a physical COM port, connecting Teensy2++ to computer. I tried your third solution and it works! I transferred from a USB2.0 port to a USB3.0 port.

0 Kudos
Message 3 of 5
(2,180 Views)

You should be giving the solution to the post that has the solution, rather than to yourself for implementing it!

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(2,157 Views)

You are in fact using a virtual COM port if you connect it through USB. And those are the ones that sometimes don’t implement all serial port functions, especially the cheap no-names.

Rolf Kalbermatter
My Blog
0 Kudos
Message 5 of 5
(2,150 Views)