12-12-2006 06:32 PM
12-13-2006 01:18 AM
Hi,
You need to assign the Alias of COM1 to "ASRL2..." and you can do this in MAX.
Regards
Ray Farmer
12-13-2006 06:14 AM
12-13-2006 06:31 AM
12-14-2006 06:58 AM
12-14-2006 07:18 AM
Hi,
Its a text file, use a text editor such as notepad.
regards
Ray Farmer
12-14-2006 07:57 AM - edited 12-14-2006 07:57 AM
Message Edited by Nallez on 12-14-2006 07:58 AM
12-14-2006 08:14 AM - edited 12-14-2006 08:14 AM
Here's a VI I use to do what you want. I don't even worry about aliases in MAX, I do them myself. This VI will only find serial ports, though. You would have to change it to find parallel ports or GPIB ports. It returns an array of clusters, each containing an alias and the actual VISA address. This way you can display the alias to the user and pass the actual address around in the program and you won't have to worry if aliases are set in MAX.
Message Edited by Marc A on 12-14-2006 09:14 AM
12-14-2006 08:26 AM
Hi Marc A,
Cant see you VI at present (no LabVIEW available on PC) but I guess you are using the ASRL resource name to send to the VISA open and using the Alias in some control the user can select?
Regards
Ray Farmer
12-14-2006 08:32 AM - edited 12-14-2006 08:32 AM
Message Edited by Marc A on 12-14-2006 09:32 AM