Tanaya,
1.) Yes, they do. So if you configure your task to contain channel 1, 0, 5, 3, they will be sampled in this order (1,0,5,3).
2.) You configure the sampleclock for all channels. Each channel has the same clock, which is defined as "samples per second per channel". The overall samplingrate is therefore the product of "number of channels" multiplied by the "samplerate per channel". This rate cannot succeed the maximum samplingrate of the device (typically up to 1 MHz for MIO-devices).
3.) obsolete since 2 is "yes".
4.) Well, that is the "problem" of timestamps: You never get any timestamp of the DAQ-device itself, but from your PC when it fetches the sampled values from the buffer. Unscaled values are the binary value returned from the device during the ADC. Currently, there are no functions which enables you to retrieve waveforms (which equals dataarrays with an initial timestamp and a delta-time) with binary data. Still, you can generate a timestamp on your own (retrieve the "systemtime") near the retrieval of the data. This timestamp will be off a bit, but if your system is properly set up, this can be very close. Nevertheless, you will always have the jitter of the OS in this timestamp.
Regarding your last question:
DAQmx checks your input range using all information available (which means scales) in regard to the used device. So if you use thermocouples and use a range of 0..200° C, it would choose (depending on the type of the couple) something like 0..1V or +/- 1V, depending on the device (if it supports unipolar or not).
In your example, DAQmx would always choose +/- 10V since it does not fit in any other range. Therefore, the gain would be set to 0.5.
If you created a linear scale for the same inputsetting (6-10 V) which scales by 2, your device would use the +/- 5V (if available), setting the gain to 1.0. If +/-5 V is not available, it would stay at +/- 10V.
There are other devices, which can "ignore" DC-offsets, but they are specialized devices....
hope this helps,
Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.