03-10-2016 09:48 PM
I am trying to take Labview and drive a third party driver, which is cmd2120p, but it does not give me the option to pick this third party motor in the code. Is there a way I would be able to do this and if I can, how so?
03-11-2016 10:17 AM
Can you let us know where did you download the driver? Also I wan to know what version of LabVIEW are you using.
03-12-2016 09:40 AM
We tried using the code which we found on a NI website: https://decibel.ni.com/content/docs/DOC-6385
We set up all of our connections and the proper voltage supply. But we could not get the code to run or get the driver to properly connect to the stepper output or input. I believe we were using the most recent LabView, but I am not positive.
What do you mean by downloading the drivers?
Thanks
03-14-2016 10:29 AM
Hello,
Almost each device driver (for third party devices), is design based on a NI existing driver (e.g NI-VISA, NI-DAQmx, NI-488.2, among others). This one is not exception since it is based on NI DAQmx.
What I was referring to is that you did not mention what was the driver or where did you get it from. I quote you original post:
"I am trying to take Labview and drive a third party driver, which is cmd2120p, but it does not give me the option to pick this third party motor in the code. Is there a way I would be able to do this and if I can, how so?"
Not that I know that you have DAQmx. I will like to know what the LabVIEW version that you have is. You can verify that opening LabVIEW environment and going to help>About LabVIEW. (Please attach screenshot). Also I want to know what version of NI-DAQmx do you have, please refer to NI-MAX>software.
Is this the datasheet of the motor and driver? http://www.datasheetarchive.com/dl/Datasheets-UD2/DSAUD0020848.pdf
Also you have not mentioned what DAQ device are you using to control this system, Is it a cDAQ? Is it an USB-DAQ.? Depending on this device the physical routes you select will change. Also is important to verify that your device is going to be able to get a Digital Output for the Step Pulse.
03-15-2016 01:21 PM
We have a 73xx series Motion Controller, a 7764 UMI, and two 3rd party stepper motors and drivers. We are using LabView 2015. We have not downloaded any software drivers. We have not attached any DAQ devices to monitor the system. We have downloaded the code mentioned in the previous post. The system is plugged into the computer, but the code is unable to run because it cannot read any channels.
03-16-2016 12:04 PM
Hello braintrain,
Since you are using an NI-Motion card you cannot use the DAQmx functions to read or write anything. You need to use the NI-Motion driver that matches your LabVIEW version, in this case the 2015:
http://www.ni.com/download/ni-motion-15.0/5614/en/
Please install that driver a let me know the exact model of the board. That way I can email you the correspoding starting guide for doing the configuration of the board from NI-MAX. If it is Necessary I can create you a Service Request to handle the case over the phone. Please sent me a private message with your contact information.
Warm Regards,
Randy Cespedes
Applications Engineering
National Instruments