Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Using the Analog Waveform Editor and HWS Files with Multifunction DAQ Devices

Hardware: Multifunction DAQ (MIO), Signal Sources (AWG/FG/AO)>>Arbitrary Waveform and Function Generators, Signal Sources (AWG/FG/AO)>>Analog Output Devices

Problem:
I would like to generate an analog waveform from a HWS waveform file made using the NI Analog Waveform Editor. How can I use the HWS file to generate my analog waveform using NI-DAQmx?

Solution:
The NI Analog Waveform editor is an application used for generating analog waveforms for NI Signal Generators (54xx devices), Multifunction DAQ, and Analog Output devices, and therefore HWS files can be used with NI-DAQmx. When creating a new waveform, ensure that the proper device type and sampling rate is selected in the Properties window from the File menu in the NI Analog Waveform Editor.

Once the analog waveform has been configured, NI recommends that the save format for Multifunction DAQ and Analog Output devices is F64 (IEEE 64-bit Floating Point). Note that I16 is not compatible with binary format for these devices unless the waveform is to be generated on an NI Signal Generator (54xx device).

In order to load the HWS waveforms into LabVIEW, you will need to use the NI-HWS API which is only included in the NI-SCOPE, NI-FGEN, and NI-HSDIO drivers. The NI-HWS VIs can be found under any of the following LabVIEW subpalettes:
Instrument I/O » Instrument Drivers » NI Hierarchical Waveform Storage
Measurement I/O » NI-SCOPE » Utility Functions » NI-HWS
Measurement I/O » NI-FGEN » Utility » NI-HWS
Measurement I/O » NI-HSDIO » Acquisition » NI-HWS
Measurement I/O » NI-HSDIO » Generation » NI-HWS
To use the timing that is set by the HWS waveform, make sure to read the HWS in Analog WDT (waveform data type) format and set the DAQmx Timing VI to use the waveform to determine the update rate.



Related Links:
KnowledgeBase 3YKF3MDF: Where Can I Find The NI-HWS Driver Software?
Products & Services: NI Analog Waveform Editor

Attachments:





Report Date: 03/03/2009
Last Updated: 03/10/2009
Document ID: 4V2F55JQ

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