In the instructions in ReadMe file, it says to run the "pyqt_main.py," but I notice that pyqt_main.spec is a spec file, not a py one. I started using running main.py and got the interface to come up, but I don't see any way to switch between the two modes. Just wondering if I'm making a mistake here or if there's a way to run the spec file.
Second, I'm unsure of the steps to take to connect my DAQ device to the interface. Could someone provide me with some guidance on how to approach this?
Hey sorry this codebase was still in the works when I published it so I still need to update the documentation.
I would ignore the spec file. Instead, try just running main.py as a python file once you've downloaded the codebase.
To connect the DAQ, I've put the recommended steps in the README. Essentially, I would first download the NI MAX software which is the official software for controlling the DAQ hardware. Once that is downloaded, you can see the name associated with the DAQ device you want to control. Once you know what the device name is associated with the writer/reader DAQs, you can change the device name under parameters.py --> class ConfigParamTree --> settings_param --> Writer/Reader Config --> "value".
Ideally I would change this value under config.py since the device name needs to be correct on startup. If not, the nidaqmx will throw an error saying it can't connect to the DAQ device. However, I have yet to make that update to this codebase, so for now follow step #2.
I'm have two questions.