Capacitance Single Measurement


Appearance

 

Overview

This is a sample program that measures the capacitance from a specified channel once.

Sample specification

 

Program name

capacitance_single_measure

 

Steps to Use

1. Specify the desired program name, run the program, and a CUI (Character User Interface) menu like the one above will be displayed.
    Appearance may vary depending on software version.

2. Initialize device

   ・Specify the device name by selecting the [1 : ZmInit] command from the CUI menu.
      Notifies the device driver to start using the specified device.
      After specifying the device name, ZmInit will run and the CUI menu will be displayed again.
      

3. Measurement condition settings

   ・Specify the channel number by selecting the [3 : Channel No Setting] command from the CUI menu.
      

   ・Specify the frequency by selecting the [4 : ZmSetFrequency] command from the CUI menu. (120Hz, 1kHz)
      

   ・Specify the signal level by selecting the [5 : ZmSetLevel] command from the CUI menu. (500mV, 1V)
      

   ・Specify the measurement speed by selecting the [6 : ZmSetSpeed] command from the CUI menu. (FAST, NORMAL, SLOW)
      After specifying the measurement speed, specify the average count. The input range is 1 to 512.
      

   ・Specify the measurement range by selecting the [7 : ZmSetRange] command from the CUI menu. (4nF, 40nF, 400nF, 4µF, 40µF, 400µF, 1.4mF)
      

   ・Specify the equivalent circuit mode by selecting the [8 : ZmSetCircuit] command from the CUI menu. (AUTO, SERIAL equivalent circuit, PARALLEL equivalent circuit)
      

   ・Specify the measurement start delay time in msec by selecting the [9 : ZmSetStartDelay] command from the CUI menu.
      The input range is 0.0 to 10.0.
      

   ・Specify the trigger synchronous output by selecting the [10 : ZmSetTriggerSyncEnable] command from the CUI menu. (DISABLE, ENABLE)
      

   ・Specify the measurement signal output delay time in msec by selecting the [11 : ZmSetSingleOutputDelay] command from the CUI menu.
      The input range is 0.0 to 10.0.
      

   ・Specify the contact check function by selecting the [12 : ZmSetContactCheck] command from the CUI menu. (DISABLE, BEFORE measurement, AFTER measurement, BOTH(before and after measurement))
      

4. Single measurement

   ・Select the command [13 : ZmSingleCMeasure] from the CUI menu to perform a single measurement of C (Capacitance) under the conditions specified in the measurement condition settings.
      

5. Exit device

   ・Select the command [14 : ZmExit] from the CUI menu to notify the device driver that the use of the current device is complete.
      You can retrieve data from a different device (e.g. ZM001, etc.) without terminating the program.

      To retrieve data again, select [1 : ZmInit] command from the CUI menu to initialize the device.
      

6. Exit program

   ・Select the command [q : Quit] from the CUI menu to terminate the program.