Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
6 ratings:
 2.5 out of 5   

Generate Digital Waveforms Saved by the Digital Waveform Editor

Hardware: PXI/CompactPCI>>Controllers

I need to generate a waveform created by Digital Waveform Editor. What methods are available?

The Digital Waveform Editor (DWE) stores waveforms in the Hierarchical Waveform Storage (HWS) file format. When created or saved by DWE, each waveform is placed in a unique file with blank group and waveform names. (The group name and waveform name are each empty strings.) There are several ways to access the data in this file from your HSDIO application:

Using the NI-HWS API with the NI-DAQmx API:
You can read the waveform information using the NI-HWS API, which is provided as a subpalette to the NI-HSDIO API. These functions provide access to all features of the HWS file format. If you are using a DAQmx supported device (i.e. 653x devices), the niHWS Retrieve Waveform VI can be used to get the data for use by the NI-DAQmx Write VI.


Using the NI-HWS API with NI-HSDIO API:
Similar to the above, except using the NI-HSDIO API. The niHWS Retrieve Waveform VI can be used to get the data for use by the niHSDIO Write Named Waveform VI.

Using the NI-HSDIO API:
The niHSDIO Write Named Waveform VI is polymorphic, and one of its instances allows you to read the data directly from an HWS file. The example program called Read HWS File and demonstrates this use.

Related Links:
Products and Services: NI Digital Waveform Editor
High-Speed Digitizers Help: Hierarchical Waveform Storage Data File (.hws)


niHWS_API.png - niHWS_API.pngniHSDIO_API_2.png - niHSDIO_API_2.png

Report Date: 11/04/2004
Last Updated: 08/15/2017
Document ID: 3F3F9DLZ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit