NetOceanDirect  3.1.1
OceanDirect .NET API
AutoNulling.h
1 #pragma once
2 #include "ManagedObject.h"
3 #include "api/advanced/AutoNullingAPI.h"
4 using oceandirect::api::AutoNullingAPI;
5 
6 namespace NetOceanDirect {
7 
8  public ref class AutoNulling : public ManagedObject<AutoNullingAPI>
9  {
10  protected:
11  AutoNulling();
12  public:
13  AutoNulling(AutoNullingAPI* instance);
14 
15  virtual ~AutoNulling() {};
16  static AutoNulling^ getInstance();
17 
19  //* Enables/disables the specified strobe lamp connected to the given device.
20  //*
21  //* @param[in] deviceID the device ID for the device to be configured (from OceanDirect::findDevices())
22  //* @param[out] errorCode set to 0 if successful, an OceanDirect error code (nonzero) otherwise
23  //* ERROR_NO_DEVICE if deviceID is not a valid and open deviceID
24  //* ERROR_FEATURE_NOT_FOUND if device does not support this feature
25  //* ERROR_TRANSFER_ERROR if data transfer to/from device fails
26  //* @param[in] enable if true, lamp is to be enabled - will be disabled otherwise
27  //*
28  //* @see isEnabled()
29  //*/
30 
31  int getMaximumADCCount(long deviceID, int% errorCode);
32  int getSaturationLevel(long deviceID, int% errorCode);
33  int getBaselineLevel(long deviceID, int% errorCode);
34 
35  int getFPGADigitalGain(long deviceID, int% errorCode);
36  int getFPGADigitalOffset(long deviceID, int% errorCode);
37 
38  protected:
39  static AutoNulling^ autonulling;
40 
41  };
42 }
Definition: AutoNulling.h:9
int getMaximumADCCount(long deviceID, int% errorCode)
‍**
Definition: AutoNulling.cpp:20
Definition: ManagedObject.h:16