Teledyne-lecroy Conquest API Manual - API Manual Manual do Utilizador Página 10

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 48
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 9
IUsbGeneral Services Interface
4
AttachToDevice
Declaration: long AttachToDevice(LPCTSTR lpctstrMacAddress)
Input(s): lpctstrMacAddress specifies hardware MAC address.
Return Value: Zero if AttachToDevice was successful. Otherwise, non-zero.
Each nonzero value indicates an error code.
Remark: This method attaches the software to the requested hardware
specified by its MAC address.
See Also API Errors
GetDeviceIDList
Declaration: BSTR GetDeviceIDList(long nPortType)
Input(s): nPortType specifies hardware port type.
Valid port types are listed below.
Return Value: Each Device ID is separated with ',', and each Device ID number is in
hexadecimal format, such as
"0200000E850002D8,0400000E85000131".
Remark: This method enumerates all available devices on the selected port
and returns available device IDs in string format.
DetachDevice
Declaration: long DetachDevice()
Input(s): None
Return Value: Zero if the DetachDevice was successful. Otherwise, non-zero.
Each non-zero value indicates an error code.
Remark: This function detaches the device from the analyzer.
See Also API Errors
SaveSmpAsText
Declaration: long SaveSmpAsText(LPCTSTR strSmpFilePath,
LPCTSTR strTextFilePath)
Input(s): strSmpFilePath specifies path of sample file (.smp).
strTextFilePath specifies path of out text file.
Return Value: Zero if the SaveSmpAsText was successful. Otherwise, non-zero.
Each non-zero value indicates an error code.
Remark: This function converts smp file to text file and saves it.
See Also: API Errors
CEIHAL_PORT_USB 0x02
CEIHAL_PORT_TCP 0x04
CEIHAL_PORT_EPP 0x08
Vista de página 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 47 48

Comentários a estes Manuais

Sem comentários