How to measure and generate a frequency signal through the digital channels on the NI daq card
Mostrar comentarios más antiguos
In the daq card instruction manual, there is a function of this card called 'counter', which can be used to measure and generate the frequency signal. But I have no idea on calling this function from matlab. Could you please let me know if it is possible and how to use it? If you can let me have an simple example, I would be grateful.
Respuestas (1)
Mark Shore
el 13 de Feb. de 2011
0 votos
National Instruments makes many DAQ boards. You'll have to be more specific.
And you will likely need either MATLAB's Data Acquisition or Instrument Control Toolbox, or NI's LabVIEW to interface with the board.
http://www.mathworks.com/products/daq/supportedio14005.html
http://www.mathworks.com/products/instrument/hardware/national-instruments.html
4 comentarios
Yan
el 14 de Feb. de 2011
Mark Shore
el 14 de Feb. de 2011
I don't have, or use, the DA Toolbox, but the USB-6353 is not on the list of currently supported devices (the first link I included).
The link also says "If you do not see your specific hardware device listed below, please let us know by completing the form at the bottom of this page."
A likelihood of non-supported hardware was one of the reasons I use LabVIEW.
Yan
el 15 de Feb. de 2011
Mark Shore
el 16 de Feb. de 2011
Hi Yan. My NI hardware is quite different, and I'm happy for now to use LabVIEW for the data acquisition end, and then MATLAB for post-processing. The linking step I did was to rewrite large TDMS files into a binary format easily read by MATLAB. I just envisioned too many complications otherwise, and it was cheaper to purchase and learn LabVIEW.
Categorías
Más información sobre LabVIEW en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!