Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I measure input voltages on a 7330 board and UMI 7764 with LabView?

Hi,

I would like to use LabView with the Motion Card 7330 card. Since both are NI products I wondered if such is possible, rather than just use the NI Motion software. I would like the ability to use some VI's that I make.

Also, how can set up LabView and/or NI Motion to record voltages on the inputs? And how do I tell the card that the voltages I want to record are in the 0-10V range? I understand there are different configurations such as measuring -5 to 5 V or 0 - 10V, etc, and I just want to make sure I don't damage the card by putting in 8 V on the input, for example.

Thanks for letting me know.
Chris
0 Kudos
Message 1 of 4
(3,946 Views)

Hi,

Yes, it is possible to use your motion card with LabVIEW.  There are several examples that use motion in the example finder (Help>>Find Examples).  One that would help you get started is called Simple One-Axis Move.vi. 

You can set the input voltage range in the Measurement Automation Explorer.  Go to Devices and Interfaces>>NI Motion Devices>>PCI 73XX>>Axis 1>>ADC settings>>ADC Channel.  Then you can set the voltage range you will be operating in. 

Also if you currently have code that you have created in the Motion Assistant then you can generate LabVIEW code by going to Tools>>Generate Code>>LabVIEW diagram.  I hope this helps.

Have a great day,

GG

Message 2 of 4
(3,928 Views)
In the installation guide, I see these two terms, but due to my lack of experience, I do not know what they mean. Is there somewhere I can find a reliable definition?

Sincerely,
Chris
0 Kudos
Message 3 of 4
(3,911 Views)
Chris--

       Basically, a limit switch or a home switch is a physical sensor that sends a signal whenever the system reaches that point.  So if there is a default position, or "home", then you would put one of these sensors there so that when the motor or stage is in this position the system software will recieve the signal and know. Limit switches are the same and are to prevent the system from going past the limits.
      You mentioned that you were looking in the installation guide.  This is a great resource to get started but only scratches the surface.  When you install the driver, NI-Motion, it will install to the programs list (Windows Start button >> Programs >> National Instruments >> NI-Motion)  a directory for documentation.  In this folder you can find the complete manual for motion; as well as, documentation for all of the boards.  This is a default, if for some reason you don't have it these manuals can also be found online.  Cross-referencing the motion and the motion controller manuals should get you most everything you need to know.  If not, then a search at NI.com is also helpful. You could use the general search and select support or there is ni.com/kb for all of the knowledgebase articals  There are lots of tutorials on Devzone about motion basics and programming.
     If you need anything though don't hesitate to ask!

Regards,

John H
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,884 Views)