07-06-2012 08:24 AM
hello every one
I am currently working with the NI USB-6218 acquisition card.
I would like, in order to acquire a signal, to be able to choose the input range of the DAQ assistant with a numeric control ( and not by opening the DAQ assistant window ) (like the "number of sample" and the "rate" entry...)
Is it possible and if yes, how ?
Thanks so much in advance for your answers !
Solved! Go to Solution.
07-06-2012 08:38 AM
You can't with the DAQ Assistant so right click and select 'Generate NI-DAQmx Code'. Then you can edit the subVI that does the setup.
07-06-2012 10:28 AM
thanks for your answer !
However, yhen i convert the DAQ assistant, I ge this error: "The polymorphic subVI is broken. You must fix all errors in the polymorphic subVI before this VI can run."
Even if I found the input range entries, I can´t launch the acquisition anymore. Have you an idea about how to solve that problem ?
Thank you very much !
07-06-2012 11:02 AM
I don't know since you did not attach either the original or broken VI.
07-09-2012 04:42 AM
hello
sorry I forgot it. but after spending a few hours on the problem this morning, i solved it 🙂 Apparently, I corrupted the general DAQmx assistant last friday. By restarting my computer this morning, this issue was solved and I was able to transform the constant into command for the input range.
Thanks a lot for your help !!!
Guyua