How to program myRIO processor with LabVIEW?

Hi,
I am working on a project using myRIO. Now, I have a labview program and it can run very well on PC, with usb connection to myRIO. What I want to do next is to run this LabVIEW program on myRIO processor, without the PC. How can this be realized? Thanks!
Even a very simple example of LabVIEW program, such as light up a LED is also helpful, if only it can run independently on the myRIO processor.

Hello Aoyu,
Ima chime in since i ran into this problem myself just now lol
im still noob myself, so bare with my advise =P
1. The VIs run on which processor? The myRIO processor or the PC processor?
According to the pic you linked both of those VI are running on your target devise not your pc, at this stage you should be able to open one or both of those VIs on you PC and see what is happeneing in Real Time
2. If the program run on myRIO processor, why it stops running as soon as I disconnect the USB between myRIO and my PC?
From what i understand this is happeneing because you have not set a build specificatgion for your particular VI...
if you right click on Build Specification>Source Files>project Files - add your project file VI by clicking the right arrow to Startup VIs and click build
now you should see a new file under build specs right click on that and click set as sartup and run at startup and a promt windpow should pop up asking you to reboot
*** I still dont fully understand this proccess and i might be wrong but maybe someone else can elaborate a little more***
3. How to run a program on myRIO independent of PC?
As vague as this question is i think i can shed some light on the subject...
If you develop a code to run on your PC you most likely will not be able to just drag and drop it to run on your target device...
if you right click and create a new VI under both "my computer" and your "myRIO" and then right click on both the front pannels of each VI you will notice that some of the options that are available on the front panel of the my computer VI will not be available for the front pannel of the myRIO VI...
With that said if you have developed your VI for a PC platform, and drag and drop it under your myRIO and open it you will most likely see broken wires and a list of errors =P
(this happened to me)
Ill share a link to a thread that helped me out with this problem maybe you can find your answer there =)
Understanding the platform you are developing for
I started posting on page 3 about 1/2 way down you should start there and read the next 2 pages... i think there is some good information there that should help you out with this question =)
GOOD LUCK!

