Denso BHT-202Q Instrukcja Użytkownika Strona 359

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 407
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 358
OutBufferCount
Acquires the size of meaningful data in the send buffer (out buffer).
Syntax
[VB]
Public Property ReadOnly OutBufferCount As Integer
[C#]
public int OutBufferCount {get}
Property
Size of meaningful data in the send buffer (out buffer) (bytes)
Exceptions
Name of Exception Meaning
ObjectDisposedException The COM port has not been opened yet.
Note
Data can be stored in the send buffer (out buffer) using the Output method.
If the port is closed by specifying "false" for the PortOpen property, the size of
meaningful data is reset to “0”.
[Ex.] Send the len(byte) data when there is no longer any data in the send buffer.
[VB]
If MyComm.OutBufferCount = 0 Then
MyComm.Output(buffer, 0, len)
End If
[C#]
if (MyComm.OutBufferCount == 0)
{
MyComm.Output(buffer, 0, len);
}
350
Przeglądanie stron 358
1 2 ... 354 355 356 357 358 359 360 361 362 363 364 ... 406 407

Komentarze do niniejszej Instrukcji

Brak uwag