Need help with NiDAQmx plugin #88
Replies: 2 comments 1 reply
|
Hello this should probably go into the dedicated repo that is pymodaq_plugins_daqmx. However here are some hints concerning your questions. The daqmx plugins are just general features usable as a plugin, however for more complex dealing with triggers/clocks/digital... I would recommend to use the high level object DAQmx object and related object from the repo: Then inside your acquisition (completely custom) plugin, you'll declare channels, clocks, triggers and configure tasks and start them. You should have a look at this implementation (in my custom pymodaq_plugins_moke) see below where here I record several analog signal, process them before exporting data. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Dear Pymodaq friends,
I am currently working on a Pymodaq module to perform optically detected magnetic resonance measurements. My aim is to end up with a 1D viewer recording the spectra, inheriting from a daq_move handling the microwave source and one or several daqmx objects handling the NI card which controls the measurement. For the moment, I struggle with the pymodaq daqmx plugin. Maybe you can give me some hints to start.
I need to :
First question, do I need a detector/actuator for each channel of the card that I will use, since I need to specify a "Signal type"?
Then, how do I handle the synchronization between the signals on the different channels? I am used to have also a clock channel, how does it work with the pymodaq module?
For the counting itself, in our previous code we had a digital input as photon source and a counter channel connected to the photon source. Does it work the same here?
Thanks a lot for your help!
Aurore
All reactions