Write Session Variable VI

Owning Palette: Sessions VIs

Requires: Full Development System (Real-Time, Windows)

Creates or replaces a session variable or set of session variables associated with the current HTTP request. The data type you wire to the value input determines the polymorphic instance to use.

Note  For more information about concepts in this topic, refer to the Web services introduction and tutorial.

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

Write Single Session Variable

LabVIEW Web Service Request is an identifier used by Web Services VIs to reference a specific HTTP request. LabVIEW Web Service Request works similarly to a refnum in LabVIEW, allowing you to wire together Web Services VIs within your application. You must wire Web Services VIs to the LabVIEW Web Service Request control or an existing value from the LabVIEW Web Service Request out terminal of another VI.

When you use Web Services VI(s) within a Web method VI, you must assign the original LabVIEW Web Service Request control to the connector pane of the Web method VI.
key identifies the name of the session variable to create or replace.
value specifies the value to assign to the session variable.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
LabVIEW Web Service Request out is an identifier that VIs on the Web Services palette use to reference a specific HTTP request. Use LabVIEW Web Service Request out to wire together Web Services VIs within your application.
previous value returns the value of the session variable overwritten by the VI.
replaced? indicates whether the VI overwrote a session variable. replaced? returns FALSE if the VI created a new session variable.
error out contains error information. This output provides standard error out functionality.

Write Many Session Variables

LabVIEW Web Service Request is an identifier used by Web Services VIs to reference a specific HTTP request. LabVIEW Web Service Request works similarly to a refnum in LabVIEW, allowing you to wire together Web Services VIs within your application. You must wire Web Services VIs to the LabVIEW Web Service Request control or an existing value from the LabVIEW Web Service Request out terminal of another VI.

When you use Web Services VI(s) within a Web method VI, you must assign the original LabVIEW Web Service Request control to the connector pane of the Web method VI.
keys identifies an array of names for session variables to create or replace.
values specifies an array of values to assign to the session variables.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
LabVIEW Web Service Request out is an identifier that VIs on the Web Services palette use to reference a specific HTTP request. Use LabVIEW Web Service Request out to wire together Web Services VIs within your application.
previous values returns an array of values for session variables overwritten by the VI.
replaced ? indicates whether the VI overwrote any session variables.
error out contains error information. This output provides standard error out functionality.

Write Boolean Session Variable

LabVIEW Web Service Request is an identifier used by Web Services VIs to reference a specific HTTP request. LabVIEW Web Service Request works similarly to a refnum in LabVIEW, allowing you to wire together Web Services VIs within your application. You must wire Web Services VIs to the LabVIEW Web Service Request control or an existing value from the LabVIEW Web Service Request out terminal of another VI.

When you use Web Services VI(s) within a Web method VI, you must assign the original LabVIEW Web Service Request control to the connector pane of the Web method VI.
key identifies the name of the session variable to create or replace.
value specifies the Boolean value to assign to the session variable.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
LabVIEW Web Service Request out is an identifier that VIs on the Web Services palette use to reference a specific HTTP request. Use LabVIEW Web Service Request out to wire together Web Services VIs within your application.
previous value returns the value of the session variable overwritten by the VI.
replaced? indicates whether the VI overwrote a session variable. replaced? returns FALSE if the VI created a new session variable.
error out contains error information. This output provides standard error out functionality.

Write Many Boolean Session Variables

LabVIEW Web Service Request is an identifier used by Web Services VIs to reference a specific HTTP request. LabVIEW Web Service Request works similarly to a refnum in LabVIEW, allowing you to wire together Web Services VIs within your application. You must wire Web Services VIs to the LabVIEW Web Service Request control or an existing value from the LabVIEW Web Service Request out terminal of another VI.

When you use Web Services VI(s) within a Web method VI, you must assign the original LabVIEW Web Service Request control to the connector pane of the Web method VI.
keys identifies an array of names for session variables to create or replace.
values specifies the array of Boolean values to assign to the session variables.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
LabVIEW Web Service Request out is an identifier that VIs on the Web Services palette use to reference a specific HTTP request. Use LabVIEW Web Service Request out to wire together Web Services VIs within your application.
previous values returns an array of values for session variables overwritten by the VI.
replaced ? indicates whether the VI overwrote any session variables.
error out contains error information. This output provides standard error out functionality.

