Measuring Voltage Programming Flowchart

NI-DAQmx

Measuring Voltage Programming Flowchart

The following flowchart depicts the main steps required in an NI-DAQmx application to measure voltage. Alternatively, you can configure a task for measuring voltage using the DAQ Assistant.

Tip  To increase performance, especially when multiple samples are read, include the Start function/VI and Stop function/VI in your application. In the previous flowchart, the Start function/VI would come just before you read samples, and Stop would come just before you clear the task.

Measuring voltage is an example of an analog input measurement. Refer to Analog Input Programming Flowcharts for additional flowcharts that can help you create an application.

To measure AC voltages, you generally use a hardware timed acquisition, such as the ones shown in Finite Voltage Measurements and Continuous Voltage Measurements. To measure DC voltages, you often do not need a buffer or hardware timing, so you can use a simple application such as the one shown in Acquiring a Single Sample.