12-05-2012 08:52 AM
Hello,
Okay, here is my issue. I have a program that reads data from a device using global channels in MAX.
Step 1: I open MAX with the systemExecute.vi with the parameters to wait till program finishes.
Step 2: I Modify a channel in Max, for example change the assigned daqMX Scale, or Min Max values.
Step 3: Save channel in Max.
Step 4: Exit MAX with the file exit.
Step 5: The Labview program continues, and I re-read the available global channels and global scales in the Labview vi but the properties have not changed to match what I change in MAX.
If I stop the VI then start it again and read the global channels then the properties get updated. How can I get the channel properties to update in Labview after changes are made in Max without stopping the labview vi and starting it again?
12-05-2012 10:38 AM
Many properties of the channel can only be modified when the task is not running. Have you tried stopping the task in LV before modifying the parameters, and then re-starting the task?
Dan