03-24-2025 02:54 AM
Hello,
I have a subVI that activates a DAQ, and I do it dynamically (Please see picture attached).
The problem is that the first time I run it, it takes a very long time.
Is there a way to make it faster?
Thanks so much in advance,
03-24-2025 03:12 AM
Looks like you wired the 5 to the Timeout
03-24-2025 03:22 AM
😲thanks so much!!
03-24-2025 03:44 AM
I have removed the timeout but the first time I run it it still takes a long time... 😞
03-24-2025 03:57 AM
Hi Elfernro,
@Elfernro wrote:
I have removed the timeout but the first time I run it it still takes a long time... 😞
The first time you run the VI it needs to initialize the whole DAQmx stack.
You explicitely request all available DAQmx devices…
You might re-organize your whole VI/project so you do the initialize stuff right after start of the main VI.
That subVI should get the required channel (including the DAQmx device name) as input…
03-24-2025 05:43 AM
Hi Gerdw,
thank so much for your time.
But the subvi always waits (the first time I run it along time) on "Start Task", even if I use fixed input channel. Can I avoid that?
(Please see attached picture)
Thanks so much!!