LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

File dialog slows parallel DAQ VI to a crawl....

I have an Labview app that reads a few globals, and has the ability to
stream the read globals to disk. In parallel with this is a VI that
actually does the DAQ. I can call the parallel VI fine using the VI server
functions, however, if while the daq is running, I start to record a new
file, the DAQ VI goes from running at 1000Hz to about 10Hz, as soon as the
file dialog is cleared, the aquisition is back up to full speed. I tried
other (non labview) apps and opening files does nothing to the DAQ vi.

Any Ideas?

Paul Blamire
0 Kudos
Message 1 of 2
(3,341 Views)
File dialogs are a little bit time consuming in LabVIEW and do not let
operate other parts of LabVIEW very well if in the same thread. If you
are using LabVIEW 5 or better on a multithreading platform (Win32/Unix)
try to assign the DAQ VI to another thread. This should probably help
for your situation

Paul Blamire wrote in article
<37cd808f_1@einstien.netscapeonline.co.uk>...
> I have an Labview app that reads a few globals, and has the ability to
> stream the read globals to disk. In parallel with this is a VI that
> actually does the DAQ. I can call the parallel VI fine using the VI
server
> functions, however, if while the daq is running, I start to record a new
> file, the DAQ VI goes from running at 1000Hz to about 10Hz, as soon a
s
the
> file dialog is cleared, the aquisition is back up to full speed. I tried
> other (non labview) apps and opening files does nothing to the DAQ vi.
>
> Any Ideas?
>
> Paul Blamire
>
>
>
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 2
(3,341 Views)