There are a number of examples that ship with LabVIEW and their usefulness will depend on information not specified in your questions - such as what version of LabVIEW you have, what type of DAQ card(s) you have, and if you are using any SCXI hardware. If you open LabVIEW and go to Help >> Find Examples, you can search through a number of different examples.
For the application it sounds like a good place to start would be with an Acquire to Spreadsheet type of file that reads, graphs, and logs data. From there, depending on what you mean my using the card to vary the environment, you can find other examples of AO and DIO to perform these type of functions. These examples will give you a good starting place as to how a LabVIEW program works and the general flow
that you will need to follow.
Also, depending on your other needs, you might considering looking into examples with triggering to enable you to control when your program starts.
Regards,
Michael
Applications Engineer
National Instruments