Creates channel(s) to measure current. You must configure the physical channel(s) with TEDS information to use this VI.


icon

Inputs/Outputs

  • cdbl.png external shunt resistor value

    external shunt resistor value specifies in ohms the resistance of an external shunt resistor.

  • ci32.png input terminal configuration

    input terminal configuration specifies the input terminal configuration for the channel.

    default (-1)

    At run time, NI-DAQmx chooses the default terminal configuration for the channel.

    Differential (10106)

    Differential mode.

    NRSE (10078)

    Non-referenced single-ended mode.

    Pseudodifferential (12529)

    Pseudodifferential mode.

    RSE (10083)

    Referenced single-ended mode.

  • cdbl.png minimum value

    minimum value specifies in units the minimum value you expect to measure.

  • cdbl.png maximum value

    maximum value specifies in units the maximum value you expect to measure.

  • cgenclassrntag.png task in

    task in specifies the task to which to add the virtual channels this VI creates. If you do not specify a task, NI-DAQmx creates a task for you and adds the virtual channels this VI creates to that task.

  • cdaqmxscale.png physical channels

    physical channels specifies the names of the physical channels to use to create virtual channels. The DAQmx physical channel constant lists all physical channels on devices and modules installed in the system.

    You also can wire a string that contains a list or range of physical channels to this input. If you have an array of physical channels, use the DAQmx Flatten Channel String VI to convert the array to a list.

  • cstr.png name to assign

    name to assign specifies a name to assign to the virtual channel this VI creates. If you do not wire a value to this input, NI-DAQmx uses the physical channel name as the virtual channel name.

    If you use this input to provide your own names for the virtual channels, you must use the names when you refer to these channels in other NI-DAQmx VIs and Property Nodes, such as the source input of the DAQmx Trigger VI.

    If you create multiple virtual channels with one DAQmx Create Virtual Channel VI, you can specify a comma-separated list of names to assign to the virtual channels. If you provide fewer names than the number of virtual channels you create, NI-DAQmx automatically assigns names to the virtual channels.

  • ci32.png units

    units specifies the units to use to return measurements.

    From Custom Scale (10065)

    Units a custom scale specifies. If you select this value, you must wire a custom scale name to the custom scale name input.

    From TEDS (12516)

    Units defined by TEDS information associated with the channel.

  • cerrcodeclst.png error in

    error in describes error conditions that occur before this VI or function runs.

    The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. If an error occurs while this VI or function runs, the VI or function runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.

  • cdaqmxscale.png custom scale name

    custom scale name specifies the name of a custom scale for the channel. If you want the channel to use a custom scale, wire the name of the custom scale to this input and set units to From Custom Scale.

  • ci32.png shunt resistor location

    shunt resistor location specifies the location of the shunt resistor. For devices with built-in shunt resistors, specify the location as Internal. For devices that do not have built-in shunt resistors, you must attach an external one, set this input to External and use the external shunt resistor value input to specify the value of the resistor.

    default (-1)

    NI-DAQmx selects Internal for devices with an internal shunt resistor. NI-DAQmx selects External for devices without an internal shunt resistor.

    External (10167)

    Use a shunt resistor external to the device. You must use the external shunt resistor value input to specify the value of the shunt resistor.

    Internal (10200)

    Use the built-in shunt resistor of the device.

  • igenclassrntag.png task out

    task out is a reference to the task after this VI runs. The task contains any newly created virtual channels. If you did not wire a value to task in, NI-DAQmx automatically creates the task this output refers to.

  • ierrcodeclst.png error out

    error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, error out describes the error status that this VI or function produces.

    Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.