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

Get Semaphore Status VI

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Semaphore VIs

Requires: Base Development System

Returns current status information of a semaphore.

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

semaphore is a reference to a semaphore.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
name contains the name of the semaphore.
semaphore out has the same value as semaphore.
# available contains the number of tasks that can acquire the semaphore at the current time. This number is always less than or equal to size.
# waiting is the number of Acquire Semaphore functions currently waiting to acquire the semaphore.
error out contains error information. This output provides standard error out functionality.
size contains the maximum number of tasks that can acquire the semaphore at a time.


 Was this document helpful?  submit
  Helpful Not Helpful