LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get task frequency from max

Hello,

 

I wrote a piece of code to obtain a list of tasks configured in MAX and obtain info about those (frequency and number of channels).

It works fine except it doesn't refresh when I change the parameters in max while my vi is running.

If I change any parameter in max for the change to be reflected in my vi I need to stop the vi and restart it.

 

Is there another method to access these properties?

 

Best regards

0 Kudos
Message 1 of 4
(3,324 Views)
You can't change the parameters on the fly. If you placed those parameters in the VI, you could stop and clear the task and restart the task without stopping the VI itself.
Message 2 of 4
(3,304 Views)

I wan't to get this information while the task is not running.

It is used in a configuration software which obtain the info from the MAX configuration.

 

In the example I posted, I want to modify the task in max and the front panel of my Vi to reflect the changes that have been done in MAX without running any tasks.

0 Kudos
Message 3 of 4
(3,270 Views)

I found a solution with the help of technical support.

 

With a clear task inside my loop, the behaviour is what I was expecting.

Even though it was not the solution your answer put me in the right direction.

 

Thanks for your help

0 Kudos
Message 4 of 4
(3,252 Views)