DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Change a global variable when DAC running!

Solved!
Go to solution

Hello!

I want to change a global variable when I push a button when "Start Display" it's running. I don't want to run script after or before measurement.

Can anybody help me?

0 Kudos
Message 1 of 2
(2,141 Views)
Solution
Accepted by admyn1991

There are some global variabes that you can use like R1 to to R32. In DAC there is a block "Save in Variables" in the "System" group:

http://zone.ni.com/reference/en-XX/help/370858N-01/dlgdacsv/dac_dlg_system/dlgvari_dialog/

 

You can use this block to save values in variables. See attach block diagramm.

 

Or you can use the "script driver". (Can run a script from a DAC?)

 

Hope this helps

Winfried

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