07-13-2005 11:49 AM
07-13-2005 12:46 PM
The first thing is to confirm that your data acquisition card is working. Using MAX (NI's Measurement & Automation Explorer, should be an icon on your desktop) find the reference to your DAQ card. Opeining that should give you an entry at the top of its screen refering to "test panels". Open one of those. It will give you functional access to all of the various features of the DAQ card. Selecting the channel that you are using should allow you to set up the card to make readings, allowing adjustment of input range, etc. When/if you are getting readings note the various settings you set in MAX and make sure that they are the same in your program. Now run your program. If you are still not getting readings you can either turn on execution highlighing and follow the signals though, putting probes on the signal lines and seeing what the values at each point are.
P.M.
07-13-2005 01:19 PM
07-14-2005 08:05 AM
I'm not sure whether it is available in all versions of LabVIEW (i.e. student, base, full, professional) but in mine it is under "Analyze", "Mathematics", "Probability and Statistics". Of course calculating the mean is not difficult, it is or in less fancy terms, the sum of the values / number of values (the average). If you have an array of numbers it becomes as easy as using the array summation divided by the array size. The array summation (or ADD array elements) function is under "numeric" and the array size is under "array" on the diagram functions.
P.M.