XY
- Updated2023-02-17
- 4 minute(s) read
XY
Writes data to a session of Signal Output XY mode. The data represents a sequence of signal values for transmit using each frame's timing as the database specifies.
.gvi.png?_LANG=enus)
Inputs/Outputs

session in
The session to write.

data
An input that provides an array of LabVIEW clusters.
The data you write is queued up for transmit on the network. Using the default queue configuration for this mode, you can safely write 64 elements if you have a sufficiently long timeout. To write more data, refer to the XNET Session Number of Values Unused property to determine the actual amount of queue space available for writing.
Each cluster contains two arrays, one for value, and one for timestamp. Each value is mapped to a frame for transmit. When signals exist in different frames, the array sizes may be different from one cluster (signal) to another.

timestamp
The array of LabVIEW timestamps.

value
The array of signal values, one for each frame that contains the signal.
Each signal value is scaled, 64-bit floating point.

timeout
The time to wait for the data to be queued for transmit.
The timeout is a LabVIEW relative time, represented as 64-bit floating-point in units of seconds.
If timeout is positive, XNET Write (Signal XY) waits up to that timeout for space to become available in queues. If the space is not available prior to the timeout, a timeout error is returned.
If timeout is negative, XNET Write (Signal XY) waits indefinitely for space to become available in queues.
If timeout is 0, XNET Write (Signal XY) does not wait and immediately returns with a timeout error if all data cannot be queued. Regardless of the timeout used, if a timeout error occurs, none of the data is queued, so you can attempt to call XNET Write (Signal XY) again at a later time with the same data.
This input is optional. The default value is 10.0 (10 seconds).

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

session out
An output that is the same as session in, provided for use with subsequent nodes.

error out
Error information.
The node produces this output according to standard error behavior.