niHWS New Wfm Reference

NI-HWS LabVIEW

niHWS New Wfm Reference

Creates a new waveform in the specified group and returns a reference to it.

Waveforms are identified by reference for purposes of setting and getting waveform attributes and reading and writing data.

niHWS New Wfm Reference.vi

cu32 file handle in refers to an open HWS file.
ci32 compression level provides control over the amount of compression applied to the waveform samples as they are written to the HWS file.

A value of 0 means no compression. A value of 9 means maximum compression. Values between zero and nine indicate increasing levels of compression.

cstr group name identifies the group that the new waveform is created in.

If the group referred to by group name does not exist, then a new group is created and given the name assigned to the group name parameter.

group name can be the empty string under the following conditions:

  1. The file is new and without groups. A new group is created, and the new waveform is created in that group.
  2. Only one group is in the file. The new waveform is created in that group.
cstr waveform name is the name of the waveform. If this waveform is the only one in the group, then the name is optional (can be the empty string). Otherwise, you must supply a name when creating a new waveform.
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 file handle out is the copy of file handle in you use for input into the next NI-HWS VI in your program.
iu32 waveform reference references the waveform. Waveforms are identified by reference for purposes of setting and getting waveform attributes and for reading and writing data.
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.