National Instruments FOUNDATION NI-FBUS Hardware And Software User Manual page 123

Table of Contents

Advertisement

nifWaitAlert2
Purpose
Waits for an alert (an event or an alarm) from a specific device or from any device.
nifWaitAlert2
Format
nifError_t
Input
ud
alertPriority
Output
aldata
Context
Block, VFD, physical device, link, session.
Description
nifWaitAlert2
nifWaitAlert2
you use
nifWaitAlert2
represents a descriptor of a session, link, a physical device, a VFD, or a block. If
ud
is a VFD descriptor, then the NI-FBUS Communications Manager waits for an alert from
any block in the Virtual Field Device. If
Manager waits for an alarm or event from the block
nifWaitAlert2
If the descriptor is a session descriptor, the function waits on any event from any attached link.
nifWaitAlert2
alert with a priority greater than or equal to the input alert priority. Your application can have
a dedicated thread which does
© National Instruments Corporation
supports Standard Diagnostics Alert.
nifWaitAlert2(
nifDesc_t ud,
nifAlertData2_t *aldata,
uint8 alertPriority)
The descriptor of the session, link, physical device, VFD, block,
or link the alert comes from.
Lowest priority of the alert coming in that you want to wait on.
The information about the specific alert (supports Standard
Diagnostics Alert).
is compatible with all of the alert types of
is able to support Standard Diagnostics Alert. It is recommended that
instead of
nifWaitAlert
completes when an event is received from any device connected to that link.
waits indefinitely until the NI-FBUS Communications Manager receives an
nifWaitAlert2
Chapter 6
nifWaitAlert
.
is a block, the NI-FBUS Communications
ud
refers to. If
ud
only.
6-61
NI-FBUS Hardware and Software User Manual
NI-FBUS Function Reference
, and
ud
represents a link,
ud

Advertisement

Table of Contents
loading

Table of Contents