LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timed Loop not Executing

My timed loop fails to execute, despite the absence of errors in the code. I need a third eye to help figure out what I might be doing wrong here. thanks.

 

ooyeniyi_0-1618343396472.png

 

0 Kudos
Message 1 of 6
(1,050 Views)
Looks like it's wrapped in a stacked sequence, so it's hard to say. Maybe it is not getting to this frame of the sequence? Can you attach the full VI?
0 Kudos
Message 2 of 6
(1,009 Views)

Thanks Gregory. The sequence runs until it gets to the Timed Loop, where it seems to freeze without executing nor throwing errors

0 Kudos
Message 3 of 6
(1,002 Views)
I am not familiar with timed loops, and I'm not sure what advantage it gives you here. But, I would guess it is because your timer source is not sending any triggers. If I disconnect the timer source and just let it go to the standard 1kHz clock, it seems like the loop is running.
0 Kudos
Message 4 of 6
(997 Views)

thanks Gregory, it works. However, when I include the Fire Software Trigger Timing Source, I get an Error -805. Any thoughts on fixing this?

ooyeniyi_0-1618353593444.png

 

0 Kudos
Message 5 of 6
(990 Views)

Hi ooyeniyi,

 

did you read the error explanation?

Does your hardware even support such timing triggers?

Why do you want to create, init, execute and kill DAQmx tasks in a tightly timed loop?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(971 Views)