SubscriberMsg

Subscriber message structure.

Synopsis

typedef struct SubscriberMsg {
DS_MSG_HEADER

union {
 struct {
  void* buffer;
  } data;
 
 struct {
  long number;
  long status;
  } channel;
 
 struct {
  long controlArg1;
  void* controlArg2;
  } control;

 struct {
  unsigned long lock;
  } sync;

 struct {
  unsigned long options;
  } start;

 struct {
  unsigned long options;
  } stop;

 } msg;

} SubscriberMsg, *SubscriberMsgPtr

Description

Sends an exit message to a data acquisition thread. DisposeDataAcq() also releases the memory allocated to the data acquisition thread.

Fields

DS_MSG_HEADER
See the DS_MSG_HEADER manual page

data

buffer
Pointer to the data.

channel

number
Channel number to operate upon.
status
Channel status (bits 31-16 subscriber defined).

control

controlArg1
Subscriber defined.
controlArg2
Subscriber defined.

sync

clock
Current time.

start

options
Start options.

stop

options
Stop options.

Associated Files

DataStream.h