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

Classes

struct  DQCVINFO
 
struct  _DQDEVCFG
 
struct  _pDQACBCFG
 
struct  _DQACBMISSING
 
struct  _DQMSGMISSING
 
struct  _DQACB
 
struct  _DQDmapTRL
 
struct  _DQDMAP
 
struct  _DQBCB
 
struct  _DQCQENTRY
 
struct  _DQCQHead
 
struct  _DQE
 
struct  _DQINSTE
 
struct  _DqTransportFuncs
 
struct  _DqTransportDescriptor
 
struct  DQRTRCQUEUE
 
struct  DQRTRCASYNC
 
struct  DQXHANDLE
 
struct  _DQIOME
 
struct  _DQRingBuf
 
struct  _DQRingBufHead
 
struct  DQTSREC
 

Macros

#define DQ_LIBCODE(M, N, S)   ((M<<16)|(N<<8)|S)
 
#define DQ_LIB_REVISION   DQ_LIBCODE(3,7,0)
 
#define STRACE_NOPRINT   1
 
#define DQ_NOERROR   0
 
#define DQ_SUCCESS   1
 
#define DQ_ILLEGAL_ENTRY   (-1)
 
#define DQ_ILLEGAL_HANDLE   (-2)
 
#define DQ_SOCK_LIB_ERROR   (-3)
 
#define DQ_TIMEOUT_ERROR   (-4)
 
#define DQ_SEND_ERROR   (-5)
 
#define DQ_RECV_ERROR   (-6)
 
#define DQ_IOM_ERROR   (-7)
 
#define DQ_PKT_TOOLONG   (-8)
 
#define DQ_ILLEGAL_PKTSIZE   (-9)
 
#define DQ_INIT_ERROR   (-10)
 
#define DQ_BAD_PARAMETER   (-11)
 
#define DQ_BAD_DEVN   (-12)
 
#define DQ_NOT_IMPLEMENTED   (-13)
 
#define DQ_NO_MEMORY   (-14)
 
#define DQ_NOT_ENOUGH_ROOM   (-15)
 
#define DQ_DEVICE_BUSY   (-16)
 
#define DQ_EVENT_ERROR   (-17)
 
#define DQ_BAD_CONFIG   (-18)
 
#define DQ_DATA_ERROR   (-19)
 
#define DQ_DEVICE_NOTREADY   (-20)
 
#define DQ_CALIBRATION_ERROR   (-21)
 
#define DQ_WRONG_DMAP   (-22)
 
#define DQ_DATA_NOT_AVAILABLE   (-23)
 
#define DQ_FIFO_OVERFLOW   (-24)
 
#define DQ_ILLEGAL_INDEX   (-25)
 
#define DQ_DIO_LINE_NOT_EXIST   (-26)
 
#define DQ_WRONG_PKT_COUNTER   (-27)
 
#define DQ_ERR_NEGATIVE_RETURN   0x80000000
 
#define DQ_CHK_ERROR_NONE   0
 
#define DQ_CHK_ERROR_IGNORE   1
 
#define DQ_CHK_ERROR_NONCRITICAL   2
 
#define DQ_CHK_ERROR_CRITICAL   3
 
#define DQ_CHECK_ALIVE   1
 
#define DQ_ERROR_TIMEOUT_CTN   2
 
#define DQ_MILLI_SECOND   1000
 
#define DQ_MICRO_SECOND   1000000
 
#define DQ_UDP_DAQ_PORT   6334
 
#define DQ_UDP_DAQ_PORT_ASYNC   6344
 
#define DQ_SO_RCVBUF_BUFFER_SIZE   100000
 
#define DQ_SO_SNDBUF_BUFFER_SIZE   0
 
#define DQ_TABLE_ENTRY_FREE   -1
 
#define DQPAYLOADHDR   2
 
#define DQ_MAX_ETH_SIZE   (576)
 
#define DQ_MAX_UDP_PAYLOAD   530
 
#define DQ_MAX_DQ_PAYLOAD   (DQ_MAX_UDP_PAYLOAD - DQHSZ)
 
#define DQ_MAX_PKT_SIZE   (DQ_MAX_DQ_PAYLOAD - DQPAYLOADHDR)
 
#define DQ_MAX_ETH_SIZE_100   (1518)
 
#define DQ_MAX_ETH_SIZE_100_ALIGNED   1520
 
#define DQ_MAX_UDP_PAYLOAD_100   1472
 
#define DQ_MAX_DQ_PAYLOAD_100   (DQ_MAX_UDP_PAYLOAD_100 - DQHSZ)
 
#define DQ_MAX_PKT_SIZE_100   (DQ_MAX_DQ_PAYLOAD_100 - DQPAYLOADHDR)
 
#define DQ_MAX_ETH_JUMBO   9600
 
#define DQ_CQ_ENTRIES   128
 
#define DQ_RING_BUFS   DQ_FIFO_NBUFS
 
#define DQ_REPLY   0x1000
 
#define DQ_NOREPLY   0x2000
 
#define DQ_ZERO   0
 
#define DQ_LASTDEV   0x80 /* last device in DaqBIOS command entry */
 
#define DQ_LASTCHAN   0x80 /* last channel in DaqBIOS command entry */
 
#define DQ_NULLDEV   0xff /* device that never exists, phantom */
 
#define DQ_WAIT_INDEFINITELY   INFINITE
 
#define DQ_WAIT_TIMEOUT   WAIT_TIMEOUT
 
#define DQ_WAIT_OBJECT_0   WAIT_OBJECT_0
 
#define DQ_PROLOG   0xBABAFACA /* DqTS id */
 
#define DQ_PLGVT1   0xBABAFACB /* DqVT first or not last packet id */
 
#define DQ_PLGVTL   0xBABAFACC /* DqVT last or only packet id */
 
#define DQCMD_RECEIVE_RETRIES   2
 
#define DQ_MAX_RCV_ATTEMPTS   2
 
#define DQ_MAXTRLISTSZ   512
 
#define DQ_MAXCLSIZE   64
 
#define DQ_MAXTRIGS   4
 
#define DQCMD_FIRST   0x100
 
#define DQCMD_ECHB   0x100
 
#define DQCMD_HRTBEAT   0x101
 
#define DQCMD_ECHO   0x104
 
#define DQCMD_ECHOPNP   0x108
 
#define DQCMD_EFR   0x10C
 
#define DQCMD_RST   0x110
 
#define DQCMD_RSTTS   0x111
 
#define DQCMD_WRVAL   0x114
 
#define DQCMD_RDVAL   0x118
 
#define DQCMD_WRVALM   0x11C
 
#define DQCMD_RDVALM   0x120
 
#define DQCMD_SETCFG   0x124
 
#define DQCMD_RDSTS   0x128
 
#define DQCMD_GETCFG   0x129
 
#define DQCMD_WRCHNL   0x12C
 
#define DQCMD_RDCHNL   0x130
 
#define DQCMD_SETCLK   0x134
 
#define DQCMD_START   0x138
 
#define DQCMD_SETCL   0x13C
 
#define DQCMD_SETTRL   0x140
 
#define DQCMD_FINISH   0x144
 
