How do I record a numeric output values and then use them?

So at the moment I just have a numeric value being display with a numeric indicator. I want to record this value somewhere for later use. Such as doing calculations. I want to store many numeric values that are outputed to this single indicator at different times and then pull them from the stored place and use them. I don't know much about arrays and storage stuctures in labview.  Can someone give me some directions please? Thanks

So there isn't really anything related to the question yet in may code.
My code shows movement control for a motor.
I have a forwards button which increments +1 for every iteration of the loop. Each loop sends a pulse to the motor to move it.
I have a backwards button which increments -1 for every iteration of the loop. In this loop i have just placed the direction pulse which tells the motor to turn the oposite way.
these increments add onto a counter which is shown as the numerical indicator, used to show the position of the motor.
I also have a reset button on this motor. To change the position to zero.
So now what i want is to put the value of the position of the motor into an array which will then stay at that value in the array even when the position moves again. So i can record different positions.
I then want to use these values. so i want to know how to get them from the array to the Number of iterations for a For loop so i can move the motor by that amount.
Your help is appriciated, ive already spent so much time getting to this stage.
Attachments:
Xaxisbutton.vi ‏15 KB

Similar Messages

  • How can I apply a timestretch to different null objects and then use them to parent layers?

    I am using several hundred stills which are held on screen for different lengths of time. Is there a way to create null objects with various timestretch values and then use them to parent my stills?
    I'm trying to find an equivalent to the 'paste attributes' function in Final Cut Pro.
    Thanks in advance
    A

    If you have movement on the stills you can set up expressions based on in and out points. That's what I do. I then drop all my stills in order into a comp then set the out point for all stills for the longest duration. I then set group colors for layers that I want to make different lengths, do a group select and then adjust the out points for those layers. When I'm done I sequence the layers using the keyframe assistant.
    The other way I work is to use an audio track with markers for timing. I have an expression that reads the markers and sets opacity for the layers based on pairs of markers. The motion is also controlled by expressions. That's an even faster way to set up an animated slide show.
    The last way I work is just to set in an out points for all layers, sequence the layers, use expressions to do the motion and then use time remapping on a pre-comp to adjust the timing of the slide show. All methods are quick and easy.
    Here's a fly in bounce and then drop out fxx preset that will give you an idea of how expressions based on in and out point work for slide shows. You just drag the layer to it's resting position, apply the animatiokn preset and the layer flys in, bounces, and then drops out the bottom of the comp. Works in 2D and 3D space.

  • How many symbolic accounts, I have to create and then assign them to res...

    Hi friends,
    I am in the BBP creation phase, I have created the list of wage types for my client, there are 41 wage types, now as far as posting to accounts is concerned, how many symbolic accounts, I have to create and then assign them to respective G/L accounts ?
    Please throw some practical light on this, I know all theory 
    Thanks
    Jay

    Hi Jay
    We wouldnt be able to tell you exactly how many symbolic accounts you may need to create for the 41 Wage Types as it is specific to your requirement.
    Check these links out: Symbolic Accounts..
    http://sappeers.wordpress.com/category/sap-fi-hr-integration/
    It might help you with a fair understanding of what you need to do.
    Example for linking wage types to symbolic accounts: basic pay wage type u20181000u2019 is linked to symbolic account u20188888u2019 (Salaries & wages)
    Hope this helped!

  • How can I uninstall the numerous Firefox applications and then download the latest version. I inadvertently installed Firefox applications . Can you please help?

    How can I uninstall Firefox and then download the latest version. I inadvertently downloaded too many and they won't download correctly. I have a Macmini Leopard.
    == This happened ==
    Not sure how often
    == Not sure ==
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9

    Hi, Barbara! Is the problem that you have a lot of different versions of Firefox on your launch bar? Or that you have a lot of different versions in a directory somewhere?
    Either way, on the mac, you should be able to simply:
    1. Close all versions of Firefox
    2. Drag the applications to the trash folder, which will remove them from the folder or your dock
    3. Download Firefox with Safari at getfirefox.com
    4. Open the downloaded file by double clicking it
    5. Once that happens you will have a Firefox icon and a folder with an "A" on it
    6. Drag the Firefox icon onto the A, which will install it into your Applications folder
    7. Open your Applications folder and drag it onto your main dock
    8. You should be able to launch it from your dock by clicking on the Firefox icon.
    Thanks!

  • How can I copy picture on a CD and then play them on the blue ray player on my TV?

    How can I copy pictures from iphoto on a CD then play it on my blueray player on the TV?

    You are attempting to do this in a very difficult manner. Why not simply get an AppleTV ($75 refurbished from Apple) and you can share all your iPhoto content on your TV. That would be much easier than exporting to a CD/DVD, loading it into a player and then playing from a DVD. Apple tells about setting up Home Sharing in http://support.apple.com/kb/ht4352.

  • How do I add variables to different checkboxes without using the 'Export Value' and then add them together (if checked)?

    Hello,
    I am very new to JavaScript.  I would like to create a checkbox with a numerical value variable activated if the box is checked.  Unfortunately, I cannot use the 'Export Value' because I already need to use it for something else.
    Any help is really appreciated.
    Thanks,
    Robyn

    Brace yourself, here's your solution.
    First of all, the export value of you checkboxes should definitly be the number of hours for the class since you will just add them up further.
    Second, we will use the userName property for our second export value (its the field right under Name and its labeled "tooltip").  You will name the class there.
    Finally, you need to name each checkbox with a number at the end starting with 1 all the way to 190.  This will be used in loops. ("whatever.1", "whatever.2,....."whatever.190")
    In the calculate event of "total hours":
    var sum = 0;  //declaring a variable that will be used in the loop
    for (var i = 1; i <= 190; i++){    //this loop will scan through all your checkboxes
         if (this.getField("whatever."+i).isBoxChecked(0) == true){  //if box is checked....
              sum += Number(this.getField("whatever."+i).value);   //.....add its value to the sum
    event.value = sum;  //display the total
    Now for the course name field, we will use the same pattern in the calculate event
    var courseList = new Array();  //declaring an empty array that will contain the courses
    for (var i = 1; i <= 190; i++){    //this loop will scan through all your checkboxes
         if (this.getField("whatever."+i).isBoxChecked(0) == true){  //if box is checked....
              courseList.push(this.getField("whatever."+i).userName);   //.....add its userName (tooltip) to the array
    event.value = "You are attending these courses:  "+courseList.join(", ")+".";  //display the array by turning it into a string and joining its items with ", "
    You can try it out with just a few checkboxes at first.  Don't forget that the loop mustn't go further than the existing field or you will get an error and the script will stop.  Make sure no error show in the console (ctrl+J).

  • How can I record content FROM an iPad and then publish it back to an iPad?

    Everything I search for talks about pushing content out to an iPad, but what if I want to capture/record content from an iPad? I am trying to do a software simulation, rather than a straigh record.
    I did find a third party application called Reflection that allows me to mirror, or reflect, the iPad onto my computer. The problem is that due to the way the content transmits from the iPad, I would have to manually capture each screen and corresponding action within Captivate.
    Any advice on on this?

    Hello,
    Welcome to Adobe Forums.
    I am not sure about the 3rd Party Application but if you can create a .mp4 video of your IPAD simulation then you can insert that video in Adobe Captivate 6 as a Slide Video.
    Thanks,
    Vikram

  • Search the registry for a Value, and then use the Value's data

    Hoping someone here can help me. I am attempting to find a binary value in the registry and I am having no luck so far. 
    Here is what I currently have:
    $key = "HKCU:\software\microsoft\office\15.0\Outlook\Profiles\Outlook"
    Get-ChildItem $key -rec -ea SilentlyContinue | foreach {
    $CurrentKey = (Get-ItemProperty -Path $_.PsPath -ErrorAction SilentlyContinue)
    if ($CurrentKey -match "001f6700") {
    $data = $CurrentKey.PSPath
    $data2 = Get-ItemProperty -Path . -Name "001f6700"
    echo $data2
    # $data3 = [Text.Encoding]::ASCII.getString($data2)
    echo $data3

    Finally got it working with this code:
    $x = Get-ChildItem HKCU:\software\microsoft\office -rec -ea SilentlyContinue |
    Where-Object {(Get-ItemProperty -path $_.PSPath) -match "001f6700"} |
    select -Property Property, Name, PSPath
    $y = Get-ItemPropertyValue -Path $X.PSPath -Name 001f6700
    for($i = 0; $i -clt $x.Count; $i++)
    [Text.Encoding]::unicode.getString($y[$i].syncroot)
    credit goes to a Mr. Nowacki

  • How do I import MP3 files to itunes and then downloand them to iPOD Video

    I have just recently acquired a 60Gb ipod video and I have folder with the name of artist with MP3 format music files on my hard drive. How do I copy them to itunes and the ipod in MP3 format and if they need to be converted into another format to itunes and the the ipod, please advise me how I convert them. My email address is [email protected] for sending copies of your reply to this posting. Many thanks

    mondrayuk,
    - Open iTunes
    - File=>Add Folder
    - Browse to the location of the MP3 folder
    - Click OK
    Depending on how you prefer iTunes to manage your Library, wither the files will be copied to the default iTunes music folder and a reference will be created within iTunes,
    -OR-
    Just a reference will be created within iTunes to the current location of the MP3 files without a copy made in the iTunes folder.
    iTunes and the iPod can play MP3 music files. No conversion is required.
    Most of us here do not respond via email. Hope you understand....

  • How do i clean my ipod of songs and then put them back on from computer

    I want to take my songs off my ipod and put them back on ipod from computer.  I have tried to sync without doing this but it will not sync new folders

    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • I want to dump my photos from my phone onto my pc automatically, and then delete them from my phone. How do I do this?

    My wife and I both have an iphone 4s. We have been taking photos, and now the space on our phones is maxed out. Is there a way for me to automatically dump the photos onto my computer, and delete photos on my phone so that I hog up the space with photos? It seems like this shouldn't be complicated, but for some reason, I can't figure out how to copy the photos to my pc, and then delete them from my phone.

    Connect the phone to your computer and open whatever image capture application you have on the computer. An application you use to transfer photos from a camera to your PC should work with the iPhone. The computer will recognize the phone as a camera and allow you to copy photos to the computer, you can then keep or delete the photos from the iPhone.

  • How to create a matrix with constant values and multiply it with the output of adc

    How to create a matrix with constant values and multiply it with the output of adc 

    nitinkajay wrote:
    How to create a matrix with constant values and multiply it with the output of adc 
    Place array constant on diagram, drag a double to it, r-click "add dimension". There, a constant 2D double array, a matrix.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • How to send the ALV GRID output to spool by using the print button in std t

    How to send the ALV GRID output to spool by using the print button in standard tool bar.
    We have created a button in the va02 transaction.  If user click on the button the new screen will be display on that screen we are populating the alv grid output using the oops concept.  But i am unable to send the output to spool using the print button in the standard tool bar.
    I am able to display the Print parameter dialog box but i am not able to send it to spool.
    Kindly help.
    Thanks In Advance.
    G.V.Ramana

    Hi Shaik,
    There is not properties button in my print screen.
    MODULE user_command_0900 INPUT.
        WHEN 'EXCEL'.
          PERFORM excel_download.                              
        WHEN 'PRI'.
          PERFORM print_output.
    form Print_output.
    CALL FUNCTION 'RSPO_LIST_LAYOUT_FITS'
               EXPORTING
                    columns        = 80
                    device         = 'ANY '
                    lines          = 65
                    maxpenality    = 1999
               TABLES
                    layouts        = lt_layouts1
               EXCEPTIONS
                    unknown_device = 1
                    OTHERS         = 2.
          IF sy-subrc = 0.
            LOOP AT lt_layouts1.
              IF lt_layouts1-penality < 1000        AND
                 lt_layouts1-penality < l_min_penality.
                l_layout       = lt_layouts1-layout.
                l_min_penality = lt_layouts1-penality.
              ENDIF.
            ENDLOOP.
            IF NOT l_layout IS INITIAL.
              CALL FUNCTION 'GET_PRINT_PARAMETERS'
                   EXPORTING
                        mode                   = 'CURRENT'
                        line_size              = 80             "#EC *
                new_list_id            = l_new_list_id
                        no_dialog              = l_no_dialog
                        layout                 = l_layout
                   IMPORTING
                        out_archive_parameters = rs_arc_params
                        out_parameters         = rs_pri_params
                        valid                  = l_valid
                   EXCEPTIONS
                        archive_info_not_found = 1
                        invalid_print_params   = 2
                        invalid_archive_params = 3
                        OTHERS                 = 4.
              IF sy-subrc NE 0.                                 " INS SLIN
              ENDIF.                                            " INS SLIN
              IF rs_pri_params-linsz LT 80 OR
                 rs_pri_params-linsz LT gt_stack-s_lprint-width.
                gt_stack-print_line_break = 'X'.
              ELSE.
                CLEAR gt_stack-print_line_break.
              ENDIF.
              IF l_valid NE 'X'.
                rs_pri_params = ls_pri_params_sav.
                rs_arc_params = ls_arc_params_sav.
              ENDIF.
            ENDIF.
          ENDIF.
    endform.                    " Print_output
        CALL METHOD gv_cost_tot_alv_grand->set_table_for_first_display
                EXPORTING
                   is_layout         = gs_layout_cost_tot_grand
                CHANGING
                   it_fieldcatalog   = gt_fcat_cost_tot_grand[]
                   it_outtab         = gt_cost_tot_grand[].
    Please check my code

  • How do you record video with usb mic and have the audio from garageband be the sound when recording and not just your normal voice but garage band effects for youtube?

    How do you record video with usb mic and have the audio form garageband be apart of the video when recording, meaning the audio from garageband and echo  and not just your normal voice for youtube post?its not add the garageband audio its just normal voice from mic no  effects is going thru?

    Hi Life93,
    What you describe would be possible by recording your video, then removing the audio from it and adding audio from GarageBand once the video is in iMovie (I presume here that you are using iMovie for your video production. Other applications may need different methods.)
    See this thread on how to remove the audio from a clip in iMovie -
    Is there a way to separate audio from a video c...
    https://discussions.apple.com/thread/1779767
    To add audio from GarageBand use this article -
    iMovie '11: Add a sound clip to your project
    http://support.apple.com/kb/PH2255
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • How do I record a tune on iPhone, and turn it into a ringtone

    How can I download a tune , or record a tune and then use the tune as a ringtone on my Iphone 4?  I have not had any success with the approached on the web and Youtube!  Thanks

    Purchase an iTunes gift card for your friend and let them buy the music.

Maybe you are looking for

  • Mac G4, OS X 10.4.11 freezes when trying to connect to server

    Hello, I was wondering if anyone has advice on solving this issue: One of the Macs in my small office is a G4, single processor, PowerPC, running OS X 10.4.11. It's a computer we only use from time to time. I needed to use it recently, and when I tri

  • Problem updating Logic Studio

    Hey there all, I have been having a problem updating Logic Studio 9. My purchased version is 9.0 (full, not upgrade) and I tried to update to 9.1 a while ago. When I did it, I got this very strange error message that said there was a system error of

  • About BAPI implementation

    Hi All, I have some problem to implement BAPI. In my BAPI structure i have 4 four fields, they are as follows.. 1.naterial number 2.plnat 3.abc indicator 4.total num of records in this i have to display only the data of abc indicators and in tot num

  • Cfset variable as a list loop value

    I'm trying to use a list loop to create 30 numbers then set that list with cfset. Instead of typing <cfset Questions = 1,2,3,4...etc.> I'd like to make a list loop generate the 30 numbers. I just can't figure out how to set these 30 numbers as a valu

  • Show / Hide DOWMLOAD link in classical report based on user rights

    Hi, using apex 4.1. How i can display or hide download link in classical report based on user rights . The User who has download rights ,can download the data from classical report Otherwise it should hide. I have passed the code in authorization sch