Dataman 520 Series User Manual
Page 23
Development kit for DATAMAN 520 series
Programmer’s Guide
/* Flag for each item indicating if it is in sampling mode */
bool fSamplingMode;
/* Value to be filled in the device registry */
unsigned short int fRegistryCombination;
};
struct DeviceSweepSettings {
/* Count of used values in arrays */
int fItemsCount;
/* Array of sweep values */
int fSweepValue [16];
};
struct DeviceTimeBaseSettings {
/* Count of used values in arrays */
int fItemsCount;
/* Sampling Mode level */
int fSamplingModeLevel;
/* Array of TTimeBaseItems */
TimeBaseItem fTimeBaseItems[31] ;
};
/* Device contex structure is filled at device initialization/detection time with proper
values for given device type */
struct DeviceContext {
/* Link to sweep settings instance */
struct DeviceSweepSettings fDeviceSweepSettings;
/* Link to timebase settings instance */
struct DeviceTimeBaseSettings fDeviceTimeBaseSettings;
/* Link to density settings instance */
struct DeviceDensitySettings fDeviceDensitySettings;
/* Count of samples displayed per screen for Sweep 1:1 */
int fMeasurementView;
/* Count of samples displayed per divider for Sweep 1:1 */
int fPointsPerDivider;
/* Device memory size */
int fDeviceMemorySize;
/* Device ID */
int fDeviceID;
};
struct ScopeDriverVersion {
/* Driver Major version */
unsigned char MajorVersion;
/* Driver Minor version */
unsigned char MinorVersion;
};
- 23 -