2
0
2
2
-0
2
32
Configuration
Output of the Oldest Buffered DynamicContainer
Returns the oldest buffered DynamicContainer (see "DynamicContainer" on page 34) (see
ResetDynamicContainerGrabber). timeoutMs specifies the time in ms for which an attempt is
made to read a container from the buffer. If no container is present during this time, the function
returns an error.
Asynchronous Function
public async Task<(bool Succ, IVsxDynamicContainer Container, int
NumberOfDiscardedItems, Error ErrorDesc)> GetDynamicContainer(int
timeoutMs = System.Threading.Timeout.Inifinite)
Synchronous Function
public (bool Succ, IVsxDynamicContainer Container, int NumberOfDis-
cardedItems, Error ErrorDesc) GetDynamicContainer(int timeoutMs =
Timeout.Infinite)
Possible error IDs: VSX_DRIVER_INIT_ERROR, VSX_DRIVER_TIMEOUT_ERROR
Read Out Log Data
Restarts the readout of log data. The log data can be called up with the GetLogMessage func-
tion. The bufferSize specifies how many log data messages can be buffered by the driver. The
typeMask specifies which log data types should be transferred from the device, and the "strat-
egy" specifies what should happen if the buffer is full. _DROP_OLDEST indicates that the old-
est stored log message is discarded, while DROP_WRITE means the latest log message
received is discarded.
Asynchronous Function
public void ResetLogMessageGrabber(int bufferSize, int typeMask,
DataFunction.Strategy = DataFunction.Strategy.DROP_OLDEST)
Possible error IDs: None
Output of the Oldest Buffered LogMessage
Returns the oldest buffered LogMessage (see ResetLogMessageGrabber). timeoutMs speci-
fies the time in ms for which an attempt is made to read a log message from the buffer. If no log
message is present during this time, the function returns with an error.
Asynchronous Function
public async Task<(bool Succ, VsxLogMessage LogMessage, int NumberOf-
DiscardedItems, Error ErrorDesc)> GetLogMessage(int timeoutMs = Sys-
tem.Threading.Timeout.Inifinite)
Synchronous Function
public (bool Succ, VsxLogMessage LogMessage, int NumberOfDiscarded-
Items, Error ErrorDesc) GetLogMessage(int timeoutMs = Time-
out.Infinite)
Possible error IDs: VSX_DRIVER_INIT_ERROR, VSX_DRIVER_TIMEOUT_ERROR