TwiceAsNice  2019-02-18
Macros | Functions
DaqLibHLMsg.c File Reference
#include "PDNA.h"
#include "PDNA_private.h"
#include "primes.h"
#include "math.h"
#include "DAQLibAux_private.h"
Include dependency graph for DaqLibHLMsg.c:

Macros

#define TFNAME   "c:\\testlog.txt"
 
#define absf(A)   (((A) > 0)?(A):(-A))
 
#define BcErrStsCheckRoom(pos, buf_size)   if (pos > buf_size + 80) return DQ_NOT_ENOUGH_ROOM
 

Functions

int DAQLIB DqAdv104SwitchDCDC (int hd, int devn, uint32 state)
 
int DAQLIB DqAdv104ConfigureBus (int hd, int devn, int pc104, uint32 bus_cfg, uint32 base_addr, uint32 bus_control)
 
int DAQLIB DqAdv104ReadBus (int hd, int devn, int mem_access, uint32 *addr_list, uint32 list_size, uint16 *data)
 
int DAQLIB DqAdv104WriteBus (int hd, int devn, int mem_access, uint32 *addr_list, uint32 list_size, uint16 *data)
 
int DAQLIB DqAdv104ReadBusBlock (int hd, int devn, int space_size, uint32 address, uint32 size, uint8 *data)
 
int DAQLIB DqAdv104WriteBusBlock (int hd, int devn, int space_size, uint32 address, uint32 size, uint8 *data)
 
int DAQLIB DqAdv104ReadMemory (int hd, int devn, uint32 index, uint32 size, int *new_block, uint32 *data)
 
int DAQLIB DqAdv104WriteMemory (int hd, int devn, uint32 index, uint32 size, uint32 *data)
 
int DAQLIB DqAdv104WriteScript (int hd, int devn, uint32 offset, uint32 size, uint32 *data)
 
int DAQLIB DqAdv104SetScriptSource (int hd, int devn, uint32 cl_clk_type, uint32 int_a_b, float frequency)
 
int DAQLIB DqAdv104GetGeneralStatus (int hd, int devn, uint32 *status)
 
int DAQLIB DqAdv104SetCustomProcessing (int hd, int devn, int irq, uint32 pc104, uint32 base_addr, uint32 custom_proc, uint32 *status)
 
int DAQLIB DqAdv104SetCustomParameter (int hd, int devn, uint32 pc104, uint32 custom_proc, uint32 param_type, uint32 param_index, uint32 param_value, uint32 *status)
 
int DAQLIB DqAdv104Enable (int hd, int devn, uint32 script_sz, uint32 enable)
 
int DAQLIB DqAdv503SendMessage (int hd, int devn, int chan, uint32 id, uint8 *data, uint16 size, int *success, uint8 *errorcode)
 
int DAQLIB DqAdv503ParseVmapMsg (uint32 mode, uint8 *rx, uint32 *tstamp, uint32 *identifier, uint8 *buf, int *len)
 
int DAQLIB DqAdv503MakeVmapMsg (uint32 mode, uint32 identifier, uint8 *buf, int len, uint8 *tx)
 
int DAQLIB DqAdv503RecvMessage (int hd, int devn, int chan, uint32 *id, uint8 *data, uint16 *size, int *success, uint8 *errorcode, int *avail)
 
int DAQLIB DqAdv503SetConfig (int hd, int devn, int sending, uint32 config)
 
int DAQLIB DqAdv503SetWatermark (int hd, int devn, int chnl, uint32 rx_or_tx, uint32 messages)
 
int DAQLIB DqAdv503GetStatus (int hd, int devn, uint32 *errors, uint32 *count)
 
int DAQLIB DqAdv503SetMode (int hd, int devn, int chnl, uint32 cmd, uint8 *value)
 
int DAQLIB DqAdv503ResetChannel (int hd, int devn, int chnl)
 
int DAQLIB DqAdv503Enable (int hd, int devn, int enable)
 
int DAQLIB DqAdv503SetChannelCfg (int hd, int devn, int chnl, uint32 config)
 
int DAQLIB DqAdv500SetConfig (int hd, int devn, int sending, uint32 config)
 
int DAQLIB DqAdv500SetTxCondition (int hd, int devn, uint32 cmd, uint8 *value)
 
int DAQLIB DqAdv501SetChannelCfg (int hd, int devn, int chnl, uint32 config)
 
int DAQLIB DqAdv501ReadRecvFIFO (int hd, int devn, int chnl, int requested, uint8 *data, int *returned, int *remained)
 
int DAQLIB DqAdv501RecvMessage (int hd, int devn, int chnl, uint8 *data, uint16 *size, int *success, uint8 *errorcode, int *avail)
 
int DAQLIB DqAdv501SendMessage (int hd, int devn, int chnl, uint8 *data, uint16 size, uint16 *written, int *success, uint8 *errorcode)
 
int DAQLIB DqAdv501SendMessageParity9 (int hd, int devn, int chnl, uint16 *data, uint16 size, uint16 *written, int *success, uint8 *errorcode)
 
int DAQLIB DqAdv501Enable (int hd, int devn, int enable)
 
int DAQLIB DqAdv501ClearFifo (int hd, int devn, uint32 ch_mask, int action)
 
int DAQLIB DqAdv501ChangeChannelCfg (int hd, int devn, uint32 channel, int config)
 
int DAQLIB DqAdv501ChangeChannelParity (int hd, int devn, uint32 channel, int config)
 
int DAQLIB DqAdv501PauseAndResume (int hd, int devn, uint32 channel_mask, int todo)
 