#define DQCMD_WRALL   0x148
 
#define DQCMD_WRRD   0x14C
 
#define DQCMD_WRFIFO   0x150
 
#define DQCMD_RDFIFO   0x154
 
#define DQCMD_WRRDFIFO   0x158
 
#define DQCMD_WRFLASH   0x15C
 
#define DQCMD_UPDFLASH   0x160
 
#define DQCMD_SETSYNCRT   0x162
 
#define DQCMD_SETCOMM   0x164
 
#define DQCMD_SETNAME   0x168
 
#define DQCMD_RDNAME   0x16C
 
#define DQCMD_SETPRM   0x170
 
#define DQCMD_GETPRM   0x171
 
#define DQCMD_WDSET   0x172
 
#define DQCMD_SETCAL   0x174
 
#define DQCMD_SAVEPRM   0x178
 
#define DQCMD_SETMD   0x17C
 
#define DQCMD_SETRPLMAX   0x180
 
#define DQCMD_SETPASS   0x184
 
#define DQCMD_GETCRC   0x188
 
#define DQCMD_GETCAPS   0x190
 
#define DQCMD_INITIOM   0x194
 
#define DQCMD_IOCTL   0x198
 
#define DQCMD_IOCTLR   0x199
 
#define DQCMD_IOCTLD   0x19A
 
#define DQCMD_SETTRIG   0x1A0
 
#define DQCMD_BURST   0x1A1
 
#define DQCMD_RBFCPUWR   0x1C4
 
#define DQCMD_RBFPAGEWR   0x1C6
 
#define DQCMD_RBFDEVLIST   0x1C8
 
#define DQCMD_SETAXMAP   0x1CA
 
#define DQCMD_EVENT   0x1B4
 
#define DQCMD_SETVEC   0x1A4
 
#define DQCMD_RUNVEC   0x1A8
 
#define DQCMD_RSTWCHDG   0x1AC
 
#define DQCMD_FLSHFIFO   0x1B0
 
#define DQCMD_ALLOC   0x1B8
 
#define DQCMD_FREE   0x1BC
 
#define DQCMD_SETLOCK   0x1C0
 
#define DQIOCTL_CVTCHNL   (1)
 
#define DQ_MAX_ACB_TABLE_SIZE   256
 
#define DQ_MINIMALPERIOD   1
 
#define DQ_MAX_IOM_TABLE_SIZE   64
 
#define DQ_MAX_IOM_TABLE_MASK   0x3f
 
#define DQ_IOM_SECOND_PORT_HANDLE   0x1000L
 
#define DQ_IOM_EVENT_PORT_HANDLE   0x2000L
 
#define DQ_IOM_HANDLE_PORT_MASK   0x3000L
 
#define DQ_IOM_HANDLE_MASK   (0x3F)
 
#define DQ_IOM_EVENT_MASK   (0x3F0000)
 
#define DQ_MAX_INST_TABLE_SIZE   65
 
#define DQ_INSTMODE_NTOH   0x8000
 
#define DQ_RB_REQUESTED   (0x1L << 30)
 
#define DQ_MAXFIFO   (48)
 
#define DQ_RBINS_FULL   (-1)
 
#define DQ_RBINS_PARAM   (-2)
 
#define DQ_RBINS_FILLED   (3)
 
#define DQ_RBINS_INVREQ   (-4)
 
#define DQ_RBINS_OLDPKT   (-5)
 
#define DQ_DIO404_REF_3_3V   3
 
#define DQ_DIO404_REF_5V   5
 
#define DQ_DIO404_REF_12V   12
 
#define DQ_DIO404_REF_24V   24
 
#define DQ_DIO404_REF_36V   36
 
#define DQ_BUFFER_ACB   1
 
#define DQ_BUFFER_DMAP   2
 
#define DQ_BUFFER_MSGQ   3
 
#define DQ_TRLENTRY_NOTREADY   0
 
#define DQ_TRLENTRY_SELECTED   1
 
#define DQ_TRLENTRY_READY   2
 
#define DQ_SYNC_OBJ_NUM   4
 
#define DQ_EVT_NUM_MMT   0
 
#define DQ_EVT_NUM_1   1
 
#define DQ_EVT_NUM_2   2
 
#define DQ_EVT_NUM_3   3
 
#define _pi_   3.14159265358979323846
 

Typedefs

typedef struct DQCVINFOpDQCVINFO
 
typedef struct _DQDEVCFG DQDEVCFG
 
typedef struct _DQDEVCFGpDQDEVCFG
 
typedef struct _pDQACBCFG DQACBCFG
 
typedef struct _pDQACBCFGpDQACBCFG
 
typedef struct _DQACBMISSING DQACBMISS
 
typedef struct _DQACBMISSINGpDQACBMISS
 
typedef struct _DQMSGMISSING DQMSGMISS
 
typedef struct _DQMSGMISSINGpDQMSGMISS
 
typedef struct _DQACB DQACB
 
typedef struct _DQACBpDQACB
 
typedef struct _DQDmapTRL DQDmapTRL
 
typedef struct _DQDmapTRLpDQDmapTRL
 
typedef struct _DQDMAP DQDMAP
 
typedef struct _DQDMAPpDQDMAP
 
typedef struct _DQBCB DQBCB
 
typedef struct _DQBCBpDQBCB
 
typedef struct _DQCQENTRY DQCQE
 
typedef struct _DQCQENTRYpDQCQE
 
typedef struct _DQCQHead DQCQHEAD
 
typedef struct _DQCQHeadpDQCQHEAD
 
typedef struct _DQE DQE
 
typedef struct _DQEpDQE
 
typedef struct _DQINSTE DQINSTE
 
typedef struct _DQINSTEpDQINSTE
 
typedef enum _DqTransportType DQTRANSPORTTYPE
 
typedef struct _DqTransportDescriptor DQTRANSPORTDESC
 
typedef struct _DqTransportFuncs DQTRANSPORTFUNCS
 
typedef struct DQRTRCQUEUEpDQRTRCQUEUE
 
typedef struct DQRTRCASYNCpDQRTRCASYNC
 
typedef struct DQXHANDLEpDQXHANDLE
 
typedef struct _DQIOME DQIOME
 
typedef struct _DQIOMEpDQIOME
 
typedef struct _DQRingBuf DQRingBuf
 
typedef struct _DQRingBufpDQRingBuf
 
typedef struct _DQRingBufHead DQRingBufHead
 
typedef struct _DQRingBufHeadpDQRingBufHead
 
typedef struct DQTSREC DQtSrec
 

Enumerations

enum  _DqTransportType {
  DqTransportTypeBSDSocket, DqTransportTypeDQEngine, DqTransportTypeLocal, DqTransportTypeSharedMemory,
  DqTransportTypeUSB, DqTransportTypeFSI, DqTransportTypeBSDSocket, DqTransportTypeDQEngine,
  DqTransportTypeLocal, DqTransportTypeSharedMemory, DqTransportTypeUSB, DqTransportTypeFSI
}
 

Functions

char *DAQLIB DqTranslateError (int error)
 Converts error code to ASCIIZ string. More...
 
