JWAVE Client Overview
Parameters are used to pass information and data back and forth between client and server.
On the client side, you set parameters to be sent to the server using the JWaveExecute.setParam method. These parameters are not actually sent to the server until the execute method is called. After an execute, the client may retrieve parameters returned by the wrapper function using JWaveExecute.ReturnData (to get one parameter at a time) or getReturnParams (to get all the parameters at once).
On the server side, parameters passed from the client can be retrieved in a JWAVE wrapper with the GETPARAM function (a JWAVE-specific PV‑WAVE function). When a wrapper function returns, its return values are automatically sent to the client.
Figure 3-1: Passing Parameters and Data shows the most basic parameter passing scenario.
 
Figure 3-1: Passing Parameters and Data
This section discusses the basic methods for passing parameters between JWAVE client and server applications.
 
note
This chapter does not cover the topic of data proxies, which allow data stored on the server to be referenced by the client. Proxies permit the efficient management of data and of client resources. For detailed information on proxies, see Chapter 6: Managing Data.