CVB.Net 14.0
IPortNode Interface Reference

GenICam GenApi node that enable read/write access to e.g. a device. More...

Inherits INode.

Inherited by PortNode.

Public Member Functions

void Read (long address, IntPtr bufferPointer, long bufferLength)
 Reads memory from the remote device into the given buffer. More...
 
void Read (long address, byte[] buffer)
 Reads memory from the remote device into the given buffer . More...
 
void Write (long address, IntPtr bufferPointer, long bufferLength)
 Writes memory from the given buffer to the remote device. More...
 
void Write (long address, byte[] buffer)
 Writes the the given buffer to the remote device. More...
 

Additional Inherited Members

- Properties inherited from INode
INodeMap NodeMap [get]
 Gets the INodeMap this node resides in.
 
string Name [get]
 Gets the full name of this node. More...
 
string ToolTip [get]
 Gets the short descriptive text of this node. More...
 
string Description [get]
 Gets the long descriptive text of this node. More...
 
AccessMode AccessMode [get]
 Gets the GenApi.AccessMode of this node.
 
bool IsImplemented [get]
 AccessMode helper to check whether this node is implemented.
 
bool IsAvailable [get]
 AccessMode helper to check whether this node is available.
 
bool IsReadable [get]
 AccessMode helper to check whether this node is readable.
 
bool IsWritable [get]
 AccessMode helper to check whether this node is writable.
 
CacheMode CacheMode [get]
 Gets the cache mode of this node. More...
 
string EventID [get]
 Nodes with an event identifier may become invalidated if an event/message is delivered from the device.
 
bool IsFeature [get]
 Gets whether this node is considered a feature node. More...
 
bool IsDeprecated [get]
 Gets whether this node is considered deprecated. More...
 
Visibility Visibility [get]
 Gets the complexity level of this node. More...
 
INode AliasNode [get]
 Gets the node that is an alias value for this node. More...
 

Detailed Description

GenICam GenApi node that enable read/write access to e.g. a device.

Member Function Documentation

◆ Read() [1/2]

void Read ( long  address,
byte[]  buffer 
)

Reads memory from the remote device into the given buffer .

The number of bytes read depend on the Array.Length of the given buffer .

Parameters
addressAddress to read from.
bufferByte array to read to.

Implemented in PortNode.

◆ Read() [2/2]

void Read ( long  address,
IntPtr  bufferPointer,
long  bufferLength 
)

Reads memory from the remote device into the given buffer.

Use of this method is unsafe; prefer using the typed nodes instead or reading into byte-arrays if necessary.

Parameters
addressAddress to read from.
bufferPointerBuffer to store data into.
bufferLengthNumber of bytes to read; buffer must have at least that many bytes of allocated memory.

Implemented in PortNode.

◆ Write() [1/2]

void Write ( long  address,
byte[]  buffer 
)

Writes the the given buffer to the remote device.

The number of bytes written depend on the Array.Length of the given buffer .

Parameters
addressAddress to write to.
bufferByte array to write.

Implemented in PortNode.

◆ Write() [2/2]

void Write ( long  address,
IntPtr  bufferPointer,
long  bufferLength 
)

Writes memory from the given buffer to the remote device.

Use of this method is unsafe; prefer using the typed nodes instead or writing from byte-arrays if necessary.

Parameters
addressAddress to write to.
bufferPointerBuffer to write to device.
bufferLengthNumber of bytes in the buffer.

Implemented in PortNode.