I might have narrowed the problem down a little. I need to understand these asyncronous callback things in the example code. Before that, I'll mention that the sample program begins and ends multisamplereads. I am not beginning or ending, but just calling the read function at 1 Hz.
Is the asyncronous callback something that is mandatory, recommended, or neither? What exactly is this beast doing? If I want a timer in my program that calls a thread once per second in order to have smoother program use, how would I implement this callback deal?
Currently, my program is as follows:
Timer at 1 Hz
Call Thread
End Timer
Thread
Read
Write
Make Decisions
End Thread
For some reason, not starting and stopping the reader is causing some problems with compact daq, but not with SCXI. I figured out why all of the data is 12 on the code I gave you. I am reading the wrong columns for certain things in load channel configuration.
Programming Data Acquisition and Control in Measurement Studio and Labwindows/CVI