06-26-2006 01:16 AM
06-26-2006 02:15 AM
06-26-2006 05:45 AM
Hi Raman
I'm using semaphores for the following reason,
I have four units I need to test in parallel mode, during the tests I access a Imaq Card (which is one resource) to aqcuire an image from each unit to proccess it, since I have different units they all need to access the same resource at any given time, there is where the semaphores come into action,
my low level driver is going to manage the semaphore and I just call my tests using what is call threads which in LabVIEW is not really that difficult when you change a property on the vi to make the file reentrant, once you access the resource at different times, the semaphore will allow only one unit under test to access the resource,
I hope this helps