DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How Can I Pass Data between DIAdem and LabVIEW?

Solved!
Go to solution

Hello community,

actually I am using a LabVIEW application to control a testing system, collect some data and store it to a file.

Then DIAdem is executed (using ITOCommand) and a report is created (PDF).

This is already working.

But also I would like to receive a value back from DIAdem, a real number like e. g. the register R1.

Any idea how this can be achieved?

Thank you!

Espelkamper

0 Kudos
Message 1 of 4
(3,504 Views)

ToCommand offers methods for this simple case of working with scalar values.

iSuccess = oDIAdem.DoubleVarGet("R1", vR1P)
iSuccess = oDIAdem.DoubleVarSet("R1",1.234)

Hope they are accessible in yur environment.

On the other hand it is always possible to exchange using tdms files.

Message 2 of 4
(3,484 Views)
Solution
Accepted by topic author Espelkamper

declare variables/registers in diaDEM script that can store the calculated result.Read the registers in labview

Message 3 of 4
(3,476 Views)

Hello AndreasK and sajeesh,

thank you for your valuable tips.

I tried the way like in the last topic and now I can receive the value from DIAdem,

using ITOCommand "DoubleVarGet" and register "R1".

Means now it is working as expected.

Thank you!

Espelkamper

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