int DAQLIB DqAdv501GetStatus (int hd, int devn, uint32 *errors, uint32 *count)
 
int calculate_c3divider501 (double rq_frq, double *real_frq, int base, int *pll_div, int *main_div)
 
int DAQLIB DqAdv501SetBaud (int hd, int devn, int chnl, uint32 baud, uint32 *realbaud)
 
int DAQLIB DqAdv501SetWatermark (int hd, int devn, int chnl, uint32 dir, uint16 len)
 
int DAQLIB DqAdv501SetTermString (int hd, int devn, int chnl, uint16 len, uint8 *buf)
 
int DAQLIB DqAdv501SetTimeout (int hd, int devn, int chnl, uint16 timeout)
 
int DAQLIB DqAdv501BaseClock (int hd, int devn, int chnl, int baseclock)
 
int DAQLIB DqAdv501SetCharDelay (int hd, int devn, int chnl, uint32 delay_src, double delay_us)
 
int DAQLIB DqAdv501SetFrameDelay (int hd, int devn, int chnl, uint32 delay_mode, uint32 length, uint32 delay_src, double delay_us, double repeat_us)
 
int DAQLIB DqAdv501SetTermLength (int hd, int devn, int chnl, uint16 len)
 
int DAQLIB DqAdv501SetParity9 (int hd, int devn, int chnl, uint32 parity_mode)
 
uint32 DqA429toHolt3282 (uint32 hst)
 
uint32 DAQLIB DqAdv566BuildPacket (uint32 data, uint32 label, uint32 sdi, uint32 ssm, uint32 parity)
 
uint32 DqHolt3282toA429 (uint32 hdw)
 
void DAQLIB DqAdv566ParsePacket (uint32 packet, uint32 *data, uint8 *label, uint8 *sdi, uint8 *ssm, uint8 *parity)
 
uint32 DAQLIB DqAdv566BuildFilterEntry (uint32 label, uint32 new_data_only, uint32 trigger_scheduler)
 
uint32 DAQLIB DqAdv566BuildSchedEntry (uint32 master_entry, uint32 periodic, uint32 prescaler, uint16 delay_counter)
 
int DAQLIB DqAdv566SetConfig (int hd, int devn, int ss, int timeout_us, uint32 config)
 
int DAQLIB DqAdv566SetMode (int hd, int devn, int ss, int chnl, uint32 cmd)
 
int DAQLIB DqAdv566SetFilter (int hd, int devn, int chnl, uint32 cmd, uint32 from, uint32 size, uint32 *labels)
 
int DAQLIB DqAdv566SetScheduler (int hd, int devn, int chnl, uint32 cmd, uint32 from, uint32 size, uint32 *flags, uint32 *data)
 
int DAQLIB DqAdv566SetSchedTimebase (int hd, int devn, int chnl, int timebase, uint32 rate_us)
 
int DAQLIB DqAdv566SetFifoRate (int hd, int devn, int ss, int chnl, int timebase, uint32 rate_us)
 
int DAQLIB DqAdv566SendPacket (int hd, int devn, int chan, int priority, uint32 data)
 
int DAQLIB DqAdv566SendFifo (int hd, int devn, int chan, int packets, uint32 *data, uint32 *accepted, uint32 *available)
 
int DAQLIB DqAdv566RecvPacket (int hd, int devn, int chan, int where, uint32 *data)
 
int DAQLIB DqAdv566RecvFifo (int hd, int devn, int chan, int maxsz, uint32 *data, int *copied, int *remains)
 
int DAQLIB DqAdv566ReadWriteFifo (int hd, int devn, int chanwr, int chanrd, int writesz, uint32 *wrdata, int *written, int *available, int readsz, uint32 *rddata, int *read, int *remains)
 
int DAQLIB DqAdv566ReadWriteAll (int hd, int devn, uint32 tx_ch, uint32 rx_ch, uint32 *tx_chan_arr, uint32 *tx_data_arr[], uint32 *tx_size, uint32 *tx_wrt, uint32 *tx_avl, uint32 *rx_chan_arr, uint32 *rx_data_arr[], uint32 *rx_size, uint32 *rx_read, uint32 *rx_rmns)
 
int DAQLIB DqAdv566ReadWriteSend (int hd, int devn, uint32 tx_ch, uint32 rx_ch, uint32 *tx_chan_arr, uint32 *tx_data_arr[], uint32 *tx_size, uint32 *rx_chan_arr, uint32 *rx_size)
 
int DAQLIB DqAdv566ReadWriteRcv (int hd, int devn, uint32 tx_ch, uint32 rx_ch, uint32 *tx_wrt, uint32 *tx_avl, uint32 *rx_chan_arr, uint32 *rx_data_arr[], uint32 *rx_size, uint32 *rx_read, uint32 *rx_rmns)
 
int DAQLIB DqAdv566GetStatus (int hd, int devn, int ss, int chan, uint32 req, uint32 *errors, uint32 *count)
 
int DAQLIB DqAdv566SetChannelCfg (int hd, int devn, int ss, int chan, uint32 actions)
 
int DAQLIB DqAdv566PauseAndResume (int hd, int devn, uint32 channel_mask, int todo)
 
int DAQLIB DqAdv566ClearFifo (int hd, int devn, uint32 ch_mask, int action)
 
int DAQLIB DqAdv566Enable (int hd, int devn, uint32 actions)
 
int DAQLIB DqAdv566EnableByChip (int hd, int devn, int chipmask, uint32 actions)
 
int DAQLIB DqAdv566SetChannelList (int hd, int devn, int chan, uint32 ss, int32 size, uint32 *entries)
 