uint32 DAQLIB DqGetLibVersion (void)
 Version of the library. More...
 
uint32 DAQLIB DqGetLibVersionBuild (void)
 Version of the library. More...
 
int DAQLIB DqOpenIOM (char *IP, uint16 UDP_Port, uint32 mTimeOut, int *handle, pDQRDCFG *pDqCfg)
 
int DAQLIB DqAddIOMPort (int handle, int *new_handle, uint16 UDP_Port, uint32 mTimeOut)
 
int DAQLIB DqCloseIOM (int Iom)
 
int DAQLIB DqGetDevnBySlot (int Iom, uint32 Slot, uint32 *devn, uint32 *serial, uint32 *address, uint16 *model)
 
int DAQLIB DqGetDevnBySerial (int Iom, uint32 Serial, uint32 *devn, uint32 *slot, uint32 *address, uint16 *model)
 
int DAQLIB DqSetPacketSize (int Iom, uint32 MinPktSize, uint32 MaxPktSize)
 
int DAQLIB DqGetPacketSize (int Iom, uint32 *MinPktSize, uint32 *MaxPktSize)
 
int DAQLIB DqSetTimeout (int Iom, pDQE pDqe, int Timeoutms)
 
int DAQLIB DqCmdSetIoctlCode (int Iom, int ioctl_replace, int ioctl_code_set)
 
int DAQLIB DqCmdReceiveEvent (int hd, uint32 flags, int timeout_ms, pDQEVENT *event_buf, int *size)
 
int DAQLIB DqCmdEcho (int Iom, pDQRDCFG pDQRdCfg)
 
int DAQLIB DqCmdCheckAlive (int Iom, uint32 *response)
 
int DAQLIB DqCheckForCriticalError (int Iom, int error, uint32 flags, uint32 *criticality)
 
int DAQLIB DqCmdReset (int Iom)
 
int DAQLIB DqCmdResetTimestamp (int Iom)
 
int DAQLIB DqCmdHwReset (int Iom)
 
int DAQLIB DqCmdWriteVal (int Iom, uint32 Address, uint32 *Value)
 
int DAQLIB DqCmdReadVal (int Iom, uint32 Address, uint32 *Value)
 
int DAQLIB DqCmdWriteMultipleValues (int Iom, pDQWRVALM DQWrMultVal)
 
int DAQLIB DqCmdReadMultipleValues (int Iom, pwDQRDVALM pDQRdMultVal, uint8 *Data)
 
int DAQLIB DqCmdSetCfg (int Iom, DQSETCFG pDQSetCfg[], uint32 *Status, uint32 *entries)
 
int DAQLIB DqCmdGetCfg (int Iom, pDQGETCFG_RQ pDQGetCfg, pDQGETCFG pDQCfgOut, pDQGETCFG *pcfg, uint32 *entries)
 
int DAQLIB DqCmdReadStatus (int Iom, uint8 *DeviceNum, uint32 *Entries, uint32 *Status, uint32 *StatusSize)
 
int DAQLIB DqCmdWriteChannel (int Iom, pDQWRCHNL DQChannelData, uint32 DataBufLen)
 
int DAQLIB DqCmdReadChannel (int Iom, pDQRDCHNL pDQChannel, void *Data, uint32 *DataBufLen)
 
int DAQLIB DqCmdSetClock (int Iom, pDQSETCLK pDQSetClk, float *CloseFreq, uint32 *entries)
 
int DAQLIB DqCmdSetTrigger (int Iom, pDQSETTRIG pDQSetTrig, uint32 *entries)
 
int DAQLIB DqCmdSwTrigger (int Iom, uint32 Mask)
 
int DAQLIB DqCmdSetChannelList (int Iom, pDQSETCL pDQSetCl, uint32 *entries)
 
int DAQLIB DqCmdSetTransferList (int Iom, pDQSETTRL pDQSetTrl)
 
int DAQLIB DqCmdWriteReadAll (int Iom, pDQWRRD pDQWr, pDQWRRD pDQRd)
 
int DAQLIB DqCmdWriteFIFO (int Iom, pDQFIFO pDQFifo)
 
int DAQLIB DqCmdReadFIFO (int Iom, pDQFIFO pDQFifo)
 
int DAQLIB DqCmdWriteReadFIFO (int Iom, pDQWRRDFIFO pDQWrRdFifoPut, pDQWRRDFIFO pDQWrRdFifoGet)
 
int DAQLIB DqCmdWriteToFlashBuffer (int Iom, uint32 Size, uint8 *Data, uint32 *CRC)
 
int DAQLIB DqCmdUpdateFlashBuffer (int Iom, uint16 Sector, uint32 Address, uint32 Size, uint32 *CRC)
 
int DAQLIB DqCmdSetSyncRt (int Iom, pSYNCPLL pSyncPll, pSYNCRT pSyncRt)
 
int DAQLIB DqCmdSetCommParameters (int Iom, pDQSETCOMM pDQSetComm, uint32 *CRC)
 
int DAQLIB DqCmdSetName (int Iom, char *Name, int32 *CRC)
 
int DAQLIB DqCmdGetName (int Iom, uint32 BufLen, char *Buffer)
 
int DAQLIB DqCmdSetWatchDog (int Iom, uint32 Mask, uint32 time, uint32 *t2reset, uint32 *cstatus)
 
int DAQLIB DqCmdSetParameters (int Iom, pDQSETPRM pDQSetParm, uint32 *CRC)
 
int DAQLIB DqCmdGetParameters (int Iom, pDQGETPRM pDQGetParm, uint8 *data)
 
int DAQLIB DqCmdSetCalibration (int Iom, pDQSETCAL pDQSetCal, int *entries)
 
int DAQLIB DqCmdSaveParameters (int Iom, uint32 devn, uint32 *HashCode)
 
int DAQLIB DqCmdSetMode (int Iom, uint32 Mode, uint32 Mask)
 
int DAQLIB DqCmdSetReplyMaxSize (int Iom, uint32 EthSize, uint32 EthSizeBuf, uint32 MaxNoPkts, uint32 *Accepted)
 
int DAQLIB DqCmdSetPassword (int Iom, uint32 Mode, char *Password)
 
int DAQLIB DqCmdGetCRC (int Iom, DQCRCINFO *pDQCRCInfo)
 
int DAQLIB DqCmdIoctl (int Iom, IN pDQIOCTL IoIn, pDQIOCTL IoOut)
 
int DAQLIB DqCmdIoctlSz (int Iom, uint32 size_in, IN pDQIOCTL IoIn, uint32 size_out, pDQIOCTL IoOut)
 
int DAQLIB DqCmdIoctlSz_unlock (int Iom, uint32 size_in, IN pDQIOCTL IoIn, uint32 size_out, pDQIOCTL IoOut)
 
int DAQLIB DqCmdIoctlRetrySz (int Iom, uint32 size_in, IN pDQIOCTL IoIn, uint32 size_out, pDQIOCTL IoOut)
 
int DAQLIB DqCmdGetCapabilities (int Iom, uint8 Layer, int *moredata, char *info)
 
