Teledyne-lecroy SAS_SATA Automation API manual Manual de usuario Pagina 105

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 150
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 104
AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite 99
SASPacketObject
TeledyneLeCroy
IPacket::GetPacketData
HRESULT GetPacketData (
[in] EPacketFormat format,
[out] VARIANT* packet,
[out, retval] long* number_of_bytes )
Retrievesarawpacketrepresentation.
Parameters
format Datarepresentationformat
TheEPacketFormatenumeratorhasthefollowingvalues:
PACKETFORMAT_BYTES ( 0 ) bytes
PACKETFORMAT_SCRAMBLED_BYTES ( 1 ) scrambledbyte s
PACKETFORMAT_TEN_BIT ( 2 )10bitcodes
packet Rawpacketdata
number_of_bytes Numberofbytesinthepacket
ReturnValue
ANALYZERCOMERROR_WRONGCALL Unknownpacketformatspecified
Remarks
ThepacketparameterhasVT_ARRAY|VT_VARIANTactualautomationtype.
ForPACKETFORMAT_BYTES andPACKETFORMAT_SCRAMBLED_BYTES,eachelementof
thisarrayhastheVT_UI1automationtype.
ForPACKETFORMAT_TEN_BIT,eachelementofthisarrayhastheVT_UI2automation
type.
Example
VBScript:
<OBJECT
ID = Analyzer
CLASSID = "clsid: 0B179BB7-DC61-11d4-9B71-000102566088"
>
</OBJECT>
<INPUT TYPE=TEXT NAME="TextPacketNumber">
<P ALIGN=LEFT ID=StatusText></P>
<SCRIPT LANGUAGE="VBScript">
<!--
Function DecToBin(Param, NeedLen)
While Param > 0
Param = Param/2
Vista de pagina 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 149 150

Comentarios a estos manuales

Sin comentarios