int Msg2Fifo501 (pDqMessage message, uint8 *buffer, uint16 *size)
 
int Msg2Fifo503 (pDqMessage message, uint8 *buffer, uint16 *size)
 
int Msg2Fifo601 (pDqMessage message, uint8 *buffer, uint16 *size)
 
int Fifo2Msg501 (pDqMessage *message, uint8 *buffer, uint16 size)
 
int Fifo2Msg601 (pDqMessage *message, uint8 *buffer, uint16 size)
 
int Fifo2Msg604 (pDqMessage *message, uint8 *buffer, uint16 size)
 
int Fifo2Msg503 (pDqMessage *message, uint8 *buffer, uint16 size)
 
int Msg2FifoSerial (pDqMessage message, uint8 *buffer, uint16 *size)
 
int Fifo2MsgSerial (pDqMessage *message, uint8 *buffer, uint16 size)
 
int DAQLIB DqAdv553SetMode (int hd, int devn, int channel, uint32 mode, uint32 flags)
 
int DAQLIB DqAdv553Control (int hd, int devn, int channel, uint32 flags, pDQ553Control params)
 
int DAQLIB DqAdv553BITTest (int hd, int devn, int channel, uint32 testmode, uint32 iterations, uint32 *bus_errors)
 
int DAQLIB DqAdv553ConfigBM (int hd, int devn, int channel, uint32 busmode, uint32 rt_size, uint32 *rtsa_list, uint32 *trig_list)
 
int DAQLIB DqAdv553ConfigA708 (int hd, int devn, int channel, uint32 busmode, uint32 frame_size, uint32 if_delay_us)
 
int DAQLIB DqAdv553ConfigBMSetFilter (int hd, int devn, int channel, uint32 busmode, uint32 f_size, pDQBM553Filter pFilter)
 
int DAQLIB DqAdv553ConfigBMSetTrigger (int hd, int devn, int channel, uint32 busmode, uint32 t_size, pDQBM553Trigger pTrigger)
 
int DAQLIB DqAdv553RecvBMMessages (int hd, int devn, int channel, int rq_size, pDQBM553Message pMsg, uint32 *messages)
 
int DAQLIB DqAdv553RecvBMMessagesRaw (int hd, int devn, int channel, int rq_size, pDQBM553Message pMsg, uint32 *rawsz)
 
int DAQLIB DqAdv553RecvBMMessagesCnt (int hd, int devn, int channel, int max_size, int max_msg, pDQBM553Message pMsg, uint32 *messages)
 
int DAQLIB DqAdv553ConfigRT (int hd, int devn, int channel, uint32 rt_mode, uint32 rt_size, uint32 *rtsa_list, uint32 *valid_list)
 
int DAQLIB DqAdv553WriteValidTableRT (int hd, int devn, int channel, uint32 flags, uint32 val_size, uint32 *rtsa_list, uint32 *valid_list)
 
int DAQLIB DqAdv553WriteRT (int hd, int devn, int channel, uint32 rt_size, uint32 *rtsa_list, uint16 **data)
 
int DAQLIB DqAdv553ReadRT (int hd, int devn, int channel, uint32 rt_size, uint32 *rtsa_list, uint16 **data)
 
int DAQLIB DqAdv553ReadStatusRT (int hd, int devn, int channel, uint32 rt_size, uint32 *rtsa_list, uint32 *data)
 
int DAQLIB DqAdv553ConfigBC (int hd, int devn, int channel, uint32 bc_mode, uint32 option_flags, double MJ_clock, double MN_clock)
 
int DAQLIB DqAdv553WriteMJDescriptors (int hd, int devn, int channel, uint32 index, int size, uint32 *descriptors)
 
int DAQLIB DqAdv553WriteMNDescriptors (int hd, int devn, int channel, uint32 mn_frame, uint32 mn_block, uint32 index, int size, uint32 *descriptors)
 
int DAQLIB DqAdv553ReadMNDescriptors (int hd, int devn, int channel, uint32 mn_frame, uint32 mn_block, uint32 index, int size, uint32 *descriptors, uint32 *bc_position, uint32 *sel_position)
 
int DAQLIB DqAdv553WriteBCCB (int hd, int devn, int channel, uint32 mn_frame, uint32 mn_block, uint32 index, int size, pBCCB_Control bccb)
 
int DAQLIB DqAdv553ReadBCCB (int hd, int devn, int channel, uint32 mn_frame, uint32 mn_block, uint32 index, int size, pBCCB_Status bccb)
 
int DAQLIB DqAdv553ReadBCStatus (int hd, int devn, int channel, int list_size, uint32 *list, uint32 *status)
 
int DAQLIB DqAdv553SelectMNBlock (int hd, int devn, int channel, uint32 block_mask, uint32 *status)
 
int DAQLIB DqAdv553SelectMJBlock (int hd, int devn, int channel, uint32 block_mask, uint32 *status)
 
int DAQLIB DqAdv553BCCBCodeFromCommand (int command)
 
int DAQLIB DqAdv553BCDebug (int hd, int devn, int channel, uint32 todo, int major_idx, int minor_idx, int *current_major_d, int *current_minor_d, uint32 *bc_status)
 
int DAQLIB DqAdv553WriteTxFifo (int hd, int devn, int channel, uint32 tx_size, uint32 *tx_data)
 
int DAQLIB DqAdv553WriteTxFifoA708 (int hd, int devn, int channel, uint32 tx_size, uint32 *written, uint32 *remains, uint16 *tx_data)
 
int DAQLIB DqAdv553ReadRxFifoA708 (int hd, int devn, int channel, uint32 rq_size, uint32 *received, uint32 *remains, uint16 *rx_data)
 
