Can I be directed to a SIMPLE example of one value being passed FROM Labview TO an Onboard program to be used as a "Var Vector" in a sub.vi in the onboard program?

I can find all kinds of examples of data FROM OnBoard Programs to the host but not the other way round. Specifically how do I get the variable into a memory location that the Board will read?

Thank you for contacting National Instruments. There are a few LabVIEW examples that ship with NI-Motion that use the Load Constant to Variable VI to store data from your application to the onboard memory of the motion controller device. If you open NI Example Finder (click on Find Examples.. under the Help menu) and choose to browse by Directory Structure, then you can navigate to the Motion >> FlexMotion >> Onboard folder. The "Sequence of One-Axis Moves" and "Repeated Move in a FOR Loop" examples both store information in variables on the motion controller, whose data is later used in the onboard program. From your post, this is what it sounds like you are interested in doing.
Also, if you are new to onboard programming and want to look over some more informa
tion on developing those applications then I would recommend starting with Chapter 15 of the NI-Motion User Manual, where it discusses onboard programming. You can also reference the following website and the links on it:
On-board Programming in FlexMotion
http://zone.ni.com/devzone/conceptd.nsf/webmain/F03A6DE53C744C5886256857005ECDBE?opendocument
If this does not answer your question or if I miss understand your request then please let us know.
Regards,
Michael
Applications Engineer
National Instruments