Similar Messages

  • I Seek code for programming lego minstorm with labview

    Hi,
    I'am building a car with lego mindstorm for a project and i seek code for programming my car with labview. If you already use labview for programming lego mindstorm, can you send exemples codes for see how the car do for move or turn. please.
    Thanks 

    duplicate post
    duplicate post
    Please try to keep your question to one thread. Otherwise people don't know where to respond. 

  • How to program a screensaver with java???

    Hi all,
    Can someone tell em how to program a screensaver with java, and how should i begin ? or maybe someone know any useful information source?
    thanks a lot.
    ck

    A quick google search gives me, among lots of other things:
    http://kevinkelley.mystarband.net/java/sava.html
    Good luck
    Lee

  • How to build demo versions with Labview ?

    Hello,
    is it possible to design Labview applications in a kind,
    that it is possible to generate "demo versions" of it ? Demo version in the means of feature-limited crippled versions of a full instrumentation software, where SOME hardware access is denied, but you can load and view and analyse data.
    Of course it might be useful to compile this demo version with the Labview Application Builder,
    What might be the business modell for demo versions:
    A hardware manufacturer creates a Labview application which controls the manufacturer's components, and allows instrumentation and data recording. The application is not free but sold for extra money.
    As pre-sales benifit, the manufacturer would like to send the (compiled) Labview application to future customers.
    Now the problem is, that the customer has not (all) the external devices or PCI/USB devices,
    on the other hand the hardware manufacturer does not want to give the "full application" as gilft to the customers.
    Now with traditional software development with C++, Java, C#,
    either a demo version is gained from the full version by replacing some module with hardware access by modules wth "empty" function body or with function body which return constant values instead of accessing the hardware.
    In the world of process industry, usual process control systems may supply "alternative" values if the original device is not available.
    What kind of software structure must I build with Labview, to do the same ?
    Now the problem with Labview applications is
    Labview applications depend on drivers. Drivers depend on hardware.
    So if the FULL commercial version of the Labview program accesses a DAQmx driver, GPIB driver or any other hardware driver by a VI,
    and often this means that a special manufacturer VI is used in the Labview program which does the actual hardware access,
    how to modify the software to make a demo version
    a) so that IF the customer buys the hardware and gets the hardware driver, he still does not have the full version
    b) so if the customer neither has the hardware nor the driver, he still can run the Labview software and load an view data, push buttons, can execute menu items even can manipulate data ect, can use the manufacturer's VI
    Unfortunately, it is no solution just to delete "some" of the VIs with hardware access from the distribution of the demo version, as this just causes error messages during the loading of the (compiled) Labview demo application.
    Message Edited by hemmerling on 01-11-2007 12:35 AM
    Message Edited by hemmerling on 01-11-2007 12:37 AM

    Thanks alot.
    Conditional Disable and Diagram Disable Structures
    http://zone.ni.com/reference/en-XX/help/371361B-01/lvconcepts/cond_diagram_disable/
    are indeed at least a part of what I wanted.
    Anyhow, as such "suspended" VIs are often the *source* of signals,
    so there must be an addtional method how to provide "alternative" signals for the demo version,
    which does not make the administration / further development the full version  too complicated...
    For example: The VI for an external signal generator device is disabled, but alternatively it would be nice if the users of the demo version can get a fixed sinus signal instead...
    How to do that with Labview and the "Conditional Disable and Diagram Disable Struktures",
    and can I test this all even without Labview Application Builder, in the full development system ( so that I don´t need the compiler for frequent checking ) ?
    Btw, with what version was this "Conditional Disable and Diagramm Disable" feature introduced ? Is ist already available with Labview 7.0, /.1 ?
    Sincerely
    Rolf

  • How to use intel processor with a different monitor

    I'd really like to buy a 24 inch imac but I'm concerned about the gloss screen and all the problems I've read about. I'm a professional photographer but can't afford a mac pro with cinima display. I really like the 20 inch 'white' monitor on my G4 iMac. Any thoughts on how to match an intel processor with a monitor of choice?

    If you buy the iMac, just buy an external display of your choice and get a Mini-DVI to VGA or Mini-DVI to DVI adapter for your iMac and plug the display into the iMac. From there you can download 3rd party apps to shut off the iMacs screen and just use the matte external display as your main monitor.
    I'd recommend getting a external display that uses DVI for your photography, much better quality image.

  • Programming AVR microcontrollers with LabVIEW

    Hi Folks,
    I'm currently trying to program an AVR microcontroller with LabVIEW 7.1 via
    the JTAGICE mkII interface. I've got all of the ATMEL literature regarding
    the interface, and can get the the device recognised in MAX when used on the
    USB bus, but whether USB or RS232 I just cannot get a reply from the JTAG.
    Has anyone got any suggestions / links that may help me along with this
    project? I know a company sells a programmer with a LabVIEW interface, but
    I'd rather not fork out the £700+ if I can avoid it.
    All the best
    Andy

    Hi Andy,
    I don't know what you need to do, but I think it might be an initializing problem. Make sure that you have them set as the manual says and that you are initializing the microcontroller properly. Usually it is that you are not wiring correctly or not initializing something the way it should.
    I found this link on the internet. They might also be able to help you on this.
    KDI
    Hope this helps.
    Ricardo S.
    National Instruments.

  • Need instructions on how to get Quanser working with LabView 7.1

    I need information on what LabView modules or addins to install in order to run Quanser (QNET Experiments release 2.2).  LabView 7.1 is loaded but we also have LabView 7.0 if needed.

    Hello JND,
    The Quanser website indicates that the QNET products are fully
    compatible with LabVIEW and NI Elvis. However, I could not find more
    information on any drivers they provide for LabVIEW, so I suggest you
    contact them directly about this. If they have drivers written for
    LabVIEW, that should be enough to communicate with the board from
    LabVIEW. In order to communicate to NI Elvis, you need to install
    NI-DAQmx and NI ELVIS drivers available at this page.
    Good luck and best regards,
    Shakhina P.
    Applications Engineer
    National Instruments

  • How can i work simultaniously with labVIEW and Excel ?

    Hello . I study engineering and need some help with labVIEW, and the connection to microsoft excel.

    Hi
    NI offers an "Report generation toolkit". You get some VI's with this toolkit and so you can directly create your reports from LV.
    Another possibility is the communication through ActiveX. There is a nice link with application notes and LV examples for that:
    http://zone.ni.com/devzone/devzone.nsf/webcategories/C3E56C69D399361E86256AB7006A9149?opendocument&node=DZ53003_US
    Regards,
    Luca

  • How can I program Multi Monitor with Labview?

    I must use more the four  Monitor in my program,one panel at a monitor,How can I programming to decide the panel in difference monitor?
    thanks

    duplicate

  • How to use USB interface with LabVIEW Embedded for ARM

    Hi everybody.
    I am developing an application based on the "LabVIEW Embedded for
    ARM". Now I am doing various tests using
    the evaluation board 2300 (with NXP LPC2378), but soon I will
    dedicate to program the micro used in my project (NXP
    LPC2148).
    During the tests, I have seen that "default" LabVIEW interface allows the use
    of CAN, I2C and SPI interfaces of the micro. I want to know how can I also use the
    USB interface that is on the micros -both LPC2148 and LPC2378- (pin USB_D + / D-, USB_UP_LED,
    USB_CONNECT, VBUS).
    Thanks in advance for your suggestions

    @chueco85
    If you've created an application in LabVIEW for ARM and you build it.
    you can go to tools >> ARM Module >> Show Keil uVision
    then go to he build options.
    the hex file will be created when you do a build.
    with flash magic :http://www.flashmagictool.com/
    you can program your device.
    Wouter.
    "LabVIEW for ARM guru and bug destroyer"

  • How can I open VeriStand with labview?

    Hello everyone, does anyone know how I can open VeriStand 2011 using labview, or is there a VI that allows you to open VeriStand from labview

    Hey Duglia,
    Have a look at this, it may help you with your problem.
    Regards
    Andy
    "To 'G' and not to 'C', this is not a question!"

  • How to run image processor with ACR?

    I have a folder with 1000 raws.
    I just want to run image processsor to make small jpegs for the copyright office.
    Think it ACR opens each one to the ACR window and then stops.
    (I think Jeff S, explained this in a previous thread of mine I now cannot find— sorry. At that time it probably was not a critical issue and I move on. But I do gotta get these shots over to Washington DC now. thanks!)

    kevin4545 wrote:
    I have a folder with 1000 raws.
    I just want to run image processsor to make small jpegs for the copyright office.
    The interaction between Image Processor and Camera Raw depennds on your Image Processor settings...if you've laready set the image adjustments (or don't need any adjustments) simply be sure you DON'T select Open fist image to apply settings> As long as you don't select this option, IP will run through all of the raw files, process them with the image settings and save as JPEG–you'll want to select the Save as JPEG, set the quality and prolly set to Convert Profile to sRGB. If you want to minimize the final output size (suggested for several reasons) you can select the Resize to Fit option. You don't want to send high rez images to the Copyright Office...1024 x1024 is large enough...you WILL want to fille out the bottom line for Copyright Info.
    Yes, Lightroom can be used for this (easily) but so can Bridge/ACR/Image Processor.

  • How to use matlab function with labview?

    Hello,
    I just want to use some matlab functions like floor(),ones()... in my labview code, who can tell me how to do it?
     I want to only install MCR in my PC, so MATLAB script node can not work because it need matlab installed. 
    Thanks
    Solved!
    Go to Solution.

    floor() exists on the standard labview pallet already and the ones() function would be fairly simple to reproduce. If you only need a few basic functions repost asking for direction on recreating those specific methods. However, you're right - there is not a direct way to use compiled matlab code in labview without full matlab and the math script nodes. If you're really desparate to reuse some some exisiting IP there are C++ alternatives that implement many of the same methods and syntax as matlab (http://arma.sourceforge.net/faq.html). I'm fairly sure there are other tools that attempt to translate matlab code into pure c functions, both of which can be called via a DLL from within labview: https://decibel.ni.com/content/docs/DOC-9076
    Alternatively, here is an all NI linear algebra solution: http://sine.ni.com/nips/cds/view/p/lang/en/nid/210525

  • How to run Speedy 33 with labVIEW 8.5 core software, Please send procedure.

    Dear Sir
                 Wish u Happy New year (2010). I need a technical support for Speedy33. We have purchased NI speedy 33 h/w setup on 5/11/2008 from Tridet Techlabs Pvt. Ltd. Now we have got new(virtual Instrumentation) lab. when we purchased NI speedy 33 we have got only installation guide with the h/w. we want to run speedy33 with core s/w(LabVIEW8.5.1). So we kindly request you send procedure for running & working with speedy 33 using core module. 
    Thanking you
    S. Antony Jesudurai
    Lecturer, ICE Dept,.
    Dr. Mahalingam College of engineering & technology,
    Pollachi.
    TamilNadu
    India.

    Happy New Year to you as well Dr. Mahalingam!
         This forum is a predominently user supported one, although National Instruments monitors it and supports questions when they can, but it isn't an "official" communications pathway to National Instruments. To assure a response I would suggest contacting your nearest National Instruments representative in India, they probably can get you the info you need.
    That having been said, while I don't have the info, another user may be able to assist you. As this is the beginning of a long holiday weekend, with many people taking today off, if you haven't seen a reply by Monday the 4th post a simple query to this thread to pop it back up on the "new question" area. As new questions come in, the older ones scroll down, until they are on an previous page, where they tend to get missed.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • How to create a trigger with Labview

    Hi all,
    i've this strobo lamp Perkin Elmer MVS 4100
    (http://pki8.mondosearch.com/cgi-bin/MsmGo.exe?grab_id=0&EXTRA_ARG=&host_id=42&page_id=20717&query=4100)
    and it does have a 9pin connector for the External Trigger.
    Do you think is possibile to connect it to the serial port of the pc
    and create via Labview the Trigger?
    The strobe needs a +5V, 20mA,10-100µsec pulse to be triggered.
    THanks in Advance.

    Hi COmpa,
    Do you think is possibile to connect it to the serial port of the pc
    and create via Labview the Trigger?
    The strobe needs a +5V, 20mA,10-100µsec pulse to be triggered.
    I think the 9-pin serial port on a PC swings between +/- 12V - if that's OK for your trigger, then a pulse of precise duration might be generated by configuring the port for serial output, a suitable baud-rate, careful selection of start or stop bit, and then sending a single byte byte where all bits are the same.  I've never done this, but I think it's possible!
    If the +/- 12V is a show-stopper, then consider using a parallel-port instead.  Its pins swing between 0 and 5V.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/72C6FC6CE4AD4D1386256B1800794596
    Also, a "quick and dirty" way to control pins on either the serial port or parallel port is by writing to a VISA property node:
    Have fun!
    Message Edited by tbd on 06-28-2006 11:52 PM
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
    Attachments:
    VISAProp.jpg ‏3 KB

Maybe you are looking for