10-24-2018 06:51 PM - edited 10-24-2018 07:03 PM
Hello Fellow Colleagues,
So as many of you know, when you compile a LabVIEW program that uses a DAQmx Task (configured in the project) into an executable, a "NI-DAQmx.ini" file is automatically generated. This file is loaded when you start the program, automatically, by the DAQmx library. I can edit this file easily, using a text editor, to make changes to terminal configuration, scales, channel names, etc. This works as long as I do so before I run the executable program. There is obviously some function DAQmx is using to load all these settings, and I would like to know if I can use it as well.
As a very simple example of what I would like to achieve, lets say I have two of these config files (config#1 and config#2).These are pretty much identical, but they have different channel names and scales. Lets say that I'm currently using Config#1 but would like to switch to config#2, while the program is running (I realize that any DAQ operations will need to reset, but that's fine). is there a native DAQmx VI that allows me to load a new configuration from a DAQmx file? My goal is to leverage this capability, rather than building my own custom configuration library to load a file and configure DAQmx. Thanks!
Best,
Alex W.
10-26-2018 03:27 PM
Do you happen to have any screenshots of what you are trying to do? I am having trouble understanding what your question is.