DataLoggingFile.NumberOfBytesToRead Property
- Aktualisiert2023-02-21
- 2 Minute(n) Lesezeit
Gets or sets the maximum number of raw bytes to read. This number does not represent the number of frames to read. CAN and LIN frames are always 24 bytes long. FlexRay frames vary in length.
Namespace:
NationalInstruments.VeriStand.SystemDefinitionAPIAssembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| Visual Basic (Declaration) |
|---|
Public Overridable Property NumberOfBytesToRead As UInteger |
| C# |
|---|
public virtual uint NumberOfBytesToRead { get; set; } |
| Visual C++ |
|---|
public: virtual property unsigned int NumberOfBytesToRead { unsigned int get (); void set (unsigned int value); } |
Property Value
An unsigned 32-bit integer representing the number of bytes to read.
Remarks
Be sure to specify a number that is big enough to avoid a buffer overflow when reading data. If an overflow occurs, logging stops and the DataFileError channel returns an error.
The larger the number you specify, the more memory data logging requires. To avoid additional dynamic memory allocation, try to determine the bus load for your session before starting a data logging operation. |