LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Property Node (arg 8) in VISA Configure Serial Port

Solved!
Go to solution

Thank you,

Saved me a bunch of time trying to trouble shoot my LabVIEW code.  I will get another hub and try that.  Thanks for the quick reply!!

-ncm

-ncm
0 Kudos
Message 11 of 33
(13,610 Views)

So, I played around with a new USB hub that has 4A of power which should be good since I am running 8 parts.  I am still having the same trouble.  When LabVIEW is up and running and I disconnect a USB, the program will no longer see the USB unless i shut down LabVIEW completely (not just the vi) and restart the program.  Is this normal?  The current setup that I am tryingt to replace has a PCI card for the 8-up port so it is not possible to unplug the part while LabVIEW is running.  Is it possible for LabVIEW to see the port after replugging the port in while LabVIEW is running?

-ncm
0 Kudos
Message 12 of 33
(13,588 Views)

What is the device on the other end of the USB Cable?


"Should be" isn't "Is" -Jay
0 Kudos
Message 13 of 33
(13,580 Views)

For troubleshooting purposes, nothing.  On the production line it will be a PCB board

-ncm
0 Kudos
Message 14 of 33
(13,576 Views)

I just had a curious thought... The original error message says that there is an error while configuring the serial port. If you look inside that VI all that is there is one large property node. Now the error message says that the problem is specifically with arg8, or the 8th item in the property node (Serial Settings:Flow Control). The significance of this is that property nodes "execute" from top to bottom so LV had already set 7 other properties on the port without complaint.

 

Two things:

 

First, put a property node before the serial port configuration that has all the same properties as the one in serial port configuration VI, but are all set to read. When the error is occurring, what are the properties that you are reading?

 

Second, try creating a copy of the existing serial port configuration VI that doesn't have the last two properties (Flow control and whatever is after it). Do you still get errors?

 

Mike...

 

PS: you will need to try these experiments because I have not been able to duplicate your problem on my computer.


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 15 of 33
(13,574 Views)
In my opinion, the best solution is to make it physically difficult to disconnect the USB cable from the pc. With the pc and USB converter inside an enclosure, the serial connections could be mounted on a panel.
0 Kudos
Message 16 of 33
(13,569 Views)

Smiley Very Happy I was just thinking the same thing!!  I was talking to the tech and said "Can't we just make a box so production can't accidentally disconnect anything?"  This might just have to be my solution.  I miss computers having the PCI cards, makes it harder for people to mess with your setup. 

-ncm

-ncm
0 Kudos
Message 17 of 33
(13,565 Views)

@ncm wrote:

Smiley Very Happy I was just thinking the same thing!!  I was talking to the tech and said "Can't we just make a box so production can't accidentally disconnect anything?"  This might just have to be my solution.  I miss computers having the PCI cards, makes it harder for people to mess with your setup. 

-ncm


You are not the first.

 

So, USERS are the problem again.  See also here


"Should be" isn't "Is" -Jay
0 Kudos
Message 18 of 33
(13,553 Views)

Love your link, I was laughing the whole time, and yes, USERS are usually the issue Smiley Happy  But I may have more questions in the future, still am debugging the upgrade so I may just have more questions to post in a few days, thanks for all the help!!!!

-ncm

-ncm
0 Kudos
Message 19 of 33
(13,550 Views)

So... I have tried using the higher current rated hub and have had no luck.  I will have 3 out of the 8 work but not all of them (#1, #4 and #5)  I am still not getting consistant results.  I have tried turning the computer on and off again, NI MAX and Device Manager both say that they 'see' the devices.  Is there another piece of equipment that I can use to replace the 8up PCI card serial port that is in my older computer to be able to use the USB to RS232?  Any suggestions?

-ncm
0 Kudos
Message 20 of 33
(13,520 Views)