LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read, convert and display analog and digital signals to a gui.

Hello

 

I am currently trying to program a LabVIEW code in a myRIO that reads analog and digital input signals and displays the value on a GUI. I am completely lost trying to code this program. I am pretty new to this so I would appreciate all the help I could get. 

So my questions are:

 

How do I read and convert digital signals to real values?

 

How do I read analog signals?

 

How do I display these values on a gui? 

Thanks in advance! 


 

0 Kudos
Message 1 of 4
(3,530 Views)

Hi GG,

 

LabVIEW comes with a huge example library. The myRIO package also installs a lot of examples.

Did you examine any of them?

 


@GG00 wrote:

I am pretty new to this so I would appreciate all the help I could get. 

How do I read and convert digital signals to real values?

How do I read analog signals?

How do I display these values on a gui? 


All this is explained in the Training resources offered in the header of this LabVIEW board and in the example VIs and projects coming with LabVIEW and myRIO.

 

Btw. why do you consider a "digital signal" as "no real values"? Why do you want to convert them and what is the expected output?

Best regards,
GerdW


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

You are talking about the CDs right? I installed CD 1. I got a list of many different VIs but without any explanation of how I should do and how things work. If not where can I find this example library?

I want to convert the digital values because they represent different things like temperature and speed. I can’t use the digital signal values because they come as ones and zeros and I need the real temperature and speed values. 

Thanks for the response. 

 

0 Kudos
Message 3 of 4
(3,454 Views)

Hi GG,

 


@GG00 wrote:

You are talking about the CDs right? 


The last time I had "CDs" from NI is about 20 years ago. Then the software came with DVDs, and for several years now I install LabVIEW from a USB drive.

 


@GG00 wrote:

I want to convert the digital values because they represent different things like temperature and speed. I can’t use the digital signal values because they come as ones and zeros and I need the real temperature and speed values. 


Then you need to know the conversion scheme (aka data format) of your "digital signals". Read the manual of your sensors to learn about this information…

Best regards,
GerdW


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