From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-06-2007 11:49 AM
07-09-2007 12:55 PM
Thank you for posting in the National Instruments forums. I am having a hard time understanding what you would like to happen and what is actually happening.
It sounds like the program starts out correctly. With the loop open, the first loop is working. Now are you saying that when the loop closes, you want the first loop to keep going and the second loop to start?
It would help if you post a screenshot of your code which will make it easier to see what is going on. Then we can continue from there.
07-11-2007 10:03 AM
Hello Nick F,
Thank you very much for your reply and i am so sorry for less details of my previous message so, here more discussion:
I control the position of a reobatic arm, at starting of the program the arm may be in any position so i must move the arm to a referance position by making a program to give analog 5V through analog output pin of the DAQ to the to the DC motor controller card to then to the motor which drive the arm, when the arm arrives to its referance position hitting a limit swich which will give a digital signal to digital input pin of the DAQ, here, my object is to stop the obove program (or loop) to stop the arm, at the same time i want to run another program or another while loop on the same program which is an LV example (control single channel.vi) (which is an PID controller program to move the arem to a desired position.
that's all
please reply me quickly
thank you
07-11-2007 03:42 PM
08-02-2007 02:25 PM
Hello Yassar,
I'm trying to do the same thing with a limit switch. Did you find the solution to your problem?
Thanks
Jose