05-20-2020 07:11 AM
Hello,
I am trying to implement something simple but having a problem with it. I am trying to generate a sine wave inside a while loop with a certain frequency and then read the same sine wave but with a lower frequency ' Sampling frequency' so that it generates a sine wave but with less sample points, so not every point should be read by the other loop. I tried to implement that in my program and I attached a snippet, but it does nothing other than delaying showing all the points of the generated sine wave in the other graph. How could I set the sampling rate of the other loop so that I get less sample points?
05-20-2020 07:55 AM
Hi intern,
don't use ExpressVIs and DDT wires will help you to solve this problem...
(Setting a larger wait time might help too.)
I'm sure I have seen this question before: don't you want to discuss this with your colleagues?
05-20-2020 09:14 AM
I am not sure what to discuss with my colleagues there, I know what I have to do but for some reason it's not working. I deleted the express VIs and the DDT wires but I am still not having the result I want. I just get the first graph shown with a delay on the second graph when I just want less sample points on the second graph corresponding to the value if feed to the delay function.
05-20-2020 10:31 AM - edited 05-20-2020 10:32 AM