## Solution

You can calculate the impedance measurement by using a Multifunction DAQ by doing an indirect measurement. The basic wiring diagram to do so is shown in the image below. Please keep in mind this diagram can be used on different DAQ modules but would have to properly connect with the correct pin maps.

Wire the system as follows:

- Connect one end of a known resistor to an analog output or fixed voltage (it could be a power supply) as well as the positive lead of a differential analog input.
- Connect the unknown resistor in series with the known resistance.
- Connect this junction with the negative lead of the first differential input along with the positive lead of a second differential analog input.
- Wire the other end of the unknown resistor to both the negative side of the second analog input and the common reference for the AO (COM is the diagram above).

Calculate the unknown resistance:

- Measure the voltage at the first analog input (drop over the first resistor).
- Measure the voltage at the second analog input (drop over the second resistor).
- Calculate current by using the formula: Current (Amps) = Voltage at first input (Volts) / Known Resistance (Ohms)
- Calculate resistance by using the formula: Unknown Resistance (Ohms) = Voltage at second input (Volts) / Current (Amps)

This is a general way to measure resistance in multiple ranges as long as the voltage drop in each AI is within the spec of the module. However, there are other modules tan can measure resistance directly, an universal like the

NI-9218 or

NI-9219 . In those cases, you can perform 2-wire or 4-wire measurements, but the range will be limited.