int DAQLIB DqCmdInitIOM (int Iom, uint8 Layer, uint32 ParamID, uint32 *Data)
 
int DAQLIB DqCmdSetLock (int Iom, uint8 Mode, char *Password, uint32 *IP)
 
int DAQLIB DqGetLastStatus (int iom, uint32 *data, uint32 *size)
 
int DAQLIB DqReadSrec (char *filename, int relative, uint32 size, char *buffer, uint32 *bytes)
 
int DAQLIB DqCmdFinishDmap (int Iom, uint32 dmapid)
 
int DAQLIB DqCmdWriteAll (int Iom, pDQWRRD pDQWr)
 
int DAQLIB DqCmdReadAll (int Iom, pDQWRRD pDQRd)
 
int DqCmdReadAll_nocopy (int Iom, pDQWRRD *ppWrRd, pDQPKT *ppDQPkt)
 
int DqCmdReadAll_int (int Iom, pDQWRRD pDQRd, uint16 *dqCounter, uint16 *dqTStamp)
 
int DAQLIB DqCmdRbfTransferToBuffer (int Iom, uint32 Size, uint8 *Data, uint32 *CRC)
 
int DAQLIB DqCmdRbfPageWrite (int Iom, uint32 BaseAddr, uint32 Size, uint8 CrcVerification, uint32 *ProcessedBytes, uint32 *CRC, uint32 *error)
 
int DAQLIB DqCmdRbfDevList (int Iom, DQRBFDEV *dev_list, uint32 *error)
 
int DAQLIB DqReadRbf (char *filename, char *buffer, uint32 size, uint32 *bytes)
 
int DAQLIB DqInitRbf (int Iom)
 
pDQIOME DAQLIB DqGetIom (int hd)
 
uint32 DAQLIB mmddyy2date (int mm, int dd, int yy, int hh, int mn, int ss)
 
int DAQLIB date2mmddyy (uint32 date, int *mm, int *dd, int *yy, int *hh, int *mn, int *ss)
 
int DAQLIB DqInitDAQLib (void)
 Initializes the PowerDNA library internal structures. More...
 
void DAQLIB DqCleanUpDAQLib (void)
 Cleans up the PowerDNA library internal structures. More...
 

Macro Definition Documentation

◆ _pi_

#define _pi_   3.14159265358979323846

◆ DQ_BAD_CONFIG

#define DQ_BAD_CONFIG   (-18)

◆ DQ_BAD_DEVN

#define DQ_BAD_DEVN   (-12)

◆ DQ_BAD_PARAMETER

#define DQ_BAD_PARAMETER   (-11)

◆ DQ_BUFFER_ACB

#define DQ_BUFFER_ACB   1

◆ DQ_BUFFER_DMAP

#define DQ_BUFFER_DMAP   2

◆ DQ_BUFFER_MSGQ

#define DQ_BUFFER_MSGQ   3

◆ DQ_CALIBRATION_ERROR

#define DQ_CALIBRATION_ERROR   (-21)

◆ DQ_CHECK_ALIVE

#define DQ_CHECK_ALIVE   1

◆ DQ_CHK_ERROR_CRITICAL

#define DQ_CHK_ERROR_CRITICAL   3

◆ DQ_CHK_ERROR_IGNORE

#define DQ_CHK_ERROR_IGNORE   1

◆ DQ_CHK_ERROR_NONCRITICAL

#define DQ_CHK_ERROR_NONCRITICAL   2

◆ DQ_CHK_ERROR_NONE

#define DQ_CHK_ERROR_NONE   0

◆ DQ_CQ_ENTRIES

#define DQ_CQ_ENTRIES   128

◆ DQ_DATA_ERROR

#define DQ_DATA_ERROR   (-19)

◆ DQ_DATA_NOT_AVAILABLE

#define DQ_DATA_NOT_AVAILABLE   (-23)

◆ DQ_DEVICE_BUSY

#define DQ_DEVICE_BUSY   (-16)

◆ DQ_DEVICE_NOTREADY

#define DQ_DEVICE_NOTREADY   (-20)

◆ DQ_DIO404_REF_12V

#define DQ_DIO404_REF_12V   12

◆ DQ_DIO404_REF_24V

#define DQ_DIO404_REF_24V   24

◆ DQ_DIO404_REF_36V

#define DQ_DIO404_REF_36V   36

◆ DQ_DIO404_REF_3_3V

#define DQ_DIO404_REF_3_3V   3

◆ DQ_DIO404_REF_5V

#define DQ_DIO404_REF_5V   5

◆ DQ_DIO_LINE_NOT_EXIST

#define DQ_DIO_LINE_NOT_EXIST   (-26)

◆ DQ_ERR_NEGATIVE_RETURN

#define DQ_ERR_NEGATIVE_RETURN   0x80000000

◆ DQ_ERROR_TIMEOUT_CTN

#define DQ_ERROR_TIMEOUT_CTN   2

◆ DQ_EVENT_ERROR

#define DQ_EVENT_ERROR   (-17)

◆ DQ_EVT_NUM_1

#define DQ_EVT_NUM_1   1

◆ DQ_EVT_NUM_2

#define DQ_EVT_NUM_2   2

◆ DQ_EVT_NUM_3

#define DQ_EVT_NUM_3   3

◆ DQ_EVT_NUM_MMT

#define DQ_EVT_NUM_MMT   0

◆ DQ_FIFO_OVERFLOW

#define DQ_FIFO_OVERFLOW   (-24)

◆ DQ_ILLEGAL_ENTRY

#define DQ_ILLEGAL_ENTRY   (-1)

◆ DQ_ILLEGAL_HANDLE

#define DQ_ILLEGAL_HANDLE   (-2)

◆ DQ_ILLEGAL_INDEX

#define DQ_ILLEGAL_INDEX   (-25)

◆ DQ_ILLEGAL_PKTSIZE

#define DQ_ILLEGAL_PKTSIZE   (-9)

◆ DQ_INIT_ERROR

#define DQ_INIT_ERROR   (-10)

◆ DQ_INSTMODE_NTOH

#define DQ_INSTMODE_NTOH   0x8000

◆ DQ_IOM_ERROR

#define DQ_IOM_ERROR   (-7)

◆ DQ_IOM_EVENT_MASK

#define DQ_IOM_EVENT_MASK   (0x3F0000)

◆ DQ_IOM_EVENT_PORT_HANDLE

#define DQ_IOM_EVENT_PORT_HANDLE   0x2000L

◆ DQ_IOM_HANDLE_MASK

#define DQ_IOM_HANDLE_MASK   (0x3F)

◆ DQ_IOM_HANDLE_PORT_MASK

#define DQ_IOM_HANDLE_PORT_MASK   0x3000L

◆ DQ_IOM_SECOND_PORT_HANDLE

#define DQ_IOM_SECOND_PORT_HANDLE   0x1000L

◆ DQ_LASTCHAN

#define DQ_LASTCHAN   0x80 /* last channel in DaqBIOS command entry */

◆ DQ_LASTDEV

#define DQ_LASTDEV   0x80 /* last device in DaqBIOS command entry */

◆ DQ_LIB_REVISION

