Multispeed control of motor with time intervals

hi all
             i want write a program that can control speed of a servo motor with respect to time intervals or hold time,
i am enabling the drive throught digital output and speed by analoge output to the drive
The program should be such that (Multistep Speed Control with respect to time)
For example
Step 1     Rpm:    100  Time Duration : 2mins
Step 2     Rpm:    200  Time Duration : 2mins
Step 3     Rpm:    300  Time Duration : 2mins
Step 2     Rpm:    200  Time Duration : 24mins
Test duration 30mins
can any one  help to write the program 

Hi hs_unl,
Could tell me more about the ProboStep MicroStepping Driver, the links you provided are the same and they point to the stepper motor.
As far as the USB 6009 you will need the DAQmx drivers which you can find here. There are many examples that come with the LabVIEW, however it all depends on what kind of signals need to go to the MicroStepping Driver. Also, you can take a look at Getting Started with NI-DAQmx guide to get started with programming. Also, take a look at Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications tutorial page.
Regards,
Jignesh P

Similar Messages

  • How do I make a radio button control change automatically with time?

    Hello everybody
    I have a radio button selection with 4 options (Line A, B, C, D) which controls a number of valves depending on which line is sampled. Right now I have to do this selection manually but the proccess requires that each line is sampled for 15 seconds.
    Is there a way to do this automatically, meaning when I press a button (e.x. START) radio selection goes to Line A, after 15 seconds to line B, after 15 seconds to Line C, after 15 seconds to line B, after 15 seconds to Line D, and then from the beginnining to line A, B, etc..., until I press the stop button.
    Any help is appreciated
    Thanks for your time

    Hi evdo,
    'tst' is right. The "Radio Buttons" control from the "Boolean" palette
    is basically an Enum. You can add or remove elements as you want and
    only one element can be TRUE at any time (just as the Enum only can
    have one selected item at any time). Just copy and paste the radio
    buttons within the frame to add more choices/elements.
    I created a small example that takes tst's example a little further. I
    implemented the four choices and added an Event Structure for better
    timing. Give it a try and let me know what you think, thanks.
    Have fun!
    Message Edited by Philip C. on 07-06-2005 10:05 PM
    - Philip Courtois, Thinkbot Solutions
    Attachments:
    Radiogaga.PNG ‏14 KB
    Radiogaga.vi ‏25 KB

  • How can I control stepping motor with PCI-7344 & UMI-7764? And I want to know the simplest circuit that I can do by myself?

    Now I don't want to by commercial stepping motor driver, I want to do it by myself. I want to know the simplest driver circuit to drive and control my stepping motor (+5V 4 phases).

    From the 7344's perspective, in open loop stepper mode, the only necessary outputs are the pulse train for steps and a TTL flag for direction. You can also set it for CW/CCW mode, which will output two separate pulse trains: one for clockwise motion, one for counter-clockwise motion.
    If you only need to decode the signals into four phases and not amplify them above 5V, then a small IC might work for you (as long as you don't need a lot of current). A reconfigurable FPGA could be programmed to decode the incoming signal and output the four phases pretty easily. However, I honestly believe your best bet is just to buy a recommended amplifier for the motors.
    Good Luck
    Kyle V
    Applications Engineer
    National Instruments

  • Display various time intervals in Flex

    Hi I am using Flex SDK 4.1. I need to give users a control to select 2 time intervals for each day of the week as below.
    I was wondering whether there is a neat way of doing this in Flex. Is there a control I could look into..
    Ideally I would like to avoid giving users a freetext box. Any ideas????
    Mon      9:00 – 13:00   17:00-21:00
    Tues      9:00 – 13:00   17:00-21:00
    Wed      9:00 – 13:00   17:00-21:00
    Thurs    9:00 – 13:00   17:00-21:00
    Fri         9:00 – 13:00   17:00-21:00
    Sat        9:00 – 13:00   17:00-21:00
    Sun       9:00 – 13:00   17:00-21:00
    Thanks

    Hi Rajesh,
    you have a Chart
    Rght Click on it-->Select Chart Expert
    --> then  in the Data Tab, move the date time field in the top list (just Select field Using  > button move it)
    --> similarly  "amount"  in below list.
    then refresh it.
    It will show the chart " DateTime/amount" .
    but if you want  the chart(x-axis) should display only "14/12/2010 1:00PM , 14/12/2010 2:00PM"  not "14/12/2010 1:30PM"
    you have to write this code in Select Expert in Report Menu
    {VENDOR_csv.date time} like "//* *:00?M"
    '*' is one or more occurances
    '?' is one occurance
    this will give you proper Result at every Hour
    Thanks
    Obaid
    Edited by: obaid shaikh on Jan 25, 2011 12:16 PM

  • How to limit data range in a Line chart with Time Refresh Control

    Hi All,
    I have a Line chart with Time Refresh Control and I would like to make some constraints to this navigation.
    For example, I would like to limit the user to navigate in a data range of 8 hours.
    Is this posible?
    Thanks in advance

    Hi Pedro,
    as far as I know, this is not possible using the time controls on an iChart. However, you may have some success by using your own time controls which call JavaScript methods exposed by the applet.
    For example, you could begin by hiding the time and calendar buttons on an iChart, and creating some buttons of your own. For instance, to set the start date of a query (and thus the start date of the iChart using the query), you can use the following:
    document.getElementById("appletID").getQueryObject().setStartDate(<date string>);
    Using code like the above (look into the xMII script assistant and documentation), you should be able to build time controls which satisfy your requirements. The exact format of <date string> in the sample above will depend on the date format defined in the query template this script calls.
    Hope this helps,
    Sascha

  • How do I control the motors in a third party usb toy with LabVIEW?

    Any suggestions?

    Hi, if you are only wanting to control motors than you have a lot of options. Use the parallel port with a current driver, use the serial port and a micro to control the motor. If you want to interface the USB device than this is where to get started.
    http://digital.ni.com/public.nsf/allkb/42B604435E3F9604862565E20043CD30
    http://zone.ni.com/devzone/cda/tut/p/id/4478
    LabVIEW 8.2,8.6,2009...still learning

  • Have keyframes in effect controls window coincide with main time line

    Hello,
    Is there any way I can have the time line in my effects control window coincide with my main time line ?
    Example,  I add keyframes along my main time line, but any time I wish to edit  them, I need to scrub my effect controls window timeline to get to that
    spot  that coincides on the main time line.  I'm just wondering how I can  have both time lines show the same area at the same time.
    So  if I'm at the end of my time line, and add a keyframe, and then wish to  just scrub or move my cursor to the beginning of my main time line, the
    time  line in the upper window ( effects control window ) does not reflect  the area of the main time line I am currently at, I need to actually  click the time time
    line ( main time line ) in order to "refresh" the upper effect control window time line.
    Thanks for any advice,
    Dave.

    Hi Jim,
    that's what I mean, thanks for info.  I guess this isn't a popular want from users, I just thought it would be neat if we could do this, it's not a big deal, but I thought
    I would ask.  Thanks for the informatiion - at least I know now.
    Dave
    JSS1138 wrote:
    I think he wants the CTI of the Effects pane to match the CTI of the sequence.  If one moves, the other moves as well.
    In CS4 this happens by default.  Has that changed for CS5?

  • Controlling a Nanomotion motor with LabVIEW?

    What do I need to run a Nanomotion motor with LabVIEW?
    LabVIEW - Controller - Driver - Motor
    The Nanomotion motor which I intend to use is a HR4, for alignment purposes in a cleanroom environment. Do you have any experience in using this or other Nanomotion motors please add a comment to this post.
    Regards,
    Marcus
    Marcus Törndahl
    Senior Software Designer @ Prevas AB

    Marcus,
    some years ago I have used an NI 7344 motion control board to control a Nanomotion ultrasonic actuator. I don't remember the model type of the drive, but it has provided a +/- 10 V command input. The position feedback signal came from a quadrature encoder.
    In fact NI's motion control R&D has worked with Nanomotion to implement some features into the control algorithm of the 734x and 735x boards to optimize the control behavior for Nanomotion actuators. The most important parameters, that were added to support these motors are the foward and reverse offset voltages to configure the static friction deadzone.
    Brief explanation: There is a deadzone of approximately +/- 2 V at the command input, where the motor doesn't react to command voltage changes. The 734x and 735x boards can avoid this deadzone. Otherwise it would be very hard to properly control the actuator.
    I hope that helps,
    Jochen Klier
    National Instruments

  • Control two stepper motors with PCI 7332 for sinusoidal movements

    Hello,
    I am now using two stepper motors of RK566BAE (Oriental motor). I connected those two motors with UMI-7764 and PCI-7332. I designed to have independent sinusoidal movement of each motor. The first motor is wired to Axis 1 and the second to Axis 2 (of UMI-7764).
    I want to use Ni-Motion to create  a single VI in LabVIEW which helps to control both motors. But I have not figured-out how to obtain the movement I desired.
    Could you please advise me.
    Thank you so much.

    There are two ways to do elliptical arc moves:
    Use contouring two download target position arrays to the onboard buffer
    Use arc moves in combination with gearing (shipping example). This requires three axes.
    The 7332 doesn't support contouring and gearing and it doesn't provide a third axis, so there is no way to use this board for this type of moves. The cheapest NI board that supports elliptical moves in contouring mode is the PCI-7342. As the second option requires three axes, at least a PCI-7344 is required for this method.
    Here is a link to a feature comparison table for all NI 73xx motion control devices.
    Kind regards,
    Jochen Klier
    National Instruments

  • Could you help me to control a DC motor with the parallel port and windows 2000?

    I have labview 5.1 and i want to control my application throught the internet

    I would recommend upgrading to LabVIEW 7.0 for a couple of reasons. First, LabVIEW 6.1 introduced remote front panels which allows you to control a VI through a web browser. Setting up remote front panels is very simple and that alone is worth the upgrade. As far a using the parallel port you can use VISA to send/receive commands via the parellel port if you are using a motor controller with a parellel interface. If you are talking about using the port on a bit level to control the motor, LabVIEW 7.0 ships which an example of how to do basic digital input output with the parallel port.
    Regards,
    JR A.
    Application Engineer
    National Instruments

  • Denormalization with overlapping time intervals

    The table keeps statuses for objects, along with times each status started and ended. Like:
    ID   From   To   Status
    ===  ====   ==   ======
    23   T1     T2    S1
    23   T3     T4    S2
    23   T5     T6    S3The statuses may start and end at arbitrary moments of time, and each object may have several statuses at the same time. So the time intervals in the above table may look like this:
    T1------------T2
        T3----------------------T4
             T5----------T6So, for example, from T! to T3 the object has only S1, while from T5 to T2 it has all 3: S1, S2, and S3.
    I need to denormalize the table and show in the same line all statuses the object is having at different time intervals, that is
    ID   From   To   Status1  Status2  Status3
    ===  ====   ==   ======   =======  =======
    23   T1     T3    S1
    23   T3     T5    S1       S2
    23   T5     T2    S1       S2       S3
    23   T2     T6    S2       S3
    23   T6     T4    S2

    SQL> with t as (select trunc(sysdate) dt from dual),
      2       t1 as (select 23 ID, dt From_dt, dt+10 To_dt, 'S1' Status from t union all
      3              select 23 ID, dt+3 From_dt, dt+18 To_dt, 'S2' Status from t union all
      4              select 23 ID, dt+7 From_dt, dt+14 To_dt, 'S3' Status from t)
      5              select * from t1
      6  /
            ID FROM_DT     TO_DT       STATUS
            23 04.08.2007  14.08.2007  S1
            23 07.08.2007  22.08.2007  S2
            23 11.08.2007  18.08.2007  S3
    SQL>
    SQL> with t as (select trunc(sysdate) dt from dual),
      2       t1 as (select 23 ID, dt From_dt, dt+10 To_dt, 'S1' Status from t union all
      3              select 23 ID, dt+3 From_dt, dt+18 To_dt, 'S2' Status from t union all
      4              select 23 ID, dt+7 From_dt, dt+14 To_dt, 'S3' Status from t),
      5       t2 as (select id,from_dt begdt from t1
      6               union all
      7              select id,to_dt from t1),
      8       t3 as  (select t2.*, lead(begdt) over(partition by id order by begdt) enddt from t2)
      9       select t3.*,
    10              (select status from t1 where t3.id=t1.id and greatest(t1.from_dt,t3.begdt)<least(t1.to_dt, t3.enddt) and t1.status='S1') Status1,
    11              (select status from t1 where t3.id=t1.id and greatest(t1.from_dt,t3.begdt)<least(t1.to_dt, t3.enddt) and t1.status='S2') Status2,
    12              (select status from t1 where t3.id=t1.id and greatest(t1.from_dt,t3.begdt)<least(t1.to_dt, t3.enddt) and t1.status='S3') Ststus3
    13               from t3
    14        where enddt is not null
    15        order by 2
    16  /
            ID BEGDT       ENDDT       STATUS1 STATUS2 STSTUS3
            23 04.08.2007  07.08.2007  S1             
            23 07.08.2007  11.08.2007  S1      S2     
            23 11.08.2007  14.08.2007  S1      S2      S3
            23 14.08.2007  18.08.2007          S2      S3
            23 18.08.2007  22.08.2007          S2     
    SQL>PS
    there's a problem in vizualization on the forum.
    all GREATEST() < LEAST()

  • Saving data with automatic time intervals

    Hi everyone
    I am a new user with LabVIEW (I just started using it 3 weeks ago) and I am having a problem with data recording and saving.
    Basically, what we want to do is to monitor data for four different variables countinuosly but saving them in automatic and specified time intervals. Specifically, we would like to save data countinuosly only for five minutes each hour. After the 5 minutes, only the saving function must be stopped for 1 hour then return to record for 5 minutes without shutting the major loop. Additionally, we would like to collect all the data in this way in one exel file per day for three weeks or more, so instead of creating a data file for each recording we would like to collect them in only one file per day.
    Finally, if its possible, we would like to extract the mean of the data for one day in a single file.  We are not interested in modifying the rate of data aquisition, we only want to focus on the saving rate. We tried many timed function (as Elapsed time, Time delay, Wait) and timed loops but it was impossible for us to syncronize different loops or to set up timing function for the saving issue without blocking the main loop work.
    Data are collected throught the "write to measurement file" function.
    any kind of help will be really appreciated!
    Here we submit our front panel and block diagram of our VI.
    Best regards
    Solved!
    Go to Solution.
    Attachments:
    Hypoxia 21-05-2014 Monitoring.vi ‏451 KB

    Use a shift register to keep track of your start time.  If the difference between the start time and the current time is less than 5 minutes, save the data.  If the time difference is an hour, save the new time as the start time.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • AS01 Asset Master - Problem with Cost Center in Time Intervals

    Hello experts,
    I need your help to solve this problem, in the tab Time-dependent - More Intervals - Overview of time intervals
    When i add a new interval and change the Cost Center, the system modify all the previos intervals setting the last Costo Center to all, i dont know why the system do that, thanks.

    Hi Gaetano,
    check that the prerequisites which are explained in [Note 684659|https://service.sap.com/sap/support/notes/684659] are fulfilled.
    I assume that you are on a release R/3 Enterprise or higher.
    - KOSTL activated in ACSET
    - cost element existing
    - field status allows KOSTL in the account
    - cost center maintained in asset master record
    Regards,
    Markus

  • Sensorless control DC motor based on mathematic​al model

    Hi,
    I have DC motor, I put together mathematical model and transfer function of torque, speed and position PI control too.
    Can someone help me to implement it to real process? I need control real DC motor with H-bridge with sensorless method based on mathematical model. (using LW card 6211)
    Thank you veru much.
    Attachments:
    servo_control.JPG ‏52 KB

    Dear Džon,
    First of all, welcome to the NI Forums!
    In order to actually implement a control system, you will either need Control Design and Simulation Toolkit  ( http://sine.ni.com/nips/cds/view/p/lang/hu/nid/138​54 )
    or you will have to calculate the inverse Laplace of your resulting function and implement the numerical model. 
    By implementation I mean that you will most likely have to use numerical Integration.
    How you should do it is the following:
    Get the highest order of the outputs derivate to the left side of you equation -->      a_n * Y^(n) = ....
    where a_n is your coefficient resulted to Y^(n), then divide by a_n so you have something like: Y^(n) = ...
    after this you must integrate n times in respect to time. So you will have the y(t) resulting function in time domain.
    From there you must implement the equation on the right hand side with numerical methods. At the end you will most likely have a DAQmx task or an Express VI to actually output your control signal. (for that please refer to the examples of analog output / PWM)
    However, if you have access to Control Design and Simulation Toolkit. You may realise your system in a simulation loop as replicate your block diagram structure. (Please check examples installed with the toolkit) 
    If you have a specific question then please feel free to ask, and provide as much detail as possible.
    Best regards,
    Peter
    Peter L.
    National Instruments Hungary
    Applications Engineer

  • I have a Text control string box with some initial text. I would like to highlight old text with click of mouse and type in new data from keyboard

    I have a text control string box with some initial text (says: Please enter Name). I would like the operator to click on the text control box and have it automatically highlight so that when new data is typed in the old erases (all at once) and the new data is now in the text box.
    I tried using the "Text.Selection" property node and when I run it and put the mouse inside the text box the initial text is highlighted and if I press "delete" on the keyboard or if I start to type in new data the initial data does delete but once I start to type new characters they erase each other. For example if I want to type in “Willi
    am” I type the “W” and then the “I” but the “I” erases the “W” and now I am only left with an “I” in the text box and so on. I appreciate any help

    It seems you are continuously setting the property node over and over again. This should only happen once if you mouse over it.
    Create a property node for your text control with the following three items:
    (1) KeyFocus (wire a "true" constant to it)
    (2) Text.SelStart (Wire a "zero" constant to it)
    (3) Text.SelEnd (Wire a constant containing the string length of the text).
    Put this property node inside an event structure, triggered by "Mouse enter" on the string control.
    (see if the attached example works for you)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Enter_Name.vi ‏23 KB

Maybe you are looking for

  • Rolling text/image transition?

    okay so i'm completely stumped on this one...i'm trying to create an effect where when you click on a button like 'about us' or 'services' the text/images/information on teh page rolls up from the bottom (which i know how to do) but then i need it to

  • Selection Screen Text

    Hello Gurus, I have a checkbox for which i need to add the text "Include Special stock Consignment (cust.)". But from the selection-text i am able to add the text "Include Special stock Consignm". Can you please tell me how to add the whole text to t

  • Unable to see some Roles in Query designer

    Hi all, I have created a role in PFCG having some queries and assigned that role to my user id. When i log into Query designer i m unable to see that role and all other roles i am able to see. What could be the reason for this? Did i missed to assign

  • LCM Job hung in Running status

    I promoted a biar file to destinatin, the status of the job shows "running" even after 2 hours, I promoted the same job before and it just took less than 5 minutes to get promoted. Does any one faced the same issue?

  • Mac Pro gets stuck on the grey screen and won't finish booting

    I have a Mac Pro 1, 1 recently (successfully) upgraded to snow leopard that gets stuck on the grey screen with the spinning rainbow cursor (after the apple logo and brief blue screen) and won't finish booting up. This happened after my computer froze