Synchronization下載 PDF選擇的小節所選的小節與子小節完整手冊已更新2025-07-30閱讀時間為 2 分鐘LabVIEWAPI 參考LabVIEW G Use the Synchronization VIs and functions to synchronize tasks executing in parallel and to pass data between parallel tasks. Notifier OperationsUse the Notifier Operations functions to suspend the execution of a block diagram until you receive data from another section of the block diagram or from another VI running in the same application instance.Queue OperationsUse the Queue Operations functions to create a queue for communicating data between sections of a block diagram or from another VI.SemaphoreUse the Semaphore VIs to limit the number of tasks that can simultaneously operate on a shared (protected) resource. A protected resource or critical section of code might include writing to global variables or communicating with external instruments.RendezvousUse the Rendezvous VIs to synchronize two or more separate, parallel tasks at specific points of execution. Each task that reaches the rendezvous waits until the specified number of tasks are waiting, at which point all tasks proceed with execution.OccurrencesUse the Occurrences functions to control separate, synchronous activities.First Call? FunctionIndicates that a subVI or section of a block diagram is running for the first time. The First Call? function returns TRUE only the first time you call it after you click the Run button.Synchronize Data Flow VIPasses through the values of the input wires after the upstream code executes.Parent topic: ProgrammingParent topic: Data Communication
Use the Synchronization VIs and functions to synchronize tasks executing in parallel and to pass data between parallel tasks. Notifier OperationsUse the Notifier Operations functions to suspend the execution of a block diagram until you receive data from another section of the block diagram or from another VI running in the same application instance.Queue OperationsUse the Queue Operations functions to create a queue for communicating data between sections of a block diagram or from another VI.SemaphoreUse the Semaphore VIs to limit the number of tasks that can simultaneously operate on a shared (protected) resource. A protected resource or critical section of code might include writing to global variables or communicating with external instruments.RendezvousUse the Rendezvous VIs to synchronize two or more separate, parallel tasks at specific points of execution. Each task that reaches the rendezvous waits until the specified number of tasks are waiting, at which point all tasks proceed with execution.OccurrencesUse the Occurrences functions to control separate, synchronous activities.First Call? FunctionIndicates that a subVI or section of a block diagram is running for the first time. The First Call? function returns TRUE only the first time you call it after you click the Run button.Synchronize Data Flow VIPasses through the values of the input wires after the upstream code executes.Parent topic: ProgrammingParent topic: Data Communication
Use the Synchronization VIs and functions to synchronize tasks executing in parallel and to pass data between parallel tasks. Notifier OperationsUse the Notifier Operations functions to suspend the execution of a block diagram until you receive data from another section of the block diagram or from another VI running in the same application instance.Queue OperationsUse the Queue Operations functions to create a queue for communicating data between sections of a block diagram or from another VI.SemaphoreUse the Semaphore VIs to limit the number of tasks that can simultaneously operate on a shared (protected) resource. A protected resource or critical section of code might include writing to global variables or communicating with external instruments.RendezvousUse the Rendezvous VIs to synchronize two or more separate, parallel tasks at specific points of execution. Each task that reaches the rendezvous waits until the specified number of tasks are waiting, at which point all tasks proceed with execution.OccurrencesUse the Occurrences functions to control separate, synchronous activities.First Call? FunctionIndicates that a subVI or section of a block diagram is running for the first time. The First Call? function returns TRUE only the first time you call it after you click the Run button.Synchronize Data Flow VIPasses through the values of the input wires after the upstream code executes.Parent topic: ProgrammingParent topic: Data Communication