03-18-2025 02:12 AM
I want to use NI-9237 to acquire data from the displacement transducer (strain type).
I want to acquire data from each channel separately (e.g., 4 channels = 4 saved files). Additionally, I want to save data and show XY graph (X-time, Y-displacement) with a specific time (e.g., 0s, 2s, 4s, 6s, 12s, etc.).
Could you give me some guidance for this condition?
I have written programs to acquire data from all channels simultaneously, but I have never done it for this specific condition.
I use LabVIEW2020
Thank you.
03-18-2025 02:17 AM
Hi Gulf,
@BubbleGulf wrote:
I want to acquire data from each channel separately (e.g., 4 channels = 4 saved files).
You still read all4 channels with one DAQmx task, but separate the samples into 4 individual files…
(IndexArray is the way to index elements of an array.)
@BubbleGulf wrote:
I want to save data and show XY graph (X-time, Y-displacement) with a specific time (e.g., 0s, 2s, 4s, 6s, 12s, etc.).
Pick the samples acquired at the specified time: it's simple math to calculate the sample index from "specific time" and samplerate…
What have you tried and are you stuck?