Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

dscud.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  DSCCB
struct  DSCCBP
struct  DSCADSETTINGS
struct  DSCADSCAN
struct  REGPARAMS
struct  ERRPARAMS
struct  DSCAIOINT
struct  DSCAUTOCAL
struct  SETCALPARAMS
struct  DSCDACS
struct  DSCDASETTINGS
struct  DAPARAMS
struct  DSCDACALPARAMS
struct  DSCS
struct  DSCUSERINTFUNCTION
struct  DSCUSERINT
struct  DSCCS
struct  DSCCR
struct  DSCDIOINT
struct  DSCEMMDIO
struct  DSCOPTOSTATE
struct  DSCEMMDIORESETINT
struct  DSCWATCHDOG
struct  DSCPWM
struct  DSCAACSTATUS
struct  DSCWGCONFIG
struct  DSCQMM_MMR
struct  DSCQMM_CMR
struct  DSCQMM_MCC
struct  DSCQMM_SCF
struct  DSCQMM_PWM

Defines

#define BYTE   unsigned char
#define SBYTE   signed char
#define WORD   unsigned short
#define SWORD   signed short
#define DWORD   unsigned long
#define SDWORD   signed long
#define LONG   signed long
#define FLOAT   float
#define DFLOAT   double
#define BOOL   int
#define TRUE   ((BOOL)1)
#define FALSE   ((BOOL)0)
#define DSCSAMPLE   SWORD
#define DSCDACODE   DWORD
#define DSCUDAPICALL
#define DSCB   SWORD
#define DSC_VERSION   0x0591
#define DSC_DMM16   0
#define DSC_RMM   1
#define DSC_TMM   2
#define DSC_OPMM   3
#define DSC_DMM   4
#define DSC_SMM   5
#define DSC_GMM   6
#define DSC_QMM   7
#define DSC_ZMM   8
#define DSC_PMM   9
#define DSC_OMM   10
#define DSC_RMM416   11
#define DSC_DMM32   12
#define DSC_DMM32AT   12
#define DSC_EMMDIO   13
#define DSC_RMM1612   14
#define DSC_DMMAT   15
#define DSC_DMM16AT   16
#define DSC_IR104   17
#define DSC_EMM8   18
#define DSC_PROM   19
#define DSC_HERCEBX   20
#define DSC_CPT   21
#define DSC_DMM48   22
#define DSC_DMM48AT   22
#define DSC_OMMDIO   23
#define DSC_DIO82C55   24
#define DSC_MRC   24
#define DSC_EMMOPTO   24
#define DSC_ATHENA   25
#define DSC_METIS   26
#define DSC_DMM32X   27
#define DSC_DMM32XAT   27
#define DSC_ELEKTRA   28
#define DSC_TEST   126
#define DSC_RAW   127
#define DSC_DRVR   255
#define RANGE_5   0
#define RANGE_10   1
#define BIPOLAR   0
#define UNIPOLAR   1
#define GAIN_1   0
#define GAIN_2   1
#define GAIN_4   2
#define GAIN_8   3
#define GAIN_10   1
#define GAIN_100   2
#define GAIN_1000   3
#define SCAN_INTERVAL_4   5
#define SCAN_INTERVAL_5   3
#define SCAN_INTERVAL_9   4
#define SCAN_INTERVAL_10   2
#define SCAN_INTERVAL_15   1
#define SCAN_INTERVAL_20   0
#define SINGLE_ENDED   0
#define DIFFERENTIAL   1
#define MODE_0_INT11_INT12   0
#define MODE_0_INT21_INT22   1
#define MODE_1_82C55_1_C0   2
#define MODE_1_82C55_1_C3   3
#define MODE_1_82C55_2_C0   4
#define MODE_1_82C55_2_C3   5
#define SOURCE_82C55_1_C0   0
#define SOURCE_COUNTER_0   1
#define SOURCE_82C55_2_C0   2
#define SOURCE_COUNTER_1   3
#define SOURCE_EXTERNAL   4
#define SOURCE_COUNTER_2   5
#define OMM_SOURCE_PIN   0
#define OMM_SOURCE_CLOCK   1
#define OMM_SOURCE_OUT   2
#define PROM_WD_TRIGGER_SCI   0x01
#define PROM_WD_TRIGGER_NMI   0x02
#define PROM_WD_TRIGGER_SMI   0x04
#define PROM_WD_TRIGGER_RESET   0x08
#define PROM_WD_WDI_ASSERT_FALLING_EDGE   0x10
#define PROM_WD_WDO_TRIGGERED_EARLY   0x20
#define PROM_WD_ENABLE_WDI_ASSERTION   0x40
#define HERC_WD_TRIGGER_NMI   0x10
#define HERC_WD_TRIGGER_RESET   0x08
#define HERC_WD_WDI_ASSERT_FALLING_EDGE   0x02
#define HERC_WD_WDO_TRIGGERED_EARLY   0x04
#define HERC_WD_ENABLE_WDI_ASSERTION   0x01
#define ATHENA_WD_WDI_ASSERT_RISING_EDGE   0x10
#define ATHENA_WD_TRIGGER_SMI   0x20
#define ATHENA_WD_ENABLE_WDO   0x40
#define ATHENA_WD_ENABLE_WDI   0x80
#define ELEKTRA_WD_WDI_ASSERT_RISING_EDGE   0x10
#define ELEKTRA_WD_TRIGGER_SMI   0x20
#define ELEKTRA_WD_ENABLE_WDO   0x40
#define ELEKTRA_WD_ENABLE_WDI   0x80
#define COUNTER_0   0x00
#define COUNTER_1   0x01
#define COUNTER_2   0x02
#define COUNTER_0_1   0x04
#define COUNTER_1_2   0x08
#define COUNTER_0_1_2   0x10
#define OP_TYPE_NONE   0
#define OP_TYPE_INT   1
#define OP_TYPE_DMA   2
#define INT_TYPE_AD   0x01
#define INT_TYPE_DA   0x02
#define INT_TYPE_DIOIN   0x04
#define INT_TYPE_USER   0x08
#define INT_TYPE_COUNTER   0x10
#define INT_TYPE_DIOREAD   0x20
#define INT_TYPE_OPTO   0x40
#define INT_TYPE_DIOWRITE   0x80
#define INT_TYPE_INDEX_AD   0
#define INT_TYPE_INDEX_DA   1
#define INT_TYPE_INDEX_DIOIN   2
#define INT_TYPE_INDEX_USER   3
#define INT_TYPE_INDEX_COUNTER   4
#define INT_TYPE_INDEX_DIOREAD   5
#define INT_TYPE_INDEX_OPTO   6
#define INT_TYPE_INDEX_DIOWRITE   7
#define USER_INT_CANCEL   0
#define USER_INT_AFTER   1
#define USER_INT_INSTEAD   2
#define USER_INT_SOURCE_EXTERNAL   1
#define USER_INT_SOURCE_INTERNAL   0
#define WG_CMD_START   0x01
#define WG_CMD_PAUSE   0x02
#define WG_CMD_RESET   0x04
#define WG_CMD_INC   0x08
#define WG_SRC_MANUAL   0
#define WG_SRC_CTR0   1
#define WG_SRC_CTR12   2
#define WG_SRC_EXT   3
#define WG_CH_PER_FRAME_1   0
#define WG_CH_PER_FRAME_2   1
#define WG_CH_PER_FRAME_4   2
#define AAC_CMD_HOLD   0x10
#define AAC_CMD_REL   0x08
#define AAC_CMD_RESET   0x04
#define AAC_CMD_ABORT   0x02
#define AAC_CMD_TRIG   0x01
#define PCI_MAX_RESOURCES   5
#define PCI_DSC_VENDORID   0x1234
#define DE_NONE   0
#define DE_HW_FAILURE   1
#define DE_SW_FAILURE   2
#define DE_HW_NOT_SUPPORTED   3
#define DE_SW_NOT_SUPPORTED   4
#define DE_INVALID_PARM   5
#define DE_ALTERNATE_IN_PROGRESS   6
#define DE_NONE_IN_PROGRESS   7
#define DE_BUFFER_ROLLOVER   8
#define DE_INVALID_ERROR_CODE   9
#define DE_ALREADY_PAUSED   10
#define DE_OVERFLOW   11
#define DE_INVALID_FUNC   12
#define DE_DSCUDH_INVALID   13
#define DE_INVALID_BOARD   14
#define DE_BOARD_LIMIT_REACHED   15
#define DE_BOARD_BUSY   16
#define DE_INVALID_WINDRVR_HANDLE   17
#define DE_INVALID_WINDRVR_VERSION   18
#define DE_BAD_WINDRVR_BOARD_INIT   19
#define DE_OPERATION_TIMED_OUT   20
#define DE_INVALID_WINDRVR_KP   21
#define DE_THREAD_FAILURE   22
#define STR_DE_NONE   "NO ERRORS REPORTED"
#define STR_DE_HW_FAILURE   "HARDWARE FAILURE"
#define STR_DE_SW_FAILURE   "SOFTWARE FAILURE"
#define STR_DE_HW_NOT_SUPPORTED   "OPERATION NOT SUPPORTED BY HARDWARE"
#define STR_DE_SW_NOT_SUPPORTED   "OPERATION NOT SUPPORTED BY SOFTWARE"
#define STR_DE_INVALID_PARM   "INVALID PARAMETER"
#define STR_DE_ALTERNATE_IN_PROGRESS   "ALTERNATE INTERRUPT OPERATION IN PROGRESS"
#define STR_DE_NONE_IN_PROGRESS   "NO INTERRUPT OPERATION IN PROGRESS"
#define STR_DE_BUFFER_ROLLOVER   "POINTER + SIZE OF DATA OVERRUN BUFFER"
#define STR_DE_INVALID_ERROR_CODE   "INVALID ERROR CODE, PLEASE IGNORE"
#define STR_DE_ALREADY_PAUSED   "OPERATION ALREADY PAUSED"
#define STR_DE_OVERFLOW   "AM9513A COUNTER FUNCTION OVERFLOWED OR BUFFER OVERFLOW"
#define STR_DE_INVALID_FUNC   "INVALID FUNCTION FOR SELECTED BOARD"
#define STR_DE_DSCUDH_INVALID   "LIBRARY HEADER VERSION MISMATCH"
#define STR_DE_INVALID_BOARD   "INVALID BOARD TYPE SPECIFIED"
#define STR_DE_BOARD_LIMIT_REACHED   "MAXIMUM NUMBER OF BOARDS REACHED"
#define STR_DE_BOARD_BUSY   "ATTEMPT TO ACQUIRE BOARD TIMED OUT"
#define STR_DE_INVALID_WINDRVR_HANDLE   "INVALID WINDRIVER HANDLE RETURNED"
#define STR_DE_INVALID_WINDRVR_VERSION   "INVALID WINDRIVER VERSION"
#define STR_DE_BAD_WINDRVR_BOARD_INIT   "WINDRIVER BOARD INITIALIZATION FAILURE"
#define STR_DE_OPERATION_TIMED_OUT   "OPERATION TIMED OUT"
#define STR_DE_INVALID_WINDRVR_KP   "KERNEL PLUGIN INITIALIZATION FAILURE"
#define STR_DE_THREAD_FAILURE   "THREAD INITIALIZATION FAILURE"
#define STR_DE_MUTEX_FAIL   "MUTEX CREATION OR LOCKING OPERATION FAILED"
#define DACS_MAX_CHANNELS   16
#define DSCUD_MAX_OPTO   8
#define QMM_COUNTER_GROUP_1   1
#define QMM_COUNTER_GROUP_2   2
#define QMM_SOURCE_E1_TC_NM1   0
#define QMM_SOURCE_SRC1   1
#define QMM_SOURCE_SRC2   2
#define QMM_SOURCE_SRC3   3
#define QMM_SOURCE_SRC4   4
#define QMM_SOURCE_SRC5   5
#define QMM_SOURCE_GATE1   6
#define QMM_SOURCE_GATE2   7
#define QMM_SOURCE_GATE3   8
#define QMM_SOURCE_GATE4   9
#define QMM_SOURCE_GATE5   10
#define QMM_SOURCE_F1_4MHZ   11
#define QMM_SOURCE_F2_400KHZ   12
#define QMM_SOURCE_F3_40KHZ   13
#define QMM_SOURCE_F4_4KHZ   14
#define QMM_SOURCE_F5_400HZ   15
#define QMM_TOD_DISABLED   0
#define QMM_TOD_DIVIDE_BY_5   1
#define QMM_TOD_DIVIDE_BY_6   2
#define QMM_TOD_DIVIDE_BY_10   3
#define QMM_NO_GATING   0
#define QMM_ACTIVE_HIGH_TC_NM1   1
#define QMM_ACTIVE_HIGH_LEVEL_GATE_NP1   2
#define QMM_ACTIVE_HIGH_LEVEL_GATE_NM1   3
#define QMM_ACTIVE_HIGH_LEVEL_GATE_N   4
#define QMM_ACTIVE_LOW_LEVEL_GATE_N   5
#define QMM_ACTIVE_HIGH_EDGE_GATE_N   6
#define QMM_ACTIVE_LOW_EDGE_GATE_N   7
#define QMM_INACTIVE_OUTPUT_LOW   0
#define QMM_ACTIVE_HIGH_PULSE_ON_TC   1
#define QMM_TOGGLE_ON_TC   2
#define QMM_INACTIVE_OUTPUT_HIGH   4
#define QMM_ACTIVE_LOW_PULSE_ON_TC   5
#define QMM_ACTION_NONE   0
#define QMM_ACTION_ARM   1
#define QMM_ACTION_LOAD   2
#define QMM_ACTION_LOAD_AND_ARM   3
#define QMM_ACTION_DISARM_AND_SAVE   4
#define QMM_ACTION_SAVE   5
#define QMM_ACTION_DISARM   6
#define QMM_SPECIAL_CLEAR_TOGGLE_OUTPUT   0
#define QMM_SPECIAL_SET_TOGGLE_OUTPUT   1
#define QMM_SPECIAL_STEP_COUNTER   2
#define QMM_SPECIAL_PROGRAM_ALARM   3
#define QMM_INTERVAL_1MS_1KHZ   0
#define QMM_INTERVAL_10MS_100HZ   1
#define QMM_INTERVAL_100MS_10HZ   2
#define QMM_INTERVAL_1S_1HZ   3
#define QMM_INTERVAL_10S_01HZ   4

