LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquiring Data from Transducer on Separate Channels with Custom XY Graph Timing in LabVIEW

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.

0 Kudos
Message 1 of 2
(109 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(107 Views)