Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to load files generated using Ni DWE Tool set into FGEN Soft Panel!

Hardware is PXI-5421

While i am able to generate digital waveforms in the Digital Waveform
Editor
Toolset and save it, the same shows and error reading file:
"some data is invalid, check for corruption"

To read the file in *.hws format i am using NI FGEN Soft Front Panel
supplied
by NI.

When i load the example waveform from location
C:\Program Files\National Instruments\LabVIEW
7.0\examples\instr\niHSDIO\Support Files\Mywfm.hws

FGEn throws up error:

"The data type of this trace is not supported. Currently supported
data
types
are 8, 16 & 32 bit signed integers."

Software Details: Other version N/A
NI Hardware : Signal Sources (AWG/Function Generators) device PCI-5421
Driver Version : 2.1
Operating System: Windows 2000
0 Kudos
Message 1 of 2
(6,333 Views)
First, I want to confirm that you want to play a digital waveform out on the arbitrary waveform generator. Most people use the Digital Waveform Editor (DWE) with the Digital Waveform Generator/Analyzers and use the Analog Waveform Editor (AWE) with the Arbitrary Waveform Generators (Arbs).

Both the DWE and AWE use HWS files (files with the .hws extension) to store their data, although one type of data is digital and the other type is analog. We did anticipate that some users may wish to play a digital waveform out the digital connector on the Arb, so in the Create From File (HWS) VI/function, we do allow you to download a digital HWS file to the Arb. Since the Arb has only 16 bits, only the lower 16 bits of a digital waveform will be played out. You must enable the digital pattern output separately to see the pattern come out on the digital connector. If you really want the digital data to be sent to the DAC as an analog output, that just happens naturally.

This fairly obscure functionality was not documented, and while supported in the API, was not implemented in the NI-FGEN Soft Front Panel.

Hope this helps,
Neil
Neil Feiereisel
Principal Engineer, Modular Instruments, National Instruments
Message 2 of 2
(6,326 Views)