Typedefs

typedef void(* DSCUserInterruptFunction )(void *parameter)

Functions

BYTE DSCUDAPICALL dscGetLastError (ERRPARAMS *errparams)
DSCUDAPICALL char * dscGetErrorString (BYTE error_code)
BYTE DSCUDAPICALL dscInit (WORD version)
BYTE DSCUDAPICALL dscFree (void)
BYTE DSCUDAPICALL dscInitBoard (BYTE boardtype, DSCCB *dsccb, DSCB *board)
BYTE DSCUDAPICALL dscPCIInitBoard (BYTE boardtype, DSCCBP *dsccbp, DSCB *board)
BYTE DSCUDAPICALL dscFreeBoard (DSCB board)
BYTE DSCUDAPICALL dscADSetSettings (DSCB board, DSCADSETTINGS *settings)
BYTE DSCUDAPICALL dscADSetChannel (DSCB board, BYTE low_channel, BYTE high_channel)
BYTE DSCUDAPICALL dscADSample (DSCB board, DSCSAMPLE *sample)
BYTE DSCUDAPICALL dscADSampleInt (DSCB board, DSCAIOINT *dscaioint)
BYTE DSCUDAPICALL dscADSampleAvg (DSCB board, DFLOAT *average, int count)
BYTE DSCUDAPICALL dscADScan (DSCB board, DSCADSCAN *dscadscan, DSCSAMPLE *sample_values)
BYTE DSCUDAPICALL dscADScanInt (DSCB board, DSCAIOINT *dscaioint)
BYTE DSCUDAPICALL dscADScanAvg (DSCB board, DSCADSCAN *dscadscan, DFLOAT *average_values, int count)
BYTE DSCUDAPICALL dscDASetPolarity (DSCB board, BYTE polarity)
BYTE DSCUDAPICALL dscDASetSettings (DSCB board, DSCDASETTINGS *dasettings)
BYTE DSCUDAPICALL dscDAConvert (DSCB board, BYTE channel, DSCDACODE output_code)
BYTE DSCUDAPICALL dscDAConvertScan (DSCB board, DSCDACS *dscdacs)
BYTE DSCUDAPICALL dscDAConvertScanInt (DSCB board, DSCAIOINT *dscaioint)
BYTE DSCUDAPICALL dscDIOSetConfig (DSCB board, BYTE *config_bytes)
BYTE DSCUDAPICALL dscDIOInputByte (DSCB board, BYTE port, BYTE *digital_value)
BYTE DSCUDAPICALL dscDIOInputWord (DSCB board, BYTE port, WORD *digital_value)
BYTE DSCUDAPICALL dscDIOOutputByte (DSCB board, BYTE port, BYTE digital_value)
BYTE DSCUDAPICALL dscDIOOutputWord (DSCB board, BYTE port, WORD digital_value)
BYTE DSCUDAPICALL dscDIOInputBit (DSCB board, BYTE port, BYTE bit, BYTE *digital_value)
BYTE DSCUDAPICALL dscDIOOutputBit (DSCB board, BYTE port, BYTE bit, BYTE digital_value)
BYTE DSCUDAPICALL dscDIOSetBit (DSCB board, BYTE port, BYTE bit)
BYTE DSCUDAPICALL dscDIOClearBit (DSCB board, BYTE port, BYTE bit)
BYTE DSCUDAPICALL dscDIOInputInt (DSCB board, DSCDIOINT *dscdioint)
BYTE DSCUDAPICALL dscDIOOutputInt (DSCB board, DSCDIOINT *dscdioint)
BYTE DSCUDAPICALL dscDMM32DIOOutputByte (DSCB board, BYTE port, BYTE digital_value)
BYTE DSCUDAPICALL dscDMM32DIOInputByte (DSCB board, BYTE port, BYTE *digital_value)
BYTE DSCUDAPICALL dscOptoInputByte (DSCB board, BYTE port, BYTE *optoValue)
BYTE DSCUDAPICALL dscOptoInputBit (DSCB board, BYTE port, BYTE bit, BYTE *optoValue)
BYTE DSCUDAPICALL dscOptoGetPolarity (DSCB board, BYTE *polarity)
BYTE DSCUDAPICALL dscOptoGetState (DSCB board, DSCOPTOSTATE *state)
BYTE DSCUDAPICALL dscOptoSetState (DSCB board, DSCOPTOSTATE *state)
BYTE DSCUDAPICALL dscCounterSetRateSingle (DSCB board, float hertz, DWORD ctr)
BYTE DSCUDAPICALL dscCounterSetRate (DSCB board, float hertz)
BYTE DSCUDAPICALL dscCounterDirectSet (DSCB board, BYTE code, DWORD data, BYTE ctr_number)
BYTE DSCUDAPICALL dscCounterRead (DSCB board, DSCCR *dsccr)
BYTE DSCUDAPICALL dscSetCalMux (DSCB board, BOOL on)
BYTE DSCUDAPICALL dscADAutoCal (DSCB board, DSCADCALPARAMS *params)
BYTE DSCUDAPICALL dscDAAutoCal (DSCB board, DSCDACALPARAMS *params)
BYTE DSCUDAPICALL dscADCalVerify (DSCB board, DSCADCALPARAMS *params)
BYTE DSCUDAPICALL dscDACalVerify (DSCB board, DSCDACALPARAMS *params)
BYTE DSCUDAPICALL dscGetReferenceVoltages (DSCB board, DFLOAT *refs)
BYTE DSCUDAPICALL dscSetReferenceVoltages (DSCB board, DFLOAT *refs)
BYTE DSCUDAPICALL dscDAGetOffsets (DSCB board, DFLOAT *offsets, int count)
BYTE DSCUDAPICALL dscDASetOffsets (DSCB board, DFLOAT *offsets, int count)
BYTE DSCUDAPICALL dscSetRelay (DSCB board, BYTE relay, BYTE value)
BYTE DSCUDAPICALL dscGetRelay (DSCB board, BYTE relay, BYTE *value)
BYTE DSCUDAPICALL dscSetRelayMulti (DSCB board, BYTE relayGroup, BYTE value)
BYTE DSCUDAPICALL dscGetRelayMulti (DSCB board, BYTE relayGroup, BYTE *value)
BYTE DSCUDAPICALL dscWatchdogEnable (DSCB board, WORD timer16, BYTE timer8, SDWORD options)
BYTE DSCUDAPICALL dscWatchdogDisable (DSCB board)
BYTE DSCUDAPICALL dscWatchdogTrigger (DSCB board)
BYTE DSCUDAPICALL dscPWMLoad (DSCB board, BYTE pwm_circuit, BYTE counter, DWORD value)
BYTE DSCUDAPICALL dscPWMConfig (DSCB board, BYTE *config_byte)
BYTE DSCUDAPICALL dscPWMClear (DSCB board, BYTE pwm_circuit)
BYTE DSCUDAPICALL dscPWMFunction (DSCB board, DSCPWM *dscpwm)
BYTE DSCUDAPICALL dscRegisterRead (DSCB board, WORD address, BYTE *data)
BYTE DSCUDAPICALL dscRegisterWrite (DSCB board, WORD address, BYTE data)
BYTE DSCUDAPICALL dscInp (DWORD address, BYTE *value)
BYTE DSCUDAPICALL dscInpw (DWORD address, WORD *value)
BYTE DSCUDAPICALL dscInpl (DWORD address, DWORD *value)
BYTE DSCUDAPICALL dscInpws (DWORD address, WORD *buffer, WORD n)
BYTE DSCUDAPICALL dscOutp (DWORD address, BYTE value)
BYTE DSCUDAPICALL dscOutpw (DWORD address, WORD value)
BYTE DSCUDAPICALL dscOutpl (DWORD address, DWORD value)
BYTE DSCUDAPICALL dscOutpws (DWORD address, WORD *buffer, WORD n)
BYTE DSCUDAPICALL dscSleep (DWORD ms)
BYTE DSCUDAPICALL dscGetTime (DWORD *ms)
BYTE DSCUDAPICALL dscGetEEPROM (DSCB board, DWORD address, BYTE *data)
BYTE DSCUDAPICALL dscSetEEPROM (DSCB board, DWORD address, BYTE data)
BYTE DSCUDAPICALL dscSetTrimDac (DSCB board, DWORD trimDac, BYTE value)
BYTE DSCUDAPICALL dscGetStatus (DSCB board, DSCS *status)
BYTE DSCUDAPICALL dscCancelOp (DSCB board)
BYTE DSCUDAPICALL dscCancelOpType (DSCB board, DWORD int_type)
BYTE DSCUDAPICALL dscPauseOp (DSCB board)
BYTE DSCUDAPICALL dscResumeOp (DSCB board)
BYTE DSCUDAPICALL dscSetUserInterruptFunction (DSCB board, DSCUSERINTFUNCTION *dscuserintfunc)
BYTE DSCUDAPICALL dscSetUserInterruptFunctionType (DSCB board, DSCUSERINTFUNCTION *dscuserintfunc, DWORD int_type)
BYTE DSCUDAPICALL dscUserInt (DSCB board, DSCUSERINT *dscuserint, DSCUserInterruptFunction function)
BYTE DSCUDAPICALL dscUserIntVB (DSCB board, DSCUSERINT *dscuserint)
BYTE DSCUDAPICALL dscClearUserInterruptFunction (DSCB board)
BYTE DSCUDAPICALL dscClearUserInterruptFunctionType (DSCB board, DWORD int_type)
BYTE DSCUDAPICALL dscGetBoardMacro (char *boardtype, BYTE *macro)
BYTE DSCUDAPICALL dscGetFPGARev (DSCB board, WORD *fpga)
BYTE DSCUDAPICALL dscSetSystemPriority (DWORD priority)
BYTE DSCUDAPICALL dscADCodeToVoltage (DSCB board, DSCADSETTINGS adsettings, DSCSAMPLE adcode, DFLOAT *voltage)
BYTE DSCUDAPICALL dscVoltageToADCode (DSCB board, DSCADSETTINGS adsettings, DFLOAT voltage, DSCSAMPLE *adcode)
BYTE DSCUDAPICALL dscDACodeToVoltage (DSCB board, DSCDASETTINGS dasettings, DSCDACODE dacode, DFLOAT *voltage)
BYTE DSCUDAPICALL dscVoltageToDACode (DSCB board, DSCDASETTINGS dasettings, DFLOAT voltage, DSCDACODE *dacode)
BYTE DSCUDAPICALL dscIR104ClearRelay (DSCB board, BYTE relay)
BYTE DSCUDAPICALL dscIR104SetRelay (DSCB board, BYTE relay)
BYTE DSCUDAPICALL dscIR104RelayInput (DSCB board, BYTE relay, BYTE *value)
BYTE DSCUDAPICALL dscIR104OptoInput (DSCB board, BYTE opto, BYTE *value)
BYTE DSCUDAPICALL dscEMMDIOGetState (DSCB board, DSCEMMDIO *state)
BYTE DSCUDAPICALL dscEMMDIOSetState (DSCB board, DSCEMMDIO *state)
BYTE DSCUDAPICALL dscEMMDIOResetInt (DSCB board, DSCEMMDIORESETINT *edge)
BYTE DSCUDAPICALL dscEnhancedFeaturesEnable (DSCB board, BOOL enable)
BYTE DSCUDAPICALL dscPICOutp (DSCB board, DWORD address, BYTE value)
BYTE DSCUDAPICALL dscPICInp (DSCB board, DWORD address, BYTE *value)
BYTE DSCUDAPICALL dscPICProgEnable (DSCB board, BOOL enable)
BYTE DSCUDAPICALL dscPICProgSet (DSCB board, BOOL dout, BOOL dstate, BOOL cstate)
BYTE DSCUDAPICALL dscPICProgGet (DSCB board, BOOL *din)
BYTE DSCUDAPICALL dscAACCommand (DSCB board, DWORD cmd)
BYTE DSCUDAPICALL dscAACGetStatus (DSCB board, DSCAACSTATUS *status)
BYTE DSCUDAPICALL dscWGCommand (DSCB board, DWORD cmd)
BYTE DSCUDAPICALL dscWGConfigSet (DSCB board, DSCWGCONFIG *config)
BYTE DSCUDAPICALL dscWGBufferSet (DSCB board, DWORD address, DSCDACODE value, DWORD channel, BOOL simul)
BYTE DSCUDAPICALL dscQMMReset (DSCB board)
BYTE DSCUDAPICALL dscQMMSetMMR (DSCB board, DSCQMM_MMR *dscqmmmmr)
BYTE DSCUDAPICALL dscQMMSetCMR (DSCB board, DSCQMM_CMR *dscqmmcmr)
BYTE DSCUDAPICALL dscQMMCounterControl (DSCB board, DSCQMM_MCC *dscqmmmcc, BYTE *status)
BYTE DSCUDAPICALL dscQMMSingleCounterControl (DSCB board, BYTE counter, BYTE action)
BYTE DSCUDAPICALL dscQMMSetLoadRegister (DSCB board, BYTE counter, WORD value)
BYTE DSCUDAPICALL dscQMMSetHoldRegister (DSCB board, BYTE counter, WORD value)
BYTE DSCUDAPICALL dscQMMReadHoldRegister (DSCB board, BYTE counter, WORD *value)
BYTE DSCUDAPICALL dscQMMSpecialCounterFunction (DSCB board, DSCQMM_SCF *dscqmmscf)
BYTE DSCUDAPICALL dscQMMMeasureFrequency (DSCB board, BYTE interval, BYTE source, FLOAT *freq)
BYTE DSCUDAPICALL dscQMMMeasurePeriod (DSCB board, BYTE frequency, FLOAT *period)
BYTE DSCUDAPICALL dscQMMPulseWidthModulation (DSCB board, DSCQMM_PWM *dscqmmpwm)