#define DQ_LIB_REVISION   DQ_LIBCODE(3,7,0)

◆ DQ_LIBCODE

#define DQ_LIBCODE (   M,
  N,
 
)    ((M<<16)|(N<<8)|S)

◆ DQ_MAX_ACB_TABLE_SIZE

#define DQ_MAX_ACB_TABLE_SIZE   256

◆ DQ_MAX_DQ_PAYLOAD

#define DQ_MAX_DQ_PAYLOAD   (DQ_MAX_UDP_PAYLOAD - DQHSZ)

◆ DQ_MAX_DQ_PAYLOAD_100

#define DQ_MAX_DQ_PAYLOAD_100   (DQ_MAX_UDP_PAYLOAD_100 - DQHSZ)

◆ DQ_MAX_ETH_JUMBO

#define DQ_MAX_ETH_JUMBO   9600

◆ DQ_MAX_ETH_SIZE

#define DQ_MAX_ETH_SIZE   (576)

◆ DQ_MAX_ETH_SIZE_100

#define DQ_MAX_ETH_SIZE_100   (1518)

◆ DQ_MAX_ETH_SIZE_100_ALIGNED

#define DQ_MAX_ETH_SIZE_100_ALIGNED   1520

◆ DQ_MAX_INST_TABLE_SIZE

#define DQ_MAX_INST_TABLE_SIZE   65

◆ DQ_MAX_IOM_TABLE_MASK

#define DQ_MAX_IOM_TABLE_MASK   0x3f

◆ DQ_MAX_IOM_TABLE_SIZE

#define DQ_MAX_IOM_TABLE_SIZE   64

◆ DQ_MAX_PKT_SIZE

#define DQ_MAX_PKT_SIZE   (DQ_MAX_DQ_PAYLOAD - DQPAYLOADHDR)

◆ DQ_MAX_PKT_SIZE_100

#define DQ_MAX_PKT_SIZE_100   (DQ_MAX_DQ_PAYLOAD_100 - DQPAYLOADHDR)

◆ DQ_MAX_RCV_ATTEMPTS

#define DQ_MAX_RCV_ATTEMPTS   2

◆ DQ_MAX_UDP_PAYLOAD

#define DQ_MAX_UDP_PAYLOAD   530

◆ DQ_MAX_UDP_PAYLOAD_100

#define DQ_MAX_UDP_PAYLOAD_100   1472

◆ DQ_MAXCLSIZE

#define DQ_MAXCLSIZE   64

◆ DQ_MAXFIFO

#define DQ_MAXFIFO   (48)

◆ DQ_MAXTRIGS

#define DQ_MAXTRIGS   4

◆ DQ_MAXTRLISTSZ

#define DQ_MAXTRLISTSZ   512

◆ DQ_MICRO_SECOND

#define DQ_MICRO_SECOND   1000000

◆ DQ_MILLI_SECOND

#define DQ_MILLI_SECOND   1000

◆ DQ_MINIMALPERIOD

#define DQ_MINIMALPERIOD   1

◆ DQ_NO_MEMORY

#define DQ_NO_MEMORY   (-14)

◆ DQ_NOERROR

#define DQ_NOERROR   0

◆ DQ_NOREPLY

#define DQ_NOREPLY   0x2000

◆ DQ_NOT_ENOUGH_ROOM

#define DQ_NOT_ENOUGH_ROOM   (-15)

◆ DQ_NOT_IMPLEMENTED

#define DQ_NOT_IMPLEMENTED   (-13)

◆ DQ_NULLDEV

#define DQ_NULLDEV   0xff /* device that never exists, phantom */

◆ DQ_PKT_TOOLONG

#define DQ_PKT_TOOLONG   (-8)

◆ DQ_PLGVT1

#define DQ_PLGVT1   0xBABAFACB /* DqVT first or not last packet id */

◆ DQ_PLGVTL

#define DQ_PLGVTL   0xBABAFACC /* DqVT last or only packet id */

◆ DQ_PROLOG

#define DQ_PROLOG   0xBABAFACA /* DqTS id */

◆ DQ_RB_REQUESTED

#define DQ_RB_REQUESTED   (0x1L << 30)

◆ DQ_RBINS_FILLED

#define DQ_RBINS_FILLED   (3)

◆ DQ_RBINS_FULL

#define DQ_RBINS_FULL   (-1)

◆ DQ_RBINS_INVREQ

#define DQ_RBINS_INVREQ   (-4)

◆ DQ_RBINS_OLDPKT

#define DQ_RBINS_OLDPKT   (-5)

◆ DQ_RBINS_PARAM

#define DQ_RBINS_PARAM   (-2)

◆ DQ_RECV_ERROR

#define DQ_RECV_ERROR   (-6)

◆ DQ_REPLY

#define DQ_REPLY   0x1000

◆ DQ_RING_BUFS

#define DQ_RING_BUFS   DQ_FIFO_NBUFS

◆ DQ_SEND_ERROR

#define DQ_SEND_ERROR   (-5)

◆ DQ_SO_RCVBUF_BUFFER_SIZE

#define DQ_SO_RCVBUF_BUFFER_SIZE   100000

◆ DQ_SO_SNDBUF_BUFFER_SIZE

#define DQ_SO_SNDBUF_BUFFER_SIZE   0

◆ DQ_SOCK_LIB_ERROR

#define DQ_SOCK_LIB_ERROR   (-3)

◆ DQ_SUCCESS

#define DQ_SUCCESS   1

◆ DQ_SYNC_OBJ_NUM

#define DQ_SYNC_OBJ_NUM   4

◆ DQ_TABLE_ENTRY_FREE

#define DQ_TABLE_ENTRY_FREE   -1

◆ DQ_TIMEOUT_ERROR

#define DQ_TIMEOUT_ERROR   (-4)

◆ DQ_TRLENTRY_NOTREADY

#define DQ_TRLENTRY_NOTREADY   0

◆ DQ_TRLENTRY_READY

#define DQ_TRLENTRY_READY   2

◆ DQ_TRLENTRY_SELECTED

#define DQ_TRLENTRY_SELECTED   1

◆ DQ_UDP_DAQ_PORT

#define DQ_UDP_DAQ_PORT   6334

◆ DQ_UDP_DAQ_PORT_ASYNC

#define DQ_UDP_DAQ_PORT_ASYNC   6344

◆ DQ_WAIT_INDEFINITELY

#define DQ_WAIT_INDEFINITELY   INFINITE

◆ DQ_WAIT_OBJECT_0

#define DQ_WAIT_OBJECT_0   WAIT_OBJECT_0

◆ DQ_WAIT_TIMEOUT

#define DQ_WAIT_TIMEOUT   WAIT_TIMEOUT

◆ DQ_WRONG_DMAP

#define DQ_WRONG_DMAP   (-22)

◆ DQ_WRONG_PKT_COUNTER

#define DQ_WRONG_PKT_COUNTER   (-27)

◆ DQ_ZERO

#define DQ_ZERO   0

◆ DQCMD_ALLOC

#define DQCMD_ALLOC   0x1B8

◆ DQCMD_BURST

#define DQCMD_BURST   0x1A1

