LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement a Data acquisition in NI myRIO 1900?

Solved!
Go to solution

Our team is working on ECG Signal Acquisition using NI myRIO. We're having a problem when it comes to data acquisition using myrio. We are new to this environment. All answers are appreciated thank you

0 Kudos
Message 1 of 24
(5,643 Views)

Hi james,

 

We are new to this environment.

You surely took those beginner tutorials!?

Like this or that?

 

We're having a problem when it comes to data acquisition using myrio.

Which problem?

Did you play with those example VIs/projects coming with LabVIEW?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 24
(5,619 Views)

We utilized the Analog Input from the myRIO to get a waveform from a signal generator equipment (sine wave). But the result from our oscilloscope is different from the result in waveform chart in labview.

0 Kudos
Message 3 of 24
(5,617 Views)

Hi James,

 

most often the results obtained using two different measurement devices aren't "equal", I wouldn't call this a problem…

 

What have you tried? Mind to attach a VI?

How "different" are the results? What did you expect and what did you receive?

 

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 24
(5,613 Views)

Here's the oscillocope outputHere's the oscillocope outputHere's our Front Panel outputHere's our Front Panel output

0 Kudos
Message 5 of 24
(5,610 Views)

Hi James,

 

do you use the very same sample rate with both devices?

In your myRIO VI you use 16.6Hz sample rate due to this 60ms wait function.

With your scope you use a time range of 200µs per div!?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 24
(5,601 Views)

When we put the same sample rate on both device, the signal doesnt look the same. The output in front panel is not giving us a sine wave. We really think that the problem lies in the acquisition of values from analog input. We need to plot the values from the analog input into a waveform. Thankyou

0 Kudos
Message 7 of 24
(5,591 Views)

Hi James,

 

I guess there are example VIs coming with myRIO. Did you use them to explore the AI input possibilities/capabilities? (I didn't istall that roboRIO toolkit, so I miss those functions.)

 

Which sample rate did you use for both devices? How do you read your samples when using a "high" sample rate? Do you mind to attach your (changed!?) VI for that use case?

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 24
(5,589 Views)

Hello jamescpe,

I beleive you are directly acquiring the data from the RIO and thats the reason why you are losing the data in the process.

Try to create a FPGA file and also a FIFO. Send the acquired data from FIFO and receive it in the host aaplication through FIFO.


CLD Using LabVIEW since 2013
Message 9 of 24
(5,586 Views)

Screen Shot 2018-07-02 at 6.08.22 PM.pngScreen Shot 2018-07-02 at 6.26.16 PM.png

 

Can we directly view the temporary signal from the electrodes when we connect the output of the amplified signal into the Analog Input of myRIO? We're using a waveform chart to view the signal. We will implement the filtration and noise removal after we have acquired the signal properly.

0 Kudos
Message 10 of 24
(5,583 Views)