09-21-2016 08:05 AM
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
Solved! Go to Solution.
09-22-2016 01:02 AM
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.
09-22-2016 06:27 AM - edited 09-22-2016 06:28 AM
declare variables/registers in diaDEM script that can store the calculated result.Read the registers in labview
09-26-2016 02:44 AM
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