NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How Can I pass a Diagnostic service reference in TestStand

Solved!
Go to solution

Hello:

 

I have a test sequence and many VI's using Diagnostic Services in order to write some information by LIN Protocol. I need to open/close a diagnostic service session at each time that i execute a writing/reading command. 

 

I would like to keep alive a session until finish the writing/reading commands. 

 

I tried to pass the reference by a StationGlobal variable in TestStand after to open a session but it didn't work.

 

¿Does anyone know if this is possible?

 

JonathanRomanMQ_0-1698094496273.png

JonathanRomanMQ_1-1698094573957.png

JonathanRomanMQ_2-1698094643202.png

 

 

0 Kudos
Message 1 of 2
(613 Views)
Solution
Accepted by topic author JonathanRomanMQ

If somebody has the same issue i already find the solution.

 

You need to create a Type definition in TestStand with all necessary variables that you have in your reference. Then you create a local variable as container and set up the new type definition that you create at the begining.

 

Now, you just need to map your variable in the output of your VI in the TestStand step.

 

I hope is usefully for you.

Message 2 of 2
(547 Views)