06-07-2009 12:06 PM
Hello every one! I'm stuck, I tried almost everything, this looks simple task I can't get it working.
I have a While Loop, which generates each time equal Waveform portion, I want for example run this loop 3-4 times and output appended Waveform with all data.
I can't just copy, because every loop iteration "RAMP Pattern" will generate other portion of data. For example first loop iteration: Ramp generates from 0 to 2 (duration), next iteration RAMP generates from 2 to 4 (waveform duration). Sampling are equal and durations. I want do this because - this way I can avoid very very BIG array processing, splitting array processing to small parts
I think it will increase performance of my VI.
How to do this? Please help
I attach my VI below.
06-07-2009 12:43 PM - edited 06-07-2009 12:44 PM
Well, this is all backwards and you are making a few mistakes.
I no longer have LabVIEW 7.1, but here's a quick draft. It would be slightly more efficient to initialize the final sized 1D array once and then use "replace array subset" to insert the data N times. Modify as needed.
06-07-2009 04:44 PM
Hi altenbach!
I think I explained my problem unclear.
I want continuous synchronized output. - This means VI produces new signal portion - just at time and phase when it previously finished.
I found this implementation in LabView function "Basic Function Generator.vi", so now I know how to synch up timing.
But I don't know how to synch with phase, because VI uses Call library Node.
Here I attach block diagram with highlighted point which i'm interesting at.
06-07-2009 05:32 PM
I'm close to a solution, I think I've synchronized phase and timing, but I missed something,
because there is strange trebble sound
06-07-2009 06:00 PM
06-10-2009 02:08 PM