DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use dialog box to change the default values for variables in .vas file?

I use 2 variables in .vas file.In my program,I need to change the default value for these 2 variables sometimes,I  try to use a dialog box to change them(see attachment).

But I don't know how to change it use this dialog box,can someone help me?

Thanks!

0 Kudos
Message 1 of 2
(3,558 Views)

Hi Junwei You,

 

How easy this is will depend on which DIAdem version you're using, but the general process is the same.  First, you need to make sure that each of your variables ("RForce_" and "IntLength_") are declared as global variables with the SUDialog-- this should be automatic with recent versions of DIAdem.  Second, you need to associate each of your two inputbox controls with their respective VAS file variable-- you can do this with the "Variable" property for each control.

 

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 2 of 2
(3,539 Views)