From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-27-2007 10:47 AM
06-27-2007 11:50 AM
I don't have experience with timed loops, so I didn't understand your solution, but what is this COM object actually blocking? I know that DLL calls made using the CLF node will block the UI thread if they are not defined to be thread safe, but I don't think this should affect COM.
Can you upload an image of the relevant piece of code with an illustration of what actually gets blocked?
06-27-2007 10:02 PM
06-28-2007 01:51 AM
What you're describing may or may not be a bug with timed loops. I don't know since I have zero experience with them, so I don't know what t0 should be.
I would simply suggest ditching the timed loop and using any other kind of schduling mechanism. The best option is to put the upper call after the lower call, but I understand you can't do that, because the lower call needs the upper call to finish.
The other options would be using an event structure with a timeout of 2000, a wait statement wired into a sequence structure, a non-triggered notifier with a timeout, etc.
Timed loops require interacting with an external DLL to do their thing, so I don't really like them that much anyway.
06-28-2007 02:46 AM
06-28-2007 03:07 AM
It seems to me you're over complicating the situations. Timed loops are for situations where you need complex timing.
In your case, the timing requirements seem fairly simple (see attached for a couple of examples).
06-28-2007 03:26 AM
06-28-2007 08:55 AM