Write Double Session Variable

LabVIEW Web Service Request is an identifier used by Web Services VIs to reference a specific HTTP request. LabVIEW Web Service Request works similarly to a refnum in LabVIEW, allowing you to wire together Web Services VIs within your application. You must wire Web Services VIs to the LabVIEW Web Service Request control or an existing value from the LabVIEW Web Service Request out terminal of another VI.

When you use Web Services VI(s) within a Web method VI, you must assign the original LabVIEW Web Service Request control to the connector pane of the Web method VI.
key identifies the name of the session variable to create or replace.
value specifies the numeric value to assign to the session variable.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
LabVIEW Web Service Request out is an identifier that VIs on the Web Services palette use to reference a specific HTTP request. Use LabVIEW Web Service Request out to wire together Web Services VIs within your application.
previous value returns the value of the session variable overwritten by the VI.
replaced? indicates whether the VI overwrote a session variable. replaced? returns FALSE if the VI created a new session variable.
error out contains error information. This output provides standard error out functionality.

Write Many Double Session Variables

LabVIEW Web Service Request is an identifier used by Web Services VIs to reference a specific HTTP request. LabVIEW Web Service Request works similarly to a refnum in LabVIEW, allowing you to wire together Web Services VIs within your application. You must wire Web Services VIs to the LabVIEW Web Service Request control or an existing value from the LabVIEW Web Service Request out terminal of another VI.

When you use Web Services VI(s) within a Web method VI, you must assign the original LabVIEW Web Service Request control to the connector pane of the Web method VI.
keys identifies an array of names for session variables to create or replace.
values specifies the array of numeric values to assign to the session variables.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
LabVIEW Web Service Request out is an identifier that VIs on the Web Services palette use to reference a specific HTTP request. Use LabVIEW Web Service Request out to wire together Web Services VIs within your application.
previous values returns an array of values for session variables overwritten by the VI.
replaced ? indicates whether the VI overwrote any session variables.
error out contains error information. This output provides standard error out functionality.

Write Integer Session Variable

LabVIEW Web Service Request is an identifier used by Web Services VIs to reference a specific HTTP request. LabVIEW Web Service Request works similarly to a refnum in LabVIEW, allowing you to wire together Web Services VIs within your application. You must wire Web Services VIs to the LabVIEW Web Service Request control or an existing value from the LabVIEW Web Service Request out terminal of another VI.

When you use Web Services VI(s) within a Web method VI, you must assign the original LabVIEW Web Service Request control to the connector pane of the Web method VI.
key identifies the name of the session variable to create or replace.
value specifies the numeric value to assign to the session variable.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
LabVIEW Web Service Request out is an identifier that VIs on the Web Services palette use to reference a specific HTTP request. Use LabVIEW Web Service Request out to wire together Web Services VIs within your application.
previous value returns the value of the session variable overwritten by the VI.
replaced? indicates whether the VI overwrote a session variable. replaced? returns FALSE if the VI created a new session variable.
error out contains error information. This output provides standard error out functionality.

Write Many Integer Session Variables

LabVIEW Web Service Request is an identifier used by Web Services VIs to reference a specific HTTP request. LabVIEW Web Service Request works similarly to a refnum in LabVIEW, allowing you to wire together Web Services VIs within your application. You must wire Web Services VIs to the LabVIEW Web Service Request control or an existing value from the LabVIEW Web Service Request out terminal of another VI.

When you use Web Services VI(s) within a Web method VI, you must assign the original LabVIEW Web Service Request control to the connector pane of the Web method VI.
keys identifies an array of names for session variables to create or replace.
values specifies the array of numeric values to assign to the session variables.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
LabVIEW Web Service Request out is an identifier that VIs on the Web Services palette use to reference a specific HTTP request. Use LabVIEW Web Service Request out to wire together Web Services VIs within your application.
previous values returns an array of values for session variables overwritten by the VI.
replaced ? indicates whether the VI overwrote any session variables.
error out contains error information. This output provides standard error out functionality.