Command execution is carried out via the special parameter 'do_execute' in the 'set_framegrabber_param' function. The 'do_execute' parameter is only supported on handles referencing the tree's root node.
After opening a stereo camera, you can capture a depth image by simply executing the three commands, with default parameters:
set_framegrabber_param (RootHandle, 'do_execute', 'Capture')
set_framegrabber_param (RootHandle, 'do_execute', 'ComputeDisparityMap')
set_framegrabber_param (RootHandle, 'do_execute', 'ComputePointMap')
To specify additional parameters for the execution, you can simply set the Parameters node before the execution:
set_framegrabber_param (RootHandle, '/Execute/Parameters/FinalTrigger', 'All')
set_framegrabber_param (RootHandle, 'do_execute', 'Capture')
Parameters can also be specified inline in JSON notation, after the command:
set_framegrabber_param (RootHandle, 'do_execute', ['Capture', '{"FinalTrigger":"All"}'])