The attached VEE program is a sample for the method described in the application note to make all-states PDL or PER measurements. The sample program only controls the polarization controller (N7785B or N7786B, N7784B N7788B as well) and the power meter. The power meter control uses the 816x Plug&Play driver. The visa address for the power meter will need to be set correctly and the polarization controller is expected on the USB interface. The laser source is not controlled and any stable polarized source can be used with the program.