Write Named Waveform From File (HWS)
- Updated2023-02-17
- 3 minute(s) read
Write Named Waveform From File (HWS)
Writes the waveform to onboard memory from a .hws (Hierarchical Waveform Storage) file.
Inputs/Outputs

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.

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

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

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.

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

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.

error out
Error information.
The node produces this output according to standard error behavior.

waveform size
The returned number of samples that the waveform contains.