LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

continuous to discrete

Hi,

 

I am kind of new to labview and need some help. I obtained a set of data(x,y) of a graph and save in lvm file. Then I use the read from measurement file vi and obtained the signal. what I am trying to do is to discretize this signal to a certain time step (i.e. x start from 0 with interval 10). Is there anyway I can do this?

 

Regards,

 

atoz

0 Kudos
Message 1 of 7
(2,942 Views)

Discretization in time axis is nothing but sampling, if you've a set of data (an array), and want to perform discretization (in time), you can use decimation tool.

 

Decimate 1D Array.PNG


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 7
(2,929 Views)

Thanks for replying. but what I want is something like this. for example i have a set of data (both in x and y). example:

x              y

10.123     2345

18.34      3456

29.89      4678

.

.

.

 

with these data, i use the curve fitting vi to get the fitted curve with new set of data (both x and y). however, i would like to get the value of y for a fix interval value of x based on the fitted curve data. example for time step x = 10, is there a way of doing that?

 

Regards,

 

atoz

0 Kudos
Message 3 of 7
(2,923 Views)

There is a direct tool available, check the attached code.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 4 of 7
(2,916 Views)

It seems that I am not able to open the file. I am using 8.6 version. Do you have that vi in 8.6 version?

 

Regards,

 

atoz

0 Kudos
Message 5 of 7
(2,907 Views)

 


@atoz wrote:

It seems that I am not able to open the file. I am using 8.6 version. Do you have that vi in 8.6 version?

 

Regards,

 

atoz


Ohhh, please find the downgraded VI in the attachment.

 


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 6 of 7
(2,903 Views)

Thank you.. Smiley Happy

0 Kudos
Message 7 of 7
(2,860 Views)