endSample(samplingHandle: Integer;);
The
NodeSampleNodeInfoCallBack, passing it information about the local node and setting the eventType parameter in the user library entry point to 2.
NodeSampleInfoCallBack, which your user library should consider the last call for the node sampling context.
The JADE-supplied library automatically writes the record trailer (type 20) and then closes and releases the current sampling file, which you can then analyze.
You can produce multiple files during a node lifetime, by using the Node class beginSample and endSample methods.