NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

error running daqassist in teststand

I wrote a VI in labview that uses daq assist and it works fine, but it will not work in a sequence in labview. It involves running daq assist simtaneously with some other parts of the code, but it seems to be freezing up on the daq assist. The other part of the code that needs to run is sending a trigger that the daq assist needs, so i need to have the daq assist running while the trigger is sent. It actually works if I restart the computer, but only once and then it doesn't work anymore. I also tried unloading all modules and I made sure that the task is being cleared in labview.
I am using labview 8.2, teststand 3.5, a NI PXI 1042 acquisition system, and a 6259 daq card.
0 Kudos
Message 1 of 3
(3,461 Views)
Hi Nile,

Is there any other differences when running your VI outside of TestStand? Do you set the control (input) values to something different? If you create a sequence with nothing but this LabVIEW action, and call the VI with the same exact control values as when you run it outside of TestStand, does the behavior still occur? If so, can post the sequence with just this step and your VI so I can look at it?

Regards,
0 Kudos
Message 2 of 3
(3,435 Views)
I don't believe there are any differences between running it in Labview and Teststand. I attatched two versions of my VI, the one with "small" at the end is the smallest I could get it that still produced the error. If you look in light bulb mode, you can see that the bottom parallel does not begin until DAQ Assist is finished. The smaller program is internally triggered and involves no switches, so if you have a DAQ card, it should work. I set it up to take 10 sec. for DAQ Assist to acquire the data so that you can see that the bottom has to wait that long. Thanks
Download All
0 Kudos
Message 3 of 3
(3,429 Views)