28.02.2013 Views

Bias Circuit

Bias Circuit

Bias Circuit

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Click from the Front Panel or Diagram.<br />

Figure A.3. LabVIEW VI Diagram with the addition of output channel<br />

VI AO Update Channel.vi. The two VIs represented by the icons can be<br />

opened with Right Click and open Front Panel or with Double Click.<br />

Project PA.1 Sending and Receiving Voltages with the Sending and Receiving VIs<br />

(Measure.vi, version 1)<br />

A.1.2 Programming Exercise: Using a Sequence Structure<br />

The two VIs represented by the icons of the Diagram are subVIs of Measure.vi. That is, they<br />

will run when we run Measure.vi. In this case, it is necessary that they execute in the proper<br />

order. For example, we would want to send out the voltage before reading the response.<br />

For ensuring proper execution order, install a Sequence Structure as shown in Fig. A.4. Obtain<br />

the Sequence Structure from the Diagram under the menu series<br />

Functions>>Structures>>Sequence. Recall that to obtain the Functions Palette, Right Click on<br />

the Diagram.<br />

Figure A.4. LabVIEW VI Diagram with Sequence Structure. This<br />

Structure executes in order of index at the top of the Frames. Frame 1<br />

shown contains the VI for reading voltage. Frame 0 contains the VI for<br />

sending voltage. Click on arrows to move through Frames. Also shown<br />

is the Structures Palette under Functions and the process of adding a<br />

frame.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!