05-25-2009 06:33 AM
Hi all.
Is it Possible to change the Name ' ASRL3::INSTR' to COM3 instead, in a' VISA resource name' Control.
see attached pic. is there a control propertie that can change this View eks. "ASL3::INSTR" To "COM3"?
HFZ
05-25-2009 07:48 AM
With Measurement&Automation explorer you should be able to modify the serial port ALIAS to "COM3"
see jpg
05-25-2009 08:10 AM
Yes that is possibly right, but that will only be for that port.
I would like to change the VISA formatting The Control views. so other ports also are changed automatic.
Ex. if my program is running on a PC with 3 ports, then in the controllers Window for the VISA Resource, it wil display
ASL1::INSTR
ASL2::INSTR
ASL3::INSTR
There must be a propertie for the controller or so ?
HFZ
05-25-2009 08:17 AM
05-25-2009 08:22 AM
Sorry but the only way I know to change that kind of alias is modifying the key in "visaconf.ini".
05-25-2009 08:30 AM
antea06 a écrit:Sorry but the only way I know to change that kind of alias is modifying the key in "visaconf.ini".
This is exactly what MAX will do when using the tool that is described in above linked document... Obviously, you can edit this file (take care to the exact syntax and don't forget to update the number of aliases) but it is much more confortable and secure to use MAX.
05-25-2009 10:11 AM
This configuartion is set up, but when Running the application I only get those long Port names.
Could itbe that it only comes trough when making an .exe application?
....
HFZ
05-26-2009 12:52 AM
05-26-2009 09:55 AM
Antea,
Your user icon doesn't show up because you hosted it on some 3rd party website we dont' have access to. Post your icon as an attachment to the Icons Thread
Then have you user profile point to the file attachment at that message thread if you want people to see it.