4. UD Function Reference
byte dscInit(ushort DSC_VERSION)
byte dscFree() (void)
byte dscInitBoard(byte DSC_DMM16RPAT, ref DSCCB dsccb, ref short board)
byte dscPCIInitBoard(byte DSC_DMM16RPAT_PCI, ref DSCCBP dsccbp, ref short board)
A/D Functions
byte dscADSetSettings(short board, ref DSCADSETTINGS settings)
byte dscADSetChannel(short board, byte low_channel, byte high_channel)
byte dscADSample(short board, ref short sample)
byte dscADScan(short board, ref DSCADSCAN dscadscan, IntPtr sample_values)
D/A Functions
byte dscDAConvert(short board, byte channel, UInt32 output_code)
byte dscDAConvertScan(short board, ref DSCDACS dscdacs)
DIO Functions
byte dscDIOSetConfig(short board, ref byte config)
byte dscDIOInputByte(short board, byte port, ref byte digital_value)
byte dscDIOOutputByte(short board, byte port, byte digital_value)
byte dscDIOInputBit(short board, byte port, byte bit, ref byte digital_value)
byte dscDIOOutputBit(short board, byte port, byte bit, byte digital_val)
Counter Functions
byte dscCounterSetRateSingle(short board, float hertz, UInt32 ctr)
byte dscCounterRead(short board, ref DSCCR dsccr)
Calibration Functions
byte dscSetCalMux(short board, int on)
byte dscADAutoCal(short board, ref DSCAUTOCAL ADCALparams)
byte dscDAAutoCal(short board, ref DSCDACALPARAMS DACALparam)
byte dscADCalVerify(short board, ref DSCAUTOCAL ADCALparams)
byte dscDACalVerify(short board, ref DSCDACALPARAMS DACALparam)
byte dscGetReferenceVoltages(short board, IntPtr refs)
byte dscSetReferenceVoltages(short board, IntPtr refs)
Error Functions
byte dscGetLastError(ref ERRPARAMS errparams)
IntPtr dscGetErrorString(byte error_code)
Miscellaneous Functions
BYTE dscSleep (DWORD ms)
byte dscGetEEPROM(short board, UInt32 address, ref byte data)
byte dscInp(uint address, ref byte value)
byte dscADCodeToVoltage(short dscb, DSCADSETTINGS adsettings, short adcode, ref double voltage)
byte dscLEDTest(short board, int enable)
Last updated
Was this helpful?