NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

return string from DLL to test stand

Hi, I work with TestStand3.5
 
I have a question regards following issue ->
1. I called to remote DLL and pass some parameters, after that the 'called' DLL returned to me also some value.
I did not success to get that returned value from DLL. In other words i do not know where in TS 3.5
i can find that returned variable(value) from called DLL(where it situated...).
2. I can find that variable(value) only on a RunTime or also after finishing of execution of my step/sequence?
3. Where is the place in TestStand that i can find ALL  RunTime variables(include returned values from called DLL's)???
 
 
Thank you & Best Regards

*I use LabVIEW 2018 & TestStand 2021 versions
0 Kudos
Message 11 of 13
(2,092 Views)

To better understanding of my question I attached a screenshot of my issue:

1. I want to get ExecutionSessionID that my 'called' DLL will return to me

2. I defined Local variable ->Session_ID

3. As you can see at screenshot i put Locals.Session_ID to the value of ExecutionSessionID but i does not work 😞

   I only see after execution that value of Locals.Seession_ID="Done" but it is not the right value that 'called' DLL returns...

 

 

Thank you & Best Regards

*I use LabVIEW 2018 & TestStand 2021 versions
0 Kudos
Message 12 of 13
(2,086 Views)
Hi, i solved the problem ->
 
In that case i must use a station global and not any other.  This will write the value to a file, which will be stable until it is overwritten by the next execution
After that i got from that station global the value that i need from 'called DLL'.
Thank you & Best Regards

*I use LabVIEW 2018 & TestStand 2021 versions
0 Kudos
Message 13 of 13
(2,035 Views)