int DAQLIB DqAdv553Enable (int hd, int devn, uint32 actions)
 
int DAQLIB DqVMap553WriteRT (int vmapid, uint8 *vmap_ptr, uint32 rt_size, uint32 *rtsa_list, uint16 **data)
 
int DAQLIB DqVMap553ReadRT (int vmapid, uint8 *vmap_ptr, uint32 rt_size, uint32 *rtsa_list, uint16 **data)
 
int DqBc1553CheckRtSaSizeCheck (int value)
 
int DqBc1553CheckByMinMaxCheck (int value, int min, int max)
 
int DAQLIB DqAdv553SetBccbCommand (BCCB_Control *bccb, tSL553CommandType ctype, int Bus_flags, int Rt, int Sa, int Rt2, int Sa2, int WordCount, uint16 *rx_data)
 
int DAQLIB DqAdv553ConvertBcErrSts0 (uint32 sts, int buf_size, char *buf)
 
int DAQLIB DqAdv553ConvertBcErrSts1 (uint32 sts, int buf_size, char *buf)
 
int DAQLIB DqAdv553ReadRAM (int hd, int devn, int channel, uint32 memtype, uint32 rt, uint32 sa, uint32 block, uint32 size32, uint32 *data)
 
int DAQLIB DqAdv553WriteRAM (int hd, int devn, int channel, uint32 memtype, uint32 rt, uint32 sa, uint32 block, uint32 size32, uint32 *data)
 
int DAQLIB DqAdvSetParam (int hd, int devn, int chnl, uint32 datain_size, uint32 *datain, uint32 *dataout)
 

Macro Definition Documentation

◆ absf

#define absf (   A)    (((A) > 0)?(A):(-A))

◆ BcErrStsCheckRoom

#define BcErrStsCheckRoom (   pos,
  buf_size 
)    if (pos > buf_size + 80) return DQ_NOT_ENOUGH_ROOM

◆ TFNAME

#define TFNAME   "c:\\testlog.txt"

Function Documentation

◆ calculate_c3divider501()

int calculate_c3divider501 ( double  rq_frq,
double *  real_frq,
int  base,
int *  pll_div,
int *  main_div 
)

◆ DqA429toHolt3282()

uint32 DqA429toHolt3282 ( uint32  hst)

◆ DqAdv104ConfigureBus()

int DAQLIB DqAdv104ConfigureBus ( int  hd,
int  devn,
int  pc104,
uint32  bus_cfg,
uint32  base_addr,
uint32  bus_control 
)

◆ DqAdv104Enable()

int DAQLIB DqAdv104Enable ( int  hd,
int  devn,
uint32  script_sz,
uint32  enable 
)

◆ DqAdv104GetGeneralStatus()

int DAQLIB DqAdv104GetGeneralStatus ( int  hd,
int  devn,
uint32 status 
)

◆ DqAdv104ReadBus()

int DAQLIB DqAdv104ReadBus ( int  hd,
int  devn,
int  mem_access,
uint32 addr_list,
uint32  list_size,
uint16 data 
)

◆ DqAdv104ReadBusBlock()

int DAQLIB DqAdv104ReadBusBlock ( int  hd,
int  devn,
int  space_size,
uint32  address,
uint32  size,
uint8 data 
)

◆ DqAdv104ReadMemory()

int DAQLIB DqAdv104ReadMemory ( int  hd,
int  devn,
uint32  index,
uint32  size,
int *  new_block,
uint32 data 
)

◆ DqAdv104SetCustomParameter()

int DAQLIB DqAdv104SetCustomParameter ( int  hd,
int  devn,
uint32  pc104,
uint32  custom_proc,
uint32  param_type,
uint32  param_index,
uint32  param_value,
uint32 status 
)

◆ DqAdv104SetCustomProcessing()

int DAQLIB DqAdv104SetCustomProcessing ( int  hd,
int  devn,
int  irq,
uint32  pc104,
uint32  base_addr,
uint32  custom_proc,
uint32 status 
)

◆ DqAdv104SetScriptSource()

int DAQLIB DqAdv104SetScriptSource ( int  hd,
int  devn,
uint32  cl_clk_type,
uint32  int_a_b,
float  frequency 
)

◆ DqAdv104SwitchDCDC()

int DAQLIB DqAdv104SwitchDCDC ( int  hd,
int  devn,
uint32  state 
)

◆ DqAdv104WriteBus()

int DAQLIB DqAdv104WriteBus ( int  hd,
int  devn,
int  mem_access,
uint32 addr_list,
uint32  list_size,
uint16 data 
)

◆ DqAdv104WriteBusBlock()

int DAQLIB DqAdv104WriteBusBlock ( int  hd,
int  devn,
int  space_size,
uint32  address,
uint32  size,
uint8 data 
)

◆ DqAdv104WriteMemory()

int DAQLIB DqAdv104WriteMemory ( int  hd,
int  devn,
uint32  index,
uint32  size,
uint32 data 
)

◆ DqAdv104WriteScript()

int DAQLIB DqAdv104WriteScript ( int  hd,
int  devn,
uint32  offset,
uint32  size,
uint32 data 
)

◆ DqAdv500SetConfig()

int DAQLIB DqAdv500SetConfig ( int  hd,
int  devn,
int  sending,
uint32  config 
)

◆ DqAdv500SetTxCondition()

int DAQLIB DqAdv500SetTxCondition ( int  hd,
int  devn,
uint32  cmd,
uint8 value 
)

◆ DqAdv501BaseClock()

int DAQLIB DqAdv501BaseClock ( int  hd,
int  devn,
int  chnl,
int  baseclock 
)

