TwiceAsNice  2019-02-18
Classes | Macros | Typedefs | Enumerations | Functions
DAQLibEmb.h File Reference
This graph shows which files directly or indirectly include this file:

Classes

struct  _DqEmbeddedEventConfig
 

Macros

#define DAQLIB   __declspec(dllexport) __stdcall
 
#define PDNADEV_IOCTL_CONFIGURE_EVENT   2
 
#define PDNADEV_IOCTL_WAIT_FOR_EVENT   3
 
#define PDNADEV_IOCTL_CANCEL_EVENT   4
 
#define PDNADEV_IOCTL_READ_TIMESTAMP   5
 
#define PDNADEV_IOCTL_DQCMD   6
 
#define PDNADEV_IOCTL_REG_BENCH   7
 

Typedefs

typedef struct _DqEmbeddedEventConfig DQ_EMBEDDED_EVENT_CONFIG
 

Enumerations

enum  DQ_EMBEDDED_EVENT {
  DqEmbEventTimeout = 1, DqEmbEventSyncIn = 2, DqEmbEventTimer = 4, DqEmbEventTimerOverrun = 8,
  DqEmbEventTriggerButton = 16, DqEmbEventTimeout = 1, DqEmbEventSyncIn = 2, DqEmbEventTimer = 4,
  DqEmbEventTimerOverrun = 8, DqEmbEventTriggerButton = 16
}
 

Functions

int DAQLIB DqEmbConfigureEvent (int hd, DQ_EMBEDDED_EVENT event, unsigned int param)
 
int DAQLIB DqEmbWaitForEvent (int hd, int timeout, DQ_EMBEDDED_EVENT *event)
 
int DAQLIB DqEmbCancelEvent (int hd, DQ_EMBEDDED_EVENT event)
 
int DAQLIB DqEmbIoctl (int hd, int cmd, void *param)
 
int DAQLIB DqEmb501Send (int handle, int dev, int chan, unsigned char *buf, int bufSize)
 
int DAQLIB DqEmb501Receive (int handle, int dev, int chan, unsigned char *buf, int bufSize, int timeout, unsigned char termChar)
 
int DAQLIB DqEmb503Send (int handle, int dev, int chan, uint32 frameId, unsigned char *frameData, int frameDataSize)
 
int DAQLIB DqEmb503Receive (int handle, int dev, int chan, uint32 *frameId, unsigned char *frameData, int *frameDataSize, int timeout)
 
int DAQLIB DqAdv40xSetEvent (int hd, int devn, int enable, uint32 pos_edge_mask, uint32 neg_edge_mask)
 
int DAQLIB DqAdv40xWaitForEvent (int hd, int devn, int timeout, uint32 *pos_edge_status, uint32 *neg_edge_status)
 
int DAQLIB DqAdv403SetEvent (int hd, int devn, int enable, uint32 bank0_pos_edge_mask, uint32 bank0_neg_edge_mask, uint32 bank1_pos_edge_status, uint32 bank1_neg_edge_status)
 
int DAQLIB DqAdv403WaitForEvent (int hd, int devn, int timeout, uint32 *bank0_pos_edge_status, uint32 *bank0_neg_edge_status, uint32 *bank1_pos_edge_status, uint32 *bank1_neg_edge_status)
 

Macro Definition Documentation

◆ DAQLIB

#define DAQLIB   __declspec(dllexport) __stdcall

◆ PDNADEV_IOCTL_CANCEL_EVENT

#define PDNADEV_IOCTL_CANCEL_EVENT   4

◆ PDNADEV_IOCTL_CONFIGURE_EVENT

#define PDNADEV_IOCTL_CONFIGURE_EVENT   2

◆ PDNADEV_IOCTL_DQCMD

#define PDNADEV_IOCTL_DQCMD   6

◆ PDNADEV_IOCTL_READ_TIMESTAMP

#define PDNADEV_IOCTL_READ_TIMESTAMP   5

◆ PDNADEV_IOCTL_REG_BENCH

#define PDNADEV_IOCTL_REG_BENCH   7

◆ PDNADEV_IOCTL_WAIT_FOR_EVENT

#define PDNADEV_IOCTL_WAIT_FOR_EVENT   3

Typedef Documentation

◆ DQ_EMBEDDED_EVENT_CONFIG

Enumeration Type Documentation

◆ DQ_EMBEDDED_EVENT

Enumerator
DqEmbEventTimeout 
DqEmbEventSyncIn 
DqEmbEventTimer 
DqEmbEventTimerOverrun 
DqEmbEventTriggerButton 
DqEmbEventTimeout 
DqEmbEventSyncIn 
DqEmbEventTimer 
DqEmbEventTimerOverrun 
DqEmbEventTriggerButton 

Function Documentation

◆ DqAdv403SetEvent()

int DAQLIB DqAdv403SetEvent ( int  hd,
int  devn,
int  enable,
uint32  bank0_pos_edge_mask,
uint32  bank0_neg_edge_mask,
uint32  bank1_pos_edge_status,
uint32  bank1_neg_edge_status 
)

◆ DqAdv403WaitForEvent()

int DAQLIB DqAdv403WaitForEvent ( int  hd,
int  devn,
int  timeout,
uint32 bank0_pos_edge_status,
uint32 bank0_neg_edge_status,
uint32 bank1_pos_edge_status,
uint32 bank1_neg_edge_status 
)

◆ DqAdv40xSetEvent()

int DAQLIB DqAdv40xSetEvent ( int  hd,
int  devn,
int  enable,
uint32  pos_edge_mask,
uint32  neg_edge_mask 
)

◆ DqAdv40xWaitForEvent()

int DAQLIB DqAdv40xWaitForEvent ( int  hd,
int  devn,
int  timeout,
uint32 pos_edge_status,
uint32 neg_edge_status 
)

◆ DqEmb501Receive()

int DAQLIB DqEmb501Receive ( int  handle,
int  dev,
int  chan,
unsigned char *  buf,
int  bufSize,
int  timeout,
unsigned char  termChar 
)

◆ DqEmb501Send()

int DAQLIB DqEmb501Send ( int  handle,
int  dev,
int  chan,
unsigned char *  buf,
int  bufSize 
)

◆ DqEmb503Receive()

int DAQLIB DqEmb503Receive ( int  handle,
int  dev,
int  chan,
uint32 frameId,
unsigned char *  frameData,
int *  frameDataSize,
int  timeout 
)

◆ DqEmb503Send()

int DAQLIB DqEmb503Send ( int  handle,
int  dev,
int  chan,
uint32  frameId,
unsigned char *  frameData,
int  frameDataSize 
)

◆ DqEmbCancelEvent()

int DAQLIB DqEmbCancelEvent ( int  hd,
DQ_EMBEDDED_EVENT  event 
)

◆ DqEmbConfigureEvent()

int DAQLIB DqEmbConfigureEvent ( int  hd,
DQ_EMBEDDED_EVENT  event,
unsigned int  param 
)

◆ DqEmbIoctl()

int DAQLIB DqEmbIoctl ( int  hd,
int  cmd,
void *  param 
)

◆ DqEmbWaitForEvent()

int DAQLIB DqEmbWaitForEvent ( int  hd,
int  timeout,
DQ_EMBEDDED_EVENT event 
)