Hi all,
I am using LV RT8.5 with 2 PXI installed, the PXI-7358 and DAQmx PXI-6259. I wrote a program in LabView RT of a single timed loop with
time constraint 5 ms. The first program, the loop rate was OK (no delay, finished late boolean is false), however, when I added a subVi, suddenly
the loop rate became high and delay occured (finished late boolean is true).The delay could reach to 100ms 😞
I attached the pictures below.
1. The fine loop without subVi
2. The loop with subVi
3. The subVi
What I guess now the problem is because of the DAQmx create virtual channel and DAQmx start. However, If I remove these functions from the
subVi, thus I have to connect the DAQmx create virtual channel and DAQmx start in every main program, and thus it will give so much work and make
the program more complex.
Are there any solutions for this. I really appreciate your help.
Regards,
Bondhan