07-19-2013 02:17 AM
Hi GerdW,
What I am trying to do is to make synthetic data for RF system.
Attachment is the capture of my vi, and the problem is between 'signal_lvl' which is the output of formula node and 'RF signal' sub vi (red box).
The sequential data (5,4,...) I mentioned above is just an example, but actual targe value is 1.2 for my vi.
As it shows, the output 'signal_lvl' gives a scalar for each iteration with 500 ms.
The 'signal_lvl' changes from 2 volts to 1.08 volts as minimum and goes up to 1.5 volts. What I want to do is when signal_lvl value passes 1.2 volts then just stay it as 1.2 volts and feeds it to
RF signal sub vi.
Thanks,
K
07-19-2013 02:24 AM
Hi coffee,
so you have a loop to attach a shift register on its border. You have a scalar value inside the loop as shown in the example.
Why don't you just merge your VI with the example? You don't need to change anything in the example's code...
07-19-2013 02:48 AM
Finally...
I didn't think about the outer FOR loop for shift register.
It works well now.. I really appreciate your advise.
K