◆ DqAdv501ChangeChannelCfg()

int DAQLIB DqAdv501ChangeChannelCfg ( int  hd,
int  devn,
uint32  channel,
int  config 
)

◆ DqAdv501ChangeChannelParity()

int DAQLIB DqAdv501ChangeChannelParity ( int  hd,
int  devn,
uint32  channel,
int  config 
)

◆ DqAdv501ClearFifo()

int DAQLIB DqAdv501ClearFifo ( int  hd,
int  devn,
uint32  ch_mask,
int  action 
)

◆ DqAdv501Enable()

int DAQLIB DqAdv501Enable ( int  hd,
int  devn,
int  enable 
)

◆ DqAdv501GetStatus()

int DAQLIB DqAdv501GetStatus ( int  hd,
int  devn,
uint32 errors,
uint32 count 
)

◆ DqAdv501PauseAndResume()

int DAQLIB DqAdv501PauseAndResume ( int  hd,
int  devn,
uint32  channel_mask,
int  todo 
)

◆ DqAdv501ReadRecvFIFO()

int DAQLIB DqAdv501ReadRecvFIFO ( int  hd,
int  devn,
int  chnl,
int  requested,
uint8 data,
int *  returned,
int *  remained 
)

◆ DqAdv501RecvMessage()

int DAQLIB DqAdv501RecvMessage ( int  hd,
int  devn,
int  chnl,
uint8 data,
uint16 size,
int *  success,
uint8 errorcode,
int *  avail 
)

◆ DqAdv501SendMessage()

int DAQLIB DqAdv501SendMessage ( int  hd,
int  devn,
int  chnl,
uint8 data,
uint16  size,
uint16 written,
int *  success,
uint8 errorcode 
)

◆ DqAdv501SendMessageParity9()

int DAQLIB DqAdv501SendMessageParity9 ( int  hd,
int  devn,
int  chnl,
uint16 data,
uint16  size,
uint16 written,
int *  success,
uint8 errorcode 
)

◆ DqAdv501SetBaud()

int DAQLIB DqAdv501SetBaud ( int  hd,
int  devn,
int  chnl,
uint32  baud,
uint32 realbaud 
)

◆ DqAdv501SetChannelCfg()

int DAQLIB DqAdv501SetChannelCfg ( int  hd,
int  devn,
int  chnl,
uint32  config 
)

◆ DqAdv501SetCharDelay()

int DAQLIB DqAdv501SetCharDelay ( int  hd,
int  devn,
int  chnl,
uint32  delay_src,
double  delay_us 
)

◆ DqAdv501SetFrameDelay()

int DAQLIB DqAdv501SetFrameDelay ( int  hd,
int  devn,
int  chnl,
uint32  delay_mode,
uint32  length,
uint32  delay_src,
double  delay_us,
double  repeat_us 
)

◆ DqAdv501SetParity9()

int DAQLIB DqAdv501SetParity9 ( int  hd,
int  devn,
int  chnl,
uint32  parity_mode 
)

◆ DqAdv501SetTermLength()

int DAQLIB DqAdv501SetTermLength ( int  hd,
int  devn,
int  chnl,
uint16  len 
)

◆ DqAdv501SetTermString()

int DAQLIB DqAdv501SetTermString ( int  hd,
int  devn,
int  chnl,
uint16  len,
uint8 buf 
)

◆ DqAdv501SetTimeout()

int DAQLIB DqAdv501SetTimeout ( int  hd,
int  devn,
int  chnl,
uint16  timeout 
)

◆ DqAdv501SetWatermark()

int DAQLIB DqAdv501SetWatermark ( int  hd,
int  devn,
int  chnl,
uint32  dir,
uint16  len 
)

◆ DqAdv503Enable()

int DAQLIB DqAdv503Enable ( int  hd,
int  devn,
int  enable 
)

◆ DqAdv503GetStatus()

int DAQLIB DqAdv503GetStatus ( int  hd,
int  devn,
uint32 errors,
uint32 count 
)

◆ DqAdv503MakeVmapMsg()

int DAQLIB DqAdv503MakeVmapMsg ( uint32  mode,
uint32  identifier,
uint8 buf,
int  len,
uint8 tx 
)

◆ DqAdv503ParseVmapMsg()

int DAQLIB DqAdv503ParseVmapMsg ( uint32  mode,
uint8 rx,
uint32 tstamp,
uint32 identifier,
uint8 buf,
int *  len 
)

◆ DqAdv503RecvMessage()

int DAQLIB DqAdv503RecvMessage ( int  hd,
int  devn,
int  chan,
uint32 id,
uint8 data,
uint16 size,
int *  success,
uint8 errorcode,
int *  avail 
)

◆ DqAdv503ResetChannel()

int DAQLIB DqAdv503ResetChannel ( int  hd,
int  devn,
int  chnl 
)

◆ DqAdv503SendMessage()

int DAQLIB DqAdv503SendMessage ( int  hd,
int  devn,
int  chan,
uint32  id,
uint8 data,
uint16  size,
int *  success,
uint8 errorcode 
)

◆ DqAdv503SetChannelCfg()

int DAQLIB DqAdv503SetChannelCfg ( int  hd,
int  devn,
int  chnl,
uint32  config 
)

◆ DqAdv503SetConfig()

int DAQLIB DqAdv503SetConfig ( int  hd,
int  devn,
int  sending,
uint32  config 
)

◆ DqAdv503SetMode()

int DAQLIB DqAdv503SetMode ( int  hd,
int  devn,
int  chnl,
uint32  cmd,
uint8 value 
)