Variables

typedef DSCADCALPARAMS


Define Documentation

#define AAC_CMD_ABORT   0x02
 

Definition at line 388 of file dscud.h.

#define AAC_CMD_HOLD   0x10
 

Definition at line 385 of file dscud.h.

#define AAC_CMD_REL   0x08
 

Definition at line 386 of file dscud.h.

#define AAC_CMD_RESET   0x04
 

Definition at line 387 of file dscud.h.

#define AAC_CMD_TRIG   0x01
 

Definition at line 389 of file dscud.h.

#define ATHENA_WD_ENABLE_WDI   0x80
 

Definition at line 290 of file dscud.h.

#define ATHENA_WD_ENABLE_WDO   0x40
 

Definition at line 289 of file dscud.h.

#define ATHENA_WD_TRIGGER_SMI   0x20
 

Definition at line 288 of file dscud.h.

#define ATHENA_WD_WDI_ASSERT_RISING_EDGE   0x10
 

Definition at line 287 of file dscud.h.

#define BIPOLAR   0
 

Definition at line 209 of file dscud.h.

#define BOOL   int
 

Definition at line 113 of file dscud.h.

#define BYTE   unsigned char
 

Definition at line 68 of file dscud.h.

Referenced by DIOOutputByte(), and InitDAQCard().

