daveReadBytes

Read len bytes from the PLC.

version(BindNodave_Static)
extern (C) @nogc nothrow
int
daveReadBytes
(,
int area
,
int DB
,
int start
,
int len
,
void* buffer
)

Parameters

dc daveConnection*

A daveConnection

area int

Denotes whether the data comes from FLAGS, DATA BLOCKS,

DB int

The number of the data block to be used. Set it to zero for other area type

start int

First byte.

len int

Number of bytes to read

buffer void*

Pointer to a memory block provided by the calling program. If the pointer is not NULL, the result data will be copied thereto. Hence it must be big enough to take up the result.

Meta