07-23-2014 03:38 PM
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
07-24-2014 07:58 AM
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?
07-24-2014 08:50 AM
What is the device on the other end of the USB Cable?
07-24-2014 09:00 AM
For troubleshooting purposes, nothing. On the production line it will be a PCB board
07-24-2014 09:05 AM - edited 07-24-2014 09:06 AM
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.
07-24-2014 09:14 AM
07-24-2014 09:16 AM
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
07-24-2014 11:01 AM
@ncm wrote:
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
07-24-2014 11:13 AM
Love your link, I was laughing the whole time, and yes, USERS are usually the issue
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
08-05-2014 09:30 AM
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?