P1.2. Resistor Voltage Divider with Current Measurement
LabVIEW Computation
Programming Exercise 1.2
Save a copy of VI_01.vi (your name) and give it a new name (such as #2).
On the Front Panel, place a Digital Indicator for IRG (Controls>>Numeric).
On the Front Panel, place a Digital Control for the resistor value. (Controls>>Numeric.)
In the Diagram (below) place a Divide operation. (Functions>>Numeric>>Divide.)
Wire the Diagram as in the example.
Procedure
Set your value of RG2 in the Digital Control (MΩ). To set in three digits, change the precision. Right Click on the Control, go to Format and Precision, and change Digits of Precision.
Run VI_02.vi with Chan0_out set at 5 V and note the value of IRG. Default and save the Front Panel for comparison with the Mathcad evaluation file. For Default, menu Operate>>Make Current Values Default.