Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

reading multiple channels simultaniously from PCI MIO card.

Let me first say, I am a newbie and do not have much background in working with DAQ systems... It's my first attemp.

 

I have a SCXI 1001 Chassis (with SCXI 1102/1121/1124/1263R) connected to PCI-6070E Multi DAQ card. There are 8 analog signal inputs and 4 analog signal outputs connected to this system. There are 5 Digital IN, 3 Digital out.

 

I am trying to develop a program using MSVC++ 6.0 which does the following task

 

1. take all analog and digital inputs

2. display the analog readouts

3. output analog and digital signals.

 

Basically a closed-loop system which reads and controls sensors and actuators.

 

Is there a way to read from / write to all connected channels simultaniously in one command?

 

any help would be greatly appreciated...

 

 

0 Kudos
Message 1 of 2
(2,029 Views)
Hello DrunkenTiger,

You will have to have separate commands for doing the Analog Input, Digital Inputs and Digital Outputs.  The best place to get started is by looking at the VC++ examples installed with the DAQmx driver.  They can be located here:
C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C

I would first get each system working separately and then combine them into the same program.
Eric
DE For Life!
0 Kudos
Message 2 of 2
(2,010 Views)