Subject: 2 VIs access 1 DAQ card?
Message-ID: <1353103127.82282.YahooMailNeo@web124702.mail.ne1.yahoo.com>
Jim,
DAQ Express VI's, or DAQ Assistant or Wizard etc. ?all use underlying calls to DAQmx VI's. ?As Nathan mentioned, you can't have two tasks accessing the same hardware resource (i.e. the analog channels). ?So it won't work, whatever method you choose to use.
The reason for this is there is only one timing engine per channel group. ?I am assuming you are using hardware timing?
Sample them all at the higher rate, and then downsample a group of that to your lower sampling rate.
It might be possible using software timing (obviously not as repeatable as hardware timing). ?
Two separate loops with the same task ID, reading all channels at different loop rates. ?Sorry I don't have any desktop hardware to confirm this.
Neville Dholoo
Advanced Measurements Inc.
Calgary AB
Canada
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://info-labview.org/attachments/20121116/1412e73c/attachment.htm>