From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-05-2024 12:58 PM
Hello,
I have a device when I turn it on it gets established to a COM port. In LabVIEW I connect the COM port and do some commands then close it.
I then try to connect to this device again but it is now showing up with 2 ASRL values but they are associated with the same COM port? So I cannot connect to the device under the original COM port, it now has to be this new one that is still technically the same COM port.
How do I make it so I am not getting these two separate COM ports?
08-06-2024 08:57 AM
Anyone?
08-06-2024 12:02 PM - edited 08-06-2024 12:06 PM
@LearningLabVIEW wrote:
Hello,
I have a device when I turn it on it gets established to a COM port. In LabVIEW I connect the COM port and do some commands then close it.
I then try to connect to this device again but it is now showing up with 2 ASRL values but they are associated with the same COM port? So I cannot connect to the device under the original COM port, it now has to be this new one that is still technically the same COM port.
How do I make it so I am not getting these two separate COM ports?
The only way this happens is if the COM port failed to close the first time. In order to get more specific, we need to see some code.
Edit: I didn't realize the included picture was a picture of your code. (It is NOT the same thing as real code.) Anyway, your code is sufficiently simple enough for me to say that you need to close your COM port after the loop. Your code could be optimized. It's very clunky.
08-06-2024 06:15 PM
@LearningLabVIEW wrote:
Anyone?
Stop changing the USB port that you connect through.