#define COUNTER_0   0x00
 

Definition at line 305 of file dscud.h.

#define COUNTER_0_1   0x04
 

Definition at line 308 of file dscud.h.

#define COUNTER_0_1_2   0x10
 

Definition at line 310 of file dscud.h.

#define COUNTER_1   0x01
 

Definition at line 306 of file dscud.h.

#define COUNTER_1_2   0x08
 

Definition at line 309 of file dscud.h.

#define COUNTER_2   0x02
 

Definition at line 307 of file dscud.h.

#define DACS_MAX_CHANNELS   16
 

Definition at line 684 of file dscud.h.

#define DE_ALREADY_PAUSED   10
 

Definition at line 413 of file dscud.h.

#define DE_ALTERNATE_IN_PROGRESS   6
 

Definition at line 409 of file dscud.h.

#define DE_BAD_WINDRVR_BOARD_INIT   19
 

Definition at line 422 of file dscud.h.

#define DE_BOARD_BUSY   16
 

Definition at line 419 of file dscud.h.

#define DE_BOARD_LIMIT_REACHED   15
 

Definition at line 418 of file dscud.h.

#define DE_BUFFER_ROLLOVER   8
 

Definition at line 411 of file dscud.h.

#define DE_DSCUDH_INVALID   13
 

Definition at line 416 of file dscud.h.

#define DE_HW_FAILURE   1
 

Definition at line 404 of file dscud.h.

#define DE_HW_NOT_SUPPORTED   3
 

Definition at line 406 of file dscud.h.

#define DE_INVALID_BOARD   14
 

Definition at line 417 of file dscud.h.

#define DE_INVALID_ERROR_CODE   9
 

Definition at line 412 of file dscud.h.

#define DE_INVALID_FUNC   12
 

Definition at line 415 of file dscud.h.

#define DE_INVALID_PARM   5
 

Definition at line 408 of file dscud.h.

#define DE_INVALID_WINDRVR_HANDLE   17
 

Definition at line 420 of file dscud.h.

#define DE_INVALID_WINDRVR_KP   21
 

Definition at line 424 of file dscud.h.

#define DE_INVALID_WINDRVR_VERSION   18
 

Definition at line 421 of file dscud.h.

#define DE_NONE   0
 

Definition at line 403 of file dscud.h.

#define DE_NONE_IN_PROGRESS   7
 

Definition at line 410 of file dscud.h.

#define DE_OPERATION_TIMED_OUT   20
 

Definition at line 423 of file dscud.h.

#define DE_OVERFLOW   11
 

Definition at line 414 of file dscud.h.

#define DE_SW_FAILURE   2
 

Definition at line 405 of file dscud.h.

#define DE_SW_NOT_SUPPORTED   4
 

Definition at line 407 of file dscud.h.

#define DE_THREAD_FAILURE   22
 

Definition at line 425 of file dscud.h.

#define DFLOAT   double
 

Definition at line 108 of file dscud.h.

#define DIFFERENTIAL   1
 

Definition at line 228 of file dscud.h.

#define DSC_ATHENA   25
 

Definition at line 193 of file dscud.h.

#define DSC_CPT   21
 

Definition at line 186 of file dscud.h.

#define DSC_DIO82C55   24
 

Definition at line 190 of file dscud.h.

#define DSC_DMM   4
 

Definition at line 168 of file dscud.h.

#define DSC_DMM16   0
 

Definition at line 164 of file dscud.h.

#define DSC_DMM16AT   16
 

Definition at line 181 of file dscud.h.

#define DSC_DMM32   12
 

Definition at line 176 of file dscud.h.

Referenced by InitDAQCard().

#define DSC_DMM32AT   12
 

Definition at line 177 of file dscud.h.

#define DSC_DMM32X   27
 

Definition at line 195 of file dscud.h.

#define DSC_DMM32XAT   27
 

Definition at line 196 of file dscud.h.

#define DSC_DMM48   22
 

Definition at line 187 of file dscud.h.

#define DSC_DMM48AT   22
 

Definition at line 188 of file dscud.h.

#define DSC_DMMAT   15
 

Definition at line 180 of file dscud.h.

#define DSC_DRVR   255
 

Definition at line 200 of file dscud.h.

#define DSC_ELEKTRA   28
 

Definition at line 197 of file dscud.h.

#define DSC_EMM8   18
 

Definition at line 183 of file dscud.h.

#define DSC_EMMDIO   13
 

Definition at line 178 of file dscud.h.

#define DSC_EMMOPTO   24
 

Definition at line 192 of file dscud.h.

#define DSC_GMM   6
 

Definition at line 170 of file dscud.h.

#define DSC_HERCEBX   20
 

Definition at line 185 of file dscud.h.

#define DSC_IR104   17
 

Definition at line 182 of file dscud.h.

#define DSC_METIS   26
 

Definition at line 194 of file dscud.h.

#define DSC_MRC   24
 

Definition at line 191 of file dscud.h.

#define DSC_OMM   10
 

Definition at line 174 of file dscud.h.

#define DSC_OMMDIO   23
 

Definition at line 189 of file dscud.h.

#define DSC_OPMM   3
 

Definition at line 167 of file dscud.h.

#define DSC_PMM   9
 

Definition at line 173 of file dscud.h.

#define DSC_PROM   19
 

Definition at line 184 of file dscud.h.

#define DSC_QMM   7
 

Definition at line 171 of file dscud.h.

#define DSC_RAW   127
 

Definition at line 199 of file dscud.h.

