02-14-2019 05:28 PM
Good Evening,
I am a senior in Mechanical Engineering, for our senior project, we need to create a LabVIEW program that will collect strain data continuously as it is subjected to varying loads. Basically, we are instrumenting spinal surgical tools with strain gauges and want to collect a load monitoring system that will inform surgeons how much load they are applying during surgery. We are using the following instruments:
1. Two KFH-6-350C1-11L3M3R strain gauges
2. Two NI-9945 quarter bridge completion circuits
3. CompactDAQ Chassis equipped with NI-9237
4. NI EDAQ-9172
Long story short, we have two strain gauges attached to the tools and need to collect the strain data continuously, about 3 minutes or so. The tools are subjected to a load of 50 lbs in 5 lb increments using an MTS machine. So, for the DAQ, we have two channels.
I have written a code but cannot seem to figure out how to continuously collect the strain data, see attached. Any assistance will be much appreciated. Also, please provide explicit details, as I am still learning LabVIEW and need to understand the process.
We are running the raw strain through a low pass filter to remove excess noise of 60HZ.
If you need any further information from me, please let me know. I am more concerned with ensuring the LabVIEW code can handle the continuous data collection that the process we are utilizing to collect the strain.
Thank you for your assistance!
V/R,
JC
02-14-2019
05:35 PM
- last edited on
11-14-2024
05:10 PM
by
Content Cleaner
You are using DAQ Assistant which means your are starting and stopping your task in the loop. Look at the DAQmx examples in the "Find Examples" for inspiration. For late night reading check out
You need to start using lower level function calls, it is not too hard. Look over the examples, and then post back.
mcduff
02-14-2019 06:00 PM
If you do continue to use the DAQ Assistant, set it for Continuous Samples rather than N Samples.