PA.1. Sending and Receiving Voltages with the Sending and Receiving VIs

  • Connect Chan0_in directly to Chan0_out on the circuit board or connector block. Double Click on both of the icons in the Diagram of Measure.vi (initial version) to bring up the VI Front Panels. These are AO Update Channel.vi and AI Acquire Waveform.vi. Set both VIs to your device number for your DAQ card and to channel 0 (using the Operating Tool or finger). Set the number of samples to 10, for example. Set the high limit and low limit in AI Acquire Waveform.vi to default 0.0 V. Obtain a default status of the settings in both VIs. For this, go to menu Operate>>Make Current Values Default.

  • In the Front Panel of AO Update Channel.vi, set in a voltage of 1 V or similar (using the Operating Tool). Run the VI, AO Update Channel.vi. To run the VI, use menu sequence Operate>> Run (or, preferred, Ctrl/R). Then run AI Acquire Waveform.vi and note the voltage read (waveform array Digital Indicator). Click on the up and down arrows by the Y to scroll through more data points.

  • Verify that that send and receive are consistent. Try some other voltages. Note the maximum allowed is the highlimit, 10 V. Close the send and receive VIs. Leave Measure.vi open.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.138.123