Creates scaling information for unscaled data in a .tdms file. This VI writes the scaling information to the .tdms file. You must manually select the polymorphic instance to use.

To call this VI with TDMS Advanced functions, only call the TDMS Set Channel Information function after any calls to this VI.

Use the TDMS File Viewer VI to retrieve the scaling information from a .tdms file.

Note This VI does not scale strings or complex floating-point numbers.


icon

Inputs/Outputs

  • cnclst.png thermistor scale

    thermistor scale specifies the thermistor scaling information, which scales the .tdms data in Kelvin.

  • ci32.png resistance configuration

    resistance configuration specifies the number of wires to use for resistance measurements.

    22-Wire (default)—Specifies the 2-wire mode.
    33-Wire—Specifies the 3-wire mode.
    44-Wire—Specifies the 4-wire mode.
  • ci32.png excitation type

    excitation type specifies the type of excitation for the scale.

    10122Voltage (default)—Voltage excitation.
    10334Current—Current excitation.
  • cdbl.png excitation value

    excitation value specifies the amount of excitation that the sensor requires. When excitation type is Current, the unit of excitation value is amperes. When excitation type is Voltage, the unit of excitation value is volts. Refer to the sensor documentation to determine this value.

  • cdbl.png r1 reference resistance

    r1 reference resistance specifies, in ohms, the value of the reference resistor.

  • cdbl.png lead wire resistance

    lead wire resistance specifies the amount of resistance in ohms in the lead wires. Ideally, this value is the same for all leads.

  • cdbl.png a

    a specifies the a constant for the Steinhart-Hart thermistor equation. Refer to the sensor documentation to determine the value for this constant.

  • cdbl.png b

    b specifies the b constant for the Steinhart-Hart thermistor equation. Refer to the sensor documentation to determine the value for this constant.

  • cdbl.png c

    c specifies the c constant for the Steinhart-Hart thermistor equation. Refer to the sensor documentation to determine the value for this constant.

  • ci32.png input source

    input source specifies the ID of the child scale. If the current scale has a child scale, you can wire the scale ID of the child scale to this input. The default is –1, which specifies that the current scale does not have a child scale.

  • cgnrn.png tdms file

    tdms file specifies a reference number to the .tdms file on which to perform the operation. Use the TDMS Open function to open the refnum. group name and channel name take precedence over this input. If you specify a value for either group name or channel name, this VI applies the scaling information to either the group or the channel, respectively. If you do not specify a value for them, this VI applies the scaling information to the .tdms data.

  • cstr.png group name

    group name specifies the group name for the .tdms data. This input takes precedence over tdms file but has a lower priority than channel name.

  • cstr.png channel name

    channel name specifies the channel name for the .tdms data. This input takes precedence over group name and tdms file. If you do not specify a value for channel name, this VI applies the scaling information to the group. If you do not specify a value for group name either, this VI applies the scaling information to the .tdms data.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ignrn.png tdms file out

    tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation.

  • istr.png group name out

    group name out returns the name of the channel group on which you performed the operation.

  • istr.png channel name out

    channel name out returns the name of the channel on which you performed the operation.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • ii32.png scale ID

    scale ID returns the ID of the resulting scale.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\File IO\TDMS\Scale TDMS Data.vi