TwiceAsNice  2019-02-18
Functions | Variables
DAQLibRTAsync.c File Reference
#include <stdio.h>
#include <math.h>
#include <limits.h>
#include "PDNA.h"
#include "PDNA_private.h"
#include "DAQLibRTAsync.h"
Include dependency graph for DAQLibRTAsync.c:

Functions

int DAQLIB DqRtAsyncOpenIOM (int handle, int *new_handle, uint16 UDP_Port, uint32 mTimeOut, int depth, pDQRDCFG *pDqCfg)
 
int DAQLIB DqRtAsyncCloseIOM (int handle)
 
int DAQLIB DqRtAsyncEnableEvents (int hd, uint32 flags, uint32 enable_mask)
 
int DAQLIB DqRtAsyncAssignEvent (int hd, int devn, uint32 flags, int(*handler)(uint32 *flags, pDQPKT buf, int *size), tUeiPalObject event)
 
int RtAsyncProcessReceived (pDQIOME pIom, uint32 flags, int index)
 
int DAQLIB DqRtAsyncGetEventPacket (int hd, int devn, pDQEVENT *pDqEv, int *signaled)
 
int DAQLIB DqRtAsyncProcessEvent (int hd, uint32 flags, int num_events)
 
int DAQLIB DqRtAsyncClearEvents (int hd, uint32 flags)
 
int DAQLIB DqRtAsyncWaitForEvent (int hd, uint32 flags, uint32 timeout_ms, int *packets_in_queue)
 
int DAQLIB DqRtAsyncReceive (int hd, uint32 flags, pDQPKT *buffer, int *size, pDQRTRCQUEUE *paRcQueue, int *packets_in_queue)
 
int DAQLIB DqRtAsyncSend (int hd, uint32 flags, int pkt_size, pDQPKT buffer)
 
int DAQLIB DqRtAsyncVmapRefreshInputs (int hd, uint32 flags, pDQRTRCQUEUE paRcQueue, int dmap_id)
 
int DAQLIB DqRtAsyncVmapRefreshOutputs (int hd, uint32 flags, int dmap_id)
 
int DAQLIB DqRtAsyncSendResponse (int hd, uint32 flags, int pkt_size, pDQEVENT pEvent)
 
int DAQLIB DqRtAsyncXMapSlotAllocate (int hd, uint32 flags, int dmapID, int slot_uS)
 
int DAQLIB DqRtAsyncXMapEnable (int hd, int enable)
 
int DAQLIB DqRtAsyncXMapSetTiming (int hd, uint32 flags, int dmapID, double dmap_period_Hz)
 
int DAQLIB DqRtAsyncXMapTestTiming (int hd, uint32 flags, int dmapID, uint32 *proc_time_uS)
 

Variables

tUeiPalObject IOMTableLock
 

Function Documentation

◆ DqRtAsyncAssignEvent()

int DAQLIB DqRtAsyncAssignEvent ( int  hd,
int  devn,
uint32  flags,
int(*)(uint32 *flags, pDQPKT buf, int *size)  handler,
tUeiPalObject  event 
)

◆ DqRtAsyncClearEvents()

int DAQLIB DqRtAsyncClearEvents ( int  hd,
uint32  flags 
)

◆ DqRtAsyncCloseIOM()

int DAQLIB DqRtAsyncCloseIOM ( int  handle)

◆ DqRtAsyncEnableEvents()

int DAQLIB DqRtAsyncEnableEvents ( int  hd,
uint32  flags,
uint32  enable_mask 
)

◆ DqRtAsyncGetEventPacket()

int DAQLIB DqRtAsyncGetEventPacket ( int  hd,
int  devn,
pDQEVENT pDqEv,
int *  signaled 
)

◆ DqRtAsyncOpenIOM()

int DAQLIB DqRtAsyncOpenIOM ( int  handle,
int *  new_handle,
uint16  UDP_Port,
uint32  mTimeOut,
int  depth,
pDQRDCFG pDqCfg 
)

◆ DqRtAsyncProcessEvent()

int DAQLIB DqRtAsyncProcessEvent ( int  hd,
uint32  flags,
int  num_events 
)

◆ DqRtAsyncReceive()

int DAQLIB DqRtAsyncReceive ( int  hd,
uint32  flags,
pDQPKT buffer,
int *  size,
pDQRTRCQUEUE paRcQueue,
int *  packets_in_queue 
)

◆ DqRtAsyncSend()

int DAQLIB DqRtAsyncSend ( int  hd,
uint32  flags,
int  pkt_size,
pDQPKT  buffer 
)

◆ DqRtAsyncSendResponse()

int DAQLIB DqRtAsyncSendResponse ( int  hd,
uint32  flags,
int  pkt_size,
pDQEVENT  pEvent 
)

◆ DqRtAsyncVmapRefreshInputs()

int DAQLIB DqRtAsyncVmapRefreshInputs ( int  hd,
uint32  flags,
pDQRTRCQUEUE  paRcQueue,
int  dmap_id 
)

◆ DqRtAsyncVmapRefreshOutputs()

int DAQLIB DqRtAsyncVmapRefreshOutputs ( int  hd,
uint32  flags,
int  dmap_id 
)

◆ DqRtAsyncWaitForEvent()

int DAQLIB DqRtAsyncWaitForEvent ( int  hd,
uint32  flags,
uint32  timeout_ms,
int *  packets_in_queue 
)

◆ DqRtAsyncXMapEnable()

int DAQLIB DqRtAsyncXMapEnable ( int  hd,
int  enable 
)

◆ DqRtAsyncXMapSetTiming()

int DAQLIB DqRtAsyncXMapSetTiming ( int  hd,
uint32  flags,
int  dmapID,
double  dmap_period_Hz 
)

◆ DqRtAsyncXMapSlotAllocate()

int DAQLIB DqRtAsyncXMapSlotAllocate ( int  hd,
uint32  flags,
int  dmapID,
int  slot_uS 
)

◆ DqRtAsyncXMapTestTiming()

int DAQLIB DqRtAsyncXMapTestTiming ( int  hd,
uint32  flags,
int  dmapID,
uint32 proc_time_uS 
)

◆ RtAsyncProcessReceived()

int RtAsyncProcessReceived ( pDQIOME  pIom,
uint32  flags,
int  index 
)

Variable Documentation

◆ IOMTableLock

tUeiPalObject IOMTableLock