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

daqmx vi's and teststand integration

$
0
0

So far i have been doing good on teststand using regular instruments as  scope, power supply, function generator, dmm and switches.

 

so i had to use a daqmx card  for a particular test. And i found that i cannot pass the reference of the task across teststand as it would be with a regular dmm, function generator instrument. the regular proces i am used to is to:

 

*init instrument(get reference)

*use Vi's to :

                 Configure

                 Read

                 Start

                 Stop

              

*Close reference

 

So what i had to end up doing for example in a test were i set analog ouput value to my DUT then  via serial port get the value that my DUT is reading. 

 

the ususal way will be steps:

-set daqmx

-start daqmx

-Read Serial DUT and do a limit test

-Stop daq

-Close task

 

but it doesnt work that way.

 

what i end up doing is run a vi on the background with the Daqmx task and have a notifier from testand closing my vi like the picture

 

daqmxexample.png

 

 

Teststand notifier

 

testandnotifier.png

 

is my statement about daqmx  correct?

 

is this one of the ways to do it with daqmx?

 

your input to improve the use of daqmx on testand will help me a lot. 

 

thanks 

 

 


Viewing all articles
Browse latest Browse all 6524

Trending Articles



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