CL Comm Basic Stream Server (Bool Vector) End of trail navigation bar

Table of Contents >Quanser Rapid Control Prototyping Toolkit >VI and Function Reference >VIs - By Category >VI Categories >Communication VIs and Functions >Basic >CL Comm Basic Stream Server >

CL Comm Basic Stream Server (VAR)

CL Comm Basic Stream Server (VAR)

Parent Polymorphic VI:CL Comm Basic Stream Server

Requirements:Quanser Rapid Control Prototyping Toolkit, LabVIEW 2020 or newer, Control Design and Simulation Module


Description

Automatically listens as a server using the specified communications protocol and transmits and receives data. The connection is persistent - if the connection is lost, it automatically reconnects.


Outputs

value read

value read is the data received. If there was no data available to be received then the output is set to the default value. Use the new output to determine whether the data is actually new.

new

new indicates whether the data at the value read output is new.

sent

sent indicates whether the data at the value to send input was sent.

state

state is the state of the connection.

error out error out contains error information. If the error in cluster indicated an error, the error out cluster contains the same information. Otherwise, error out describes the error status of this VI.
status icon status is TRUE if an error occurred. If status is TRUE, the VI does not perform any operations.
code icon code is the error code number identifying an error. A value of 0 means no error, a negative value means a fatal error, and a positive value is a warning. Refer to the Quanser Error Codes for a code description.
source icon source identifies where an error occurred. The source string is usually the name of the VI that produced the error.


Details

This VI implements persistent communications with a local or remote peer. If the connection is lost for any reason then it attempts to reconnect and re-establish communications automatically.


Feedthrough Behaviour

All input/output pairs of this function have direct feedthrough behaviour.


Examples

  • RCP CL Comm Basic Stream Example This example demonstrates how to use the Basic Communication VIs from the RCP Toolkit to establish a connection between two VI models.
  • RCP CL Comm Basic Stream Mixed Types Example This example demonstrates how to use the Basic Communication VIs from the RCP Toolkit to establish a connection between two VI models.


    See Also

  • CL Comm Basic Stream Client

    Automatically connects to a server using the specified communications protocol and transmits and receives data. The connection is persistent - if the connection is lost, it automatically reconnects.


    Targets

    Target

    Supported

    Comments

    RCP Windows (64-bit) Target

    Yes

    Fully supported.

     

    navigation bar