03-21-2013 10:02 PM - edited 03-21-2013 10:03 PM
I wonder what your VISA configuration file looks like...
Every time you boot up your machine, any resources that are no longer detected are removed from the VISA config file (MAX recreates/overwrites it). The fact that your port is named COM11, rather than COM1, might point our attention here.
visaconf.ini is located in the C:\Program Data\National Instruments\NIvisa folder. If you open it and scroll down to the [ALIASES] and [ASRL-RSRC-ALIAS] sections, we might learn something from the information stored there, particularly the values assigned to the Static flags.
If we really want to have some fun, you can try saving a copy of the file, running through the cycle again, and then replacing the new file (created on boot) with the previously saved version. Just to see what happens ...
03-22-2013 09:32 AM
@KBreezy wrote:
I wonder what your VISA configuration file looks like...
Every time you boot up your machine, any resources that are no longer detected are removed from the VISA config file (MAX recreates/overwrites it). The fact that your port is named COM11, rather than COM1, might point our attention here.
visaconf.ini is located in the C:\Program Data\National Instruments\NIvisa folder. If you open it and scroll down to the [ALIASES] and [ASRL-RSRC-ALIAS] sections, we might learn something from the information stored there, particularly the values assigned to the Static flags.
If we really want to have some fun, you can try saving a copy of the file, running through the cycle again, and then replacing the new file (created on boot) with the previously saved version. Just to see what happens ...
I'll give that a try when I get time and get back to you with that file from an unshipped production system. It would be very nice to find something other that import MAX config to restore the system after E-stop (Removes power to the chassis but not the PC)
04-24-2013 12:53 PM
What does the Windows dev(mangler) have to say about devices? Especially "hidden" ones? I've seen that confuse the hell out of MAX ( I'm running the same version)
Remember to "see" hidden devices you have to trick devmager into it via these commands.
set devmgr_show_nonpresent_devices= 1
start devmgmt.msc
Have great day.
04-24-2013 05:18 PM
In MAX under Software/NI-VISA X.X - click the VISA Options tab
Then under My System/General Setting/Aliases
What do you see? Are your missing aliases listed there?
I find some of my missing aliases there when I switch out instruments and have to reasign them.