Hello,
Our lab uses an NI_PCIe_6361 multifunction DAQ. However, in the labscript_devices repo, there is no device class for the NI_PCIe_6361 device, only for the NI_PXIe_6361. I cloned the repo and in the device class contained in NI_PXIe_6361.py I changed the name to NI_PCIe_6361, added static_DO = False as a class attribute, and saved it in labscript_devices/NI_DAQmx/models. Then, I changed the name again to NI_PCIe_6361 in the capabilities.json file and tried to compile a connection table using BLACS, with the new NI_PCIe_6361 device defined.
The compilation was successful, and when I closed BLACS and reopened it, the device tabs for the other two devices (NI_PCIe_6738 and PrawnBlaster) were created successfully, but it failed to create a device tab for the NI_PCIe_6361, and I don't understand why. Could it be that simply changing the class from NI_PXIe_6361 to NI_PCIe_6361 is not sufficient? If not, what is the best option to create a class for NI_PCIe_6361?
I have attached the updated NI_PCIe_6361.py, register_classes.py, capabilities.json file, and the __init__.py file from models for reference if needed.
Thank you!
Alexander