02-21-2010 12:09 AM
Hello,
I have a created a generic SCXI analog input driver that combines multiple devices (ex. 1520, 1521, 1102 etc.) into one task. I use the SCXI 1600 module to transfer the information, via USB, to my PC.
The issue that I am having is that if I want to read one analog input channel and I set the DAQmx Timing VI's sample rate to 250, I get data back perfectly at that rate. But, if I want to read more than one analog input channel, keeping the same sample rate of 250, the amount of data is cut drastically (I get a little under a second of data for a 5 Second save time). Understanding that the SCXI 1600 multiplexes the channels I want to read, my assumption is that I am missing a important setting.
The only thing that I can think of is the sample rate is divided by the number of channels in the task.
250 Hz/# of Channels.
If this is the case, I guess I would need to multiply 250 by the # of channels?????
This does not make any sense to me. Everything in my code looks right, but apparently something is incorrect. If someone could shed some light on this for me I would really appreciate it.
I included my driver. It is a .llb file. The driver in question is labeled SCXI AI's Driver(NEW2).
Thanks,
Ham7
02-22-2010 09:35 AM
Disregard this issue, I have corrected the problem.. Of course, it was a stupid mistake on my part.
Thanks,
Ham7