Calibration file not recognized. #81
-
|
I'm working with version 3.4.1 of cuvis. i'm trying to set my calibration file but the software cannot recognize the file. I've set the path for the calibration file in python as the directory containing the file and i've specified the file name explicitly. The SDKException is: "cuvis.cuvis_aux.SDKException: Factory file not found in directory ...". I've verified it is not a permissions issue. The file i'm pointing too was used during instillation of the software successfully and it is a .cu3c file. I'm looking for any feedback or known issues. It seems I can call cuvis without issue in python, its simply unable to recognize the file. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi, so i am assuming your current code looks something like this: calib = cuvis.Calibration("The/path/to/your/file.cu3c")Currently calibFile = cuvis.SessionFile("The/path/to/your/file.cu3c")
calib = cuvis.Calibration(calibFile)So overall the logic is: if (factoryDir.is_dir()):
calibration = cuvis.Calibration(factoryDir)
elif (factoryDir.suffix == '.cu3c'):
print("using .cu3c file as calibration instead of factory dir...")
calibFile = cuvis.SessionFile(factoryDir)
calibration = cuvis.Calibration(calibFile)Hope this helps. If you have further questions feel free to ask. |
Beta Was this translation helpful? Give feedback.
Hi,
so i am assuming your current code looks something like this:
Currently
cuvis.Calibrationwhen initialized with a path expects the path to be pointing to factory directory and it will try to only loadinit.daqfiles.For loading a
.cu3cfile the way to go is to first load this file via the session file class.So overall the logic is: