annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

How to implement a Data acquisition in NI myRIO 1900?

Résolu !
Accéder à la 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 sur 24
2 686 Visites

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

0 Compliments
Message 12 sur 24
2 684 Visites
Solution
Accepté par 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 Compliments
Message 13 sur 24
2 681 Visites

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

0 Compliments
Message 14 sur 24
2 667 Visites

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 sur 24
2 662 Visites

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

0 Compliments
Message 16 sur 24
2 667 Visites

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 Compliments
Message 17 sur 24
2 663 Visites

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

0 Compliments
Message 18 sur 24
2 659 Visites

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 Compliments
Message 19 sur 24
2 656 Visites

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 Compliments
Message 20 sur 24
2 648 Visites