Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Batchmodel: How to use different switch-positions for DUTs?

$
0
0

Hello,

i am using the NI Batchmodel for three DUTs. The current DUT-number can be read out from RunState.TestSockets.MyIndex.

May batch has three duts. What is the NI-way to use different switchings (NI-SwitchExec) for each dut?

Testplan is for example

Configure DMM

Set Switch

Measure

Clear Switch.

 

The Switching is of course different for each DUT.

Do i really have do add a if-statement around each switching (=endless work) or is there a easy way that i currently dont see?

 

if (RunState.TestSockets.MyIndex == 0)

Set Switch for DUT1

else if (RunState.TestSockets.MyIndex == 1)

Set Switch for DUT2

else if (RunState.TestSockets.MyIndex == 2)

Set Switch for DUT3

else

end

 

Thanks for tips

 

best regards

OO


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>