There are some VI's that were built specifically to be able to programmatically calibrate these R-Series cards. The steps on how to find these can be found in the R-Series Calibration Procedure
In the above document, it provides the location for both the VI's that you can call directly from LabVIEW, or the DLL and header information if you are using some other coding language. If you have the R-Series driver
installed, you can find these VI's at the following location: National Instruments\<LabVIEW Version>\vi.lib\LabVIEW Targets\FPGA\RIO\R Series\78XXR\783XR \Calibration\Public.