LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

async timer thread priority

I've created an async timer which runs on a separate thread from my understanding of things.  (and all and any aync timers created by the process are on this this same, separate, async timer thread).

 

What priority is this thread?  Normal?  

 

Thanks to anyone who knows.

 

Menchar

 

 

0 Kudos
Message 1 of 5
(4,382 Views)
It should be normal priority, though i'm not 100% positive.
Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 2 of 5
(4,363 Views)

Checked the help for NewAzyncTimer

NewAsyncTimer

 

And, i was incorrect...the NewAsyncTimer is set to highest priority thread. Inorder to specify a different priority you can use  NewAsyncTimerWithPriority.

 

 

 

 

 

 

Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 3 of 5
(4,346 Views)

Thank you, and I am feeling a bit stupid as that now that you mention it I do remember seeing that other call to set the priority.

 

0 Kudos
Message 4 of 5
(4,339 Views)

You're welcome. Watch out though, the set priority function only works on Real Time targets.

Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 5 of 5
(4,336 Views)