#define DSC_RMM   1
 

Definition at line 165 of file dscud.h.

#define DSC_RMM1612   14
 

Definition at line 179 of file dscud.h.

#define DSC_RMM416   11
 

Definition at line 175 of file dscud.h.

#define DSC_SMM   5
 

Definition at line 169 of file dscud.h.

#define DSC_TEST   126
 

Definition at line 198 of file dscud.h.

#define DSC_TMM   2
 

Definition at line 166 of file dscud.h.

#define DSC_VERSION   0x0591
 

Definition at line 158 of file dscud.h.

Referenced by InitDAQCard().

#define DSC_ZMM   8
 

Definition at line 172 of file dscud.h.

#define DSCB   SWORD
 

Definition at line 143 of file dscud.h.

#define DSCDACODE   DWORD
 

Definition at line 132 of file dscud.h.

#define DSCSAMPLE   SWORD
 

Definition at line 128 of file dscud.h.

#define DSCUD_MAX_OPTO   8
 

Definition at line 877 of file dscud.h.

#define DSCUDAPICALL
 

Definition at line 140 of file dscud.h.

#define DWORD   unsigned long
 

Definition at line 88 of file dscud.h.

#define ELEKTRA_WD_ENABLE_WDI   0x80
 

Definition at line 299 of file dscud.h.

#define ELEKTRA_WD_ENABLE_WDO   0x40
 

Definition at line 298 of file dscud.h.

#define ELEKTRA_WD_TRIGGER_SMI   0x20
 

Definition at line 297 of file dscud.h.

#define ELEKTRA_WD_WDI_ASSERT_RISING_EDGE   0x10
 

Definition at line 296 of file dscud.h.

#define FALSE   ((BOOL)0)
 

Definition at line 123 of file dscud.h.

Referenced by O_SESSAME::Interpolator::Interpolator(), and vmcomplete().

#define FLOAT   float
 

Definition at line 103 of file dscud.h.

#define GAIN_1   0
 

Definition at line 212 of file dscud.h.

#define GAIN_10   1
 

Definition at line 216 of file dscud.h.

#define GAIN_100   2
 

Definition at line 217 of file dscud.h.

#define GAIN_1000   3
 

Definition at line 218 of file dscud.h.

#define GAIN_2   1
 

Definition at line 213 of file dscud.h.

#define GAIN_4   2
 

Definition at line 214 of file dscud.h.

#define GAIN_8   3
 

Definition at line 215 of file dscud.h.

#define HERC_WD_ENABLE_WDI_ASSERTION   0x01
 

Definition at line 281 of file dscud.h.

#define HERC_WD_TRIGGER_NMI   0x10
 

Definition at line 277 of file dscud.h.

#define HERC_WD_TRIGGER_RESET   0x08
 

Definition at line 278 of file dscud.h.

#define HERC_WD_WDI_ASSERT_FALLING_EDGE   0x02
 

Definition at line 279 of file dscud.h.

#define HERC_WD_WDO_TRIGGERED_EARLY   0x04
 

Definition at line 280 of file dscud.h.

#define INT_TYPE_AD   0x01
 

Definition at line 321 of file dscud.h.

#define INT_TYPE_COUNTER   0x10
 

Definition at line 325 of file dscud.h.

#define INT_TYPE_DA   0x02
 

Definition at line 322 of file dscud.h.

#define INT_TYPE_DIOIN   0x04
 

Definition at line 323 of file dscud.h.

#define INT_TYPE_DIOREAD   0x20
 

Definition at line 326 of file dscud.h.

#define INT_TYPE_DIOWRITE   0x80
 

Definition at line 328 of file dscud.h.

#define INT_TYPE_INDEX_AD   0
 

Definition at line 330 of file dscud.h.

#define INT_TYPE_INDEX_COUNTER   4
 

Definition at line 334 of file dscud.h.

#define INT_TYPE_INDEX_DA   1
 

Definition at line 331 of file dscud.h.

#define INT_TYPE_INDEX_DIOIN   2
 

Definition at line 332 of file dscud.h.

#define INT_TYPE_INDEX_DIOREAD   5
 

Definition at line 335 of file dscud.h.

#define INT_TYPE_INDEX_DIOWRITE   7
 

Definition at line 337 of file dscud.h.

#define INT_TYPE_INDEX_OPTO   6
 

Definition at line 336 of file dscud.h.

#define INT_TYPE_INDEX_USER   3
 

Definition at line 333 of file dscud.h.

#define INT_TYPE_OPTO   0x40
 

Definition at line 327 of file dscud.h.

#define INT_TYPE_USER   0x08
 

Definition at line 324 of file dscud.h.

#define LONG   signed long
 

Definition at line 98 of file dscud.h.

#define MODE_0_INT11_INT12   0
 

Definition at line 235 of file dscud.h.

#define MODE_0_INT21_INT22   1
 

Definition at line 236 of file dscud.h.

#define MODE_1_82C55_1_C0   2
 

Definition at line 237 of file dscud.h.

#define MODE_1_82C55_1_C3   3
 

Definition at line 238 of file dscud.h.

#define MODE_1_82C55_2_C0   4
 

Definition at line 239 of file dscud.h.

#define MODE_1_82C55_2_C3   5
 

Definition at line 240 of file dscud.h.

#define OMM_SOURCE_CLOCK   1
 

Definition at line 254 of file dscud.h.

#define OMM_SOURCE_OUT   2
 

Definition at line 255 of file dscud.h.

#define OMM_SOURCE_PIN   0
 

Definition at line 253 of file dscud.h.

#define OP_TYPE_DMA   2
 

Definition at line 319 of file dscud.h.

#define OP_TYPE_INT   1
 

Definition at line 318 of file dscud.h.

#define OP_TYPE_NONE   0
 

Definition at line 317 of file dscud.h.

#define PCI_DSC_VENDORID   0x1234
 

Definition at line 397 of file dscud.h.

#define PCI_MAX_RESOURCES   5
 

Definition at line 396 of file dscud.h.

#define PROM_WD_ENABLE_WDI_ASSERTION   0x40
 

Definition at line 270 of file dscud.h.

#define PROM_WD_TRIGGER_NMI   0x02
 

Definition at line 265 of file dscud.h.

#define PROM_WD_TRIGGER_RESET   0x08
 

Definition at line 267 of file dscud.h.

#define PROM_WD_TRIGGER_SCI   0x01
 

Definition at line 264 of file dscud.h.

#define PROM_WD_TRIGGER_SMI   0x04
 

Definition at line 266 of file dscud.h.

#define PROM_WD_WDI_ASSERT_FALLING_EDGE   0x10
 

Definition at line 268 of file dscud.h.

#define PROM_WD_WDO_TRIGGERED_EARLY   0x20
 

Definition at line 269 of file dscud.h.

#define QMM_ACTION_ARM   1
 

Definition at line 1251 of file dscud.h.

#define QMM_ACTION_DISARM   6
 

Definition at line 1256 of file dscud.h.

#define QMM_ACTION_DISARM_AND_SAVE   4
 

Definition at line 1254 of file dscud.h.

#define QMM_ACTION_LOAD   2
 

Definition at line 1252 of file dscud.h.

#define QMM_ACTION_LOAD_AND_ARM   3
 

Definition at line 1253 of file dscud.h.

#define QMM_ACTION_NONE   0
 

Definition at line 1250 of file dscud.h.

#define QMM_ACTION_SAVE   5
 

Definition at line 1255 of file dscud.h.

#define QMM_ACTIVE_HIGH_EDGE_GATE_N   6
 

Definition at line 1239 of file dscud.h.

#define QMM_ACTIVE_HIGH_LEVEL_GATE_N   4
 

Definition at line 1237 of file dscud.h.

#define QMM_ACTIVE_HIGH_LEVEL_GATE_NM1   3
 

Definition at line 1236 of file dscud.h.

#define QMM_ACTIVE_HIGH_LEVEL_GATE_NP1   2
 

Definition at line 1235 of file dscud.h.

#define QMM_ACTIVE_HIGH_PULSE_ON_TC   1
 

Definition at line 1244 of file dscud.h.

#define QMM_ACTIVE_HIGH_TC_NM1   1
 

Definition at line 1234 of file dscud.h.

#define QMM_ACTIVE_LOW_EDGE_GATE_N   7
 

Definition at line 1240 of file dscud.h.

#define QMM_ACTIVE_LOW_LEVEL_GATE_N   5
 

Definition at line 1238 of file dscud.h.

#define QMM_ACTIVE_LOW_PULSE_ON_TC   5
 

Definition at line 1247 of file dscud.h.

#define QMM_COUNTER_GROUP_1   1
 

Definition at line 1205 of file dscud.h.

#define QMM_COUNTER_GROUP_2   2
 

