Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Release Semaphore VI

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Semaphore VIs

Requires: Base Development System

Releases access to a semaphore. If the Acquire Semaphore VI is waiting for the semaphore this VI releases, it stops waiting and continues execution.

Use this VI in conjunction with the other Semaphore VIs to implement a semaphore in LabVIEW.

Details  Example

semaphore is a reference to a semaphore.
error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality.

This node runs normally even if an error occurred before this node runs.
semaphore out has the same value as semaphore.
error out contains error information. This output provides standard error out functionality.

Release Semaphore Details

If the semaphore is currently unacquired, this VI returns error code 1111.

Example

Refer to the Simple Semaphore VI in the labview\examples\Synchronization\Semaphore directory for an example of using the Release Semaphore VI.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit