Running a system which conclude "Stepper motor + Pressure sensors"

Hello
I need some help as a beginner. Would u please guide me?
Actually my project is about running a system with LabVIEW which is contain a stepper motor (with different speeds in clockwise and unit clockwise) a pressure sensor, a switch for calibration the sensor and finally reporting the output as a graph with shows the distance that motor moves a barrier and changes of pressure during the movements of barrier.
Right now, I have stuck in ordering the hardware parts for connecting the PC to the system. I don't know exactly what do I need to handle the hole system. Would you please help me? I don't know from were and how should I start?
Thanks a lot

As GerdW mentioned in the other post you might want to speak with a NI applications engineer.  If this is a school project of some type and/or you just want to spec everything yourself then you certainly can.  Your first step is to define all the physical parameters of your devices.  So you need to know what kind of stepper motors you need based on the required angular resolution, torque, etc.  What kind of pressure gauge will you use?  What type of output will it provide you (simple voltage, pulse train, full USB interface)???  What kind of switch will you use.  Can it be controlled by low-current TTL or will you need a driver or relay?
Make a list of everything you will need for your application:  motors, sensors, switches, etc.  Then determine how to interface to them.  THEN you can start looking through your hardware options and pick the best choices based on your needs.
Using LabVIEW: 7.1.1, 8.5.1 & 2013

