LabVIEW Wireless Sensor Network Module

User RAM BlockCopy VI

  • Updated2023-02-21
  • 3 minute(s) read

User RAM BlockCopy VI

Owning Palette: User RAM VIs

Requires: LabVIEW WSN Module

Copies data to the specified block in the user RAM. This VI allocates a block of memory if you do not wire dest reference in.

src reference in is a reference to the data to copy to the user RAM.
dest reference in is a reference to the block of memory to which to copy the data referenced by src reference in.
dest offset in (0) specifies the element offset to start copying data to in the block of memory. The default value is 0.
count (1) specifies the number of elements to copy. The default value is 1.
error in describes error conditions that occur before this VI runs. The default is no error. If an error occurred before this VI runs, the VI passes the error in value to error out. This VI runs normally only if no error occurred before this VI runs. If an error occurs while this VI runs, it runs normally and sets its own error status in error out. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
src offset in (0) specifies the element offset to start copy data from in the src reference in. The default value is 0.
src reference out returns src reference in.
dest reference out returns dest reference in.
dest offset out returns the element offset after copying data to the block of user RAM.
error out contains an error code. If error in indicates that an error occurred before this VI ran, error out contains the same value. Otherwise it contains the error code that this VI produces. The value will be 0 if no error occurred, and non-zero if an error occurred.

This VI can return the LabVIEW WSN Module error codes.
src offset out returns the element offset of src reference in after copying the data.