03-25-2022 10:38 AM
Hello, I am a beginner in LabVIEW and DAQ as well. I need to make a LabVIEW code for data acquisition in cDAQ 9189 for load cells, strain gauges and displacement measurement. I will be using three cards in cDAQ- NI9235, NI9215 and NI9237. Does anybody have done something like this before? If so could you please help me in guiding how can I get into it. If you could provide similar LabVIEW code, it would be highly appreciated.
Thanks
Milan
03-25-2022 11:28 AM
If you're a beginner, taking up these courses will help you understand better,
https://learn.ni.com/learn/learning-path/data-acquisition-using-ni-daqmx-and-labview-english-1
https://learn.ni.com/learning-paths/labview-core-1-course
In the worst case, at least this will help (please skip the DAQ assistant part)- https://www.ni.com/en-us/support/documentation/supplemental/06/learn-10-functions-in-ni-daqmx-and-ha...
03-25-2022 12:01 PM
Those links there are already a good start but I'll follow up with a reinforcement:
Do NOT use the "DAQ assistant" express VI or any other related express VIs, or any of the other express VIs that pair with it and use the "dynamic data" wires. These VIs usually have a blue bar on the top and the dynamic data wire is blue with white dashes in it. Avoid!
These VIs and the dynamic data wire are meant to be simple to start with but very quickly become unmanageable and nearly impossible to alter or debug on any sort of long term basis. Don't fall into the trap!
03-25-2022 12:12 PM
I got it, is it possible to get a LabVIEW code as per my requirement, so that I can learn and use it at the same time?
Thanks
Milan
03-25-2022 01:51 PM
Start by looking through the example code. It should be under the "Help" menu, under the "Find Examples" selection.
This one, for example, links to "C:\Program Files (x86)\National Instruments\LabVIEW 2021\examples\DAQmx\Analog Input\Strain - Continuous Input.vi" on disk and as long as you can see your card modules in NI-MAX you should be able to start using DAQmx code to get data from it using the example VI.