Teledyne-lecroy Conquest API Manual - API Manual Uživatelský manuál Strana 32

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 48
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 31
IExerciser
26
FindDevice
Declaration: long FindDevice()
Inputs: None
Return Value: Error code or zero (no error)
Remark: This function finds any devices that are attached to the exerciser.
See Also: API Errors
GetFoundDevicesNo
Declaration: short GetFoundDevicesNo()
Input(s): None
Return Value: Number of devices found
Remark: This function returns the number of devices found.
Note: Use this function after a call to the FindDevice function.
GetDeviceEndPointsNo
Declaration: long GetDeviceEndPointsNo(short sDeviceIndex,
short* sEndPointsNo)
Input(s): sDeviceIndex sets index of device.
sEndPointsNo sets the number of endpoints of the device and fills in
the function if the device index exists.
Return Value: Error code or zero (no error)
Remark: This function fills sEndPointsNo if the passed device index exists.
See Also API Errors
GetEndPointType
Declaration: long GetEndPointType(short sDeviceIndex, short sEndPointIndex,
short* sEndpointType)
Input(s): sDeviceIndex sets index of found device.
sEndPointIndex sets index of endpoint of a found device.
sEndpointType sets endpoint type of specified endpoint. This
parameter fills if the device index and endpoint index exist.
Return Value: Error code or zero (no error)
Remark: This function fills sEndPointType if passed device index and endpoint
index exist.
See Also: API Errors
Zobrazit stránku 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 47 48

Komentáře k této Příručce

Žádné komentáře