Owning Palette: Advanced TDMS VIs and Functions
Requires: Base Development System
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. |
Use the pull-down menu to select an instance of this VI.
![]() |
![]() |
![]() |
linear scale specifies the linear scaling information. A linear scale uses the equation y=mx+b, where x is a pre-scaled value, and y is a scaled value.
| ||||||
![]() |
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. | ||||||
![]() |
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. | ||||||
![]() |
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. | ||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]() |
tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation. | ||||||
![]() |
group name out returns the name of the channel group on which you performed the operation. | ||||||
![]() |
channel name out returns the name of the channel on which you performed the operation. | ||||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||||
![]() |
scale ID returns the ID of the resulting scale. |
![]() |
polynomial scale specifies the polynomial scaling information. A polynomial scale uses an nth-order polynomial equation.
| ||||
![]() |
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. | ||||
![]() |
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. | ||||
![]() |
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. | ||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation. | ||||
![]() |
group name out returns the name of the channel group on which you performed the operation. | ||||
![]() |
channel name out returns the name of the channel on which you performed the operation. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||
![]() |
scale ID returns the ID of the resulting scale. |
![]() |
thermocouple scale specifies the thermocouple scaling information, which scales the .tdms data from microvolts to degrees Celsius. If the data is not in microvolts, first convert the data to microvolts with an additional scale. For example, you can use the TDMS Create Scaling Information (Linear) instance VI to convert the data.
| ||||||||||||||||||||
![]() |
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. | ||||||||||||||||||||
![]() |
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. | ||||||||||||||||||||
![]() |
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. | ||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||
![]() |
tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation. | ||||||||||||||||||||
![]() |
group name out returns the name of the channel group on which you performed the operation. | ||||||||||||||||||||
![]() |
channel name out returns the name of the channel on which you performed the operation. | ||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||||||||||||||||||
![]() |
scale ID returns the ID of the resulting scale. |
![]() |
RTD scale specifies the resistance temperature detector (RTD) scaling information, which scales the .tdms data in degrees Celsius.
| ||||||||||||||||||||||
![]() |
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. | ||||||||||||||||||||||
![]() |
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. | ||||||||||||||||||||||
![]() |
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. | ||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||
![]() |
tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation. | ||||||||||||||||||||||
![]() |
group name out returns the name of the channel group on which you performed the operation. | ||||||||||||||||||||||
![]() |
channel name out returns the name of the channel on which you performed the operation. | ||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||||||||||||||||||||
![]() |
scale ID returns the ID of the resulting scale. |
![]() |
table scale specifies the table scaling information. A table scale maps an array of pre-scaled values to an array of corresponding scaled values.
| ||||||
![]() |
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. | ||||||
![]() |
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. | ||||||
![]() |
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. | ||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]() |
tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation. | ||||||
![]() |
group name out returns the name of the channel group on which you performed the operation. | ||||||
![]() |
channel name out returns the name of the channel on which you performed the operation. | ||||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||||
![]() |
scale ID returns the ID of the resulting scale. |
![]() |
strain scale specifies the strain scaling information, which scales the .tdms data in strains. Strain is the amount of deformation of a body due to an applied force. Specifically, strain is the fractional change in length.
| ||||||||||||||||||||||||||||||
![]() |
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. | ||||||||||||||||||||||||||||||
![]() |
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. | ||||||||||||||||||||||||||||||
![]() |
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. | ||||||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||||||
![]() |
tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation. | ||||||||||||||||||||||||||||||
![]() |
group name out returns the name of the channel group on which you performed the operation. | ||||||||||||||||||||||||||||||
![]() |
channel name out returns the name of the channel on which you performed the operation. | ||||||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||||||||||||||||||||||||||||
![]() |
scale ID returns the ID of the resulting scale. |
![]() |
thermistor scale specifies the thermistor scaling information, which scales the .tdms data in Kelvin.
| ||||||||||||||||||||||||||||
![]() |
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. | ||||||||||||||||||||||||||||
![]() |
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. | ||||||||||||||||||||||||||||
![]() |
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. | ||||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||||
![]() |
tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation. | ||||||||||||||||||||||||||||
![]() |
group name out returns the name of the channel group on which you performed the operation. | ||||||||||||||||||||||||||||
![]() |
channel name out returns the name of the channel on which you performed the operation. | ||||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||||||||||||||||||||||||||
![]() |
scale ID returns the ID of the resulting scale. |
![]() |
reciprocal scale specifies the reciprocal scaling information. A reciprocal scale divides the number 1 by an input value. If the input value is zero, this VI uses zero as the reciprocal.
| ||
![]() |
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. | ||
![]() |
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. | ||
![]() |
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. | ||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||
![]() |
tdms file out returns a TDMS file reference to the .tdms file on which you performed the operation. | ||
![]() |
group name out returns the name of the channel group on which you performed the operation. | ||
![]() |
channel name out returns the name of the channel on which you performed the operation. | ||
![]() |
error out contains error information. This output provides standard error out functionality. | ||
![]() |
scale ID returns the ID of the resulting scale. |
Refer to the Scale TDMS Data VI in the labview\examples\File IO\TDMS directory for an example of using the TDMS Create Scaling Information VI.