◆ DqAdv503SetWatermark()

int DAQLIB DqAdv503SetWatermark ( int  hd,
int  devn,
int  chnl,
uint32  rx_or_tx,
uint32  messages 
)

◆ DqAdv553BCCBCodeFromCommand()

int DAQLIB DqAdv553BCCBCodeFromCommand ( int  command)

◆ DqAdv553BCDebug()

int DAQLIB DqAdv553BCDebug ( int  hd,
int  devn,
int  channel,
uint32  todo,
int  major_idx,
int  minor_idx,
int *  current_major_d,
int *  current_minor_d,
uint32 bc_status 
)

◆ DqAdv553BITTest()

int DAQLIB DqAdv553BITTest ( int  hd,
int  devn,
int  channel,
uint32  testmode,
uint32  iterations,
uint32 bus_errors 
)

◆ DqAdv553ConfigA708()

int DAQLIB DqAdv553ConfigA708 ( int  hd,
int  devn,
int  channel,
uint32  busmode,
uint32  frame_size,
uint32  if_delay_us 
)

◆ DqAdv553ConfigBC()

int DAQLIB DqAdv553ConfigBC ( int  hd,
int  devn,
int  channel,
uint32  bc_mode,
uint32  option_flags,
double  MJ_clock,
double  MN_clock 
)

◆ DqAdv553ConfigBM()

int DAQLIB DqAdv553ConfigBM ( int  hd,
int  devn,
int  channel,
uint32  busmode,
uint32  rt_size,
uint32 rtsa_list,
uint32 trig_list 
)

◆ DqAdv553ConfigBMSetFilter()

int DAQLIB DqAdv553ConfigBMSetFilter ( int  hd,
int  devn,
int  channel,
uint32  busmode,
uint32  f_size,
pDQBM553Filter  pFilter 
)

◆ DqAdv553ConfigBMSetTrigger()

int DAQLIB DqAdv553ConfigBMSetTrigger ( int  hd,
int  devn,
int  channel,
uint32  busmode,
uint32  t_size,
pDQBM553Trigger  pTrigger 
)

◆ DqAdv553ConfigRT()

int DAQLIB DqAdv553ConfigRT ( int  hd,
int  devn,
int  channel,
uint32  rt_mode,
uint32  rt_size,
uint32 rtsa_list,
uint32 valid_list 
)

◆ DqAdv553Control()

int DAQLIB DqAdv553Control ( int  hd,
int  devn,
int  channel,
uint32  flags,
pDQ553Control  params 
)

◆ DqAdv553ConvertBcErrSts0()

int DAQLIB DqAdv553ConvertBcErrSts0 ( uint32  sts,
int  buf_size,
char *  buf 
)

◆ DqAdv553ConvertBcErrSts1()

int DAQLIB DqAdv553ConvertBcErrSts1 ( uint32  sts,
int  buf_size,
char *  buf 
)

◆ DqAdv553Enable()

int DAQLIB DqAdv553Enable ( int  hd,
int  devn,
uint32  actions 
)

◆ DqAdv553ReadBCCB()

int DAQLIB DqAdv553ReadBCCB ( int  hd,
int  devn,
int  channel,
uint32  mn_frame,
uint32  mn_block,
uint32  index,
int  size,
pBCCB_Status  bccb 
)

◆ DqAdv553ReadBCStatus()

int DAQLIB DqAdv553ReadBCStatus ( int  hd,
int  devn,
int  channel,
int  list_size,
uint32 list,
uint32 status 
)

◆ DqAdv553ReadMNDescriptors()

int DAQLIB DqAdv553ReadMNDescriptors ( int  hd,
int  devn,
int  channel,
uint32  mn_frame,
uint32  mn_block,
uint32  index,
int  size,
uint32 descriptors,
uint32 bc_position,
uint32 sel_position 
)

◆ DqAdv553ReadRAM()

int DAQLIB DqAdv553ReadRAM ( int  hd,
int  devn,
int  channel,
uint32  memtype,
uint32  rt,
uint32  sa,
uint32  block,
uint32  size32,
uint32 data 
)

◆ DqAdv553ReadRT()

int DAQLIB DqAdv553ReadRT ( int  hd,
int  devn,
int  channel,
uint32  rt_size,
uint32 rtsa_list,
uint16 **  data 
)

◆ DqAdv553ReadRxFifoA708()

int DAQLIB DqAdv553ReadRxFifoA708 ( int  hd,
int  devn,
int  channel,
uint32  rq_size,
uint32 received,
uint32 remains,
uint16 rx_data 
)

◆ DqAdv553ReadStatusRT()

int DAQLIB DqAdv553ReadStatusRT ( int  hd,
int  devn,
int  channel,
uint32  rt_size,
uint32 rtsa_list,
uint32 data 
)

◆ DqAdv553RecvBMMessages()

int DAQLIB DqAdv553RecvBMMessages ( int  hd,
int  devn,
int  channel,
int  rq_size,
pDQBM553Message  pMsg,
uint32 messages 
)

◆ DqAdv553RecvBMMessagesCnt()

int DAQLIB DqAdv553RecvBMMessagesCnt ( int  hd,
int  devn,
int  channel,
int  max_size,
int  max_msg,
pDQBM553Message  pMsg,
uint32 messages 
)

◆ DqAdv553RecvBMMessagesRaw()

int DAQLIB DqAdv553RecvBMMessagesRaw ( int  hd,
int  devn,
int  channel,
int  rq_size,
pDQBM553Message  pMsg,
uint32 rawsz 
)

◆ DqAdv553SelectMJBlock()