◆ DQCMD_ECHB

#define DQCMD_ECHB   0x100

◆ DQCMD_ECHO

#define DQCMD_ECHO   0x104

◆ DQCMD_ECHOPNP

#define DQCMD_ECHOPNP   0x108

◆ DQCMD_EFR

#define DQCMD_EFR   0x10C

◆ DQCMD_EVENT

#define DQCMD_EVENT   0x1B4

◆ DQCMD_FINISH

#define DQCMD_FINISH   0x144

◆ DQCMD_FIRST

#define DQCMD_FIRST   0x100

◆ DQCMD_FLSHFIFO

#define DQCMD_FLSHFIFO   0x1B0

◆ DQCMD_FREE

#define DQCMD_FREE   0x1BC

◆ DQCMD_GETCAPS

#define DQCMD_GETCAPS   0x190

◆ DQCMD_GETCFG

#define DQCMD_GETCFG   0x129

◆ DQCMD_GETCRC

#define DQCMD_GETCRC   0x188

◆ DQCMD_GETPRM

#define DQCMD_GETPRM   0x171

◆ DQCMD_HRTBEAT

#define DQCMD_HRTBEAT   0x101

◆ DQCMD_INITIOM

#define DQCMD_INITIOM   0x194

◆ DQCMD_IOCTL

#define DQCMD_IOCTL   0x198

◆ DQCMD_IOCTLD

#define DQCMD_IOCTLD   0x19A

◆ DQCMD_IOCTLR

#define DQCMD_IOCTLR   0x199

◆ DQCMD_RBFCPUWR

#define DQCMD_RBFCPUWR   0x1C4

◆ DQCMD_RBFDEVLIST

#define DQCMD_RBFDEVLIST   0x1C8

◆ DQCMD_RBFPAGEWR

#define DQCMD_RBFPAGEWR   0x1C6

◆ DQCMD_RDCHNL

#define DQCMD_RDCHNL   0x130

◆ DQCMD_RDFIFO

#define DQCMD_RDFIFO   0x154

◆ DQCMD_RDNAME

#define DQCMD_RDNAME   0x16C

◆ DQCMD_RDSTS

#define DQCMD_RDSTS   0x128

◆ DQCMD_RDVAL

#define DQCMD_RDVAL   0x118

◆ DQCMD_RDVALM

#define DQCMD_RDVALM   0x120

◆ DQCMD_RECEIVE_RETRIES

#define DQCMD_RECEIVE_RETRIES   2

◆ DQCMD_RST

#define DQCMD_RST   0x110

◆ DQCMD_RSTTS

#define DQCMD_RSTTS   0x111

◆ DQCMD_RSTWCHDG

#define DQCMD_RSTWCHDG   0x1AC

◆ DQCMD_RUNVEC

#define DQCMD_RUNVEC   0x1A8

◆ DQCMD_SAVEPRM

#define DQCMD_SAVEPRM   0x178

◆ DQCMD_SETAXMAP

#define DQCMD_SETAXMAP   0x1CA

◆ DQCMD_SETCAL

#define DQCMD_SETCAL   0x174

◆ DQCMD_SETCFG

#define DQCMD_SETCFG   0x124

◆ DQCMD_SETCL

#define DQCMD_SETCL   0x13C

◆ DQCMD_SETCLK

#define DQCMD_SETCLK   0x134

◆ DQCMD_SETCOMM

#define DQCMD_SETCOMM   0x164

◆ DQCMD_SETLOCK

#define DQCMD_SETLOCK   0x1C0

◆ DQCMD_SETMD

#define DQCMD_SETMD   0x17C

◆ DQCMD_SETNAME

#define DQCMD_SETNAME   0x168

◆ DQCMD_SETPASS

#define DQCMD_SETPASS   0x184

◆ DQCMD_SETPRM

#define DQCMD_SETPRM   0x170

◆ DQCMD_SETRPLMAX

#define DQCMD_SETRPLMAX   0x180

◆ DQCMD_SETSYNCRT

#define DQCMD_SETSYNCRT   0x162

◆ DQCMD_SETTRIG

#define DQCMD_SETTRIG   0x1A0

◆ DQCMD_SETTRL

#define DQCMD_SETTRL   0x140

◆ DQCMD_SETVEC

#define DQCMD_SETVEC   0x1A4

◆ DQCMD_START

#define DQCMD_START   0x138

◆ DQCMD_UPDFLASH

#define DQCMD_UPDFLASH   0x160

◆ DQCMD_WDSET

#define DQCMD_WDSET   0x172

◆ DQCMD_WRALL

#define DQCMD_WRALL   0x148

◆ DQCMD_WRCHNL

#define DQCMD_WRCHNL   0x12C

◆ DQCMD_WRFIFO

#define DQCMD_WRFIFO   0x150

◆ DQCMD_WRFLASH

#define DQCMD_WRFLASH   0x15C

◆ DQCMD_WRRD

#define DQCMD_WRRD   0x14C

◆ DQCMD_WRRDFIFO

#define DQCMD_WRRDFIFO   0x158

◆ DQCMD_WRVAL

#define DQCMD_WRVAL   0x114

◆ DQCMD_WRVALM

#define DQCMD_WRVALM   0x11C

◆ DQIOCTL_CVTCHNL

#define DQIOCTL_CVTCHNL   (1)

◆ DQPAYLOADHDR

#define DQPAYLOADHDR   2

◆ STRACE_NOPRINT

#define STRACE_NOPRINT   1

Typedef Documentation

◆ DQACB

typedef struct _DQACB DQACB

◆ DQACBCFG

typedef struct _pDQACBCFG DQACBCFG

◆ DQACBMISS

typedef struct _DQACBMISSING DQACBMISS

◆ DQBCB

typedef struct _DQBCB DQBCB

◆ DQCQE

typedef struct _DQCQENTRY DQCQE

◆ DQCQHEAD

typedef struct _DQCQHead DQCQHEAD

◆ DQDEVCFG

typedef struct _DQDEVCFG DQDEVCFG

◆ DQDMAP

typedef struct _DQDMAP DQDMAP

◆ DQDmapTRL

typedef struct _DQDmapTRL DQDmapTRL

◆ DQE

typedef struct _DQE DQE

◆ DQINSTE

typedef struct _DQINSTE DQINSTE

◆ DQIOME

typedef struct _DQIOME DQIOME

◆ DQMSGMISS

typedef struct _DQMSGMISSING DQMSGMISS

◆ DQRingBuf

typedef struct _DQRingBuf DQRingBuf

◆ DQRingBufHead

typedef struct _DQRingBufHead DQRingBufHead

◆ DQTRANSPORTDESC

◆ DQTRANSPORTFUNCS

◆ DQTRANSPORTTYPE

◆ DQtSrec

typedef struct DQTSREC DQtSrec

◆ pDQACB

typedef struct _DQACB * pDQACB

◆ pDQACBCFG

typedef struct _pDQACBCFG * pDQACBCFG

◆ pDQACBMISS

typedef struct _DQACBMISSING * pDQACBMISS

◆ pDQBCB

typedef struct _DQBCB * pDQBCB

