DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DIAdem DAQ Store and display value between measurements.

Solved!
Go to solution

Hello Mattias,

 

DIAdem has some global auxiliary variables which can be used in certain cases. They are existing with the start of DIAdem and “live” as long as DIAdem “lives” and the content of this variable "lives" until it is changed by the user. It is not necessary to define or declare then, but if often useful to initialize the ones you use. This can be done in a script or with CTRL+SHIFT+F1.

 

Note: In VBS scripts we recommend the use of self-defined variables with "speaking" names, in DAC for performance reasons the use of the DIAdem auxiliary variables.

 

With this background it is obvious that a restart of DIAdem destroys the content of the auxiliary variables. But it is possible to store the content of auxiliary variables (in the example only L3 is necessary) to a file. You can for example start the measurement via script and if it is finished write the L3 content to a file (please have a look at the commands TextFileOpen, TextFileWriteln, etc.)

 

Greetings

Walter

Message 11 of 14
(2,230 Views)

Hello again Walter,

 

Wow, this is extremely useful information! Are there any good examples of using scripts to start DAQ measurements?

 

Anyway, thank you very much for the help!

 

Best regards,

Mattias

0 Kudos
Message 12 of 14
(2,218 Views)

Hi Mattias,

 

In the end you need these 3 commands:

 

Call SchemeLoad(DAC-Scheme-Name)
Call SchemeCheck("normal")
Call SchemeMeasStart()

 

You can also use the recording mode in SCRIPT for this.

Walter_Rick_1-1622199492103.png

 

And here are some examples:

Walter_Rick_0-1622199448451.png

 

Greetings

Walter

 

0 Kudos
Message 13 of 14
(2,215 Views)

Hello Walter!

 

I will try this out next week.

 

And once again, thank you very much for all the help!

 

Best regards,

Mattias

0 Kudos
Message 14 of 14
(2,210 Views)