int DAQLIB DqAdv553SelectMJBlock ( int  hd,
int  devn,
int  channel,
uint32  block_mask,
uint32 status 
)

◆ DqAdv553SelectMNBlock()

int DAQLIB DqAdv553SelectMNBlock ( int  hd,
int  devn,
int  channel,
uint32  block_mask,
uint32 status 
)

◆ DqAdv553SetBccbCommand()

int DAQLIB DqAdv553SetBccbCommand ( BCCB_Control bccb,
tSL553CommandType  ctype,
int  Bus_flags,
int  Rt,
int  Sa,
int  Rt2,
int  Sa2,
int  WordCount,
uint16 rx_data 
)

< Remote terminal to receive data from bus controller

< Remote terminal to transmit data to bus controller

< Status word

< Remote terminal to transmit data and/or status word to bus controller

< Remote terminal to receive data for mode command from bus controller

< Remote terminal to receive broadcast data from bus controller

< Mode command without data, remote terminals should not reply

< Mode command with data, remote terminals should receive data

< One remote terminal to transmit data to another remote terminal

< One remote terminal to broadcast data to other remote terminal

◆ DqAdv553SetMode()

int DAQLIB DqAdv553SetMode ( int  hd,
int  devn,
int  channel,
uint32  mode,
uint32  flags 
)

◆ DqAdv553WriteBCCB()

int DAQLIB DqAdv553WriteBCCB ( int  hd,
int  devn,
int  channel,
uint32  mn_frame,
uint32  mn_block,
uint32  index,
int  size,
pBCCB_Control  bccb 
)

◆ DqAdv553WriteMJDescriptors()

int DAQLIB DqAdv553WriteMJDescriptors ( int  hd,
int  devn,
int  channel,
uint32  index,
int  size,
uint32 descriptors 
)

◆ DqAdv553WriteMNDescriptors()

int DAQLIB DqAdv553WriteMNDescriptors ( int  hd,
int  devn,
int  channel,
uint32  mn_frame,
uint32  mn_block,
uint32  index,
int  size,
uint32 descriptors 
)

◆ DqAdv553WriteRAM()

int DAQLIB DqAdv553WriteRAM ( int  hd,
int  devn,
int  channel,
uint32  memtype,
uint32  rt,
uint32  sa,
uint32  block,
uint32  size32,
uint32 data 
)

◆ DqAdv553WriteRT()

int DAQLIB DqAdv553WriteRT ( int  hd,
int  devn,
int  channel,
uint32  rt_size,
uint32 rtsa_list,
uint16 **  data 
)

◆ DqAdv553WriteTxFifo()

int DAQLIB DqAdv553WriteTxFifo ( int  hd,
int  devn,
int  channel,
uint32  tx_size,
uint32 tx_data 
)

◆ DqAdv553WriteTxFifoA708()

int DAQLIB DqAdv553WriteTxFifoA708 ( int  hd,
int  devn,
int  channel,
uint32  tx_size,
uint32 written,
uint32 remains,
uint16 tx_data 
)

◆ DqAdv553WriteValidTableRT()

int DAQLIB DqAdv553WriteValidTableRT ( int  hd,
int  devn,
int  channel,
uint32  flags,
uint32  val_size,
uint32 rtsa_list,
uint32 valid_list 
)

◆ DqAdv566BuildFilterEntry()

uint32 DAQLIB DqAdv566BuildFilterEntry ( uint32  label,
uint32  new_data_only,
uint32  trigger_scheduler 
)

◆ DqAdv566BuildPacket()

uint32 DAQLIB DqAdv566BuildPacket ( uint32  data,
uint32  label,
uint32  sdi,
uint32  ssm,
uint32  parity 
)

◆ DqAdv566BuildSchedEntry()

uint32 DAQLIB DqAdv566BuildSchedEntry ( uint32  master_entry,
uint32  periodic,
uint32  prescaler,
uint16  delay_counter 
)

◆ DqAdv566ClearFifo()

int DAQLIB DqAdv566ClearFifo ( int  hd,
int  devn,
uint32  ch_mask,
int  action 
)

◆ DqAdv566Enable()

int DAQLIB DqAdv566Enable ( int  hd,
int  devn,
uint32  actions 
)

◆ DqAdv566EnableByChip()

int DAQLIB DqAdv566EnableByChip ( int  hd,
int  devn,
int  chipmask,
uint32  actions 
)

◆ DqAdv566GetStatus()

int DAQLIB DqAdv566GetStatus ( int  hd,
int  devn,
int  ss,
int  chan,
uint32  req,
uint32 errors,
uint32 count 
)

◆ DqAdv566ParsePacket()

void DAQLIB DqAdv566ParsePacket ( uint32  packet,
uint32 data,
uint8 label,
uint8 sdi,
uint8 ssm,
uint8 parity 
)

◆ DqAdv566PauseAndResume()

int DAQLIB DqAdv566PauseAndResume ( int  hd,
int  devn,
uint32  channel_mask,
int  todo 
)

◆ DqAdv566ReadWriteAll()

int DAQLIB DqAdv566ReadWriteAll ( int  hd,
int  devn,
uint32  tx_ch,
uint32  rx_ch,
uint32 tx_chan_arr,
uint32 tx_data_arr[],
uint32 tx_size,
uint32 tx_wrt,
uint32 tx_avl,
uint32 rx_chan_arr,
uint32 rx_data_arr[],
uint32 rx_size,
uint32 rx_read,
uint32 rx_rmns 
)

◆ DqAdv566ReadWriteFifo()

