Exemple #1
0
        public void Disconnect()
        {
            if (_deviceHandle != Avaspec.INVALID_AVS_HANDLE_VALUE)
            {
                int l_Res = (int)Avaspec.AVS_StopMeasure((IntPtr)_deviceHandle);

                if (Avaspec.ERR_SUCCESS != l_Res)
                {
                    //MessageBox.Show("Error in AVS_StopMeasure, code: " + l_Res.ToString(), "Avantes",
                    //    MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            Avaspec.AVS_Done();
        }
Exemple #2
0
 public void StopMeasurement()
 {
     Avaspec.AVS_StopMeasure((IntPtr)_deviceHandle);
 }