05-01-2012 01:14 PM - edited 05-01-2012 01:22 PM
Does anyone know how to do this? Am I missing something in Labview, I don't fully understand the 12 bit resolution part of a sensor either.... so this will help.
Thanks,
Chris
Solved! Go to Solution.
05-01-2012 02:53 PM
I think I may have gotten this. Analog to Digital waveforms, using 12 bit resolution. Not sure if this is correct.
05-01-2012 03:55 PM
@northwood wrote:
Does anyone know how to do this?
Yes. You just generate a random integer in the range of 0 to 4095 (2^12 - 1).
I don't fully understand the 12 bit resolution part of a sensor either.... so this will help.
This refers to the width of the "slices" that you can have for representing a floating point value as an integer. 12 bits gives you 4096 slices, so for a 5V full-scale signal, each "slice" corresponds to approximately 1.2mV. Thus, you would be unable to represent, say 0.5mV, as this would be returned as simply 0, since the next available step from 0V is 1.2mV.
I would suggest spending some time in NI's tutorial section of data acquisition: http://zone.ni.com/devzone/cda/tut/p/id/4523. The one you probably want is Analog Fundamentals -> Analog Sampling Basics.