03-19-2008 08:18 AM - edited 03-19-2008 08:26 AM
03-20-2008 10:51 AM
03-21-2008 06:38 PM
Hi!
Yes, I do use LabView 8.5 with the NI-Motion 8.5 Module and I'm aware of the ADC read function, but maybe I didn't make my problem very clear. Looking for some examples within the LabView help ended up in no examples as with the Read ADC being integrated in the primary feedback. In the NI-Motion manual were a few examples, but there the read voltage from the ADC is just feedback as a position in a way that wont work for my setup.
The thing i want to do is to move a pushing rod towards a sample...the sample will be bend a return a voltage "somehow" (not predictble) proportional to the bending...i already read back that voltage with the Read ADC function, so that is no problem...what i want to do then or next, and that is with what i'm struggeling, is...to tell the motor to move the pushing rod towards the sample until i reach, due to bending, a certain voltage value (predefined) like a trigger and then stop the motor...similarly as i'd do by telling the motor via the Move to Postion VI to move into a certain position and reading back the value of the position with an encoder all the ime until the final position is reached. As far as i understood i could feed that ADC value into the Move to Position VI and the value of the ADC will be interpreted into a position as if there was an encoder, but that's not what i want to do...I want to know how to tell the motor to move until it reaches a defind voltage value?
04-08-2008 08:45 AM
04-08-2008 10:14 AM
um...that is something i already tried and i guess I'll have to stick with it, as it seems to have no better solutions to solve the problem, but the problem comes with the signals that I'm measuring... they are in the range of some micro down to a few pico volts and noise is having great affects and therefore the motor could stop too early or too late...I think and i guess you'll have to admit...a case structure is not a real feedback loop as it is implemented in the Load Target Position VI, or is it really that simple? Even if i'd use a case structure, is there such a function to tell the motor to move clockwise or counter clockwise, without telling him a target position to move to, only giving him the direction?...i guess there isn't, so I'd have to trick it by telling the motor to move a 1000000 steps e.g. cw, which i then hope will be far above the step range that is necessary to approach the desired trigger level, right?
anyway, thank you very much...thought there is a nice way to solve it