Read-only
About FIFO

DataAsBytes Property


Description

Reads the FIFO buffer data as a Variant of a specified array size (SafeArray) of bytes.

 VB Syntax

varray = fifo.DataAsBytes(bytecount)

Variable

(Type) - Description

varray

(Variant) Variable to store the returned data.

fifo

A FIFO Object

bytecount

(Long Integer) Number of data points to read.

Return Type

Variant

Default

Not Applicable

Examples

value = fifo.DataAsBytes(4096) 'Read

C++ Syntax

HRESULT get_DataAsBytes(long bytecount, VARIANT* varray);

Interface

IFIFO2