From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW code for data acquisition in cDAQ 9189 with three cards

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

0 Kudos
Message 1 of 5
(1,331 Views)

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...

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 5
(1,313 Views)

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!

0 Kudos
Message 3 of 5
(1,308 Views)

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 

0 Kudos
Message 4 of 5
(1,305 Views)

Start by looking through the example code.  It should be under the "Help" menu, under the "Find Examples" selection.  

Kyle97330_0-1648234184234.png

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.

0 Kudos
Message 5 of 5
(1,296 Views)