Tutorial myRIO Stepper with 2 digital lines (step and direction)

Hey NI Community!
I'm new here and an academical employee.
I want to program / control a stepper with myRIO, this is needed for a research project at my institute to build a prototype.
The stepper is driven by a digital driver which have one digital line for the steps and one for the direction (see attached files).
Now I want to know, if there is a tutorial or a example for this because I have no Labview, FPGA and myRIO skills at the moment. 
THANKS!

Hi MasterChief,
There is no tutorial how to control a stepper with myRIO. But there is an example shipped with the myRIO that is using a DI task. You can find this example in the LabVIEW example library. Go to Help >> Find examples in an open LabVIEW window. In the dialog open the folder Modules and Toolkits >> myRIO. There is an example called Edge detection and Debouncing.
The example contins a RT Main.vi. In this VI there is an express VI used. This express VI should be used in your application, too. You only hav to reconfigure the Digital Output instead of Digital Input.
For your application you will need to control two tasks witht the VI. One for the direction and one that outputs the pulse for the stepper.
Regards,
Melanie

Similar Messages

  • In Adobe Flash CS6, I have a blue box appearing around lines drawn with the line tool (and other tools like brush etc). I can't figure out how to disable.

    In Adobe Flash CS6, I have a blue box appearing around lines drawn with the line tool (and other tools like brush etc). Whenever I try to use a tool,  a blue box appears around the line and I have to double click it to manipulate it, which opens just that line in a semi burred screen where all the other objects are semi-grey in the background. I can manipulate this line in this screen but nothing else at that time which I could do about 5 minutes ago. For exampe, I no longer can join up 2 lines drawn by the line tool together. For some reason this started randomly (probably due to a accidental shortcut combination) and I just can't put it back to what it used to be. I have inserted a video hopefully showing what I mean. Any help would be appreciated.

    Thank you - Just what I needed

  • Step and direction pulse from 6024e

    Hi,
    I am trying to control a stepper motor through labview. I have a PCI-6024e DAQ and a stepper driver (G210A from geckodrive). The stepper driver takes step and direction inputs from a pulse source. Is the 6024e capable of doing this? Are there any vi examples?
    Thanks
    Mike

    Yes, the 6024E is capable of doing that.  If the motor doesn't have to run fast, you can simply use two DIO lines.
    If the motor has to run faster than your software loop time allows, then you can program a counter output to send pulses corresponding to the number of degrees you want the motor to rotate.
    I don't have example code that specifically operates a stepper, but LabVIEW ships with examples showing counter configurations that will work. 

  • HT3552 I have been trying to download apps from the app store and every time it tells me there is a problem with my previous billing and direct me to put in new billing information and every time i do that it still will not let me download any apps.

    I have been trying to download apps from the app store and every time it tells me there is a problem with my previous billing and direct me to put in new billing information and every time i do that it still will not let me download any apps.

    Have a look here >  http://support.apple.com/kb/TS1646

  • Permission problems with command line CVS and Java CVS App

    Greetings,
    I'm part of a moderately sized website development team which recently upgraded to MacBook Pros (dual core) running OS 10.4.9. One of the primary tools we use in our day to day work is the open source concurrent versioning system (CVS). We've noticed a distressing issue running CVS on our macbook pros: there seems to be a problem with the way these new machines handle permissions on the directories/files that CVS uses to manage files.
    The error occurs when the CVS application, in this case both command line CVS and GUI CVS application named SmartCVS, tries to rename a temporary file named Entries~ to its new name Entries (no ~). It looks like this:
    java.io.IOException: Could not rename file
    /Users/[USER]/Sites/[MODULE]/lib/CVS/Entries~ to
    /Users/[USER]/Sites/[MODULE]/lib/CVS/Entries
    at smartcvs.JP.a(SourceFile:125)
    at smartcvs.JP.a(SourceFile:113)
    We've noticed that if we open up a get info window on the directory we're downloading, and choose "Apply to enclosed items" right when we start the download process, the issue will be resolved, presumably because the permissions are being set on the subdirectories as the download is taking place.
    We've checked the permissions on the overall ~/Sites/ directory numerous times, and they always seem to be set correctly as drwxr-xr-x. It's within this folder that CVS creates a directory with the CVS module name and downloads all the contained files, so we don't see why it would be having issues completing this successfully. We also checked to ensure the GUI CVS application is running under the current user on the machine: it does.
    Has anyone run into issues like this in the past? Is there more information I could provide to further clarify the problem we're having?
    Thanks for any input you have!

    Thanks for asking Jeff, yes one place we are seeing this error is Java application SmartCVS, though the results posted here are from a normal command line CVS checkout.
    ===
    Checkout command:
    cvs co [MODULE]
    ===
    Error:
    cvs [checkout aborted]: cannot rename file CVS/Entries.Backup to CVS/Entries: No such file or directory
    ===
    ID:
    uid=502([USER]) gid=502([USER]) groups=502([USER]), 81(appserveradm), 79(appserverusr), 80(admin)
    ===
    LS -ALN
    Computer:~/Sites [USER]$ ls -aln
    drwxr-xr-x 28 502 502 952 Jun 4 13:11 Sites
    Computer:~/Sites/[MODULE] [USER]$ ls -aln
    drwxr-xr-x 38 502 502 1292 Jun 4 13:33 www_root
    Computer:~/Sites/[MODULE]/www_root [USER]$ ls -aln
    drwxr-xr-x 32 502 502 1088 Jun 4 13:33 [SUBDIR1]
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1] [USER]$ ls -aln
    drwxr-xr-x 5 502 502 170 Jun 4 13:33 [SUBDIR2]
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1]/[SUBDIR2] [USER]$ ls -aln
    drwxr-xr-x 4 502 502 136 Jun 4 13:33 [SUBDIR3]
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1]/[SUBDIR2]/[SUBDIR3] [USER]$ ls -aln
    drwxr-xr-x 6 502 502 204 Jun 4 13:33 CVS
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1]/[SUBDIR2]/[SUBDIR3]/CVS [USER]$ ls -aln
    total 32
    drwxr-xr-x 6 502 502 204 Jun 4 13:33 .
    drwxr-xr-x 4 502 502 136 Jun 4 13:33 ..
    -rw-r--r-- 1 502 502 45 Jun 4 13:33 Entries
    -rw-r--r-- 1 502 502 45 Jun 4 13:33 Entries.Log
    -rw-r--r-- 1 502 502 48 Jun 4 13:33 Repository
    -rw-r--r-- 1 502 502 63 Jun 4 13:33 Root
    MacBook Pro / MacPro Mac OS X (10.4.9)

  • WRT160N - problem with on-line games and downloading

    Hi,
    Several months ago I bought a WRT160N router and I have a strange problem.
    When I play online games, such as QL, and someone else will start downloading from the Internet, from time to time about 10 sec I have 999 ping
    I turned on in the background ping to the router, and from time to time about 10 sec there are 2-3 ansewers with 1900-2000 ms.
    I tought that when I buy router with N-mode everything will work better, and there will be no problems with on-line gaming.
    Is there any way to fix this problem??

    I checked now and even no one is downloading there is the same problem.
    I checked on other router and it works fine.
    Next problem is when I browse youtube and play several films simultaneously, suddenly there are no responses from router, when I close them, and wait for a moment the responses are back.
    Whether anyone had similar problem??

  • Create Dotted line reporting and direct reporting btwn org unit to org unit

    Hi,
    Currently I am working on matrix reporting structure. My requirement is to identify the dotted line reporting as well as direct reporting between org units to org units and where the relationships are storing and which tables.
    Can somebody please help me in this process.
    Thanks,
    kamalesh
    91-9913532050

    Transaction code is ppms for matrix
    Dimension 1- 50005733-A , and what evaluation path?
    Dimension 2-50005837-C, 50005856-D what eavluation path?
    relationship ?
    B position is reporting to A and D org unit,C org unit reporting to Reg head BR these are direct relationship in existing org structure.
    Requirements:
    1.Cleint needs C and D wants to reports A in dotted line relationships.
    2.cleint needs dotted line reports C and A and direct reports of A,Cand D.

  • SC with Limit line items and Desc requirements _Incorrect Overall Limit

    Hi,
    When i create SC ,combining both limit items and non-catalog items (desc requirement), i am getting my PR created.
    However, i observed that for Limit lines in PurReq, the expected value & Overall limit amounts are not being transferred correctly.
    Overall limit is also showing as equal to expected value. This is happening only when i combine limit and full text lines together in a sc. It seems like a bug. We are on SRM 55 and patch 11.
    Appreciate any inputs.
    Thanks
    Krish

    Hi Karthik,
    Thanks for your reply. I already checked these notes and they are not relevant for my issue.
    My issue is like this. SC has got 4 lines and out of them 2 are Limits and 2 of them are describe req's lines.
    for one of Limit line, overall limit is 1000$ and expected value is $500.
    where as in the Purreq, i am getting both overall limit and expected value as $500 itself. basically overall limit is overwritten with expected value.
    I found very old note something simillar to this issue: 304382.. its the otherway happening in my case.
    Thanks
    Krish

  • Problem with Digital AV Adaptor and iPad 2

    I have lent my friend my Apple Digital AV adaptor to use with her iPad 2 but it is behaving strangely. Mirroring works correctly to her 720p TV (displaying the iPad interface in 4:3 ratio) but when she tries to play a video from shared iTunes library (the video is 720p 16:9 ratio) it plays with borders all around the edge. It looks like the iPad is playing it back within the 4:3 display, so therefore adding back borders to the top and bottom in addition to those already on the 16:9 display at the sides.
    Has anyone else experienced this? Why won't it play full screen on a 16:9 display?

    Update: Same problem when using iPad 3.

  • Problem with new-line-character and java.io.LineNumberReader under AIX

    Hi folks,
    I got the following problem: I wrote a little parser that reads in a plain-text, tabulator-separated, line-formatted logfile (and later on safes the data to a 2-dimensional Vector). This logfile was originally generated by an AIX ksh script, however, I copied it on my Windows machine to work with it (for I'm using a Java editor that runs under Win Systems).
    For any reason, Windows, and what is worse Java too, seems not to recognize correctly the new-line character (in the API it is written that this should be a newline '\n' or a carriage-return '\r' or one followed by the other) that marks the end of a line in the logfile.
    Also, when I'm opening the logfile with the "Notepad"-editor, this special character does not seem to be recognized, every line is inserted right after the other.
    On the other side, when I open the logfile with the built-in editor in the CMD-Shell ("Dos-shell"), the newline chars seem to be recognized correctly.
    But when start my parser on the AIX-machine the newline does not seem to be recognized correctly again.
    I tried to read in the logfile with MS-Excel and safe it as a plain-text, tabulator-separated, line-formatted logfile again, with such files my parser works fine both on the AIX as it does on Windows.
    Any ideas? Anybody got over the same problem already?
    Greetz FK

    Under windows, text files' lines are usually delimited by \r\n,
    under Unix/Linux/AIX etc. \n
    and under Mac \r.
    I recommend to use the following editors, which are capable to handle files with Unix and Windows-styled line-delimiters or convert between these types:
    Programmer's File Editor (PFE; available on Windows)
    The Nirvana Editor (http://www.nedit.org/; available on Unix, MAcOS, Windows)
    (BTW good old vim can handle that too. Transferring text files to windows in order to edit them, even using Excel for this purpose means your being a UNIX newbie, (I mean no offense by writing this) so vim is probably beyond your reach for the moment.)
    Java normally assumes the platform's line delimiters where it is running, so if you transferred the file from Unix to Windows might be distrurbing.

  • IMac G4 with no Line In, and no Soundpref.plist

    One day, I simply had no more Line-In on my iMac G4. Trying to use my guitar emitted this horrible high pitched shrill in Garageband. Some tooling around brought me to the System Preferences instead of the Garageband preferences. In the Input pane, there is only the Internal Mic. Did some research, and heard everything from it might be blown, it might just be a loose connection, to it may be an account issue, or even just a Preferences issue.
    Someone suggested deleting that Soundpref.plist file, and letting the computer remake it upon a restart. I tried to locate that .plist file. The oddest thing was very quickly apparent - it wasn't there. That's right, I didn't have a Soundpref.plist file. Everything else is there, but there is one extra file with an odd name that's not on my iBook with the same OS. They each have 33 files in the main Preferences folder.
    To be sure I wasn't just missing it, I copied the one off my iBook. Still nothing after Verifying and Repairing Permissions. I'm going to soon check my Time Machine from that computer to see if it's there at any point in the past. Very odd issue. In my past troubleshooting, Archive & Install and Erase & Install didn't solve the problem either. I'll also try creating a new user to be sure the problem isn't just on my account later on.
    In the meanwhile, any thoughts? Has this happened to anyone else?

    The noise is not feedback. It actually has nothing to do with my distance in relation to the mic. It is however sort of a 'feedback' sort of noise, just not actually feedback. It is obviously not trying to go through the output. Headphones don't bypass the issue. It's a matter of not having a Line-In option in System Preferences.
    I have had this problem for months. There is no simple solution I haven't tried to resolve this. To clarify, I'll list the fixes I've tried.
    Tried wiggling / cleaning the jack, swapping cables, swapping guitars, checked System Preferences (no Line In), checked GarageBand Preferences (no Line-In available), tried SoundStudio / Audacity, Archive & Install / Erase & Install, restore from very old Time Machine backup, create a new user, Verify / Repair Permissions, run maintenance scripts, copy another Soundpref.plist file...
    Anything I'm missing? Some setting or something simple?

  • Relation with Contract Line Item and Billing Plan

    Can a Billing Plan have more than one Contract (Sales Document) Line Item ?
    To detail, for example, a Billing plan is X and it has three Plan Items 1,2,3. Can there be situation where Billing Plan X:Item 1 is set up for Contract A:Item 10 and rest of the Items i.e. Billing Plan X:Item 2,3 are set up for  a different Contract B:Item 20 ?

    yes , we can

  • In-house production with on-line publication and external procurement C5

    Dear SAP Gurus,
    I need to configure PPDS to immediate transfer in-house production orders but to have periodical transfer for external procurement, do you know how to do this?
    Thanks and BR
    Andre

    Hi
    Goto Spro-APO-supply chain Planning-PPDSGlobal setting-maintain global parameters and defaults-
    Transfer to R/3 Inhouse Production- Always create transfer event
    Transfer To R/3 External Procurement- Do not create transfer event.
    To transfer external procurement periodicaly you can use /SAPAPO/RRP4 go to change mode and click on transfer order.
    Have a small test from all angles before going ahead with this approch. As you need check whether changes to already transfered purchase requisition get transfered to ECC if not how you will identify such orders and send it to ECC.
    May I know what is buisness reason for such requirement because I seen requirement to transfer inhouse production and external procurement only on conversion but heard of such requirement first time.
    Regards,
    Santosh

  • Problem with command line arguments and multiple targets in ant

    Based on the argument value,I have to create properties file .I am using the key value pairs present in the properties file in my build.xml file.
    Here the problem is , I am able to create the properties file,using the argument vaue.i.e.,
    ant -Denv=build-dev copy.
    ant build-all.
    it works fine,but if i want to call another target which uses the propeties file ,at the time of passing argument is failing
    ant -Denv=build-dev copy build-all
    why it is happening ?
    My build.xml file
    <project name="AntParam" default="copy">
    <target name="copy">
    <fail unless="env">You must specify the env property when you run ant.</fail>
    available property="env.prop.file.exists" file="${env}.properties"/>
    <fail unless="env.prop.file.exists">Cannot find ${env}.properties file.</fail>
    copy file="${env}.properties" tofile="build.properties" overwrite="true"/>
    </target>
    <target name="build-all">
    <property name="one.dir" value="${project.home}/two" />
    </target>
    </project>
    "${project.home}"--------this value I am getting from properties file.

    i find solution.

  • Help since updating to IOS6 IPad 2 will only part sync with ITunes over wifi and direct connect USB

    Since updating my iPad 2 it will only sync part of my iTunes library despite having the sync entire library box ticked for music and video
    I've tried restoring the iPad and iTunes but it still fails part way through the sync over wifi and USB this is the first time I've had any issues with my iPad
    Any ideas to solve this issue

    Hey there Nattinoo2003,
    Welcome to Apple Support Communities. 
    The article linked below provides a lot of great information and troubleshooting tips which you can use to resolve the Wi-Fi issues that you’re running into on your iPad since upgrading iOS.
    iOS: Troubleshooting Wi-Fi networks and connections - Apple Support
    So long,
    -Jason

Maybe you are looking for

  • Service entry sheet doubts

    Hi all, Is service entry and service acceptance done separately, that is first enter the services done and save it; then again accept the same services.  What all documents are created while accepting a service.  Is there any difference between cance

  • Problem in HTMLB..Please Help...urgent....:(

    Hello All, Please refer to the below code: package com.sap.NewOrderAssignment; import java.io.Serializable; import java.util.Calendar; import java.util.Date; import java.util.Locale; import java.util.GregorianCalendar; import com.sapportals.htmlb.*;

  • Why am I seeing dust inside my iPhone 5S camera lens?

    I don't have a case for my iPhone 5S and I do carry it in my jeans pocket. I am also not a messy person. So today I noticed something -- there's clearly some dust inside the camera lens (the one in the back.) When I shake the phone it rattles around.

  • What is the best Graphic Card between ... ?

    Hello, I hope you will be able to help me, Steve  ""Intel Graphics Media Accelerator 5700MHD"" Or ""ATI Mobility Radeon HD 3400 Series ? Solved! Go to Solution.

  • Has anyone else been having trouble with Pages crashing?

    Often when I open my MacbookPro from sleep, I get "PAGES QUIT UNEXPECTEDLY". I make a living as a writer, so I often work with many documents open at the same time. What should I do?