LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Using Simulate Arbitrary Signal

Hi duyngoc,

 

please help me

Until now you didn't attach any VI.

How should we help to improve your code when you hesitate to attach that code?

(I prefer LV2017…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 21
(1,070 Views)

Dear Sir

I am sorry for that. As I attached the figure, I just think that it is very simple so I did not attach the VI program here

Below is the VI program and the .lvm data as my excitation signal. Please help me or give me suggestion

Thank you very much

0 Kudos
Message 12 of 21
(1,067 Views)

Hi duyngoc,

 

your VI already outputs the very same signal each 50ms to the graph.

What else do you need?

 

When you want to see it on your frontpanel you could try this:

check.png

Note: I replaced the graph by a chart…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 21
(1,064 Views)

Thank you very much

But which option did you choose in the "Configure Convert from Dynamic Data" block? I chose "1D array of scalars-automatic" but I did not get the result I need. Could u kindly attach the code here? I use LV2014 version now

 

 

0 Kudos
Message 14 of 21
(1,051 Views)

After adding "Configure Convert from Dynamic Data" block and Write Measurement Data Express VI, I checked the data obtain for each iteration. I realized that the data I got is from 0 second to 5 second for each iteration. But the one I want is time is continuously go as 0 second to infinity and only Y value can be repeatedly obtained from the original data. Is there any method to do this?

0 Kudos
Message 15 of 21
(1,038 Views)

Hi duyngoc,

 

I realized that the data I got is from 0 second to 5 second for each iteration.

Yes, the data in your file lasts for 5s.

 

But the one I want is time is continuously go as 0 second to infinity and only Y value can be repeatedly obtained from the original data.

This is what my last snippet does: repeat those Y data obtained from original data…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 21
(1,034 Views)

How can I repeat only Y column data obtained from my original data?

0 Kudos
Message 17 of 21
(1,028 Views)

Hi duyngoc,

 

use a loop as shown above…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 18 of 21
(1,023 Views)

I used the loop as shown in the above but I dont know how to set the condition in the Read Measurement Data block and Configure Convert from Dynamic data block. Could you let me know how to choose the option in there?

 

0 Kudos
Message 19 of 21
(1,017 Views)

Hi duyngoc,

 

how to set the condition in the Read Measurement Data block

The same as you used before to read just that signal…

 

and Configure Convert from Dynamic data block.

Convert DDT to 1D array of scalars.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 20 of 21
(1,013 Views)