LogoLogo
Home
  • 🏠Home
  • Open API Application
  • ReXgen API Documentation
    • ReXgen Open API
  • Data Conversion Library
    • RxLibrary.dll()
      • RxLib.XmlToRxc()
      • RxLib.ConvertData()
      • RxLib.ConvertStatus()
  • Device Library
    • RgUSBdrv.dll
      • DeviceIsReady()
      • GetFirmwareVersion()
      • SendConfiguration()
      • ReflashLogger()
      • InitLiveData()
      • StopLiveData()
      • GetDateTime()
      • SetDateTime()
      • GetLogCount()
      • FormatSDCard()
      • GetSDLogInfo()
      • GetLogData()
Powered by GitBook
On this page
Export as PDF
  1. Device Library
  2. RgUSBdrv.dll

DeviceIsReady()

Checks the status of the connected device.

C#

[DllImport("RGUSBdrv.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern byte DeviceIsReady();

Returns:

> 0 if the device is connected.

C# Example:

public static bool Connected
{
get
{
  bool ok = DeviceIsReady() > 0 ? true : DeviceIsReady() > 0;

  return ok;
}
}
PreviousRgUSBdrv.dllNextGetFirmwareVersion()

Last updated 1 year ago