Write Named Waveform From File (HWS)

Writes the waveform to onboard memory from a .hws (Hierarchical Waveform Storage) file.

Inputs/Outputs

datatype_icon

waveform name

The name of the waveform to configure position.

You should name waveforms using this node under either of the following conditions:

  • You are using scripts.
  • You want to download multiple waveforms into the hardware.
datatype_icon

session in

Instrument session obtained from the Initialize Acquisition Sessionnode, the Initialize Generation Sessionnode, or the Initialize External Calibrationnode.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

file path

The path and file name of the HWS file you want to open.

The .hws extension is typically used for HWS files, although using this extension is optional.

datatype_icon

use rate from waveform

A Boolean that specifies how the sample rate is computed.

True The sample rate from the WDT value is computed.
False The sample rate from the WDT value is not computed.

If the sample rate has been configured using the Configure Sample Clocknode, use rate from waveform overrides the sample rate.

Default value: False

datatype_icon

session out

Handle that identifies the session in all subsequent node calls.

The session out parameter is obtained from the Initialize Acquisition Sessionnode or the Initialize Generation Sessionnode.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

datatype_icon

waveform size

The returned number of samples that the waveform contains.