11-13-2009 06:44 AM
11-13-2009 07:39 AM
Pitty it dooes not work i ge a error with the sample clock
I use a 6008 i thik it cannot handle it
what now?..........
11-13-2009 11:33 AM
I there a way so that i can have the digital line give samples until a programme value , let say tank has a value of 480 so the acutator must run until this values is reached
???????????????.......
11-18-2009 08:58 AM
any one ? solution to act .vi
i am really stuck here
11-19-2009 05:13 PM
cees10-
aeastet’s code looks very similar to what you are looking to do. However, you are correct, it will not work correct with your 6008 since there is no hardware clock. I would suggest modifying his code to remove that section of the code and do software timing. With your code, you shouldn’t have a while loop around the whole thing. Nested while loops makes for bad days.
11-19-2009 06:22 PM
Hi Mike
well i tried to rmove the timer only got more errors that i also could not solve
i tried to remove the while loop but then it would not run digital and analog together
i am really stuck here
11-20-2009 10:16 AM
Hi cees10,
After taking a quick look at your code, I am a little confused as to why you are using two parallel loops inside of a third outer loop. What are you trying to accomplish with this architecture? Be aware that even if you stop one of the inner loops, it will not restart it's looping until the second inner loop has been stopped as well, at which point both loops will begin looping again. Is this you intended behavior?
Thank you for choosing National Instruments.
Aaron Pena
National Instruments
Applications Engineer
11-20-2009 01:45 PM
Hi aaron
Well as a beginner of Ni products and labview i tried several things i does not have to be a parallel loop
and third other loop ,but wih playing around i just try what works ,
I wanted the digital port to stop or start on a field with a certain (calc value) as soon that value is reached the motor can stop
the value , is a value of potension meter wich represent a certain postion .
11-23-2009 12:53 PM
11-23-2009 01:23 PM
Hi Will
Well to say it simple i want to do anything ,if i get my motor to stop on a certain value
can you tell me how t do that
if i program a value let say 560
and the pot meter reach 560 the motor most stop (this by a signal on digital port)
Thats all what i want