LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graficar señal en labview / Plot signal in Labview

Solved!
Go to solution

Buenos días,

 

Tengo una señal que simula la señal de un sensor de efecto Hall, a traves de una señal "de reloj" digital, lo que hago es que multiplico ese valor (0 o 1) por el valor de amplitud que quiero, por ejemplo 10 teniendo asi una señal que varia entre 0 y 10, el problema es que a la hora de gafricarlo

me esta cogiendo una base de tiempo extraña, va demasiado deprisa y no puedo visualizarlo bien.

 

¿Alguien sabe como puedo modificar el Waveform chart para poder visualizar mi señal de manera correcta en el tiempo?

 

Gracias. 

 

 

 Good morning,

 

I have to simulate the signal of a Hall effect sensor, through a digital "clock" signal, what i do is that i multiply that value (0 or 1) by the amplitude value that i wish, for example 10, having so a signal that varies between 0 and 10, THE PROBLEM IS THAY WHEN IT COMES TO PLOT IT.

I'm taking a strange time base, it's going too fast and i can not visualize ir well.

 

DOES ANYONE KNOW HOW I CAN MODIFY THE WAVEFORM CHART TO BE ABLE TO VISUALIZE MY SIGNAL CORRECTLY IN TIME?

 

THANKS.

 
0 Kudos
Message 1 of 22
(4,426 Views)

Hi cristina,

 

when you have a problem within your VI then you should also attach that VI…

 

That being said: have you tried to use waveforms?

Best regards,
GerdW


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

Here is the Sub.vi

 

 

 

0 Kudos
Message 3 of 22
(4,413 Views)

I want that the waveform plot the value at the same time that the led light.

0 Kudos
Message 4 of 22
(4,411 Views)

Hi cristina,

 

the chart plots at the same time as your LED indicator shows it's value…

 

You should really read the help for all those functions you use to understand which values they expect:

check.png

Best regards,
GerdW


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

Okay,

 

I don't explain correctly, I want to see the pulse wider, as if I zoomed in, to see the pulse better.

 

Do you understand me?

 

 

0 Kudos
Message 6 of 22
(4,381 Views)

Hi cristina,

 

maybe you should make those pulses wider?

Right now you switch between TRUE and FALSE with each iteration of the loop…

 

There are also several functions in the signal generation functions palette, maybe they will help you!

Best regards,
GerdW


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

is this what are you looking for ?

0 Kudos
Message 8 of 22
(4,347 Views)

Yes, but I can't use case structure because my program it is a Sub.vi and if you include case structure in sub.vi it doesn't work well.

 

I have already define the duty cycle, I have low and high time but the waveform doesn't draw 0 during all low time and doesn't draw 10 durind all hight time.

 

I don't know if the problem is the grafic or the program

0 Kudos
Message 9 of 22
(4,342 Views)

i just increased the length of the Chart and add in range function from 0 to 10 

0 Kudos
Message 10 of 22
(4,335 Views)