Accelerati​on to position.

I am using accelerometers (+/-2g) in an inertial navigation system. The input voltage is proportional to the acceleration.
The aim is to produce a map of XY coordinates. I also want to be able to plot events at the coordinates they occur at. Something like an intensity chart where the colour indicates the strength of the event would be ideal.
I am new to labview and have been struggling to get to grips with the program. In particular I have been having problems with the "integral(x)" vi which seems to require an array containing the waveform before any calculation is carried out. I am looking for a solution that instantly converts the input acceleration signal to a position. Can anyone help point me in the right direction?

Climber,
I posted a response to your other post. Hope its helpful.
http://exchange.ni.com/servlet/ProcessRequest?RHIV​EID=101&RPAGEID=135&HFORCEKWTID=26887:5&HOID=50650​0000008000000BD400000&HExpertOnly=&UCATEGORY_0=_49​_%24_6_&UCATEGORY_S=0

Similar Messages

  • IPhone 5 as GPS unit - disable cell service?

    I want to use my iPhone 5 as a GPS unit when I'm out in the mountains and I don't want my phone to keep searching for service and running down the battery. Is there a way to turn off everything (including phone service, not just data) except the GPS? I'd like something like airplane mode but still be able to use GPS. Thank you!

    No, the iPhone uses the cell signal to accelerate determining your position. Once the phone can connect with 3 satellites it will be able to determine your location...but...you will need to buy a mapping program that stores its maps on your iPhone instead of accessing them through cell data or WiFi. Like Garmin, or TomTom, or...more in the App Store.

  • Motion 5: Setting constant speed on position change

    Hi there,
    Can anyone shed some light on how to get rid of the smooth movement setting when moving an object from A to B. Motion appears to accelerate and decelerate the object to make it look smoother. However, I want to set an object to move at the set speed straight away, not accelerate up to it.
    Thanks in advance

    This is for Mo4, not Mo5, but I assume the same thing holds. The default keyfame setting is Bezier. If you right click on the position keyframe and select linear, it should do what you want.
    Russ

  • Load frames conform mouse position

    Hi.
    Look this site:
    www.perpendicular.tk
    This site use javascript to show image by image. It is not a 3D model, only images are showed one by one in relation position mouse.
    In actionscript, how Can I make this?
    I think that I need start putting the images in frames. After, Stop(). When Mouse clicked, I need to compare with the last position and verify the direction, if mouse direction is left ou right and gtonextframe.
    But how can I make this accelerate system. Look in site that the image are load more fast is mouse moviment is fast...
    Thanks and sorry for my english...

    Here, I have the side that my model is rotated, left or right and get the speed of mouse is moved. Speed like 5000 is vary fast. So in interval, I need to create a factor that go to increment the time until == 500 when the movieclip is total stop. If speed iguals 5000, so I start interval witth 10 miliseconds and increment to 15, 27,35 and so...But for this, I need create a factor, to multiply the 10 miliseconds and get the value to the next times...
    Realy, sorry my english, I try but I imagine the dificult to understanding that I write...
    var _oX:Number = stage.mouseX;//last mouse x position
    var _oY:Number = stage.mouseY;//last mouse y position
    var _velX:Number = 0;//velocity x per second
    var _velY:Number = 0;//velocity y per second
    var _speed:Number = 0;//change in position per second
    var _mouseTimer:Timer = new Timer(50,0);
    _mouseTimer.addEventListener( TimerEvent.TIMER, updateCurrentMouseVelocity);
    _mouseTimer.start();
    function updateCurrentMouseVelocity(e:TimerEvent):void
        var nX:Number = stage.mouseX;
        var nY:Number = stage.mouseY;
        var dx:Number = nX - _oX;
        var dy:Number = nY - _oY;
        _oX = nX;
        _oY = nY;
        _velX = dx * 1000 / _mouseTimer.delay;//per second
        _velY = dy * 1000 / _mouseTimer.delay;//per second
        _speed = Math.sqrt( _velX * _velX + _velY * _velY );
    trace(_velX);
    //desascelarating function
    var teste:Number = 0;
    //teste = setInterval(someFunction, (100));
    var sfunc_i:Number = 0;
    var timer:Number = 100
    function someFunction() {
    sfunc_i++;
        clearInterval(teste);
        teste = setInterval(someFunction, (timer));
    timer = timer + 100;
    mc.nextFrame();
    if (timer == 500){
       clearInterval(teste);
    this.addEventListener(MouseEvent.MOUSE_DOWN,mouseD);
    this.addEventListener(MouseEvent.MOUSE_UP,mouseU);
    this.addEventListener(MouseEvent.MOUSE_MOVE,mouseM);
    var factor = Number;
    var xmouse = 0;
    var initialPnt;
    var key;
    var keyAnt = 0;
    var actualFrame = 0;
    function on_enter(event:Event):void{
    if (testa == true){
        if(xmouse == 0){
          xmouse = mouseX;
        }else{
        if(xmouse > mouseX){
         trace("left");
         xmouse = mouseX;
         teste = setInterval(someFunction, (_velX));
        }else if(xmouse < mouseX){
         trace("right");
         xmouse = mouseX;
    var testa = false;
    function mouseD(e:MouseEvent):void{
    testa = true;
    function mouseU(e:MouseEvent):void{
    testa = false;
    function mouseM(e:MouseEvent):void{

  • Is there a way to create and edit a video in portrait mode / 9:16 in Premiere Elements 12 or 13. Playback on an iPhone in portrait position.

    I'm editing iPhone app video for posting as the first screen in the Apple app store. Required size for the video is 750:1334, 9:16. I there a way to setup the initial video in portrait mode? Many posts for how to rotate a specific clip, but I need the whole video in portrait position. How to accomplish this? I'm using Windows 7 and Premiere Elements 12 and now 13.

    LaurieFrick
    Thanks for giving this portrait Edit area monitor shape a look.
    I have Windows 7 64 bit and Windows 8.1 64 bit and have done the work using Premiere Elements 12/12.1 on Windows 7 64 bit.
    Here is a step by step
    Find the DSLR [email protected] file
    Local Disk C\Program Files\Adobe\Adobe Premiere Elements 12\Settings\SequencePresets\NTSC\DSLR\1080p\
    And, in that 1080p Folder is the DSLR 1080p30@ 29.97.sqpreset file that you seek.
    1. Copy the
    DSLR 1080p30@ 29.9.sqpreset fileI
    and paste it to the computer desktop in a newly created folder named 1920p.
    2. Open the 1920p Folder and edit the ..sqpreset file in Notepad.
    To do that right click the .sqpreset, and, from the pop up, select Open With and then Notepad.
    3. In the Notepad document, you are going to edit in only 2 places for now, switching 1920 and 1080 to 1080 and 1920 at the top and bottom
    sections of the Notepad document.
    Then go specifically File Menu/Save of the Notepad document and hit Save.
    4. At this point, you have the edited.sqpreset file in the 1920p Folder on the computer desktop.
    (Change the name of the edited .sqpreset file so that it = DSLR [email protected])
    Move the 1920p Folder from there to add it to the 1080p Folder, the location where you found the original .sqpreset file that you edited.
    Close out of there.
    5. Back in the Premiere Elements 12/12.1, manually set the project preset to the new project preset
    6. When you import your 1080 x 1920 9:16 video file into the project and drag it into the Timeline, you should see
    Note that there is no orange line over that Timeline content, indicating that you are seeing
    the best possible preview of the image.
    7. As I wrote before,
    But, here is the hang up. If I render the Timeline content to get the best possible preview at the Edit level, the video in the Edit area monitor
    squeezes in resulting in black borders to the left and right of the video image on screen.
    But, otherwise I found I had no problems editing or exporting, just had to keep away from Timeline rendering for previewing after an edit. Need to find the missing ingredient for 100%.
    I will be writing this up in my blog in a more organized fashion including how I got the project preset description in Change Settings to agree with the changes. Probably I will do that in the morning.
    ATR

  • Error while assigning user to a position

    Experts,
    I m using SRM 3.0 with classic scenario. I would like to assign a user to a position but could not able to eventhough there is BP record. I could able to do the assignment in sandbox but not in the PRD with similar case.
    Also If I use users_gen( Create users using existing SU01) it is throwing Error "central person already exists".
    Please throw some input whether what could be the problem and possible solution.
    Thank you,
    Manyam

    Hi Cordula:
    I have the solution to fix your user. It is a crude methodology but it works. I have seen that error "central person already exists" many times and i have fixed it successfully.
    step 1: The first step is to delete the existing assignment of the user from the org structure.
    Step 2: The second step is to delete all ties of the user with his present business partner Number from transaction BP. In BP go to identification and remove his user id and save.
    Step 3: Now before you use USERS_GEN to assign the user from existing SU01 ID, you would also need to delete his SU01 user ID. This is because the existing SU01 ID has ties with his previous assignment to the EBP org structure
    Step 4: Recreate his user ID in SU01. System will ask you that SAP has the old office data and you can copy the data from his old office data which saves you the pain of enetring address overview tab. Go and maintain his roles and profiles section and save the user ID.
    Step 5: Now you can use USERS_GEN to assign him to a organisational unit from existing SU01 id and you will see the activity to be carried out successfully !!!!:)
    Please assign points if answer helpful and also confirm results and share your views with the forums.
    Thanks
    Sunny

  • Pricing error in free goods position

    Hi all,
    I have a strange error when save a sales order with position about free material.
    During the creation I can see the pricing scheme correct, with all the condition (price, subtotal, rebates of 100%, ecc.), but after I save the order, when I display again the sales order, the pricing scheme for the free goods position not cointains any condition (no price, no discount, ecc.) but only the subtotals.
    I don't understand what the system doing during saving document.
    The free goods position have a custom category type of position; for this, in the pricing scheme I apply a discount of 100% to make free the position.
    The user tell me about this problem only when he try to bill the order, because when he creates the shipping, he didn't have any problem.
    Can someone help me?
    Thanks in advance
    Alessandra

    Hi Allessandra,
    When the free goods are determined and priced properly while creating the document, there should not be any problem with the configuration settings. The problem is that something inintended is happening when the document is saved. Please ask your ABAPer to debug that and I guess some changes might have taken place in the program SAPMV45A (MV45AFZZ)and check for the coding in the Userexits
    USEREXIT_SAVE_DOCUMENT and USEREXIT_SAVE_DOCUMENT_PREPARE.
    Pleae try this way and you may get the solution.
    Thanks
    Ravi

  • The HUD Inspector in Full Screen View seems to position at the right margin of the image as a default(?)  If I toggle the button in the top right of the HUD it 'unlocks' and I can drag it to where I prefer -- at the left margin; (for over a decade) my doc

    The HUD Inspector in Full Screen View seems to position at the right margin of the image as a default(?)  If I toggle the button in the top right of the HUD it 'unlocks' and I can drag it to where I prefer -- at the left margin; (for over a decade) my dock has resided at the right margin so all my slider manipulation over countless editing sessions in Aperture has been ingrained to work at the left margin -- but, the vast majority of the time, the HUD overlaps the image I am editing in this 'unlocked' mode. 
    Every occasionally I enter Full Screen View and it positions on the left margin *without* superimposition...(!) My great joy is modulated into aggravation, however, should my tracking cursor drift all the way 'out of bounds' -- to call in the hidden pane of adjacent images sequenced in the library... This dramatically shrinks the Full Screen display and re-locks the HUD; if I toggle the switch to re-xpand the image it re-positions at the right margin!!!!  I SOOoooooo wish I knew how to control the default 'locked' margin of the HUD in Full Screen View...

    Drag it over to the Left. Then lock it there.

  • Maintain the current row position of a table after refresh.

    Hi,
    I use a poll to refresh tables continuously. when a table is refreshed, the current referring row is reset.
    To maintain the current row position after a refresh I use the following poll method.
    public void refreshTableT1(PollEvent pollEvent) {
    FacesContext fctx = FacesContext.getCurrentInstance();
    ValueBinding dcb = fctx.getApplication().createValueBinding("#{bindings}");
    DCBindingContainer bindings1 = (DCBindingContainer) dcb.getValue(fctx);
    DCIteratorBinding dciter = bindings1.findIteratorBinding("<VOIterator>");
    if(dciter!=null){
    if(dciter.getCurrentRow()!=null){   
    Key current_row_key = dciter.getCurrentRow().getKey();
    dciter.executeQuery();
    if(current_row_key!=null){
    try{
    dciter.setCurrentRowWithKey(current_row_key.toStringFormat(true));
    }catch(Exception ex) {
    System.out.println("Exception in current_row_key");
    }This works for normal tables well. But when I use it to master-detail tables (pair of tables) it does not.
    At the master-detail tables, before the first data fetch, it works well. if we go below the first data fetch, it sets the current row into another position.
    how can I overcome this...??
    Thanks,
    Dinuka.

    Hi Mr.Frank,
    I have an association in two VOs.
    for example: There are 2 tables called Emp and Dept. Every Department has Employees. so there is an association (both tables have a common column). Master table is the Dept table. when you click on one record of the Dept table Detail table will show the details of the employees belongs to that selected department. That's what I referred as master-detail tables. first one is master table; second one is detail table.
    When the web page loads all the table data is not fetched from the db (it will depend on the fetch size). when we scroll down the table data fetch happens again and again.
    think my data fetch size is 25 rows per time.
    Suppose we use mine poll method and think I have clicked on the 20 ^th^ row of table1(master table). then the table2 will display details belongs to selected department. that is OK even after refresh. that works well.
    when I go to 30 ^th^ row data fetch will happen (my fetch size = 25)
    when I click on the 30 ^th^ row of the table1(master table), table2 will display details belongs to selected department. but after the poll method is called the selected row at the table1 disappears and is set to another position. now the 30 ^th^ row is not in the 30 ^th^ position. but it is the selected row and table2 displays correct details.
    I think you have got the problem now. :D
    Thanks a lot.
    Dinuka.

  • Inserting a Row to a Specific Position in a  Sorted JTable

    Hello,
    I am currently writing an application that will be a network alerting tool. Periodically it will query a database, and if alerts are found, display them on a JTable for a user to see. However, my problem is the following. If the user sorts the table by a column, new alerts are entering the table in their sorted position. This could cause the table to rearrange and be confusing to the user, also causing them to possibly miss alerts. So, what I would like to happen is that new alerts get inserted at the top of the table, while all previous alerts will stay in their sorted order. For example, say alerts received in the order D A C B . The user then sorts the table, so that the alerts are now in the order A B C D. If alert E comes in, I want the table to show as E A B C D. Then, if the user sorts again, the table would become A B C D E, and so on.
    I have attempted multiple ways to achieve this. My most recent being using the table.setRowSorter(null), inserting into the model, and then re-enabling sorting. However, switching to null appears to make all the rows go back to their previously unsorted position. Any help would be greatly appreciated as to what I am missing.

    You can implement your own RowSorter, such that rows that have been added since the latest explicit sort are ranked first (override RowSorter.rowsInserted() to know them).
    You'll have to override methods convertRowIndexToModel(int) and convertRowIndexToView(int) . This is easy if you used the rowsInserted() events to, e.g., maintain one atrribute latestUnsortedRow.

  • How to delimit Relation b/w Pers# & Position in PP01 in sap HR

    Hi Experts,
    in PA30, while creating the record for my custom infotype, in my custom infotype i am providing Position.
    once save the record i am trying to create the custom(AZ08)relation with Pers# and Position. it is working fine.
    For creating Relation i am using FM
    CALL FUNCTION 'RH_RELATION_MAINTAIN'
            EXPORTING
              act_fcode           = 'INSE'
              act_plvar           = '01'
              act_otype           = 'S'
              act_objid           = p9006-zzpostn
              act_istat           = '1'
              act_rsign           = 'A'
              act_relat           = 'Z08'
              act_sclas           = 'P'
              act_sobid           = p9006-pernr
              act_begda           = p9006-begda
              act_endda           = p9006-endda
            EXCEPTIONS
              OTHERS              = 2.
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    But the prob is if user want to Dilimit the record from PA30, system will dilimit the infotype record , and same time  i want to delimit the Relation also.
    can anyone give me the procedure like is there any FM to delimit the Relation.
    Thanks in Advance,
    Sumathi.

    Hi  sudha
    use function module   'HR_INFOTYPE_OPERATION'
    call function 'HR_INFOTYPE_OPERATION'
    exporting
    infty =                                         "pass info type
    number =                                   "emp id
    subtype =                                  " sub type
    validityend =                              " end date
    validitybegin =                          "begin date
    record =                               "pass the record u want to modify or delimit
    operation =                         " 'MOD'   or 'DEL'
    importing
    return =                                 "return parameter
    Regards,
    Ravi

  • Fix Cheque position in RTF Templates for AP Payments R12

    Hi,
    I created rtf template for check printing. I have to print invoices details first and after that check at the bottom of the page. I need to print invoices on the cheque page only when total invoice count < = 3 which I am able to control. I am facing issue when for 3 invoices the table height is variable, depends on invoice description this table size is changing. How I can give the fixed-height for invoice table or how I can specify exact place for check (at the bottom of each page )
    Thanks
    Mital

    Hi Prakhar,
    Please note the cheque is not an image its in a table.
    Even if I fix a table using table positioning in the output it doesnot print at the fixed position which I have provided in my RTF.
    Please let me know if you would want to see the sample XML Data and RTF that I have created which can be easier to debug.
    Thanks for your help,
    Mital

  • A better way to differentiate positive vs. negative numbers and sum them ?

    Hi, I wonder if there is a better or easier way to differentiate the positive numbers from negative ones and sum them respectively?
    I come up with below:
    create table t1 (num number, id varchar2(3));
    insert into t1 values  (-100, 1);
    insert into t1 values (50, 2);
    insert into t1 values  (-10, 3);
    insert into t1 values  (-20, 4);
    insert into t1 values  (50, 5);
    insert into t1 values  (60, 6);
    select sum(decode(sign(num), 1, num, 0)) plus, sum(decode (sign(num), -1, num, 0)) minu from t1;
    PLUS   MINU
    160     -130Any suggestion would be appreciated! Thanks

    if there is a better or easier way to differentiate the positive numbers from negative ones and sum them respectively?Maybe you want them in different rows than in different columns:
    SQL> select sign(num), sum(num) from t1 group by sign(num)
    SIGN(NUM)   SUM(NUM)
             1        160
            -1       -130
    2 rows selected.?

  • Can't save pictures on original folder position after edit...since I'm upgraded to IOS7 on IPad2.

    can't save pictures on original folder position after edit, get save popup to save at different position, also still on toubles to get them back to original folder positon since I'm upgraded to IOS7 on IPad2.

    I say the problem is probably noted, and probably will be resolved. Not that i can speak for Apple.  I find the "problems" of wallpaper to be pretty minor compared to the advantages of iOS 7.  The fun of wallpaper has always been pretty insignificant here.

  • ToolTip positioning and volume 'hit' area problem

    Hello,
    I have been working on re-skinning the player that comes with Adobe's FMS, in flex builder 3 and I would really appreciate some help on the following issues.
    1. Positioning the tooltips. I have figured out how to change the style of these (text, background opacity etc) via the embedStyle.css, no problems with that. However, I just cannot figure out how to actually reposition them from the default position of the bottom right.
    2. My volume control (volume slider) sits above my progress bar on the players GUI. You can drag both of these to adjust. However, when the progress bar is under the volume bar the progress bar loose it's interactivity. The volume slider only has a height of 2, but it appears that it's actual button 'hit' area is sitting over the progress bar.
    I have do a stack of googling on these but I am still hitting a wall with it. Any help would be much appreciated.
    thanks

    To add to this question: What is the best way to continue the animation until the end when the user exits the hit area instead of just jumping back to the Up state?
    Thanks
    Daniel

Maybe you are looking for

  • How can I send out mail to multiple addressees?

    I want to send out a a mass mailing where I can begin my mail by personalisng it to  'Dear John, Jane...... or whoever.  How can I do this with using Mail?

  • Speaker and headphones are not working

    In my new Iphone 4s left bottom speaker isn't working and also the right side of my headphones isn't working, can anyone help?

  • Sequence of execution

    Hello to every body I need to know about sequence of execution in a select command. I have a sql command that use a function.some thing like: select id, function(item) from tbl where conditions... I want to know that if my function on item execute be

  • [TV@Master] Channel Sorting

    Hi Folks! I've searched and yes, I did read the topic MSIPVS Channel Sorting.  I there, its mentioned that the channel list is held in "C:\Documents & Settings\All Users\Application Data\Intervideo\WinDVR\WinDVR.chan". However, with the new WinDVR3,

  • Cannot reinstall itunes, cannot uninstall previous version

    I need to uninstall itunes as suggested so I can install windows 7, but all if it will not uninstall... I get a message that the old itunes cannot be removed. I removed everything as per itunes uninstall instructions, but this one file will not be re