Configures the network settings of a shared variable.


icon

Inputs/Outputs

  • cgenclassrntag.png variable reference in

    variable reference in specifies a reference number for a shared variable. Use the Create Shared Variable VI to create a refnum for a shared variable.

  • ccclst.png network settings

    network settings specifies the network settings for the shared variable.

  • cbool.png use binding? (F)

    use binding? specifies whether LabVIEW binds the shared variable to the URL that you specify in the URL text box. The default is FALSE.

  • cstr.png URL

    URL specifies the path to the shared variable or data item to which you want to bind the shared variable. The format of the path to an NI Publish-Subscribe Protocol (NI-PSP) data item is \\computer\process\data_item.

  • cenum.png access type

    access type specifies how you want to access the shared variable.

  • cu32.png buffer size

    buffer size specifies the size, in bytes, of the NI-PSP buffer. The default is 50. You must set use buffering? to TRUE before using this input.

  • cbool.png use buffering? (F)

    use buffering? specifies whether LabVIEW enables NI-PSP buffering for the shared variable. The default is FALSE.

  • cbool.png single writer? (F)

    single writer? specifies whether the shared variable accepts value changes from only one target at a time. The default is FALSE.

    By default, multiple targets can write to a single shared variable at the same time. The Shared Variable Engine (SVE) processes the requests to write to the shared variable in the order in which the requests arrive. If this input is TRUE, the SVE restricts writing to a single VI on a single computer. The first writer that connects to the shared variable can write values and any subsequent writers cannot. When the first writer disconnects, the next writer in the queue can write values to the shared variable. LabVIEW notifies writers that cannot write to the shared variable.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • igenclassrntag.png variable reference out

    variable reference out returns the shared variable refnum that you wire to the variable reference in input.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.