◆ pDQCQE

typedef struct _DQCQENTRY * pDQCQE

◆ pDQCQHEAD

typedef struct _DQCQHead * pDQCQHEAD

◆ pDQCVINFO

typedef struct DQCVINFO * pDQCVINFO

◆ pDQDEVCFG

typedef struct _DQDEVCFG * pDQDEVCFG

◆ pDQDMAP

typedef struct _DQDMAP * pDQDMAP

◆ pDQDmapTRL

typedef struct _DQDmapTRL * pDQDmapTRL

◆ pDQE

typedef struct _DQE * pDQE

◆ pDQINSTE

typedef struct _DQINSTE * pDQINSTE

◆ pDQIOME

typedef struct _DQIOME * pDQIOME

◆ pDQMSGMISS

typedef struct _DQMSGMISSING * pDQMSGMISS

◆ pDQRingBuf

typedef struct _DQRingBuf * pDQRingBuf

◆ pDQRingBufHead

typedef struct _DQRingBufHead * pDQRingBufHead

◆ pDQRTRCASYNC

typedef struct DQRTRCASYNC * pDQRTRCASYNC

◆ pDQRTRCQUEUE

typedef struct DQRTRCQUEUE * pDQRTRCQUEUE

◆ pDQXHANDLE

typedef struct DQXHANDLE * pDQXHANDLE

Enumeration Type Documentation

◆ _DqTransportType

Enumerator
DqTransportTypeBSDSocket 
DqTransportTypeDQEngine 
DqTransportTypeLocal 
DqTransportTypeSharedMemory 
DqTransportTypeUSB 
DqTransportTypeFSI 
DqTransportTypeBSDSocket 
DqTransportTypeDQEngine 
DqTransportTypeLocal 
DqTransportTypeSharedMemory 
DqTransportTypeUSB 
DqTransportTypeFSI 

Function Documentation

◆ date2mmddyy()

int DAQLIB date2mmddyy ( uint32  date,
int *  mm,
int *  dd,
int *  yy,
int *  hh,
int *  mn,
int *  ss 
)

◆ DqAddIOMPort()

int DAQLIB DqAddIOMPort ( int  handle,
int *  new_handle,
uint16  UDP_Port,
uint32  mTimeOut 
)

◆ DqCheckForCriticalError()

int DAQLIB DqCheckForCriticalError ( int  Iom,
int  error,
uint32  flags,
uint32 criticality 
)

◆ DqCloseIOM()

int DAQLIB DqCloseIOM ( int  Iom)

◆ DqCmdCheckAlive()

int DAQLIB DqCmdCheckAlive ( int  Iom,
uint32 response 
)

◆ DqCmdEcho()

int DAQLIB DqCmdEcho ( int  Iom,
pDQRDCFG  pDQRdCfg 
)

◆ DqCmdFinishDmap()

int DAQLIB DqCmdFinishDmap ( int  Iom,
uint32  dmapid 
)

◆ DqCmdGetCapabilities()

int DAQLIB DqCmdGetCapabilities ( int  Iom,
uint8  Layer,
int *  moredata,
char *  info 
)

◆ DqCmdGetCfg()

int DAQLIB DqCmdGetCfg ( int  Iom,
pDQGETCFG_RQ  pDQGetCfg,
pDQGETCFG  pDQCfgOut,
pDQGETCFG pcfg,
uint32 entries 
)

◆ DqCmdGetCRC()

int DAQLIB DqCmdGetCRC ( int  Iom,
DQCRCINFO pDQCRCInfo 
)

◆ DqCmdGetName()

int DAQLIB DqCmdGetName ( int  Iom,
uint32  BufLen,
char *  Buffer 
)

◆ DqCmdGetParameters()

int DAQLIB DqCmdGetParameters ( int  Iom,
pDQGETPRM  pDQGetParm,
uint8 data 
)

◆ DqCmdHwReset()

int DAQLIB DqCmdHwReset ( int  Iom)

◆ DqCmdInitIOM()

int DAQLIB DqCmdInitIOM ( int  Iom,
uint8  Layer,
uint32  ParamID,
uint32 Data 
)

◆ DqCmdIoctl()

int DAQLIB DqCmdIoctl ( int  Iom,
IN pDQIOCTL  IoIn,
pDQIOCTL  IoOut 
)

◆ DqCmdIoctlRetrySz()

int DAQLIB DqCmdIoctlRetrySz ( int  Iom,
uint32  size_in,
IN pDQIOCTL  IoIn,
uint32  size_out,
pDQIOCTL  IoOut 
)

◆ DqCmdIoctlSz()

int DAQLIB DqCmdIoctlSz ( int  Iom,
uint32  size_in,
IN pDQIOCTL  IoIn,
uint32  size_out,
pDQIOCTL  IoOut 
)

◆ DqCmdIoctlSz_unlock()

int DAQLIB DqCmdIoctlSz_unlock ( int  Iom,
uint32  size_in,
IN pDQIOCTL  IoIn,
uint32  size_out,
pDQIOCTL  IoOut 
)

◆ DqCmdRbfDevList()

int DAQLIB DqCmdRbfDevList ( int  Iom,
DQRBFDEV dev_list,
uint32 error 
)

◆ DqCmdRbfPageWrite()

int DAQLIB DqCmdRbfPageWrite ( int  Iom,
uint32  BaseAddr,
uint32  Size,
uint8  CrcVerification,
uint32 ProcessedBytes,
uint32 CRC,
uint32 error 
)

◆ DqCmdRbfTransferToBuffer()

int DAQLIB DqCmdRbfTransferToBuffer ( int  Iom,
uint32  Size,
uint8 Data,
uint32 CRC 
)

◆ DqCmdReadAll()

int DAQLIB DqCmdReadAll ( int  Iom,
pDQWRRD  pDQRd 
)

◆ DqCmdReadAll_int()

int DqCmdReadAll_int ( int  Iom,
pDQWRRD  pDQRd,
uint16 dqCounter,
uint16 dqTStamp 
)

◆ DqCmdReadAll_nocopy()

int DqCmdReadAll_nocopy ( int  Iom,
pDQWRRD ppWrRd,
pDQPKT ppDQPkt 
)

◆ DqCmdReadChannel()

int DAQLIB DqCmdReadChannel ( int  Iom,
pDQRDCHNL  pDQChannel,
void *  Data,
uint32 DataBufLen 
)

◆ DqCmdReadFIFO()

int DAQLIB DqCmdReadFIFO ( int  Iom,
pDQFIFO  pDQFifo 
)

◆ DqCmdReadMultipleValues()

int DAQLIB DqCmdReadMultipleValues ( int  Iom,
pwDQRDVALM  pDQRdMultVal,
uint8 Data 
)

◆ DqCmdReadStatus()

int DAQLIB DqCmdReadStatus ( int  Iom,
uint8 DeviceNum,
uint32 Entries,
uint32 Status,
uint32 StatusSize 
)

◆ DqCmdReadVal()

int DAQLIB DqCmdReadVal ( int  Iom,
uint32  Address,
uint32 Value 
)

◆ DqCmdReceiveEvent()

