|
<- can be used
as base class
|
|
|
|
|
|
|
|
|
no argument init - function uses first device it finds and all default args.
BOOLEAN
Init_SP( );
get current default device ID that was found by call to function Init_SP.
BOOLEAN
GetDefDev_SP
(USHORT* pusDevID);
|
|
| | | |
|
|
|
|
|
|
|
|
|
|
single argument rate change - function uses device from Init_SP()
BOOLEAN
ChangeCurDevRate_SP
(DOUBLE* pdblRate);
|
|
|
|
|
|
|
single argument calibration - function uses device from Init_SP()
BOOLEAN
Calibrate_SP
();
|
|
| | | |
|
|
|
|
|
|
|
|
|
|
single argument chan change - function uses device from Init_SP()
BOOLEAN
SetCurChan_SP
(BYTE bChan);
single argument chan read - function uses device from Init_SP()
BOOLEAN
GetCurChan_SP
(BYTE* pbCurChan);
|
|
|
|
analog output (Model 302 only)
|
|
|
|
analog output - function uses device from Init_SP()
BOOLEAN
SendAnalogOut_SP
(BYTE bDAC, DOUBLE dblVoltage);
|
|
|
|
|
|
|
single argument digital output - function uses device from Init_SP()
BOOLEAN
SendDigitalOutput_SP
(BYTE bDigOutVal);
|
|
|
|
|
|
|
single argument digital input - function uses device from Init_SP()
BOOLEAN
GetDigitalInput_SP
(BYTE* pbDiginVal);
|
|
| | | |
|
|
|
|
|
|
|
|
|
|
single argument getting voltage - function uses device from Init_SP()
BOOLEAN
GetOneVoltage_SP
(DOUBLE* pdblVoltage);
|
|
| | | |
|
|
|
|
|
|
|
|
|
|
single argument starting scan - function uses device from Init_SP(). Uses current channel.
BOOLEAN
StartScan_SP
();
|
|
|
|
|
|
|
single argument getting scan voltages - function uses device from Init_SP()
BOOLEAN
GetScanVoltage_SP
(PSCAN_INFO_USB_PNTS_SINGLE pScanInfoPntsSingle, DOUBLE* padblVoltages);
|
|
|
|
|
|
|
no argument ending scan - function uses device from Init_SP()
BOOLEAN
EndScan_SP
();
|
|
| | | |
|
|
|
|
|
|
|
get status of last class function call you made
|
|
|
|
single argument get last error for device from Init_SP().
BOOLEAN
GetLastDevError_SP
(UINT* puiErrorCode);
single argument get last error from any previously call function call, any device
BOOLEAN
GetLastAnyError_SP
(UINT* puiErrorCode);
|
|
|
|
get device connection and power status
|
|
|
|
get device connection and power status for device from Init_SP().
BOOLEAN
GetDevStatus_SP
(UINT* puiConnectionStat, UINT* puiPowerStat);
|
|
|
|
get device initialization status
|
|
|
|
no argument check to see if any device was initialized using call to Init_SP(). Returns TRUE if there was.
BOOLEAN
GetCurDevInitStatus_SP
();
|
|
|
|
|
|
|
check to see if device is scanning and/or if it is safe to start scanning. Uses device ID from Init_SP()
BOOLEAN
GetCurDevScanStatus_SP
(USHORT usDevID, BOOLEAN* fOkayToStartScan, BOOLEAN* fScanning);
|
|
| | | |
|
| | | |
|
|
<- can be used
as base class
|
|
|
|
|
|
|
|
|
no argument init - function uses first device it finds and all default args.
BOOLEAN
Init_SP ( );
get current default device ID address string if Init_SP was used. IP Address in format: xxx.xxx.xxx.xxx
BOOLEAN
GetDefDev_SP
(char* szDevIPAddress);
|
|
| | | |
|
|
|
|
|
|
|
|
|
|
single argument rate change - function uses device from Init_SP()
BOOLEAN
ChangeCurDevRate_SP
(DOUBLE* pdblRate);
|
|
|
|
|
|
|
single argument calibration - function uses device from Init_SP()
BOOLEAN
Calibrate_SP
();
|
|
| | | |
|
|
|
|
|
|
|
|
|
|
single argument chan change - function uses device from Init_SP()
BOOLEAN
SetCurChan_SP
(BYTE bChan);
single argument chan read - function uses device from Init_SP()
BOOLEAN
GetCurChan_SP
(BYTE* pbCurChan);
|
|
|
|
|
|
|
analog output - function uses device from Init_SP()
BOOLEAN
SendAnalogOut_SP
(BYTE bDAC, DOUBLE dblVoltage);
|
|
|
|
|
|
|
single argument digital output - function uses device from Init_SP()
BOOLEAN
SendDigitalOutput_SP
(BYTE bDigOutVal);
|
|
|
|
|
|
|
single argument digital input - function uses device from Init_SP()
BOOLEAN
GetDigitalInput_SP
(BYTE* pbDiginVal);
|
|
| | | |
|
|
|
|
|
|
|
get one 24-bit conversion
|
|
|
|
get one conversion (24-bit count) of device that you pass as arg
BOOLEAN
GetOneCount
(char* szDevAddress, UINT* puiRawCount);
|
|
|
|
|
|
|
single argument getting voltage - function uses device from Init_SP()
BOOLEAN
GetOneVoltage_SP
(DOUBLE* pdblVoltage);
|
|
| | | |
|
|
|
|
|
|
|
|
|
|
single argument starting scan - function uses device from Init_SP(). Uses current channel.
BOOLEAN
StartScan_SP
();
|
|
|
|
|
|
|
single argument getting scan voltages - function uses device from Init_SP()
BOOLEAN
GetScanVoltage_SP
(PSCAN_INFO_TCPIP_PNTS_SINGLE pScanInfoPntsSingle, DOUBLE* padblVoltages);
|
|
|
|
|
|
|
no argument ending scan - function uses device from Init_SP()
BOOLEAN
EndScan_SP
();
|
|
| | | |
|
|
|
|
|
|
|
get status of last class function call you made
|
|
|
|
single argument get last error for device from Init_SP().
BOOLEAN
GetLastDevError_SP
(UINT* puiErrorCode);
single argument get last error from any previously call function call, any device
BOOLEAN
GetLastAnyError_SP
(UINT* puiErrorCode);
|
|
|
|
get device connection status
|
|
|
|
get device connection and power status for device from Init_SP().
BOOLEAN
GetDevStatus_SP
(UINT* puiConnectionStat);
|
|
|
|
get device initialization status
|
|
|
|
no argument check to see if any device was initialized using call to Init_SP(). Returns TRUE if there was.
BOOLEAN
GetCurDevInitStatus_SP
();
|
|
|
|
|
|
|
check to see if device is scanning and/or if it is safe to start scanning. Uses device ID from Init_SP()
BOOLEAN
GetCurDevScanStatus_SP
(char* szDevAddress, BOOLEAN* fOkayToStartScan, BOOLEAN* fScanning);
|
|
|
NOTICE:
TCP/IP and Serial class not yet available.
(use browser BACK button to return to where you were)
|
|
|
|
|
|