Definition at line 1206 of file dscud.h.

#define QMM_INACTIVE_OUTPUT_HIGH   4
 

Definition at line 1246 of file dscud.h.

#define QMM_INACTIVE_OUTPUT_LOW   0
 

Definition at line 1243 of file dscud.h.

#define QMM_INTERVAL_100MS_10HZ   2
 

Definition at line 1267 of file dscud.h.

#define QMM_INTERVAL_10MS_100HZ   1
 

Definition at line 1266 of file dscud.h.

#define QMM_INTERVAL_10S_01HZ   4
 

Definition at line 1269 of file dscud.h.

#define QMM_INTERVAL_1MS_1KHZ   0
 

Definition at line 1265 of file dscud.h.

#define QMM_INTERVAL_1S_1HZ   3
 

Definition at line 1268 of file dscud.h.

#define QMM_NO_GATING   0
 

Definition at line 1233 of file dscud.h.

#define QMM_SOURCE_E1_TC_NM1   0
 

Definition at line 1209 of file dscud.h.

#define QMM_SOURCE_F1_4MHZ   11
 

Definition at line 1220 of file dscud.h.

#define QMM_SOURCE_F2_400KHZ   12
 

Definition at line 1221 of file dscud.h.

#define QMM_SOURCE_F3_40KHZ   13
 

Definition at line 1222 of file dscud.h.

#define QMM_SOURCE_F4_4KHZ   14
 

Definition at line 1223 of file dscud.h.

#define QMM_SOURCE_F5_400HZ   15
 

Definition at line 1224 of file dscud.h.

#define QMM_SOURCE_GATE1   6
 

Definition at line 1215 of file dscud.h.

#define QMM_SOURCE_GATE2   7
 

Definition at line 1216 of file dscud.h.

#define QMM_SOURCE_GATE3   8
 

Definition at line 1217 of file dscud.h.

#define QMM_SOURCE_GATE4   9
 

Definition at line 1218 of file dscud.h.

#define QMM_SOURCE_GATE5   10
 

Definition at line 1219 of file dscud.h.

#define QMM_SOURCE_SRC1   1
 

Definition at line 1210 of file dscud.h.

#define QMM_SOURCE_SRC2   2
 

Definition at line 1211 of file dscud.h.

#define QMM_SOURCE_SRC3   3
 

Definition at line 1212 of file dscud.h.

#define QMM_SOURCE_SRC4   4
 

Definition at line 1213 of file dscud.h.

#define QMM_SOURCE_SRC5   5
 

Definition at line 1214 of file dscud.h.

#define QMM_SPECIAL_CLEAR_TOGGLE_OUTPUT   0
 

Definition at line 1259 of file dscud.h.

#define QMM_SPECIAL_PROGRAM_ALARM   3
 

Definition at line 1262 of file dscud.h.

#define QMM_SPECIAL_SET_TOGGLE_OUTPUT   1
 

Definition at line 1260 of file dscud.h.

#define QMM_SPECIAL_STEP_COUNTER   2
 

Definition at line 1261 of file dscud.h.

#define QMM_TOD_DISABLED   0
 

Definition at line 1227 of file dscud.h.

#define QMM_TOD_DIVIDE_BY_10   3
 

Definition at line 1230 of file dscud.h.

#define QMM_TOD_DIVIDE_BY_5   1
 

Definition at line 1228 of file dscud.h.

#define QMM_TOD_DIVIDE_BY_6   2
 

Definition at line 1229 of file dscud.h.

#define QMM_TOGGLE_ON_TC   2
 

Definition at line 1245 of file dscud.h.

#define RANGE_10   1
 

Definition at line 207 of file dscud.h.

#define RANGE_5   0
 

Definition at line 206 of file dscud.h.

#define SBYTE   signed char
 

Definition at line 73 of file dscud.h.

#define SCAN_INTERVAL_10   2
 

Definition at line 223 of file dscud.h.

#define SCAN_INTERVAL_15   1
 

Definition at line 224 of file dscud.h.

#define SCAN_INTERVAL_20   0
 

Definition at line 225 of file dscud.h.

#define SCAN_INTERVAL_4   5
 

Definition at line 220 of file dscud.h.

#define SCAN_INTERVAL_5   3
 

Definition at line 221 of file dscud.h.

#define SCAN_INTERVAL_9   4
 

Definition at line 222 of file dscud.h.

#define SDWORD   signed long
 

Definition at line 93 of file dscud.h.

#define SINGLE_ENDED   0
 

Definition at line 227 of file dscud.h.

#define SOURCE_82C55_1_C0   0
 

Definition at line 246 of file dscud.h.

#define SOURCE_82C55_2_C0   2
 

Definition at line 248 of file dscud.h.

#define SOURCE_COUNTER_0   1
 

Definition at line 247 of file dscud.h.

#define SOURCE_COUNTER_1   3
 

Definition at line 249 of file dscud.h.

#define SOURCE_COUNTER_2   5
 

Definition at line 251 of file dscud.h.

#define SOURCE_EXTERNAL   4
 

Definition at line 250 of file dscud.h.

#define STR_DE_ALREADY_PAUSED   "OPERATION ALREADY PAUSED"
 

Definition at line 441 of file dscud.h.

#define STR_DE_ALTERNATE_IN_PROGRESS   "ALTERNATE INTERRUPT OPERATION IN PROGRESS"
 

Definition at line 437 of file dscud.h.

#define STR_DE_BAD_WINDRVR_BOARD_INIT   "WINDRIVER BOARD INITIALIZATION FAILURE"
 

Definition at line 450 of file dscud.h.

#define STR_DE_BOARD_BUSY   "ATTEMPT TO ACQUIRE BOARD TIMED OUT"
 

Definition at line 447 of file dscud.h.

#define STR_DE_BOARD_LIMIT_REACHED   "MAXIMUM NUMBER OF BOARDS REACHED"
 

Definition at line 446 of file dscud.h.

#define STR_DE_BUFFER_ROLLOVER   "POINTER + SIZE OF DATA OVERRUN BUFFER"
 

Definition at line 439 of file dscud.h.

#define STR_DE_DSCUDH_INVALID   "LIBRARY HEADER VERSION MISMATCH"
 

Definition at line 444 of file dscud.h.

#define STR_DE_HW_FAILURE   "HARDWARE FAILURE"
 

Definition at line 432 of file dscud.h.

#define STR_DE_HW_NOT_SUPPORTED   "OPERATION NOT SUPPORTED BY HARDWARE"
 

Definition at line 434 of file dscud.h.

#define STR_DE_INVALID_BOARD   "INVALID BOARD TYPE SPECIFIED"
 

Definition at line 445 of file dscud.h.

#define STR_DE_INVALID_ERROR_CODE   "INVALID ERROR CODE, PLEASE IGNORE"
 

Definition at line 440 of file dscud.h.

#define STR_DE_INVALID_FUNC   "INVALID FUNCTION FOR SELECTED BOARD"
 

Definition at line 443 of file dscud.h.

#define STR_DE_INVALID_PARM   "INVALID PARAMETER"
 

Definition at line 436 of file dscud.h.

#define STR_DE_INVALID_WINDRVR_HANDLE   "INVALID WINDRIVER HANDLE RETURNED"
 

Definition at line 448 of file dscud.h.

#define STR_DE_INVALID_WINDRVR_KP   "KERNEL PLUGIN INITIALIZATION FAILURE"
 

Definition at line 452 of file dscud.h.

#define STR_DE_INVALID_WINDRVR_VERSION   "INVALID WINDRIVER VERSION"
 

Definition at line 449 of file dscud.h.

#define STR_DE_MUTEX_FAIL   "MUTEX CREATION OR LOCKING OPERATION FAILED"
 

Definition at line 454 of file dscud.h.

#define STR_DE_NONE   "NO ERRORS REPORTED"
 

Definition at line 431 of file dscud.h.

#define STR_DE_NONE_IN_PROGRESS   "NO INTERRUPT OPERATION IN PROGRESS"
 

Definition at line 438 of file dscud.h.

#define STR_DE_OPERATION_TIMED_OUT   "OPERATION TIMED OUT"
 

Definition at line 451 of file dscud.h.

#define STR_DE_OVERFLOW   "AM9513A COUNTER FUNCTION OVERFLOWED OR BUFFER OVERFLOW"
 

Definition at line 442 of file dscud.h.

#define STR_DE_SW_FAILURE   "SOFTWARE FAILURE"
 

Definition at line 433 of file dscud.h.

#define STR_DE_SW_NOT_SUPPORTED   "OPERATION NOT SUPPORTED BY SOFTWARE"
 

Definition at line 435 of file dscud.h.

#define STR_DE_THREAD_FAILURE   "THREAD INITIALIZATION FAILURE"
 

Definition at line 453 of file dscud.h.

#define SWORD   signed short
 