int DAQLIB DqCmdReceiveEvent ( int  hd,
uint32  flags,
int  timeout_ms,
pDQEVENT event_buf,
int *  size 
)

◆ DqCmdReset()

int DAQLIB DqCmdReset ( int  Iom)

◆ DqCmdResetTimestamp()

int DAQLIB DqCmdResetTimestamp ( int  Iom)

◆ DqCmdSaveParameters()

int DAQLIB DqCmdSaveParameters ( int  Iom,
uint32  devn,
uint32 HashCode 
)

◆ DqCmdSetCalibration()

int DAQLIB DqCmdSetCalibration ( int  Iom,
pDQSETCAL  pDQSetCal,
int *  entries 
)

◆ DqCmdSetCfg()

int DAQLIB DqCmdSetCfg ( int  Iom,
DQSETCFG  pDQSetCfg[],
uint32 Status,
uint32 entries 
)

◆ DqCmdSetChannelList()

int DAQLIB DqCmdSetChannelList ( int  Iom,
pDQSETCL  pDQSetCl,
uint32 entries 
)

◆ DqCmdSetClock()

int DAQLIB DqCmdSetClock ( int  Iom,
pDQSETCLK  pDQSetClk,
float *  CloseFreq,
uint32 entries 
)

◆ DqCmdSetCommParameters()

int DAQLIB DqCmdSetCommParameters ( int  Iom,
pDQSETCOMM  pDQSetComm,
uint32 CRC 
)

◆ DqCmdSetIoctlCode()

int DAQLIB DqCmdSetIoctlCode ( int  Iom,
int  ioctl_replace,
int  ioctl_code_set 
)

◆ DqCmdSetLock()

int DAQLIB DqCmdSetLock ( int  Iom,
uint8  Mode,
char *  Password,
uint32 IP 
)

◆ DqCmdSetMode()

int DAQLIB DqCmdSetMode ( int  Iom,
uint32  Mode,
uint32  Mask 
)

◆ DqCmdSetName()

int DAQLIB DqCmdSetName ( int  Iom,
char *  Name,
int32 CRC 
)

◆ DqCmdSetParameters()

int DAQLIB DqCmdSetParameters ( int  Iom,
pDQSETPRM  pDQSetParm,
uint32 CRC 
)

◆ DqCmdSetPassword()

int DAQLIB DqCmdSetPassword ( int  Iom,
uint32  Mode,
char *  Password 
)

◆ DqCmdSetReplyMaxSize()

int DAQLIB DqCmdSetReplyMaxSize ( int  Iom,
uint32  EthSize,
uint32  EthSizeBuf,
uint32  MaxNoPkts,
uint32 Accepted 
)

◆ DqCmdSetSyncRt()

int DAQLIB DqCmdSetSyncRt ( int  Iom,
pSYNCPLL  pSyncPll,
pSYNCRT  pSyncRt 
)

◆ DqCmdSetTransferList()

int DAQLIB DqCmdSetTransferList ( int  Iom,
pDQSETTRL  pDQSetTrl 
)

◆ DqCmdSetTrigger()

int DAQLIB DqCmdSetTrigger ( int  Iom,
pDQSETTRIG  pDQSetTrig,
uint32 entries 
)

◆ DqCmdSetWatchDog()

int DAQLIB DqCmdSetWatchDog ( int  Iom,
uint32  Mask,
uint32  time,
uint32 t2reset,
uint32 cstatus 
)

◆ DqCmdSwTrigger()

int DAQLIB DqCmdSwTrigger ( int  Iom,
uint32  Mask 
)

◆ DqCmdUpdateFlashBuffer()

int DAQLIB DqCmdUpdateFlashBuffer ( int  Iom,
uint16  Sector,
uint32  Address,
uint32  Size,
uint32 CRC 
)

◆ DqCmdWriteAll()

int DAQLIB DqCmdWriteAll ( int  Iom,
pDQWRRD  pDQWr 
)

◆ DqCmdWriteChannel()

int DAQLIB DqCmdWriteChannel ( int  Iom,
pDQWRCHNL  DQChannelData,
uint32  DataBufLen 
)

◆ DqCmdWriteFIFO()

int DAQLIB DqCmdWriteFIFO ( int  Iom,
pDQFIFO  pDQFifo 
)

◆ DqCmdWriteMultipleValues()

int DAQLIB DqCmdWriteMultipleValues ( int  Iom,
pDQWRVALM  DQWrMultVal 
)

◆ DqCmdWriteReadAll()

int DAQLIB DqCmdWriteReadAll ( int  Iom,
pDQWRRD  pDQWr,
pDQWRRD  pDQRd 
)

◆ DqCmdWriteReadFIFO()

int DAQLIB DqCmdWriteReadFIFO ( int  Iom,
pDQWRRDFIFO  pDQWrRdFifoPut,
pDQWRRDFIFO  pDQWrRdFifoGet 
)

◆ DqCmdWriteToFlashBuffer()

int DAQLIB DqCmdWriteToFlashBuffer ( int  Iom,
uint32  Size,
uint8 Data,
uint32 CRC 
)

◆ DqCmdWriteVal()

int DAQLIB DqCmdWriteVal ( int  Iom,
uint32  Address,
uint32 Value 
)

◆ DqGetDevnBySerial()

int DAQLIB DqGetDevnBySerial ( int  Iom,
uint32  Serial,
uint32 devn,
uint32 slot,
uint32 address,
uint16 model 
)

◆ DqGetDevnBySlot()

int DAQLIB DqGetDevnBySlot ( int  Iom,
uint32  Slot,
uint32 devn,
uint32 serial,
uint32 address,
uint16 model 
)

◆ DqGetIom()

pDQIOME DAQLIB DqGetIom ( int  hd)

◆ DqGetLastStatus()

int DAQLIB DqGetLastStatus ( int  iom,
uint32 data,
uint32 size 
)

◆ DqGetPacketSize()

int DAQLIB DqGetPacketSize ( int  Iom,
uint32 MinPktSize,
uint32 MaxPktSize 
)

◆ DqInitRbf()

int DAQLIB DqInitRbf ( int  Iom)

◆ DqOpenIOM()

int DAQLIB DqOpenIOM ( char *  IP,
uint16  UDP_Port,
uint32  mTimeOut,
int *  handle,
pDQRDCFG pDqCfg 
)

◆ DqReadRbf()

int DAQLIB DqReadRbf ( char *  filename,
char *  buffer,
uint32  size,
uint32 bytes 
)

◆ DqReadSrec()

int DAQLIB DqReadSrec ( char *  filename,
int  relative,
uint32  size,
char *  buffer,
uint32 bytes 
)

◆ DqSetPacketSize()

int DAQLIB DqSetPacketSize ( int  Iom,
uint32  MinPktSize,
uint32  MaxPktSize 
)

◆ DqSetTimeout()

int DAQLIB DqSetTimeout ( int  Iom,
pDQE  pDqe,
int  Timeoutms 
)

◆ mmddyy2date()

uint32 DAQLIB mmddyy2date ( int  mm,
int  dd,
int  yy,
int  hh,
int  mn,
int  ss 
)