Saving Data
- Updated2023-04-26
- 1 minute(s) read
The NI Analog Waveform Editor uses analog.hws files as its native file format for easy transfer of data between the NI Analog Waveform Editor and your application development environment (ADE). The following figure illustrates the relationship between the ADE, the NI Analog Waveform Editor, and the .hws files.

Saving Waveforms for NI-FGEN
I16
In the I16 save format, data is scaled to the full range of the data type with no offset applied. The gain applied to the data can be retrieved from the HWS file. To calculate the gain expected by NI-FGEN, multiply the gain retrieved from the file by 32,768.
DBL (f64)
NI-FGEN requires floating point data to be scaled to a ±1 V range. To scale the floating point data saved by the NI Analog Waveform Editor, check the Scale to ±1 V option in the Select Save Parameters dialog. When retrieving data from the file, the desired gain can be directly retrieved from the HWS file and applied as the gain for NI-FGEN.
Saving Waveforms for NI Multifunction DAQ and Analog Output Products
The recommended save format for multifunction I/O (MIO) and analog output products is f64. I16 is not compatible with binary format for 12-bit MIO and analog output products.