Asks to write a datagram with the response.
The method stores the transmitted datagram with the response into the specified database variable and then sends it over the network to the station specified by the StreamId
parameter. The writing is asynchronous, after the writing is finished the EndNetPutData
event is triggered, which notifies the result of the communication. The event is also passed the Param
value, which is used by the user to self-identify.
The content written must match the specified database variable. If written to a simple database variable, then the DATA
must be a simple value. If a matrix is written, then the DATA
must be a two-dimensional array whose number of rows and columns matches the dimension of the variable being written. in this case, the initial indices of DATA
do not matter, but only the dimensions. When writing just one element of a db. matrix, DATA
can be both a simple value and a two-dimensional array of one row and one column. The
must be of such a type that its values can be written to a database variable without loss of information.