03-25-2011
04:19 AM
- last edited on
06-27-2024
03:49 PM
by
Content Cleaner
Hi,
I'm new to LabView and a part of my project is to plot the measured position of the motor. The compoents available to me are:
chassis: cDaq 9178
AI: NI9215
AO: NI9263
DIO: NI9401
and a xenus xtl amplifier and servo tube by copley motors. The whole thing is already build up and wired, so the DIO module is connected to the amplifier by a cable that covers the whole port.
My question is, how can I measure the position of the linear motor and plot it in a graph scaled to volts? I did already check
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x1riCAA&l=en-US
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PAjbSAG&l=en-US
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x0QHCAY&l=en-US
but wasn't able to find a useful example VI on how to use the quadrature encoders or even an example on how to set up (what it does is clear, but not how to implement it) one with daqmx.
Best
Lukas
03-30-2011
03:47 AM
- last edited on
06-27-2024
03:49 PM
by
Content Cleaner
Hi lukasZH,
I found this example, perhaps this will help you out:
Best regards,
Lam
03-30-2011 08:13 AM
See the answer I posted here some days ago in this discussion.
03-31-2011 04:42 AM
Thanks for the help guys!
Tried to set it up but now an error 200479 (task can not be completed when running) occurs. I try to plot and save the measured distance. But the graph indicator for the encoder channel doesn't show anything.
The file is attached if anyones has a spare minute to take a look at it.
Best regards