logUserCommand

logUserCommand(samplingHandle: Integer;
               command:        String;
               userNumber:     Integer;
               userText:       String);

The logUserCommand method of the Node class invokes the NodeSampleUserCommandCallBack entry point in the user library, passing the command parameter to it.

The JADE-supplied library automatically writes the user command (type 13).

The logUserCommand method parameters are listed in the following table.

Parameter Description
samplingHandle Identifies the sampling context returned by the beginSample method when sampling for the node started
command Action specific to your user library (for example, the JADE-supplied library uses this command for filtering and setting the SamplingExceptionEvent)
userNumber Identifies the sample in the corresponding user library invocations
userText In conjunction with the userNumber parameter, identifies the sample

For more details, see "JADE Sampling Libraries", "Statistics File Format", and "Sampling Exception Handling", in Chapter 4 of the JADE Object Manager Guide.