LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modification of Global channels In NIMax while Labview Program running, not updating in Labview

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?

0 Kudos
Message 1 of 2
(2,404 Views)

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

0 Kudos
Message 2 of 2
(2,397 Views)