I am using a DAQPad-6020E to acquire data at a relatively slow rate (pseudosimultaneous 100Hz) from a relatively small number of channels (6). Two of the channels are actually the same source with one being set to sample at a higher gain.
The question I've been posed is...
"Instead of physically sampling the channel twice (by splitting the signal) can't you sample the same channel twice with different gains."
I'm configuring DAQ as follows...
SCAN_Sequence_Setup (1, 6,
"0,1,2,3,4,5",
"-1,-1,-1,-1,5,-1",
"1,1,1,1,1,1",
&cfg->daqSetup.ScansPerSequence,
&cfg->daqSetup
.SamplesPerSequence)
where I get back
&cfg->daqSetup.ScansPerSequence = 1,
&cfg->daqSetup.SamplesPerSequence = 6
I tried the following...
SCAN_Sequence_Setup (1, 6,
"0,1,2,3,3,5",
"-1,-1,-1,-1,5,-1",
"1,1,1,1,1,1",
&cfg->daqSetup.ScansPerSequence,
&cfg->daqSetup.SamplesPerSequence)
but I get a Non-Fatal Runtime NIDAQ error stating that the value of a numeric parameter is invalid (-10003).
Is it not possible to scan the same channel multiple times with different gains?