10-03-2016 11:40 AM
Hello!
I am fairly new to the LabView programming, so I have a bit of dillema, that I hope could be solved here.
We purchased NI PCI 6281 card for our lab measurements and we would like to make three .vi-s for three instruments - temperature controller, pressure controler and LVDT.
So far I wasn't succesfull in multiple vi-s. When I run the second one program crashes, presumably because card is busy with first vi.
I know there are several solutions, including cramming everything into single .vi, but I would appreciate suggestions about doing it with multiple vi-s for simplicity of the end user.
Could you suggest how should I do it? ActiveX, Events?
Solved! Go to Solution.
10-03-2016 12:04 PM
Hi tcvitanic,
your card only has one ADC, using a MUX for all AI channels.
Conclusion: you cannot create several DAQmx tasks to access AI channels from different VIs. You need to create one DAQmx task which includes all AI channels…