int DAQLIB DqAdv566ReadWriteFifo ( int  hd,
int  devn,
int  chanwr,
int  chanrd,
int  writesz,
uint32 wrdata,
int *  written,
int *  available,
int  readsz,
uint32 rddata,
int *  read,
int *  remains 
)

◆ DqAdv566ReadWriteRcv()

int DAQLIB DqAdv566ReadWriteRcv ( int  hd,
int  devn,
uint32  tx_ch,
uint32  rx_ch,
uint32 tx_wrt,
uint32 tx_avl,
uint32 rx_chan_arr,
uint32 rx_data_arr[],
uint32 rx_size,
uint32 rx_read,
uint32 rx_rmns 
)

◆ DqAdv566ReadWriteSend()

int DAQLIB DqAdv566ReadWriteSend ( int  hd,
int  devn,
uint32  tx_ch,
uint32  rx_ch,
uint32 tx_chan_arr,
uint32 tx_data_arr[],
uint32 tx_size,
uint32 rx_chan_arr,
uint32 rx_size 
)

◆ DqAdv566RecvFifo()

int DAQLIB DqAdv566RecvFifo ( int  hd,
int  devn,
int  chan,
int  maxsz,
uint32 data,
int *  copied,
int *  remains 
)

◆ DqAdv566RecvPacket()

int DAQLIB DqAdv566RecvPacket ( int  hd,
int  devn,
int  chan,
int  where,
uint32 data 
)

◆ DqAdv566SendFifo()

int DAQLIB DqAdv566SendFifo ( int  hd,
int  devn,
int  chan,
int  packets,
uint32 data,
uint32 accepted,
uint32 available 
)

◆ DqAdv566SendPacket()

int DAQLIB DqAdv566SendPacket ( int  hd,
int  devn,
int  chan,
int  priority,
uint32  data 
)

◆ DqAdv566SetChannelCfg()

int DAQLIB DqAdv566SetChannelCfg ( int  hd,
int  devn,
int  ss,
int  chan,
uint32  actions 
)

◆ DqAdv566SetChannelList()

int DAQLIB DqAdv566SetChannelList ( int  hd,
int  devn,
int  chan,
uint32  ss,
int32  size,
uint32 entries 
)

◆ DqAdv566SetConfig()

int DAQLIB DqAdv566SetConfig ( int  hd,
int  devn,
int  ss,
int  timeout_us,
uint32  config 
)

◆ DqAdv566SetFifoRate()

int DAQLIB DqAdv566SetFifoRate ( int  hd,
int  devn,
int  ss,
int  chnl,
int  timebase,
uint32  rate_us 
)

◆ DqAdv566SetFilter()

int DAQLIB DqAdv566SetFilter ( int  hd,
int  devn,
int  chnl,
uint32  cmd,
uint32  from,
uint32  size,
uint32 labels 
)

◆ DqAdv566SetMode()

int DAQLIB DqAdv566SetMode ( int  hd,
int  devn,
int  ss,
int  chnl,
uint32  cmd 
)

◆ DqAdv566SetSchedTimebase()

int DAQLIB DqAdv566SetSchedTimebase ( int  hd,
int  devn,
int  chnl,
int  timebase,
uint32  rate_us 
)

◆ DqAdv566SetScheduler()

int DAQLIB DqAdv566SetScheduler ( int  hd,
int  devn,
int  chnl,
uint32  cmd,
uint32  from,
uint32  size,
uint32 flags,
uint32 data 
)

◆ DqAdvSetParam()

int DAQLIB DqAdvSetParam ( int  hd,
int  devn,
int  chnl,
uint32  datain_size,
uint32 datain,
uint32 dataout 
)

◆ DqBc1553CheckByMinMaxCheck()

int DqBc1553CheckByMinMaxCheck ( int  value,
int  min,
int  max 
)

◆ DqBc1553CheckRtSaSizeCheck()

int DqBc1553CheckRtSaSizeCheck ( int  value)

◆ DqHolt3282toA429()

uint32 DqHolt3282toA429 ( uint32  hdw)

◆ DqVMap553ReadRT()

int DAQLIB DqVMap553ReadRT ( int  vmapid,
uint8 vmap_ptr,
uint32  rt_size,
uint32 rtsa_list,
uint16 **  data 
)

◆ DqVMap553WriteRT()

int DAQLIB DqVMap553WriteRT ( int  vmapid,
uint8 vmap_ptr,
uint32  rt_size,
uint32 rtsa_list,
uint16 **  data 
)

◆ Fifo2Msg501()

int Fifo2Msg501 ( pDqMessage message,
uint8 buffer,
uint16  size 
)

◆ Fifo2Msg503()

int Fifo2Msg503 ( pDqMessage message,
uint8 buffer,
uint16  size 
)

◆ Fifo2Msg601()

int Fifo2Msg601 ( pDqMessage message,
uint8 buffer,
uint16  size 
)

◆ Fifo2Msg604()

int Fifo2Msg604 ( pDqMessage message,
uint8 buffer,
uint16  size 
)

◆ Fifo2MsgSerial()

int Fifo2MsgSerial ( pDqMessage message,
uint8 buffer,
uint16  size 
)

◆ Msg2Fifo501()

int Msg2Fifo501 ( pDqMessage  message,
uint8 buffer,
uint16 size 
)

◆ Msg2Fifo503()

int Msg2Fifo503 ( pDqMessage  message,
uint8 buffer,
uint16 size 
)

◆ Msg2Fifo601()

int Msg2Fifo601 ( pDqMessage  message,
uint8 buffer,
uint16 size 
)

◆ Msg2FifoSerial()

int Msg2FifoSerial ( pDqMessage  message,
uint8 buffer,
uint16 size 
)