LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get my program to run at a faster frequency?

I am using the PCI-DIO-32HS (6533) board. A portion of the program writes a pattern of various handshaking signals. The other clocks in a bit of data and formats the data into arrays. The spec. sheets say this board can do pattern I/O at 13Mbytes/s or handshake at 76Mbytes/s. I'm running a 733MHz processor with 128M of RAM. Even after changing the buffers any from 4-50 Million, the fastest I could get either part of the program to run individually was about 1MHz. Together, they top out at about 50KHz. What do I need to do to get this program to work at about 2MHz?
0 Kudos
Message 1 of 2
(2,424 Views)
William,

Try running one of the examples that ship with LabVIEW that does pattern I/O or burst mode handshaking. One of the things to keep in mind is to eliminate as much programming in the DIO write loop as possible as this will slow down your program and your data transfer rate that is attainable.

In LabVIEW the examples can be found under Search Examples -> I/O Interfaces -> Data Acquisition -> Digital I/O.
0 Kudos
Message 2 of 2
(2,424 Views)