LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read frequency channel & voltage channels at the same time with different rates?

I am using a DAQCARD 6036E with a SCXI-1000 chassis.  I have a SCXI-1100 & a SCXI-1126 modules, along with a SCXI-1124 AO module for voltage output.  I am acquiring several voltage input channels with the SCXI-1100 & one frequency channel (frequency signal upto 12000Hz) with the SCXI-1126.  I want to configure all the channels in the Measurement & Automation so that I can use the Scale function to setup all the channels.  I am using a higher acquisition rate for the frequency channel than the voltage channels.  I had the block diagram as attached.  When I run the vi, I had the resource problem.  The err. msg. is: the specified resource is reserved..  Any suggestions as how to acquire a frequency signal & several voltage signals with this system setup using the DAQ-mx?
 
 
0 Kudos
Message 1 of 3
(2,657 Views)

Since a common ADC is shared with all your SCXI analog input channels , you will have to sample all channels in a scan list at same sampling rate.

However, you can set up frequency and voltage virtual channels using different instances of "create DAQmx Virtual channel" function in the same task as shown in attached pic, set scan rate and read them using a single DAQmx read

0 Kudos
Message 2 of 3
(2,653 Views)

Thank you for the help!  The only thing with this is the sample rate for the voltage channels has the same rate as frequency channel.  If I set to 1 second interval for a sample rate of 10000Hz, each channel would have to acquire 10000 samples, then, I have to average them.  For now, I am all set.  Thank you again!

 

BL

0 Kudos
Message 3 of 3
(2,626 Views)