08-03-2015 06:31 PM
I can't make my VI detect the connection of a serial port automatically, I don't want the user selecting the port COM*?
Solved! Go to Solution.
08-03-2015 06:59 PM
08-03-2015 07:01 PM
Use the VISA Find Resource to find the resources and then use a FOR loop to filter just the ones you want (COM ports). You can then use a FOR loop to check each serial port to see if it is the right one. For connecting to a streaming instrument, just do a read and see if it matches the expected data format. If it is a command-response instrument, you just send a command and check the response.
08-05-2015 09:51 AM
If you're trying to find USB com ports, maby one of these will help.
08-17-2015 07:23 PM
Thnx! it works. It is what I was looking for.
08-17-2015 10:47 PM
Hi paul
could you pleas put these files with lower version .
Thanks
08-18-2015 11:15 AM
Here's LV 13.
Also, this time I didn't forget to include the subVIs for 'Find Specific Com Port.vi'.