05-08-2009 05:32 AM
Hello everyone,
I'm newly registered of NI Discussion Forums and I'm hoping that somebody can help me to solve my problem
about my project. I want to pass my test parameters settings (while program is running) of my PWM program from my main while loop
to my PWM program while loop.
But my problem is, it doen't pass my test parameter settings and it can only be done when I stop my program and run it again.
For further details about my question, pls. see attachment.
thanks and regards,
Ludz
05-08-2009 05:54 AM - edited 05-08-2009 05:55 AM
Hi Ludz,
i'm not sure which parameters you mean, but you can use a queue to transfer data between two loops. There is no need to use local variables in your vi, you can use shiftregisters on the outside loop. You have two or more while loops inside a big while loop, remember that all code inside the big while loop has to be executed before the next iteration starts.
Mike
05-08-2009 04:18 PM
Ludz wrote:Hello everyone,
I'm newly registered of NI Discussion Forums and I'm hoping that somebody can help me to solve my problem
, pls. see attachment.
Since your new, let me fill you in on one of the etiquette rules of the forum. If you have a screenshot, just attach the image file. Preferably, .png, Jpeg is also okay. NEVER .bmp. And don't disguise a .bmp by renaming it .jpg. Thre is no need to embed your image in a .doc or .xls.
Better yet is if you attach your .vi. If it requires subVI's, attach them also. If it is too large, or requires too many subVI's, try posting a simplified VI that demonstrates your problem or question.