Hi leean,
Welcome to the forums! Could you please perform the following:
1. Launch Measurement and Automation Explorer (
MAX).
2. Click on Data Neighborhood » Create New... »
NI-DAQmx Task3. Select Acquire Signals » Analog Input » Voltage » DevX (PCI-6036E)
ai04. Click
Next and then
Finish5. Change the acquisition mode to
Continuous and leave the rest of the parameters the same
6. Click on the
Connection Diagram tab and select the accessory (terminal block) connected to your card (e.g. SCB-68). Ensure that your wiring matches the diagram.
7. Click the
NI-DAQmx Task tab to return to the configuration screen and hit the
Run button on the top. Do you observe a correct reading?
If so, then continue:
8. Click
Save next to the Run button in the task configuration window
9. Open the
Cont Acq&Graph Voltage-Int Clk.vi from within the Example Finder
10. Delete the
DAQmx Create Channel and
DAQmx Timing VIs from the block diagram (steps 1 and 2) and their associated controls. You should only have two broken wires attached to the DAQmx Start Task VI
11. Press
Control-B to clean up all broken wires
12. Drag the
task we created in steps 1 - 7 onto the Cont Acq&Graph Voltage-Int Clk block diagram
13. Wire the task into the
task/channels in terminal of the DAQmx Start Task VI
14. Change the Samples to Read on the front panel from 1000 to 100 (match what we have in the voltage task) and run the VI. Do you observe a correct reading?
WARNING: Do not save the modified Cont Acq&Graph Voltage-Int Clk.vi example after performing steps 8 - 14. If you want to keep the changes, simply select File » Save As... »
Substitute copy for original. Otherwise, your example will maintain the alterations.