Similar Messages

  • Stepper motor positioning control system

    hello
    Iam building positioning control system using a stepper motor, and I need to know what are some position sensors available to feedback the position of the stepper motor.. Also I need to know how can use a C code in the labview...For example, if I have an algorithm developed in C; How can I use that code in the labview..
    Thanks
    Shaham

    Shaham,
    Below is a link to several encoders that NI provides specifically for stepper motors.
    Quadrature Encoder:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/205321
    As far as the C code is concerned, this can be accomplished in two different ways, provided that the code is first placed in a dll file.  
    First, you can import the dll into a project library, by selecting Tools»Import»Shared Library.  This option is good for code that will be used often, as it creates wrapper VIs for each function that can be reused.
    Secondly, a "Call Library Function" node can be used to call a C function from a dll.  This procedure is shown in the following tutorial, and is useful when code only needs to be called a few times.
    http://decibel.ni.com/content/docs/DOC-9069
    I hope this helps!
    Drew
    Drew T.
    NIC AE Specialist

  • I want to run a stepper motor using FPGA card 7851r with 9474 driver C rio 9151 is it possible or can i do in LABVIEW CVI

    Hello i want to run Stepper with 7851 R FPGA card with 9474 driver of crio chasis but i am not able to understand how to proceed .Or can opt this option by using lab view CVI
    Solved!
    Go to Solution.

    Hi SHV,
    actually I don't know in which context you want to use your existing hardware for your stepper motor.
    1. The hardware, which you describe, is/was used for which application? ( data acquisition, controlling a system, etc)?
    2. Did you buy the hardware especially for the motor application?
    3. You don't know how which signals are required for your stepper motor.
    Here are some basics from NI about motor control
    Fundamentals of Motion Control
    http://www.ni.com/white-paper/3367/en
    NI Motion Control Technical Library
    http://www.ni.com/white-paper/3054/en
    4. Why do you get the idea the digital output module 9474 is suitable for the stepper motor?
    I would recommend to talk directly to the customer support, so we can figure out in detail your aims about
    the application. Contact your local NI office or request
    a service request on following website:
    Service Request Manager
    https://sine.ni.com/srm/app/login/p/tab/getassistance
    Kind regards,
    RupiDo

  • MAX does not run stepper motor

    I am an abosolute novice at NI Motion and cannot get MAX to move a stepper motor. I'd be very grateful for any help.
    The system consists of a PXI-7340 Motion Controller card installed in a PXIe-1065 chassis. The PXI-7340 is connected by means of a SHC-68-C68-S cable via the Motion I/O port to the Motion I/O port of an UMI-7774 board. The UMI-7774 board is supplied with a 24Vdc power supply as well as an isolated 15Vdc power supply to its power terminals. Two stepper motors are to be controlled using this UMI, which has 4-axes capability. The Axis 1 and Axis 2 sections on the UMI are connected to a Danaher Motion P70530 Stepper Drive each by means of a D-Sub to D-Sub cable via the Control port on the UMI and the J4 Command port on the P70530 Drives. The P70530 drives are supplied with 65Vdc power from a bench top DC power supply capable of 70V, 15A. Each P70530 drive is connected to a Pacific Scientific Powerpac stepper motor (N33HRHJ, 65V, 5A).  (Thus, two P70530 drives and two stepper motors are connected tothe UMI.)
    I am trying to get MAX to turn the motor. In the listing in MAX, under NI Motion Devices/PXI-7340/Default 7340 Settings/Axes 1/Axes Configuration, all limits were disabled, settings saved and initialized.
    However, in the 1-D Interactive window, when the Target Position is set to a value, e.g. 2000 steps, and the Start button is pressed, the motor does not move.
    But, the LED on the P70530 blinks until the Kill button on MAX is pressed.
    Can anyone tell me why the motor does not move?
    Where does one go to learn more on MAX? Why are all the manuals at NI made for experts who already know what they are doing and not for beginners? The Help is no help at all really.
    Regards,
    PKP

    Thank you, Jonas, for your reply.
    I called in to NI and talked with "Vivek" and he helped me set the MAX settings and the DIP switches on the P70530 motor drive (amplifier) to get the motor to run. He pointed me to the "Getting Started P7000 Series Stepper Drives" 28 page manual, which for some reason was not included in the CDROM that came with the P70530 drive or with the pre-installed manuals in the PXI chassis. (You would think to include all the relevant manuals on the CDROM, but nope.) The manual showed how to "Change Settings" for the PXI-7340 inside MAX and set it to the 7340 Settings for P7000 Drives.
    Under Axis 1/Axis Configuration/ Stepper Settings tab, set the Stepper steps per revolution to 5000.
    Under Axis 1/Motion I/O Settings, all the filters, switches and the "Inhibit Output Settings" has to be disabled.
    Now the motor runs. Yay!
    But there is one teeny-weeny thing.
    Under  Interactive/1-D Interactive, when the velocity is set to 100 rpm or more, or the Acceleration is set to over 20 rps/s, the motor whines and does not rotate.
    When V=0 to 95 rpm, Acc=10 rps/s, the motor runs for a given Target position value (such as 200, 2000, 20000, etc.)
    Here is another weird observation. When the Velocity is set to say 60 rpm, the actual motor speed measured with a tachometer and a stroboscope is found to be  about 1440 rpm, i.e., 60 x 24 rpm. (I measured the rpm using the two different devices and both tend to agree.)
    Is the "rpm" unit a typo? Should it be something else?
    What am I missing? Why is the stated rpm different from the actual measured rpm?
    Thanks for any help.
    Regards,
    PKP

  • How to run a stepper motor for an amount of time determined by a feedback?

    Hi,
    I'm using labview 8.6 and I'm trying to use a ORIEL sterppermike with a 20025 controller.
    I have implemented a VI that has a stack of commands in a for loop. Every loop has the following sequence of commands:
    command 1) start the stepper
    command 2) wait for feedback to reach a certain number
    command 3) stop the stepper
    command 4) wait a certain time before starting again 
    To start the stepper I use a subvi from the example folder:  
    C:\Program Files\National Instruments\LabVIEW 8.6\examples\DAQmx\Counter\generate pulse.llb
    --> Gen Dig Pulse Train-Continuous.vi
    I don't understand why the sequence get stuck at command 1 and never gets to command 2.
    I attach the vi for completeness. 
    Thanks to anyone that will help,
    Matteo 
    Attachments:
    SRL Matteo2.vi ‏121 KB

    Hi, I'm not sure whether this is the right place for asking this question or not and if not, then please guide me to the right place for asking such question. Thanks.
    I have a stepper motor with the Vector Network Analyzer Anritsu MS4623B. I got it up and running with the LabWindows/CVI. I need to sync the motion of the stepper motor with my data acquisition. Basically, I have to acquire the data in a way that in the start the motor will come back to home position wherever it was and then I want to move it to the specific position to do the measurements (For Example, I want to measure the 40 GHz channel between 1m to 3m movement of a stepper motor on a linear positioning system (ball-screw)). I've interfaced the VNA with the PC using LabWindows/CVI and I've controlled the clockwise and anti-clockwise movements of the stepper motor using LabWindows/CVI but I'm unable to sync the system in a way that whenever I run the code, the motor will run back to the home position and then move to a specific measurement start position and move till the end position and in between do the increment and stop and acquire the data. Is there any one to help me please? It's really urgent please and I'm doing this thing first time so please guide me in a proper way. I shall really apprecaite that and will be highly obliged with you. Thanks for your time and concern.
    Thanks and Regards.
    Attachments:
    VNA & Motor Control User Interface.jpg ‏199 KB
    VNA & Motor Control User Interface.jpg ‏199 KB
    VNA & Motor Control User Interface.jpg ‏199 KB

  • Running 2 stepper motors with LabVIEW using RMV ST400-NT controller and driver

    Hello, I am new to programming as well as motors in general so please bare with me in my attempt to explain myself. I have a project involving laser therapy and I am attempting to control two stepper motors from Falhauber, Type AM2224-R3-AV-4.8. I will be using a RMV ST400-NT controller and driver. Original plan was to use 3 stepper motors for control in 3 axis but realized 2 axis is complicated enough. My power source is an Agilent E3630A. I am new to this whole thing and from what I have read form examples and other posts is that NI drivers seem to work best for these applications. I've written simple programs from examples, reading and watching videos. I want to know whether it's possible for these to work together using LabVIEW and also a nudge to help me get started would be much appreciated. Can someone please help guide me in the right direction, I feel a bit lost when it comes to all this. Thank you for your time and consideration.  Also, I will be using Windows 8 laptop with Labview 8.5. I have attached pics of components I will be using.
    Justo T.
    Attachments:
    photo 1.JPG ‏1150 KB
    photo 2.JPG ‏987 KB
    photo 3.JPG ‏1085 KB

    Hi jtarula,
    I want to preface this response by saying that I am mre familiar with NI controller and driver rather than the one that you have. I am assuming that you are using the dll provided by the manufacturer here:
    http://www.rmv.com/download.htm
    With these, you should be able to interface with LabVIEW using the call library function node. What the controller is capable I am uncertain of. I am certain that you should be able to since another user has commented on the use in LabVIEW before in another forum post.
    I also want to let you know that LabVIEW 8.5 is not supported on Windows 8, which means that you may run into some compatibility issues. Here is the compatibility chart.
    Paolo F.
    National Instruments
    Applications Engineer

  • How to generate digital pulses to run stepper motor in a sinusoidal motion profile using NI DAQ 6229 card

    Hi,
             I need to make a stepper motor undergo rotary oscillation with a sinusoidal motion profile. As it nears the extreme points it should decelerate and finally slow down to zero velocity and then it should reverse direction and accelerate until it reaches the other extremity where it should slow down and stop and reverse direction and repeat this motion.
            The hardware is NI DAQ 6229 and the stepper motor can be controlled using digital Hi-Low (1,0) pulses. For each high pulse(1's) the motor turns 1 step. I am able to generate a analog sine wave and convert it to digital data using Analog-to-Digital.vi  But i am not able to convert the digital data to a stream of 1's and 0's in the correct sequence to get the sinusoidal profile with the amplitude and frequency i require.
            The direction of rotation can be changed by giving a pulse to another input of the stepper motor. So only half cycle of sine wave needs to be generated and it can be replayed after changing the direction to get the full sinusoidal profile.
    Any ways of making this approach work or any new approaches to this problem would be helpful. Thank You.
    Regards,
    Prabu.
    Solved!
    Go to Solution.

    Hi,
             I finally figured out a way to do it. The analog sine wave is converted to digital and sampled. Consecutive values are compared and if the least significant bit(LSB) changes then a pulse is sent to the stepper motor to turn one step.
    I have included the sub-VI's that accomplish it for the particular stepper motor and connector block i have. The front panel of both sub-VI's are quite messy but the block diagrams should be much clearer. The sub-VI's get their inputs from a third VI which i have not included. So take a look at the VI connector panel to figure it out. Hope this helps. Kinda messy but worked out fine in the end for my application. 
    Thanks again for all the help. I appreciate it very much.
    Regards,
    Prabu Sellappan
    Graduate Student
    Aerospace and Mechanical Enggineering
    University of Southern California
    Attachments:
    start motor test waveform dtest.vi ‏73 KB
    sine profile generation subVI.vi ‏41 KB

  • How to download itunes for windows  7 64 bit using other system which is running 32 bit

    hi
    i am trying to download itunes 64 bit for my system using other system which is running 32 bit

    Direct links to the installers:
    iTunes 12.1.2.27  (64-bit) - iTunes6464Setup.exe
    iTunes 12.1.2.27 (64-bit "for older video cards") - itunes64setup.exe
    The second of these - which is actually the 32-bit application with a 64-bit installer - should be used if you get a warning about video card incompatibility when you install the standard 64-bit version, but also may resolve issues with playback, QuickTime integration, and problems with third-party applications (including Outlook).

  • I need a stepper motor to run a metal sheet

    1.i am doing a project in labview .i need a stepper motor to run a metalsheet and i need to interface it with labview.specification of stepper motor is
    torque: 2n
    load  : 4-5kg
    arm   : 4 
    2. I am using a vision assistant in labview . If i store the script file in my desktop i cannot retrieve it, there is some win32 application error. How can i store my script file like a labview file  

    You are asking two different questions here.
    For question 1: Please stick to the original thread. You've already received numerous responses. If they are not adequate, please indicate what is not adequate in that thread, rather than making people rehash the same answers. 
    For question 2: This makes no sense. What script file are you talking about, and why would you want to store it "like a labview (sic) file"?

  • I have a PC running windows 7, 64 bit operating system which we upgraded from windows XP 32 bit. I can't download my photoshop elements which I bought as a download onto this 64 bit because it says it's for a 32 bit system

    I have a PC running windows 7, 64 bit operating system which we upgraded from windows XP 32 bit. I can't download my photoshop elements which I bought as a download onto this 64 bit because it says it's for a 32 bit system

    Hi claire.winteringham,
    If you have a 64 bit machine then there shouldn't be any problem while installing any 32-bit software.
    Try to download it with the below mentioned link :
    http://www.adobe.com/cfusion/tdrc/index.cfm?product=photoshop_elements&loc=en
    Thanks,
    Atul saini

  • Which stepper motor is required to connect with labview

    title:fault detection in pen. i am doing a project in image processing using labview .i want to  interface stepper motor with labview using daq how can i interface and which type of stepper motor is suitable for rolling metal sheet in which the pen is placed at the top

    I would start with the motor and work down, Labview will woek with any.
    1.  Figure out how much motor you need: torque, speed, resolution, size (nema 23, 34 .....)
    2.  Select a drive for your motor: many diferent drivers to control a particular motor, How much current is required, motor voltage, inductance
    3.  Determine the interface to the controller: step and direction, cw/ccw, serial.  (I  like step and direction)
    4.  Determine support options for the motor, encoders, limit switches ...
    5.  Now you can select your ni card to match the interface, (NI Motion- good for copmlex interfaces and multimotor synchronization, Digital/ counter timers simple but limited conmplexity, less expensive but more software needs to be written)
    This all depends on budget and requirements.
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Best way to make this stepper motor control system

    The goal of my project is to have real-time data collected by a Dataq 158u utlimately controller a stepper motor.  I orignially planned on running this whole thing with basic stamp, but I'm realizing that this may not be possible.  I have a stepper motor and a L293DNE driver.  I will continuously be recording data with the dataq, in the form of volts, and want these values to determine how the motor works.  For example, if the voltage is 0-3 volts, I want it to rotate clockwise, 3-5 volts not rotate, and 5-8 volts rotate counter clockwise.
    I've been trying to figure this out the past week, looking through threads with basic stamp, matlab, and now labview.
    Is there an easy way to do this? or easier way that I am currently trying to figure out?
    Any help would be greatly appreciated!!
    Thanks in advance.
    -Nick
    Solved!
    Go to Solution.

    Nick,
    What I was describing is how you would need to configure the motor controller to accept PWM from LabVIEW and operate in a Locked Antiphase mode so you could control motor direction. A lot of the LabVIEW part depends on the DAQ you use. For instance does your DAQ have a Counter that can generate PWM? I did some checking just now and your DAQ is not manufactured by National Instruments and I could not locate any native LabVIEW drivers. I did however go to the Dataq 158u MFG website and found they do have LabVIEW drivers BUT their Software (SW) must be running in the back ground. The Dataq 158u web site also has a help forum, I suggest you start their to understand the capability of the Dataq 158u. Also it appears you are not familiar at all with LabVIEW , before you can take on a project like this you need to start with the basics of LabVIEW, learn how to handle arrays so you can store your ADC results and how to use loops and timing and shift registers.  NI has some FREE basic training like the 6 HR intrudction to LabVIEW I would start their. Oh and in your OP (original post) you doubted the Basic Stamp could do this, I do this type of control using Atmel micro controllers all the time, I am sure the Stamp could eaisily do this. Just get on one of their forums for more info. Oh and to answer your question an Inverter is an IC that inverts the input signal, what you would end up with at the direction pins of you motor controller is PWM on one pin and 180Deg out of phase PWM on the other.
    Alan

  • Robotics-Running two stepper motors

    Hi
    I am working with LIFA (labview interface for arduino) to run two stepper motors to create a special (simple) path on XY plane. The example code (Arduino Stepper Motor.vi) works fine with one motor, but I don't know how I can modify it so that two motors can move with one time pushing the button, one after another while taking turns. Any Ideas? 
    The motion plan is as follows: 1. Motor 2 is stationary and motor 1 moves the load for 100 steps in X direction, then it stops and motor 2 starts to move the load for 70 steps in Y direction. 
                                                           2. The same as 1, only the direction of motor 1 motion is reversed, and motor 2 moves 85 steps instead of 70 in the same direction.
                                                           3. Repetition of 1 and 2 for 4 times with different number of steps at each level.
    I have twe big easy drivers, and one Arduino Uno.
    I truly appreciate your help,
    Best,
    Ashkan

    You could create a state machine.
    You could create a movement recipe where you enter in each sequential movement, and the code steps through the recipe one movement at a time.
    You could create some combination of 1 and 2.
    How do you want it to work? Are these steps going to remain constant, or do you want to be able to change them from one run to the next? How much do you know about LV? Have you any code that you wrote? What is the long term goal -- are you building towards something specific or just learning for the sake of learning?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Which component I should choose to simulated a stepper motor's winding?

    Dear all,
    I'm now trying to design a chopper type stepper motor driver. In order to learn from basic, I build a simple circle with only one motor winding. I choose advanced inductor for motor winding. But some of the parameters required in this component cannot get.
    I'm now able to measure target motor's parameters using a programable LCR meter, and get results below:
    Winding-1:
    Inductance : 524.6uH
    Z : 392.7 ohms
    Q factor : 1.758
    Winding-2:
    Inductance: 543.5uH
    Z : 392.9 ohms
    Q factor : 1.770
    How to use these readings to get :
    1.Inductor Self Resonant Frequency
    2.Inductor Rated Current(Idc)
    Or should I choose another component?
    Thanks
    Stanley Hsu

    Hi Jet,
    I used Multisim power pro version 10.1. Sorry I forget where I found this component, but I upload the property page of this inductor. Hope you can find something.
    Attachments:
    Inductor_Advanced.JPG ‏72 KB

  • I look for a vi which allows to drive a stepper motor drive

    The stepper motor is: HIGH-RESOLUTION ROTATION STAGES of Newport

    What type of stages do you have? Are they the SR50 series? If so what type of controller do you have? I have VI's for the ESP6000 PC-Based High-Performance Motion Controller (From the Newport Website) that work really well. But these won't work if you don't have the same controller. Do a search on the Newport website for your controller. They will have some VIs and utilities for your specific controller. Here is the link that will show the compatible controllers for the SR50 Series
    Compact High-Resolution Rotation Stages.
    http://www.newport.com/store/xq/ASP/lone.Motion+Control/ltwo.Motorized+Rotation+Stages/lthree.SR50+Series%253Cbr%253ECompact+High%252DResolution+Rotation+Stages/lfour./id.3206/lang.1/qx/product.htm
    Hope this helps, Good luck!
    Greg

Maybe you are looking for