09-18-2009 03:21 PM
Hi Gang,
In my application, I want to create files Using the Analog Waveform Editor and then, through LavVIEW, play them out through an D/A.
I've not been able to read the .hws file into LV. I've tried two methods:
Using the Read Waveform VI in the Waveform palette, yields Error -1821.
I looked in the knowledgebase and found the article "Using the Analog Waveform Editor and HWS Files with Multifunction DAQ Devices" That recommended using the HWS VIs that are a part of the FGEN driver. I tried that and get an Error -21515.
The file I want to read is quite small, only 20 samples. Is there some limitation on .hws files or the Waveform Editor I'm not aware of?
I've attached the file if anyone is willing to experiment. I had to change the extension from .hws to .txt to be able to attach it.
All responses will be appreciated.
Thanks,
Roger
Solved! Go to Solution.
09-18-2009 04:29 PM
09-21-2009 02:21 PM
Hi!
Thanks for the sanity check!
I don't know what's going on, but I just worked around it by The NI-HWS Express VI, as you mentioned, and converting to a 1D of doubles.
Thanks,
Roger
09-21-2009 08:23 PM