06-27-2024 02:39 AM - edited 06-27-2024 02:40 AM
Dear NI Community,
we are trying to get a string potentiometer to work together with the NI 9218. The configuration of the module has to be done in Matlab (R2022b) and the Data-Acquisition toolbox.
We currently are not able to find a way to configurate the named hardwares Excitation-Source via Matlab to supply the voltage sensor correctly in order to make it work.
In the attached files you can find the described configuration done by NIMax, which is working properly.
Does someone have a solution for this or is Matlab not providing the needed Support in this case?
Thank you in advance
06-27-2024 09:34 AM
This is a MATLAB question, in short, MATLAB added the support for NI DAQ by abstracting a lot of features of DAQmx driver to make it simple. Due to this abstraction, though the hardware supports it you may not be able to adjust or control because MATLAB did not expose it to the user.
If you need to use all features of your hardware, you will need to directly call the c-dll or use another programming language along with DAQmx drivers.