DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Defining a User Variable in Diadem 2014?

Hello,

 

I am attempting to set up a user variable.  All tutorials that I have found give instructions to go to open Script in Diadem then File>>New>>UserVariables to create a new user variable file.  This option does not appear to be available in Diadem 2014.  Can anyone help?  I must be missing something obvious!

 

Thanks,

BG103

0 Kudos
Message 1 of 4
(4,523 Views)

I searched for User Variables in the DIAdem 2014 Help and found this.  Try defining them in a text file with a .vas extension and using the UserVarCompile command to enable the user variables.  More info in this Help article.

Michael Keane
National Instruments
0 Kudos
Message 2 of 4
(4,501 Views)

BG103,

 

For my usage, I would not use a User Variable, A Global variable is usually better.  You can also get a similar function in using the static variables like R1 to R8. I recommend that you take a good look at Globals.  Also the scriptinclude command is might handy.

 

What is your use case for the user variable?

 

Paul

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

Thank you kindly.  

 

I am attempting to use a user variable to populate a enumcombobox in dialog.  I had it working with a Global Variable at one point.

 

Thanks,

BG103

0 Kudos
Message 4 of 4
(4,486 Views)