LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA "Find" not seeing COM port but Win7 sees it

Groovy - thanks for your help.  This is turning out to be a little more sticky than I anticipated.

 

Like I said earlier, I added to the list of COM port aliases, recompiled the exe, and put that exe on one of the test laptops and was pleased to find it worked.  Windows assigned the VCP to COM8, the LV program saw COM8, and everything talked just fine.

 

I have three other laptops that need to run the same program, so I put a copy of that exe on one of the other laptops.  But I found when I plugged in the USB cable, Windows assigned it to COM4, but my LV program only saw COM3.  Funny thing is Windows says there was nothing assigned to COM3, so where is LV getting that number?  Urgh.

 

I'll look into your latest suggestions and dig around some more - wish me luck!

********************************************
Amateur programmer for over 10 years!
********************************************
0 Kudos
Message 11 of 16
(1,347 Views)

on a Laptop COM3 is often reserved for a BT HID (wireless mouse)


"Should be" isn't "Is" -Jay
0 Kudos
Message 12 of 16
(1,342 Views)

Bringing up an older thread because of a new issue.  I'm hoping it's something simple.

 

I need to test two different USB<>COM cables in my LV program.  When I plugged the cables into my computer, I saw that Windows assigned one to COM4 and the other to COM9.  When I ran my LV program, I saw that the "VISA find" function displayed COM3 (USB mouse), COM4 (correct), and....COM12 (What the heck is this?  Where is COM9?).  I looked in Windows Device Manager under COM ports and saw nothing using COM12, so I was scratching my head where COM12 came from.

 

A while ago I updated the list of COM port aliases up to around COM40 in MAX, and I double checked there were no typos in that list, so I don't suspect that's the issue.

 

So I looked at a different VI program that also uses the "VISA find" function, and it displayed COM3, COM4, and COM9, as it should.  I went back to the first VI, which is set up exactly the same in terms of looking for the COM ports as the second VI that worked correctly, and even with me plugging and unplugging the USB devices, it still listed the COM9 device as COM12.

 

Why would the "VISA find" list the COM9 device as COM12?

 

 

********************************************
Amateur programmer for over 10 years!
********************************************
0 Kudos
Message 13 of 16
(1,324 Views)

Bumping this thread...hopefully someone has a suggestion.

********************************************
Amateur programmer for over 10 years!
********************************************
0 Kudos
Message 14 of 16
(1,307 Views)

Hi Spaceman_spif,

From the information you've provided, it is hard to determine what the soure of your problem is. Could you maybe post some of your code? Also, it might be useful to start a new thread, which will increase traffic on your issue. I have attached two links that you might find interesting related to this issue.

1) http://www.ni.com/support/labview/visa/vsteps.htm - General Troubleshooting Tips for VISA Problems

2) http://digital.ni.com/public.nsf/allkb/AE830D99E30CB61486256C7900697999 - My Serial Ports Have the Wrong Names in LabVIEW and Measurement & Automation Explorer

 

Regards,

Michelle G
Applications Engineering
National Instruments
0 Kudos
Message 15 of 16
(1,294 Views)

Will do!  Thanks!

********************************************
Amateur programmer for over 10 years!
********************************************
0 Kudos
Message 16 of 16
(1,290 Views)