AcquisitionDevice: Enable access to integration results
This commit is contained in:
@@ -234,8 +234,15 @@ void PCIExpressDevice::HW_LoadCalibration(uint32_t in_modules, uint32_t in_stora
|
||||
.nstorage_cells = in_storage_cells
|
||||
};
|
||||
if (ioctl(fd, IOCTL_JFJOCH_LOAD_CALIB, &config) != 0)
|
||||
throw JFJochException(JFJochExceptionCategory::PCIeError,
|
||||
"Failed writing config", errno);
|
||||
throw JFJochException(JFJochExceptionCategory::PCIeError, "Failed uploading calibration", errno);
|
||||
}
|
||||
|
||||
void PCIExpressDevice::HW_LoadIntegrationMap(uint32_t in_modules) {
|
||||
ActionConfig config{
|
||||
.nmodules = in_modules,
|
||||
};
|
||||
if (ioctl(fd, IOCTL_JFJOCH_LOAD_INT_MAP, &config) != 0)
|
||||
throw JFJochException(JFJochExceptionCategory::PCIeError, "Failed uploading integration map", errno);
|
||||
}
|
||||
|
||||
uint32_t PCIExpressDevice::GetCompletedDescriptors() const {
|
||||
|
||||
Reference in New Issue
Block a user