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

Hi James,

 

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

Yes, you can view your signal directly using this chart…

 

Right now your samplerate is even less with just 1Hz due to the 1000ms wait in the loop!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 11 of 24
(1,976 Views)

So we just need to increase the sample rate? There's nothing wrong with our VI implementation except the sample rate?

0 Kudos
Message 12 of 24
(1,974 Views)
Solution
Accepted by jamescpe

Hi James,

 

There's nothing wrong with our VI implementation except the sample rate?

You can increase the sample rate by reducing the wait time.

BUT: then you are limited by the execution speed of this ReadAI function.

The better option is to employ hardware-timing (if possible) and read more than one sample per Read call!

Again: I guess there are example VIs explaining such stuff for your myRIO…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 24
(1,971 Views)

Thank you! Also, do we need to convert the raw acquired data from myrio into voltage?

0 Kudos
Message 14 of 24
(1,957 Views)

Hi James,

 

with voltage input channels you get voltage values, no need to convert to voltage again…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 15 of 24
(1,952 Views)

We can now get the values from the analog input. But we cannot get any negative voltage

0 Kudos
Message 16 of 24
(1,957 Views)

Hi James,

 

which analog input did you use?

There are different types of AI - and all support a different input range!

Read the specs

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 17 of 24
(1,953 Views)

We used the MSP already and we were able to acquire negative values. Any idea how to convert this waveform into a signal?

0 Kudos
Message 18 of 24
(1,949 Views)

Hi James,

 

Any idea how to convert this waveform into a signal?

Any idea what's the difference between a waveform and a "signal"? (I don't know the difference.)

Which kind of "signal" do you need? Why don't you stick with your waveform?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 19 of 24
(1,946 Views)

36526734_1863672963654392_7348945590442524672_n.pngWhen we use a chart it gives us an error. We need this waveform graph because we will use WA detrend VI

0 Kudos
Message 20 of 24
(1,938 Views)