uscmagz,
If you are using LabVIEW 7.0 or later, you can use the "Sample Compression" express VI. It can be found under Sig Manip>>Sample Compression.
If you are using something older, you will have to manually program it yourself. Attached is the diagram for code that will give you an idea of how to do it.
Hope it helps,
Jack J.
Applications Engineer
National Instruments