Definition at line 83 of file dscud.h.

Referenced by InitDAQCard().

#define TRUE   ((BOOL)1)
 

Definition at line 118 of file dscud.h.

Referenced by O_SESSAME::LinearInterpolator::Interpolate().

#define UNIPOLAR   1
 

Definition at line 210 of file dscud.h.

#define USER_INT_AFTER   1
 

Definition at line 344 of file dscud.h.

#define USER_INT_CANCEL   0
 

Definition at line 343 of file dscud.h.

#define USER_INT_INSTEAD   2
 

Definition at line 345 of file dscud.h.

#define USER_INT_SOURCE_EXTERNAL   1
 

Definition at line 347 of file dscud.h.

#define USER_INT_SOURCE_INTERNAL   0
 

Definition at line 348 of file dscud.h.

#define WG_CH_PER_FRAME_1   0
 

Definition at line 375 of file dscud.h.

#define WG_CH_PER_FRAME_2   1
 

Definition at line 376 of file dscud.h.

#define WG_CH_PER_FRAME_4   2
 

Definition at line 377 of file dscud.h.

#define WG_CMD_INC   0x08
 

Definition at line 358 of file dscud.h.

#define WG_CMD_PAUSE   0x02
 

Definition at line 356 of file dscud.h.

#define WG_CMD_RESET   0x04
 

Definition at line 357 of file dscud.h.

#define WG_CMD_START   0x01
 

Definition at line 355 of file dscud.h.

#define WG_SRC_CTR0   1
 

Definition at line 366 of file dscud.h.

#define WG_SRC_CTR12   2
 

Definition at line 367 of file dscud.h.

#define WG_SRC_EXT   3
 

Definition at line 368 of file dscud.h.

#define WG_SRC_MANUAL   0
 

Definition at line 365 of file dscud.h.

#define WORD   unsigned short
 

Definition at line 78 of file dscud.h.


Typedef Documentation

typedef void(* DSCUserInterruptFunction)(void *parameter)
 

Definition at line 135 of file dscud.h.


Function Documentation

BYTE DSCUDAPICALL dscAACCommand DSCB  board,
DWORD  cmd
 

BYTE DSCUDAPICALL dscAACGetStatus DSCB  board,
DSCAACSTATUS status
 

BYTE DSCUDAPICALL dscADAutoCal DSCB  board,
DSCADCALPARAMS params
 

BYTE DSCUDAPICALL dscADCalVerify DSCB  board,
DSCADCALPARAMS params
 

BYTE DSCUDAPICALL dscADCodeToVoltage DSCB  board,
DSCADSETTINGS  adsettings,
DSCSAMPLE  adcode,
DFLOAT *  voltage
 

BYTE DSCUDAPICALL dscADSample DSCB  board,
DSCSAMPLE *  sample
 

BYTE DSCUDAPICALL dscADSampleAvg DSCB  board,
DFLOAT *  average,
int  count
 

BYTE DSCUDAPICALL dscADSampleInt DSCB  board,
DSCAIOINT dscaioint
 

BYTE DSCUDAPICALL dscADScan DSCB  board,
DSCADSCAN dscadscan,
DSCSAMPLE *  sample_values
 

Referenced by ADscan().

BYTE DSCUDAPICALL dscADScanAvg DSCB  board,
DSCADSCAN dscadscan,
DFLOAT *  average_values,
int  count
 

BYTE DSCUDAPICALL dscADScanInt DSCB  board,
DSCAIOINT dscaioint
 

BYTE DSCUDAPICALL dscADSetChannel DSCB  board,
BYTE  low_channel,
BYTE  high_channel
 

BYTE DSCUDAPICALL dscADSetSettings DSCB  board,
DSCADSETTINGS settings
 

Referenced by InitDAQCard().

BYTE DSCUDAPICALL dscCancelOp DSCB  board  ) 
 

BYTE DSCUDAPICALL dscCancelOpType DSCB  board,
DWORD  int_type
 

BYTE DSCUDAPICALL dscClearUserInterruptFunction DSCB  board  ) 
 

BYTE DSCUDAPICALL dscClearUserInterruptFunctionType DSCB  board,
DWORD  int_type
 

BYTE DSCUDAPICALL dscCounterDirectSet DSCB  board,
BYTE  code,
DWORD  data,
BYTE  ctr_number
 

BYTE DSCUDAPICALL dscCounterRead DSCB  board,
DSCCR dsccr
 

BYTE DSCUDAPICALL dscCounterSetRate DSCB  board,
float  hertz
 

BYTE DSCUDAPICALL dscCounterSetRateSingle DSCB  board,
float  hertz,
DWORD  ctr
 

BYTE DSCUDAPICALL dscDAAutoCal DSCB  board,
DSCDACALPARAMS params
 

BYTE DSCUDAPICALL dscDACalVerify DSCB  board,
DSCDACALPARAMS params
 

BYTE DSCUDAPICALL dscDACodeToVoltage DSCB  board,
DSCDASETTINGS  dasettings,
DSCDACODE  dacode,
DFLOAT *  voltage
 

BYTE DSCUDAPICALL dscDAConvert DSCB  board,
BYTE  channel,
DSCDACODE  output_code
 

Referenced by DAConvert().

BYTE DSCUDAPICALL dscDAConvertScan DSCB  board,
DSCDACS dscdacs
 

BYTE DSCUDAPICALL dscDAConvertScanInt DSCB  board,
DSCAIOINT dscaioint
 

BYTE DSCUDAPICALL dscDAGetOffsets DSCB  board,
DFLOAT *  offsets,
int  count
 

BYTE DSCUDAPICALL dscDASetOffsets DSCB  board,
DFLOAT *  offsets,
int  count
 

BYTE DSCUDAPICALL dscDASetPolarity DSCB  board,
BYTE  polarity
 

BYTE DSCUDAPICALL dscDASetSettings DSCB  board,
DSCDASETTINGS dasettings
 

BYTE DSCUDAPICALL dscDIOClearBit DSCB  board,
BYTE  port,
BYTE  bit
 

BYTE DSCUDAPICALL dscDIOInputBit DSCB  board,
BYTE  port,
BYTE  bit,
BYTE *  digital_value
 

BYTE DSCUDAPICALL dscDIOInputByte DSCB  board,
BYTE  port,
BYTE *  digital_value
 

BYTE DSCUDAPICALL dscDIOInputInt DSCB  board,
DSCDIOINT dscdioint
 

BYTE DSCUDAPICALL dscDIOInputWord DSCB  board,
BYTE  port,
WORD *  digital_value
 

BYTE DSCUDAPICALL dscDIOOutputBit DSCB  board,
BYTE  port,
BYTE  bit,
BYTE  digital_value
 

BYTE DSCUDAPICALL dscDIOOutputByte DSCB  board,
BYTE  port,
BYTE  digital_value
 

Referenced by DIOOutputByte().

BYTE DSCUDAPICALL dscDIOOutputInt DSCB  board,
DSCDIOINT dscdioint
 

BYTE DSCUDAPICALL dscDIOOutputWord DSCB  board,
BYTE  port,
WORD  digital_value
 

BYTE DSCUDAPICALL dscDIOSetBit DSCB  board,
BYTE  port,
BYTE  bit
 

BYTE DSCUDAPICALL dscDIOSetConfig DSCB  board,
BYTE *  config_bytes
 

Referenced by InitDAQCard().

BYTE DSCUDAPICALL dscDMM32DIOInputByte DSCB  board,
BYTE  port,
BYTE *  digital_value
 

BYTE DSCUDAPICALL dscDMM32DIOOutputByte DSCB  board,
BYTE  port,
BYTE  digital_value
 

BYTE DSCUDAPICALL dscEMMDIOGetState DSCB  board,
DSCEMMDIO state
 

BYTE DSCUDAPICALL dscEMMDIOResetInt DSCB  board,
DSCEMMDIORESETINT edge
 

BYTE DSCUDAPICALL dscEMMDIOSetState DSCB  board,
DSCEMMDIO state
 

BYTE DSCUDAPICALL dscEnhancedFeaturesEnable DSCB  board,
BOOL  enable
 

BYTE DSCUDAPICALL dscFree void   ) 
 

Referenced by ShutDownDAQCard().

BYTE DSCUDAPICALL dscFreeBoard DSCB  board  ) 
 

BYTE DSCUDAPICALL dscGetBoardMacro char *  boardtype,
BYTE *  macro
 

BYTE DSCUDAPICALL dscGetEEPROM DSCB  board,
DWORD  address,
BYTE *  data
 

DSCUDAPICALL char* dscGetErrorString BYTE  error_code  ) 
 

Referenced by ADscan().

BYTE DSCUDAPICALL dscGetFPGARev DSCB  board,
WORD *  fpga
 

