Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

call AI single scan.VI by 3 separate labview programs

I have three different Labview programs trying to access one SCXI chassis.
I look at the example semaphore with 3 subvi in parallel.
1. Create semaphore
2. passing semaphore reference to 3 subvis
3. destroy semaphore.
this example does not work for me.
I have three different subvis, they are not running at the same time or terminating at the same time.
My scenario:
at 7AM operator 1 launches VI1
at 8AM operator2 launches VI2 a different program
at 9AM operator3 lauches VI3 another different program.
they all access SCXI chassis, different channels.
attached are the VIs, semaphorecall.vi; semaphorecall1.vi; semaphorecall2.vi these 3 VIs will call semaphore with subVI100.vi at different ti
me.
What should be the right place to call destroy semaphore.vI
0 Kudos
Message 1 of 2
(2,373 Views)
There is an excellent tutorial on semaphores on our website, and the tutorial includes an example program of using semaphores within 3 parallel subVIs. I have included a link to the tutorial below. This should be a good reference for you. I hope this helps.

Using Semaphores
http://zone.ni.com/devzone/taskdoc.nsf/2d17d611efb58b22862567a9006ffe76/71b61d18f12980c586256802007b9155?OpenDocument

Regards,

Todd D.
0 Kudos
Message 2 of 2
(2,373 Views)