Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

multifunction DAQ with Analog (or Digital) input and Counter by using PCI-MIO-16E-4

Hi, I am using PCI-MIO-16E-4 with MEMS Accelerometer and Proximity Sensor.
Since I managed to acquire counter signal from Accelerometer, I have been trying to hook up another sensor, called Proximity Sensor, on Analog input (or Digital input). Accelerometer DAQ is working good by itself.

However, after trying to acquire analog data from Proximity sensor, the analog (or digital)input data was missing due to counter signal. The two signal is coming seperately from Accelerometer and Proximity Sensor.

For a detail information, I attached VI. The program was coded for Digital input and counter input.

:Acceration sampling rate is about 560 Hz.
:Proximity sensor signal is 4 Hz
.

Proximity Sensor was used for counting Periodic Cycle of Movement material where Accelerometer was attached.
0 Kudos
Message 1 of 4
(3,218 Views)
Gino,

I need a bit of clarification concerning your issue. Are you using an analog input channel to acquire data from the proximity sensor? If so, you need to be certain that you are using the same DAQ Assistant or DAQmx Task to acquire from both the proximity sensor and accelerometer. All analog input operations for a single device must be performed within the same DAQmx Task. Also, the VI you attached does not contain any analog input functionality. Could you provide a few more details about your issue?

Spencer S.
0 Kudos
Message 2 of 4
(3,218 Views)
I want to use ana analog input channel instead of digital input (there is no functionality in VI given). I tried to use DAQ Assistant (or DAQmx Task). As you see inside of VI, Both analog input(but digital input used now)and counter are running in "While Loop". I think that this causes a sampling problem of digital input.

How can the analog input be increased as fast as counter input used?

Thank you for your attention.

GINO.
0 Kudos
Message 3 of 4
(3,218 Views)
Gino,

First, it is important to realize that the analog input channels on your device can be hardware-timed, but the digital I/O lines are only software-timed. Thus, you should be able to acquire from the analog input channels at a specified rate. Furthermore, you should be able to perform simultaneous operations (counter, analog input, etc.). What behavior do you see with simultaneous counter and analog input operations?

Spencer S.
0 Kudos
Message 4 of 4
(3,218 Views)