08-16-2007 04:47 PM
08-17-2007 06:19 PM
08-20-2007 09:36 AM
Hi Chris,
Thank you for your response. However, I need to change the ASRL number and not the alias. In the previously attached screen shot, the system skips ASRL11 for COM11 and sets it instead to ASRL15.
Why does it skip ASRL11? There is a similar problem with the ASRL number associated with COM15.
I can change the alias name. But this will not work with our current applicaitons because the programming assumes that the ASRL numbers are sequential without skips or gaps. Our applications are sent out to end-users who have no clue what an ASRL number is. Therefore we have to only use COM numbers and keep it simple.
If I cannot change the ASRL number, is there a way to programmatically retrieve the ASRL numbers that are associated with the COM numbers? This way the system will be automated and no one will have to work with the ASRL numbers. I could have the application open the visaconf.ini file and retrieve the ASRL / COM associations. However, the visaconf.ini file does not get defined properly. I always have to manipulate it.
Dave
08-21-2007 10:50 AM - edited 08-21-2007 10:50 AM
Hi Dave,
In the device manager, access the properties of the COM port and see if you can change the COM numbers. I was able to change the COM numbers for my COM ports and the ASRL number automatically changed for me. Go to the Control Panel>>System>>Hardware Tab>>Device Manager>>Ports. Double click on a port then go to the Port Setting tab and select Advanced Settings. See the screen shots below. If ASRL11 is already used/reserved by something else (now or in the past), then that is probably the reason you cannot select it. Try this out and see what happens. Here are some screen shots to help you if needed.
Have a great day!
Message Edited by Chris_R. on 08-21-2007 10:51 AM
08-25-2007 04:26 PM
Hi Chris,
Sorry for not responding sooner. I've been out of town.
I tried to temporarily change the alias names to no avail. Please see the attached for more details of what I attempted to correct this problem.
Thanks,
Dave
01-29-2013 05:46 PM
I have this same issue - I'd like to do an explicit assignment of an ASRL number rather than use the default enumeration that VISA comes up with. The reason for this is that we run a set of several test stations that we'd like to keep configured in a consistent way, so that our test apps find the same resources. Unfortunately, we have a virtual serial port in a framegrabber that is enumerating differently on different test systems.
Is there any way to ster / reassign the ASRL enumeration for VISA resources?
It looks like NI didn't have an answer for this thread ...
01-30-2013 04:49 PM
Hi,
You can edit the visaconf.ini as is shown at the following link:
http://digital.ni.com/public.nsf/allkb/B089F9352D262EE686256F1100001EE0?OpenDocument
Regards,
01-30-2013 08:26 PM
I understand that I can change or delete the alias for any given ASRL, but that wasn't the question.
Can I change the mapping of the ASRL to physical device (i.e. not the ASRL to alias mapping)?
In the example at the link you provided, can I make ASRL10 map to a physical serial port, and make ASRL1 map to a parallel port?
I don't want to simply remove an alias (as this link describes), I want to remap an ASRL to a different physical device.
01-31-2013 02:10 PM
Hi memchar
The changes that you are able to make are the available options in MAX or modifying that file (visaconf.ini).
Regards
09-03-2014 09:50 AM - edited 09-03-2014 09:51 AM
menchar, I have the same issue in the same situation.
Did you finde a solution for this or anyone else?