I have a lot of problems programming nidaq components in VC++.
My problem is that I have to interact every 10 msec with 16 input channels, 8 output channels, 8 Digital inputs, and 8 digital outputs. The total time may not be longer than 1 msec in total.
I use two arrays, one for input and one for output.
My bords are:PCI6024E and PCI6713.
Why can't I find an example of simultanious driving 8 analog outputs with differant values. Lets say the outputs are twice the input voltages. Or the output for analog out1 is the sum of the 8 first inputs and the analog out2 is the sum of the last 8 inputs. This with events to synchronyse the whole.
Have program a realtime simulator for powerplants written in C++.I translates the RT sim to NI components and software (Labview).
My rt pxi turbine simulator for simulating grid incidents was succesfully used in a nuclear plant in 2006.
Look at http://sine.ni.com/cs/app/doc/p/id/cs-755