LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

myrio signal generator

Could somebody tell me how can I generate simple sine signal using myRIO audio out connector? I did simple VI with "simulate signal" sub VI and analog out but it does not work.

 

regards

0 Kudos
Message 1 of 6
(4,384 Views)

Hi,

 

what kind of error is "does not work"?

 

I guess your myRIO installation comes with a lot of example VIs and most probably there also is an example of how to use that AudioOutput. Did you try the example finder?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 6
(4,381 Views)

It means that I can not see any signal on output. I did not find examples with analog output signal generator.

0 Kudos
Message 3 of 6
(4,372 Views)

Stupid Dynamic Data Type...

 

What is happening is the Simulate Signal is generating a waveform and you are actually just getting the first sample.  This sample will be 0.  And then you output that sample with a value of 0.

 

What you could do is generate the signal and change it to a 1D Array.  Then use a Timed Loop to clock out your samples.  Or you could go the FPGA approach, which is a little more advanced.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 6
(4,363 Views)

Do you have some example how to do it? I am new in the LabView 

0 Kudos
Message 5 of 6
(4,343 Views)

When you are new to LabVIEW try to start with the basic tutorials that is found on NI's site.

For students: http://www.ni.com/academic/students/learn/

 

LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

 

Then when you are working with myRIO you should look at this page:

https://decibel.ni.com/content/community/academic/products_and_projects/myrio

 

And for working with a RIO of any kind this is a good introduction:

http://www.ni.com/compactriodevguide/

Message 6 of 6
(4,313 Views)