The problem may be a software bottleneck or a hardware bottleneck.
Some potential software problems:
(In addition to unneccessary front panel updates and data copies mentioned by Alliance member PhotonDan)
Are you writing your data to arrays? If so, how do you initialize and build the array? Performance on a fixed array is much better than on an array that keeps growing.
Are you using property nodes when local variables would do? Are you using property nodes or local variables when wires or shift registers would do?
When you communicate with your instrument, are you doing unneccessary initializations or opening and closing refnums or handles, etc, on every call?
Click
here to view a previous Web Event on optimizing VI performance for more ideas.
Some possible hardware bottlenecks:
(In addition to a slow PC mentioned by Alliance member PhotonDan)
What's the connection between the PC and the VXI mainframe? Is it an embedded slot 0 controller? GPIB? MXI?
How fast does your instrument respond?
Can you tell if your hardware is waiting on your software or vice-versa?