You can specify your limits using numeric controls on your front panel or by using constants on your diagram. You can check if Datapoint 1000 is within your limits using Index Array from the Array function palette and using the Greater? function or In Range and Coerce function on the Comparison function palette. To write the array to a file, you can use the Array to Spreadsheet String function on the String function palette.
Look at the array example programs that ship with LabView, including Using Spreadsheet Format.vi. To find the examples, from any LabView window, goto Help >> Find Examples >> Search, then enter ARRAY into the box titled Type a keyword to find.