NI-HSDIO Stream from Disk (Generation) Using Win32 File IO
Overview
The basic and advanced examples below show how to continuously stream new data to a HSDIO device while the device is generating. These examples are intended to be used for generating quantities of data that are significantly larger than the onboard memory.
Using the NI recommended hardware below, the stream from disk benchmarks are around 114MB/s (roughly a sample clock rate of 114 / 4 = 28.5 MHz due to a data width of 4 bytes / sample on 654x and 655x boards, and 114 /2 = 57 MHz on the 656x boards).
NI Recommended Hardware:
- PXI 654x
- PXI 655x
- PXI 656x
- PXI 8105/8106 controller
- Addonics eSATA 4-drive RAID (ST5X1PM-4)
- ExpressCard34 to eSATA Adapter (ADEXC34R5-2E)
Software:
- NI-HSDIO 1.5.1 or above
- LabVIEW 8.0 or above
Included in this EPD are:
(Basic Version)
- niHSDIO (U32) Stream from Disk Queues Win32 File IO.vi (Basic Version)
- supporting DMA Optimization VI's
- supporting Win32 File IO VI's
(Advanced Version)
- niHSDIO (U32) Stream from Disk Queues Win32 File IO.vi (Advanced Version)
- Export Arb Sample Clock.vi (if generating an external clock signal for HSDIO)
- supporting DMA Optimization VI's
- supporting Win32 File IO VI's
- file write/read benchmark utility VI's
- HSDIO stream from memory benchmark utility
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
