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