Similar Messages

  • Simple example of a combobox displaying data from a CF datasource

    Can anyone point me to a simple example of a Flex 3 combobox that displays data from a ColdFusion datasource?  I cannot seem to find a simple example.  As always, thanks!

    Thanks for the response, but the example you provided is more complex than I need.  For example, I have a simple table accessed through ColdFusion.  The table has one filed with 7 records.  I need a flex page to display that data in DataGrid, ComboBox and List controls.  The Datagrid displays the 7 records but the ComboBox and List are blank.  How do I get the values from the database to display in the BomboBox and List controls?
    Below is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
                    creationComplete="initComponent()">
        <mx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
            import mx.rpc.events.ResultEvent;
            import mx.rpc.remoting.RemoteObject;
             private var currentIndex:int = 0;
            private var _key:Object;
            [Bindable]
            public function get key():Object
                    return this._key;
            public function set key(key:Object):void
                    this._key = key;
             private function initComponent():void
                    refreshList(null);
             public function refreshList(event:Event):void
                    this.dataManager.getRoles(this.key);
            private function getRoles_result(event:ResultEvent):void
                    this.roleList.dataProvider = event.result as ArrayCollection;
                     this.roleList.selectedIndex = this.currentIndex;
        ]]>
        </mx:Script>
            <mx:RemoteObject
                id="dataManager"
                showBusyCursor="true"
                destination="ColdFusion"
                source="ifqgtfuses.com.vwRoles">
                <mx:method name="getRoles" result="getRoles_result(event)" />
            </mx:RemoteObject>
       <mx:Canvas width="100%" height="100%" x="0" y="0">
            <mx:DataGrid id="roleList"
                x="10" y="10">
                <mx:columns>
                    <mx:DataGridColumn dataField="vchar_role" headerText="Role" />
                </mx:columns>
            </mx:DataGrid>
            <mx:ComboBox x="10" y="160" id="rolesComboBox" dataProvider="{roleList.selectedIndex}"/>
            <mx:List x="120" y="10" id="rolesList" dataProvider="{roleList.selectedIndex}"/>
       </mx:Canvas>
    </mx:Canvas>

  • How do you get your Iphone to show sub folders in the mail program?

    Hallo
    I Have a lot of sub folders in the mail program, that I use to distribute my mails according to projects but they do not show on my Iphone? Is this function not possible?
    Thanks!
    Mikkel

    I didn't set anything - it just happened. I think it only works for IMAP accounts. If yours is IMAP, the only thing I can think of is to delete the account and set it up again

  • Hi guys, I want to sync my Pages program to iCloud but haven't got an option to do so in the pages program. Instead there is only iWork. I think I have the updated version its, 4.1 (923) do i have to update my version or should it work?

    Hi guys, I want to sync my Pages program to iCloud but haven't got an option to do so in the pages program. Instead there is only iWork. I think I have the updated version its, 4.1 (923) do i have to update my version or should it work?

    I think you mean "there is only iWork.com". iWork is the name of the 3 software programs. iWork.com is a web site.
    You can use iWork.com till 1 August. (Apple is shutting down iWork.com from 1 August.) After that date you'll have to use iCloud, though it's available now to use. See Re: How to upload a document to iCloud from Mac?
    NB This process is a bit clumsy. Apple have said they'll be improving iCloud in OS X Mountain Lion. But this new version of OS X won't be available till end of summer (or winter if you're in the other hemisphere).
    Note also that iCloud only syncs documents between your devices. It doesn't share documents with others. If you need to do this you should consider another service like DropBox, Google Drive or Microsoft Skydrive.

  • How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; I also have Microsoft Word installed on the Mac as well.

    How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; none of the options I choose work. I also have Microsoft Office (with Word) installed on the Mac as well.

    Format the external drive as FAT32 or ExFAT. Both computers will then be able to read and write to it.

  • How can I turn off Popup blocker to allow me to print boarding passes from Easyjet ?

    How can I turn off Popup blocker to allow me to print boarding passes from Easyjet website ?

    This helped greatly. However, some sites like banks now insist I use Chrome.  How do I turn off pop ups in Chrome on my iPad ?

  • Red Hat Enterprise Linux Test Page - why am I directed to this page when I go to a specific website. It does not happen when I use other browsers so there is not a problem with the website.

    Red Hat Enterprise Linux Test Page - why am I directed to this page when I go to a specific website. It does not happen when I use other browsers so there is not a problem with the website.
    Just started happening yesterday.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Do you see any prefs related to that <b>knoxnews<i></i>.com</b> site on the <b>about:config</b> page if you enter that URL in the Filter?
    *http://kb.mozillazine.org/about:config
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Can it be easier when running  simple examples in jmstutor

    Hi, I'm a new user of java. when I tried to use Simple examples in jms_tutorials, such as SimpleQueueSender.java, I found I had to type a long command:
    java -Djms.properites=%J2EE_HOME%\config\jms_client.properties SimpleQueueSender MyQueue 3
    It seems a little inconvienent.
    Can I first set the properties, then run the programe?
    How?
    Thanks a lot!

    You could put the command in a script and run it that way. But you do need to pass that -D option to the java command at J2EE 1.3.1.
    You could move to J2EE 1.4 Beta and use the J2EE Tutorial Addendum, which simplifies running the examples by providing Ant build scripts.
    Kim Haase
    Technical Writer
    Sun Microsystems, Inc.

  • Reg:can we connect directly SAP Bussiness Intelligence - SAP Bussiness One

    Hi Team ,
               can we connect directly from SAP B1 to SAP BI,without using any third party interface . what are the connection that Bi can do directly .
    Thanks & Regards,
    MD.Kaleem

    Hi,
    1. Not possible to upgrade directly. Refer SAP note 1993301 - Overview Note for SAP Business One 9.0 PL11 for required versions and PL.
    2. If you are using a version prior to SAP Business One 9.0, you can upgrade it to SAP Business One 9.0 PL11 directly
    My thought is 9.0 PL00 to PL10.
    Thanks & Regards,
    Nagarajan

  • Values not passing from program to Layout

    Hi Abaper's
    My requirement is I need to set company logo in Invoice ( VF03 ) if a particualar condition satisifies, for this I have set a FLAG in my
    driver program and called the FLAG in my Script Layout.
    Here my issue is, for certain invoices the FLAG set in the program is being called in the Layout and Logo is displayed in invoice copy ( when excuted both in foreground and back ground).
    But in certain invoices, if run in foreground none of the values ( means not only flag but also all the values to be passed to layout)
    is displayed in invoice. It is only displaying the hard coded values in the layout ( showing blank page ).
    and if I run in background all the values are passing to layout except all Global Variables (flags) in the program even though it
    has value in the program.
    Please advice what should be the problem, I have checked with my Functional and it seems to be fine in customization part.
    Karthik
    Edited by: Karthik R on Sep 21, 2010 2:42 PM

    Hi Tamas,
    I have tried it, but still not able to figure out the exact problem....since while running in background or foreground some of the all values including my logo are displayed in invoice but for some invoices none of the values from driver prgram is getting passed to layout while running in forground....but when run in background all values are passing except the FLAG set in the drvier program.
    what should be the reason for this ? for some invoices all the values from driver is passing to layout but for some cases its not passing

  • What Program Should I use to create motion vector intro?

    Hello,
    I am creating an intro to a series I am making for a client. I will be animating vector images that I have created in Illustrator by saving them as ".ai" files. In the past I have created a similar project using Premiere Pro CS6 using ".png" files in hopes of saving time and processing power.(However, the final product's quality was not where it should have been.) Would it be more beneficial to create this project in After Effects CS6? What are the benefits of using vector images in After Effects rather than Premiere? Are they any benefits? Also if you have any experience creating animation in these programs I would love to hear any advice seeing that I am new to this type of work.
    Thanks,
    Alex

    What is the final destination of your animation, are you producing this to go on a DVD, or a website. After Effects is superior to Premiere in animation capabilities of vector objects (which really turn into bitmpaped objects for the final rendering no matter what program you use) , but Premiere is quicker for splicing videos together and putting transitions in between them.
    If the final quality is not where it should have been your settings were not correct. My advice is to  use an experienced professional to do this job for you, until you learn more about quality control for animation.

  • Error Message: Adobe Reader has stopped working correctly.  Windows will close the program and notify you if a solution is available.  I have uninstalled the reader program and reinstalled the reader program.  The same error message appears.  Help

    Does anyone have an answer to the above error message?

    Can you open Reader by itself?  If so, try disabling Protected Mode [Edit | Preferences | Security (Enhanced)].

  • First, iTunes keeps disappearing from my computer.  his has happened twice.  second, I am trying to download it again, but the setup program keeps saying "invalid K-drive."  Since I don't have a K-drive,

    So how do I change the drive your program is trying to load.

    See "Invalid drive X:\" install errors.
    tt2

  • HT201250 Can I set my backup times in Time Machine. It disconnects me from my work session when it kicks in.  Would like it to backup my system later in the day.

    I work from home and the Time Machine backup is kicking in way too often.  If I could set it to backup later in the day, that would be great.  Any suggestions?

    andreefromaz wrote:
    I work from home and the Time Machine backup is kicking in way too often.  If I could set it to backup later in the day, that would be great.  Any suggestions?
    You can turn Time Machine off. Set it to show TM status in the menu bar. Then, when you want it to back up, click on TM's menu item in the menu bar and chose Back Up Now. Unless you really need hourly backups, this way you can initiate the process when you know it's necessary.

  • HT1338 I can NOT keep a charge on my mac book 17" it is 1 1/2 years old... I use it a lot... but I never took the plug out much at all...

    My computer will not hold a charge more than a half hour....
    I really don't know all this information...

    Most likley you need a new battery.
    You can check the battey "health" with ->About This Mac->[System Report]->Power->Health Information

Maybe you are looking for

  • Inherited a older Mac Mini, Need info on reinstalled of the OS

    Greetings all. I was recently donated my first Mac, a Mac Mini A1103. It came to me with a bad hard drive, which I have replaced. My question is: how can I acquire (legally) the factory discs to reinstall the operating system? Thank you in advance.

  • Oracle Forms Builder in Windows Vista

    Hi. I have Windows Vista and when treatment to connect to me with Forms Builder vers. Forms [32 Bit] Version 9.0.4.0.19 generates to me east error according to the tests that I did has something to see with OCI_7 can help me please. The error is: ORA

  • How to control leading spaces exchnage rate value

    Hi We have issue,when user is given the rate value with leadeing spaces in spread sheet,after upload spread sheet, rate is upload as 0.Please advise me how to control this in spread sheet Thanks Anjireddy

  • Express 34 Firewire 800

    Is one available yet? If so where?

  • APPSET   (Errors in Copying AppShell)   --------AppSet without copying?

    Hi Folks; I am creating a new APPSET, Obviouslly based in APPSHELL. 1.-  I get this ERROR in the Five Step:  (You know how solve it?) > Check Enviroment Information OK > Copy File   OK > Copy DataBase OK > Create OLAP Database OK > OLAP Connect ERROR