Teledyne-lecroy FireInspector Automation Application Programming I Manuale Utente Pagina 47

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 92
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 46
43
FireInspector Automation User’s Manual
CATC Version 1.0
{
VARIANT var;
HRESULT hr = SafeArrayGetElement(packet_safearray, &i,
&var);
if (FAILED(hr))
{
::MessageBox( NULL, _T("Error accessing array"),
_T("FwAnalyzer client"), MB_OK );
return 1;
}
if ( var.vt != ( VT_UI1) )
{
::MessageBox( NULL, _T("Array of bytes expected"),
_T("FwAnalyzer client"), MB_OK );
return 1;
}
_stprintf( elem, _T("%02X "), V_UI1(&var) );
_tcscat( packet_message, elem );
}
_stprintf( elem, _T("%d bits"), number_of_bits );
_tcscat( packet_message, elem );
::MessageBox( NULL, packet_message, _T("Raw packet
bits"), MB_OK );
}
else
{
::MessageBox( NULL, _T("Invalid argument"),
_T("FwAnalyzer client"), MB_OK );
}
Vedere la pagina 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 91 92

Commenti su questo manuale

Nessun commento