You should be able to get a manual from lecroy that indicates how to do what you need. If the primary manual doesn't contain the GPIB commands, then you should be able to get a programming manual.
Otherwise, the Instrument Driver VIs should contain exactly what you need.
Try this: Setup your measurement on the scope, not all the settings. Then, translate this into the same commands available through the instrument driver VIs.