Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

6534 Binary Files

Currently I am using the Digital Waveform Editor to Creat waveforms for my PCI 6534 card. 
I use
niHWS_RetrieveDigitalWfmU16 ();
 to retrieve the waveform and
DAQmxWriteDigitalU16 ();
to play it. 
 
This method causes too much of a delay in my program.  Is there a way to decrease file retrival time or is it possible create a file in a different format for the 6534 card to play (ex. a binary file, or array).
0 Kudos
Message 1 of 2
(3,062 Views)
Are you using the Digital Waveform Editor v1.0.x? If you are, then that version of the editor only supports writting to DWDT and U32 file formats.  Hence reading those files as U16 has a conversion overhead that will slow your application down.
 
The Digital Waveform Editor v2.0 has support for writting both U8 and U16 HWS files.
 
To see if this is the issue, let's use a LV VI to re-save your HWS file with U16 data. Then benchmark your application again using the newly created HWS file.  I've included VIs to convert your DWDT or U32 HWS files to a U16 HWS file (they don't overwrite your existing files, they just create new ones).
 
Reply with the results. If this doesn't help, we can look into something else.
 
-Jared
 
0 Kudos
Message 2 of 2
(3,051 Views)