niHWS Set Scaling Coefficients

NI-HWS LabVIEW

niHWS Set Scaling Coefficients

Establishes an nth degree polynomial scaling function.

When an analog waveform stored as integer data is retrieved by a floating-point Read or Retrieve VI, NI-HWS scales the data according to this polynomial scaling function.

niHWS Set Scaling Coefficients.vi

cu32 waveform reference in is a reference to the waveform. Waveforms are identified by reference for purposes of setting and getting waveform attributes and reading and writing data.
c1ddbl coefficient array is the array of polynomial scaling coefficients. The coefficient for the nth term of the polynomial is contained in the nth index of the coefficient array.

For example, the coefficients for a 2nd degree polynomial:

y = ax2 + bx + c

would be

coefficient array [0] = c
coefficient array [1] = b
coefficient array [2] = a

ccclst error in (no error) can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.
cbool status is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.
ci32 code identifies the error or warning.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.
cstr source describes the origin of the error or warning.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.
iu32 waveform reference out is the copy of waveform reference in you use for input into the next NI-HWS VI in your program.
icclst error out passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.
ibool status is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.
ii32 code identifies the error or warning.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.
istr source describes the origin of the error or warning.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.