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

Table of Contents

Advertisement

If you have multiple threads waiting to receive the same trend, the NI-FBUS Communications
Manager sends a copy of the trend to all the waiting threads. You can abort a pending
nifWaitTrend
The
type can be
trend
The sample type can be
nifTrendData_t
typedef struct nifTrendData_t {
uint8 trendType;
char deviceTag[TAG_SIZE + 1];
char blockTag[TAG_SIZE + 1];
char paramName[TAG_SIZE + 1];
uint8 sampleType;
uint32 sampleInterval;
nifTime_t lastUpdate;
uint8 status[16];
union {
float f[16];
uint8 d[16];
uint8 bs[32];
} trendData;
} nifTrendData_t;
Return Values
E_OK
E_INVALID_DESCRIPTOR
E_SERVER_CONNECTION_LOST
© National Instruments Corporation
call by closing the descriptor on which the call was made.
TREND_FLOAT
SAMPLE_INSTANT
is defined as follows:
The call was successful.
The descriptor you gave is not valid.
The session established with the NI-FBUS Communications
Manager for this descriptor has been closed or lost.
Chapter 6
,
, or
TREND_DISCRETE
or
SAMPLE_AVERAGE
6-65
NI-FBUS Hardware and Software User Manual
NI-FBUS Function Reference
.
TREND_BITSTRING
.

Advertisement

Table of Contents
loading

Table of Contents