Labview help for first robotics team 3959

I am from team 3959 in the first robotics competition and we are stumped on something and have been for a while. We are trying to make a code for a shooter(ran by a vex pro jaguar) that launches frisbees(go to the first website for more info.) and a servo code(a vex pro servo) both in a Teleop.vi but although they have no code in common they conflict. the shooter code works fine as does the servo but if used at the same time the shooter runs a full neutral. I have added pictures of both codes to show. one is labeled working servo the other is a jaguar code. please if anyone could possibly help it would be great
-Joseph (proud head programming student of 3959)
Attachments:
labview.docx ‏352 KB

Questions about FRC should be posted in the FIRST Robotics Competition Community.
Please don't use Word documents for screenshots. Paste the screenshot into mspaint and save as a PNG, or even better, upload your code as an attachment. I'm an experienced FRC mentor and I still can't figure out what's going on in your screenshot because so much is crossed out and circled. Possibly the problem is that the servo code runs in a loop - why is it in a while loop? There's already a while loop further up in the code; if you put a loop like that inside your code, it will prevent the main loop from repeating until the inside loop finishes, which means anything else that is supposed to run repeatedly will run only once (until the servo loops stops; then it will run again one time and the servo loop will restart, etc.)

Similar Messages

  • Labview help for first robotics team 3959 dashboard/gyro

    how do we get the robotcode to write to the dashboard in such away so that the indicatior on the custom dashboard we put in gets output from the robot code to give us a visual that is useable during competiton so that instead of having to use the indicator on the front panel of the robot code we get that on the dashboard we have the indicator already there and all the stuff we need but how do we use the SD write/read numeric(in library under dashbaord) to incorperate this need on the dashboard
    -Matt (programmer from team 3959)
    Attachments:
    gyro.docx ‏452 KB

    A couple of things. First, write clearly! Sentences and punctuation help you communicate.
    Second, don't post screenshots as Word documents. Many users of this forum will refuse to open them. Paste your screenshot into mspaint and save it as a PNG.
    Finally, questions about the FIRST Robotics program are better asked in the FIRST Robotics Competition Community. Try posting there.

  • Continuous Servo Sample Labview Code for FTC Robotics

    We are trying to use a continuous servo on our FTC team. The motor just runs and runs and never shuts off even when the programmed button is released. We see sample code for the 180 degree servos, but nothing for the continuous ones. Is there any sample code anywhere? Thanks.

    Hi,
    There is a dedicated discussion forum for FTC robotics which is located at https://decibel.ni.com/content/community/first/ftc 
    and monitored by other FTC teams and some dedicated R&D teams.  
    Thanks and have a great day!
    Regards,
    Dave C.
    Applications Engineer
    National Instruments

  • Help for first install of macpro with osx server

    Hello to all
    it's my first message on this forum, i'm seeking for help because i'm kind of new with Mac systems.
    I'm gonna explain the problem
    So we are going to buy a mac pro and put 4*2To inside with raid 5 and osx server.
    The problem is that the cost of installation of sotwre and deployement etc is really expensive.
    I need to create a vpn too, this mac pro is gonna be a storage and multiple users must have acces to it. In fact this mac will be connected on the router and users will acces to it on local network then later we're gonna move from our base so the mac will be at the home of one of us and other users will have to access it from outside.
    I was thinking avoyding cost of install by doing it myself.
    So i've thinked that the best way to do it is by asking help to the community.
    Is anyone can help me with this or tell me where i can find tutorials to do it?
    I have skills but this is hard form me. The thing is that i learn fast. But i need help.
    Maybe my post is not really clear i write as it comes to me, english is not my langage too.
    So feel free to ask me questions or informations if you need.
    In the same time i'm reading posts on the foum about this kindof installations.
    Thank u so much
    .anto.

    Dear Marcassin
    i am happy to help to your problem .
    first i would say you must read the Documentation. and you should familier with Mac Os installation System.
    in your Mac Server DVD you will find the schedule sheet . print that and plan your server first. it will really help full. then come and list down the all the requirements.
    may be you will need more services after that.
    But again again again . read that sheet and fill all the requirements. and come back or read specific captors in the Documentation.
    if you want more details about the installing sachira.herath at gmail
     certified Pro 10.6/10.5

  • Problem|Install iTunes problem! help for first time using iPod touch (2G)

    Look i try to install the iTunes, but after press the install button, its write:
    "The installer ecountered errors before iTunes could be configured.
    Your system has not been modifited. To retry these operations at a later time, please run the installer again."
    What to do? ****!250 Dollar on this iPod, not for free! i must have it working.
    Please help me =]

    Have you seen this iPod 101 tutorial? You might want to bookmark it.
    http://www.apple.com/support/ipod/howto/

  • First time user--help for first task

    How do I take 2 pages from a PDF file sent to me, isolate them so I can copy/edit those two pages, and return those 2 pages to sender?

    Hi there,
    My recommendation is for you to follow these steps:
    1) Log into createpdf.acrobat.com and select "Export from PDF" on the right pane.
    2) Select your PDF file, select docx and click Export to export your file to *.docx.
    3) Once the export operation is complete, Download your converted file locally.
    4) Open the downloaded file using MS Word and make your necessary Edits.
    5) Save your edited file.
    6) In createpdf.acrobat.com, click Convert to PDF on the right pane.
    7) Select your edited docx file and convert the file to PDF.
    8) Download the file locally and send it to the appropriate sender using email or using Adobe's SendNow service (https://www.acrobat.com/sendnow/en/home.html).
    I hope this helps.
    Laura.

  • FIRST Robotics FRC - LabVIEW design pattern

    Can someone share his/her experience in the design pattern used in the FIRST Robotics FRC competition? Will the "producer-consumer" structure work on CRIO with LabVIEW real-time? or are there any advantages of teaching kids the design patterns (knowing we have only six and a half weeks to complete the project)?
    I have been using LabVIEW at work for a while, but never used CRIO and LabVIEW realtime. This year is my first year of being a mentor of a local high school robotics team. Thanks for your help.

    Hi Ian, 
    In LabVIEW Real-Time, the producer-consumer structure is useful if you are trying to pass data from a high-speed, deterministic loop to a slow loop (i.e. one that is writing the data to a file). However, the design pattern is slightly different in Real-Time, as you will want to use FIFOs to transfer the data instead of queues. This design pattern may or may not be advantageous depending on your application. More information on this design pattern can be found here. 
    Julianne K
    Systems Engineer, Embedded Systems
    Certified LabVIEW Architect, Certified LabVIEW Embedded Systems Developer
    National Instruments

  • Looking help for developing labview code [Urgent]

    Hi,
    I need help in developing labview code. I am new to labview and will appreciate if someone can help me in this matter. I need to control the intensity of AC load (halogen lamp with 2kW,230V,50Hz) using Labview and Arduino. But my project using interrupt in Arduino, so it is not possible to use Labview Interface For Arduino(LIFA).  I searched and it might be possible to use VISA serial in this matter. Attached is the circuit and the code of Arduino. Someone who is expert in this matter can help me?
    The concept of my project is almost same with https://www.youtube.com/watch?v=oeVJ5bs6E8M&feature=youtu.be
    Solved!
    Go to Solution.
    Attachments:
    Zero Cross Circuit.docx ‏203 KB
    Triggering Circuit.docx ‏48 KB
    Coding for Arduino.txt ‏7 KB

    Hi,
    You will find all information you need and LabVIEW VI examples on the LabVIEW Interface for Arduino
    LabVIEW Interface for Arduino
    Regards,
    Valentin
    Certified TestStand Architect
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • Can some body help me to develop labview code for generating pulse to drive ac servo motor

    can some body help me to develop labview code for generating pulse to drive ac servo motor... i am using NI 9401 card ....tnx

    Driving an AC servo motor would (I missed AC on the previous msg) requires some complex hardware. This is generally done by drivers specifically designed for this purpose. I doubt you will be able to accomplish this with the hardware you currently have and it might be cheaper to just buy a driver for it and control the speed through the driver.

  • Itunes application error when attempting to open for first time. HELP

    Running windows xp pro, just bought new ipod classic, installed itunes software. When attempting to open for first time i get an itunes.exe - application error, error message that reads "The instruction at "0x100001040" referenced memory at "0x100001040". The memory could not be "read". Click ok to terminate the propgram. Click on CANCEL to debug the program. I have tried re-installing several times, cleaned temp etc. Nothing. Please help, i really want to start using my new ipod.

    You have to unhide your library folder and adjust the user permissions to allow write access.
    Mylenium

  • Need help with Labview code for DAQmx

    I'm currently trying to write Labview code for some thesis research and am having problems.  I'm using the cDAQ 9172 with strain gage modules and two voltage input modules.  I'll be reading/recording a voltage from an external source on one channel, while recording strains and accelerations with the other channels.  I need to do all this simultaneously.
    Everything I've done to this point has been in SignalExpress so I'm not sure how to program any of this.  I also need to be able to calibrate the strain gages prior to each set of recordings.  Any help you guys could offer would be greatly appreciated.  Thanks.

    Hi,
    I'm not sure how much this will help you, but I've attached a screen dump of code from a project I did that sounds pretty similar to what you're working on. The code is from a subVI that I used to create the daqMX measurement task for my data acquisition. I was also using a 9172. This was written in 8.5, but the only thing that you may not have access to is the functions for null offset and shunt cal of the strain gage channels. Hopefully this will at least get you started on your way to setting this up.
    Andrew Carollo
    Attachments:
    create task.jpg ‏208 KB

  • HT204380 help. tried for first time to use FaceTime with another iPhone user & it would not work. "FaceTime failed". we are both on wi-fi networks & iTunes accounts are set up correctly.

    help. tried for first time to use FaceTime with another iPhone user & call refused to connect. Call would dial, allow us to accept call, then error message "FaceTime failed" would appear & call disconnect. we are both on wi-fi networks, both phones have updated software & both enabled FaceTime with iTunes logged in. don't know what else to do to get FaceTime to connect. Someone please help.

    Thanks Helen for the response. At least you can get some of the contacts to work. Absolutely none of mine will. Feel like my phone is cheating me out something it should do. Think I'm going to just have to dump all the Apple products in general because this phone hasn't worked right since I got it.

  • I bought my iPhone5 4 months ago and now the camera is not working, it only displays black in the screen. I've tried reset, restore for how many times but still the problem is not being resolve. Any help from you Apple team?

    I bought my iPhone5 4 months ago and now the camera is not working, it only displays black in the screen. I've tried reset, restore for how many times but still the problem is not being resolve. Any help from you Apple team?

    There is no Apple here, this is a user to user forum.  When you said you restored, then you restore as NEW?
    If you restored as New and still the problem persiist, then it time to take a trip to the Apple store.

  • I urgently need a contact email for the sales team can anybody help me with this

    I urgently need a contact email for the sales team regarding an outstanding query, can anybody help me with this please? Thanks in advance.

    Hello 
    Welcome to the EE Community! I'm afraid there isn't an e-mail you can contact the EE Mobile Sales team on, but here's how you can get in touch with them:
    If you're on Twitter, you can tweet them @EE, however If you'd prefer to talk to someone, you can dial:
    150 from your EE mobile phone
    If you're ringing from another phone, it's 01707 315000
    For handy text codes & more, check out this page: http://ee.co.uk/help/get-in-touch Cheers,
    Titanium
    Was my post helpful? Please take 2 seconds to hit the 'Kudos' button below

  • HT5312 Hi I forgot my security question how I can rest becouse I was going APP this massage pop of in the app page I benn buying app in this iPod may time they are say for first time you are buying apps in iPod pls I need your help to resist my security q

    Hi I forgot my security question how I can rest becouse I was going APP this massage pop of in the app page I benn buying app in this iPod may time they are say for first time you are buying apps in iPod pls I need your help to resist my security question

    The Three Best Alternatives for Security Questions and Rescue Mail
         1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

Maybe you are looking for