BYTE DSCUDAPICALL dscGetLastError ERRPARAMS errparams  ) 
 

Referenced by DAConvert(), DIOOutputByte(), and InitDAQCard().

BYTE DSCUDAPICALL dscGetReferenceVoltages DSCB  board,
DFLOAT *  refs
 

BYTE DSCUDAPICALL dscGetRelay DSCB  board,
BYTE  relay,
BYTE *  value
 

BYTE DSCUDAPICALL dscGetRelayMulti DSCB  board,
BYTE  relayGroup,
BYTE *  value
 

BYTE DSCUDAPICALL dscGetStatus DSCB  board,
DSCS status
 

BYTE DSCUDAPICALL dscGetTime DWORD *  ms  ) 
 

BYTE DSCUDAPICALL dscInit WORD  version  ) 
 

Referenced by InitDAQCard().

BYTE DSCUDAPICALL dscInitBoard BYTE  boardtype,
DSCCB dsccb,
DSCB *  board
 

Referenced by InitDAQCard().

BYTE DSCUDAPICALL dscInp DWORD  address,
BYTE *  value
 

BYTE DSCUDAPICALL dscInpl DWORD  address,
DWORD *  value
 

BYTE DSCUDAPICALL dscInpw DWORD  address,
WORD *  value
 

BYTE DSCUDAPICALL dscInpws DWORD  address,
WORD *  buffer,
WORD  n
 

BYTE DSCUDAPICALL dscIR104ClearRelay DSCB  board,
BYTE  relay
 

BYTE DSCUDAPICALL dscIR104OptoInput DSCB  board,
BYTE  opto,
BYTE *  value
 

BYTE DSCUDAPICALL dscIR104RelayInput DSCB  board,
BYTE  relay,
BYTE *  value
 

BYTE DSCUDAPICALL dscIR104SetRelay DSCB  board,
BYTE  relay
 

BYTE DSCUDAPICALL dscOptoGetPolarity DSCB  board,
BYTE *  polarity
 

BYTE DSCUDAPICALL dscOptoGetState DSCB  board,
DSCOPTOSTATE state
 

BYTE DSCUDAPICALL dscOptoInputBit DSCB  board,
BYTE  port,
BYTE  bit,
BYTE *  optoValue
 

BYTE DSCUDAPICALL dscOptoInputByte DSCB  board,
BYTE  port,
BYTE *  optoValue
 

BYTE DSCUDAPICALL dscOptoSetState DSCB  board,
DSCOPTOSTATE state
 

BYTE DSCUDAPICALL dscOutp DWORD  address,
BYTE  value
 

BYTE DSCUDAPICALL dscOutpl DWORD  address,
DWORD  value
 

BYTE DSCUDAPICALL dscOutpw DWORD  address,
WORD  value
 

BYTE DSCUDAPICALL dscOutpws DWORD  address,
WORD *  buffer,
WORD  n
 

BYTE DSCUDAPICALL dscPauseOp DSCB  board  ) 
 

BYTE DSCUDAPICALL dscPCIInitBoard BYTE  boardtype,
DSCCBP dsccbp,
DSCB *  board
 

BYTE DSCUDAPICALL dscPICInp DSCB  board,
DWORD  address,
BYTE *  value
 

BYTE DSCUDAPICALL dscPICOutp DSCB  board,
DWORD  address,
BYTE  value
 

BYTE DSCUDAPICALL dscPICProgEnable DSCB  board,
BOOL  enable
 

BYTE DSCUDAPICALL dscPICProgGet DSCB  board,
BOOL *  din
 

BYTE DSCUDAPICALL dscPICProgSet DSCB  board,
BOOL  dout,
BOOL  dstate,
BOOL  cstate
 

BYTE DSCUDAPICALL dscPWMClear DSCB  board,
BYTE  pwm_circuit
 

BYTE DSCUDAPICALL dscPWMConfig DSCB  board,
BYTE *  config_byte
 

BYTE DSCUDAPICALL dscPWMFunction DSCB  board,
DSCPWM dscpwm
 

BYTE DSCUDAPICALL dscPWMLoad DSCB  board,
BYTE  pwm_circuit,
BYTE  counter,
DWORD  value
 

BYTE DSCUDAPICALL dscQMMCounterControl DSCB  board,
DSCQMM_MCC dscqmmmcc,
BYTE *  status
 

BYTE DSCUDAPICALL dscQMMMeasureFrequency DSCB  board,
BYTE  interval,
BYTE  source,
FLOAT *  freq
 

BYTE DSCUDAPICALL dscQMMMeasurePeriod DSCB  board,
BYTE  frequency,
FLOAT *  period
 

BYTE DSCUDAPICALL dscQMMPulseWidthModulation DSCB  board,
DSCQMM_PWM dscqmmpwm
 

BYTE DSCUDAPICALL dscQMMReadHoldRegister DSCB  board,
BYTE  counter,
WORD *  value
 

BYTE DSCUDAPICALL dscQMMReset DSCB  board  ) 
 

BYTE DSCUDAPICALL dscQMMSetCMR DSCB  board,
DSCQMM_CMR dscqmmcmr
 

BYTE DSCUDAPICALL dscQMMSetHoldRegister DSCB  board,
BYTE  counter,
WORD  value
 

BYTE DSCUDAPICALL dscQMMSetLoadRegister DSCB  board,
BYTE  counter,
WORD  value
 

BYTE DSCUDAPICALL dscQMMSetMMR DSCB  board,
DSCQMM_MMR dscqmmmmr
 

BYTE DSCUDAPICALL dscQMMSingleCounterControl DSCB  board,
BYTE  counter,
BYTE  action
 

BYTE DSCUDAPICALL dscQMMSpecialCounterFunction DSCB  board,
DSCQMM_SCF dscqmmscf
 

BYTE DSCUDAPICALL dscRegisterRead DSCB  board,
WORD  address,
BYTE *  data
 

BYTE DSCUDAPICALL dscRegisterWrite DSCB  board,
WORD  address,
BYTE  data
 

BYTE DSCUDAPICALL dscResumeOp DSCB  board  ) 
 

BYTE DSCUDAPICALL dscSetCalMux DSCB  board,
BOOL  on
 

BYTE DSCUDAPICALL dscSetEEPROM DSCB  board,
DWORD  address,
BYTE  data
 

BYTE DSCUDAPICALL dscSetReferenceVoltages DSCB  board,
DFLOAT *  refs
 

BYTE DSCUDAPICALL dscSetRelay DSCB  board,
BYTE  relay,
BYTE  value
 

BYTE DSCUDAPICALL dscSetRelayMulti DSCB  board,
BYTE  relayGroup,
BYTE  value
 

BYTE DSCUDAPICALL dscSetSystemPriority DWORD  priority  ) 
 

BYTE DSCUDAPICALL dscSetTrimDac DSCB  board,
DWORD  trimDac,
BYTE  value
 

BYTE DSCUDAPICALL dscSetUserInterruptFunction DSCB  board,
DSCUSERINTFUNCTION dscuserintfunc
 

BYTE DSCUDAPICALL dscSetUserInterruptFunctionType DSCB  board,
DSCUSERINTFUNCTION dscuserintfunc,
DWORD  int_type
 

BYTE DSCUDAPICALL dscSleep DWORD  ms  ) 
 

BYTE DSCUDAPICALL dscUserInt DSCB  board,
DSCUSERINT dscuserint,
DSCUserInterruptFunction  function
 

BYTE DSCUDAPICALL dscUserIntVB DSCB  board,
DSCUSERINT dscuserint
 

BYTE DSCUDAPICALL dscVoltageToADCode DSCB  board,
DSCADSETTINGS  adsettings,
DFLOAT  voltage,
DSCSAMPLE *  adcode
 

BYTE DSCUDAPICALL dscVoltageToDACode DSCB  board,
DSCDASETTINGS  dasettings,
DFLOAT  voltage,
DSCDACODE *  dacode
 

BYTE DSCUDAPICALL dscWatchdogDisable DSCB  board  ) 
 

BYTE DSCUDAPICALL dscWatchdogEnable DSCB  board,
WORD  timer16,
BYTE  timer8,
SDWORD  options
 

BYTE DSCUDAPICALL dscWatchdogTrigger DSCB  board  ) 
 

BYTE DSCUDAPICALL dscWGBufferSet DSCB  board,
DWORD  address,
DSCDACODE  value,
DWORD  channel,
BOOL  simul
 

BYTE DSCUDAPICALL dscWGCommand DSCB  board,
DWORD  cmd
 

BYTE DSCUDAPICALL dscWGConfigSet DSCB  board,
DSCWGCONFIG config
 


Variable Documentation

typedef DSCADCALPARAMS
 


Generated on Wed Sep 5 12:54:31 2007 for DSACSS Operational Code by  doxygen 1.3.9.1