Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Can DigitalChangeDetection events overlap?

Hi.

 

Basic question. I don't have exact infromation about the matter so let's make sure... 

 

I created a digital port change event handler this way: 

 

m_taskDigital->DigitalChangeDetection += gcnew DigitalChangeDetectionEventHandler(DigitalChangeDetection);  // m_taskDigital is an instance of Task.

 

In DigitalChangeDetection function I call certain functions imported from (unmanaged) dll. What if the function takes more time than the frequency of digital port changes? Do calls to DigitalChangeDetection go to a queue or are they discarded until the first call is handled or do they overlap?

 

Just wanted to know do I have to create some sort of semaphore or mutex to prevent overlapped calls to the dll fucntions.

 

Kind regards,

 

J. 

0 Kudos
Message 1 of 1
(5,637 Views)