LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial ports not showing up as COMs

Hi,
I currently have the problem where my serial ports don't show up as COMs when I use the VISA resource block. Instead they show up as ASRL1::INSTR for port 1 etc. While this still works ok when I select them manually for running some VI's, some executables where I'm prompted to select a COM port, no com ports show up at all. This is strange because previously I used to be able to see serial ports as COM8 instead of ASRL8::INSTR. Device manager from Windows XP says that the ports are working properly and there are no conflicts. Using Hyperterminal to see information from the serial devices works fine. So i'm not sure what is going on.
 
One thing I did notice is that in Measurement and Automation Explorer (MAX), three of the ports have the yellow caution sign next to them. One of them is a serial port which says that "VISA port settings are different from the Windows port settings. Go to the Port Settings Conflict tab to resolve the inconsistency." However when trying to resolve this error I cannot save the changes, an unknown error message will come up (maybe because I don't have admin rights on the comp?). The other two ports with the caution sign are Toshiba bluetooth comms. with the device status: "VISA returned this device when finding resources, and MAX could use VISA to parse the resource name. MAX could not succesfully open a VISA session to the device" with no clues on how to fix.
 
Has anyone had any experience with these sort of problems and how to resolve them.
 
Thanks,
William
 
 
0 Kudos
Message 1 of 8
(7,497 Views)

Hi Bill23,

do you mean this vi? See the attachment please. Hope it helps.

Mike

0 Kudos
Message 2 of 8
(7,496 Views)
Do you have VISA Aliases set up in Measurement and Automation Explorer for the Serial Ports?




Message Edited by Matthew Kelton on 03-17-2008 02:52 AM
0 Kudos
Message 3 of 8
(7,488 Views)
0 Kudos
Message 4 of 8
(7,473 Views)

That first link isn't quite so useful considering it's in Spanish.Smiley Wink
0 Kudos
Message 5 of 8
(7,459 Views)
0 Kudos
Message 6 of 8
(7,446 Views)

Hi

Thanks for the quick replies. The VISA Aliases from MAX seems to be set up properly, just that when I go to select a com port in LabView, they show up as ASRL1:INSTR etc. This isn't such a big problem as selecting ASRL still works ok, just that some executables and VI's i'm trying to run is written so as to scan for the string "COM" while they search for com ports so when that happens I can't run them since there's nothing to select.  I've attached a couple of screenshots of what I see (note that some of the serials ports, the device status says device is working properly, just the ones I took screenshots off, it seems to have an error).

0 Kudos
Message 7 of 8
(7,420 Views)


Ravens Fan wrote:

That first link isn't quite so useful considering it's in Spanish.Smiley Wink



I don't know Spanish either... but it has a nice vi, as an example (about handling port names)
0 Kudos
Message 8 of 8
(7,404 Views)