DAQmx - run - stop - save

Hello,
I tried to create a program which allows the user to do the following:
- Start measuring 2 channels ( lets say channel one measures force, channels two acceleration, but it's not very important) when 'Start' button is pressed.
- Save the measured data whenever the button 'Save' is pressed.
- Stop the program whenever the 'Stop' button is pressed.
I've added the program in attachment.
Now I think I know where my mistake is situated, I just don't know how to solve it :-)
I think the program starts when I press start, but since the while loop only stops when the stop button is pressed, the shift register from the inner while loop doesn't send any measurements towards the shift register of the outer loop.
In that case whenever I press the SAVE button, an empty array will be saved.
Also, if I press start, then save and then stop, nothing happens.. ( the program continuous to run).
And last but not least, I've changed the 'Chart History Length' to 60,000. How many measurements will it be able to keep? ( Or isn't it as simple as that?)
I hope there is anyone out there who can help me.
Thank you in advance :-)
Best regards,
Dries
Attachments:
2Channels.vi ‏75 KB

Aah I see. Well if you put it that way it does make sense...
I've changed to stop buttons ( I made a 'Stop loggin' one and a 'Stop' )
Would this new vi do the trick?
If I press 'Stop Logging' before I press the 'Save' button, the saving should work?
Thank you for your fast help!
Best regards,
Dries
Attachments:
2Channels.vi ‏75 KB

Similar Messages

  • Help me-adobe flash player install box "run" or "saveas" will not pop open when I install or update

    I have windows vista 64. I already have flash player13 and reader x 10.1.9 but I can not get FLASH back.
    It wasn't working on youtube. So I tried to update it. Went to adobe and clicked the yellow button to check to see if I had adobe flash. It said I didn't have it installed. I then went to control panel and checked programs and IT WAS installed. So I deleted it. Then went back to adobe page and tried to re-install the newest flash player.
    Again. . . the dialogue box that normally pops up to choose;run or saveas Will not and Does not POP! I re-set my cpu 3 times during the process in order to get a clean go at it too.
    Anyway thanks for your help and let me know please.
    ps I figure this is something that may be fine in a week or two. But I still want to know wtf happened here and what did I do wrong.
    Thanks
    peace
    josh

    Flash Player for ActiveX (Internet Explorer)
    Save that. Close your browser and run it. Then, it'll be installed.
    Then, see: http://forums.adobe.com/thread/885448 and  http://forums.adobe.com/thread/867968

  • When trying to download I only get a save file instead of run or save.

    I am only able to save downloads. I should have the choice of whether to run or save each file.

    install opendownload firefox add-on:
    [https://addons.mozilla.org/en-US/firefox/addon/10902/]

  • F110 Payment run stopped, status Payment run has been carried out.

    Hi experts,
    I have searched in this forum but didn't find suitable scenario.
    I have run automatic payment after the proposal created.
    Somehow the payment run status stopped at "Payment run has been carried out".
    Then I check the payment run log:
    Job started                                                                     
    Step 001 started (program SAPF110S, variant &0000000007737, user name xxxxxx)
    Log for payment run for payment on xx.xx.2009, identification XXxxx             
    System error occurred during blocking attempt; payment run stopped              
    ... the execution of the payment program is terminated                          
    End of log                                                                      
    Job finished                                                                    
    I thought no accounting document has been posted.
    Is it the right way if I re-run the program SAPF110S with its variant?
    What is the possible impact.
    Kindly advise.
    regards,
    rob

    Hi,
    Yes there might be no accounting document has been posted because even though the payment run has been carried out but parameters you have mentioned might not been selected because of many reasons.
    Please go to EDIT - Payment -
    Payment list and exception list.......
    Please check if any entry is there in payment list if it is than some doc has been posted.
    Rest will go to EXCEPTION list.... will show you the exact errors.
    Please check the same in the proposal run first... it seems that PROPOSAL run in not only correct.
    See the error and correct it.

  • Error Mrp: Total Planning Run stopped due to 25 Terminations of 202 Matls

    Hi
    We are trying to run the Mrp Job I.e  steps (RMMRP00) with variant PLVH_NETCHNG)..
    I have 1 db server and 2 apps servers and it the starts to run for about 2 minutes and then  crashes with the ffg error:
    Total Planning Run stopped due to 25 Terminations (dumps)of 202 Matls.
    Apps Guys  says its a basis issue and i cant see an issue.
    ANy help will be appreciated

    Hi,
    Please check the MRP setting some times we define mrp value upto 3-4 decimal and our setting upto 2 decimal points. If you send error log then that will be helpful for us to see the exact problem in the dump.
    In case you want to send this by mail send [email protected]
    Regards,
    Anil

  • Form Performance Degrades after Business Rules are added to Run on Save

    Has anyone ever seen an instance where adding business rules to a form (run on save only) makes the form open twice as slow?
    We have some large forms that were opening in about 20 seconds that suddenly started taking twice as long (40 seconds). When we remove the association of the business rule, they are opening quickly again. Because the business rules are set to run on save, I'm not sure why they would affect the form open performance.
    Any ideas are appreciated.
    - Jake

    I am guessing here a bit.
    But a question. Is your calc complicated? does it have a lot of variable in the calc?
    My guess is that even though the calc is run on save when you open it it compiles the calc as you open it. A check is to create a really simple calc one line that basically does nothing and see if that changes your performance. Also if you click off "run on save" does the performance return?
    Just theory guessing here.

  • Read per axis status / run-stop don't work at low speed

    Hello,
    This is my fisrt motion program. I don't understand why the "read per axis status" don't send me the correct status for "run/stop" (only this status) when I run a low speed. The other status are all right. Impultions are still generated (In realyty motor run...)
    I put a simple example to illustrate. Perhaps is it a wrong configuration in MAX but this seems unlikely. I can't join my Max config because ".nce" are not accepted in attached files.
    Thank you wery much
    Attachments:
    One-Axis Move (Accel - Max Velocity - Decel) with read status.vi ‏26 KB

    I realize this is an old post but wanted to post the solution in case others run across it.  The reason the indicator is not working at low speeds is because it operates on a threshold.  The default setting is for it to display false when running under 4000 steps or counts per second.  Refer to KnowledgeBase 4XHD6DZY: Why does my Run/Stop bit not appear active while my motor is running?
    Alex Person
    NI-RIO Product Support Engineer
    National Instruments

  • Use Members on Data Form is unvalid if the Run on Save setting is not on

    Hi, I found a problem of the setting Use Members on Data Form is unvalid if the Run on Save setting is not on. It will just get the default value of the variables but not the form members, I don't know whether it is a bug or a normal behavior. Does anyone have experience to fix it or avoid it? Thanks.

    Hi,
    If you are running your rule simply double clicking on the name of it at the botom left corner, that's the normal behaviour I would expect.
    However, instead of running it that way, if you create a menu, attach the rue to a menu item, add the menu to your form and then run it by right clicking on your form, it will pass all selected form members to your variables.
    Cheers,
    Alp

  • Difference Between Run On Save & Run On Load in data forms

    Hi can some one explain this for me
    Thanks.
    RRB

    I guess name suggests by it self..
    Run on save: when you click on save button, and on load at the time it load the form.
    Check out this:
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/ch06s09s04.html
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/rule_prp.html
    Cheers..!!!

  • What is Run on Save?

    Dear Friend,
    what is Run on save option? how to set this option in Hyperion?
    Thanks & Regards,
    Sekhar

    Hi,
    when you associate the BR to data entry form and save the data, you execute also the business rule.
    This means run on save.
    take it easy and have fun!!!
    Flavio

  • Can not run Power saver on my Satellite after SP2 installation

    I cannot Install or run toshiba power saver on my Satellite A60. I updated to SP2 on the windows update page and cannot run power saver. I have tried re-installing the software but that still won't work. Any ideas PLEASE!!!
    Cheers
    themalguy

    Hi after installing the power utillites for A60 the instll ran through OK but when i tried selecting the power options in the control panel i get a access denied. Now everytime i boot i get a error:
    Toshiba Power Save
    A fatal error has occurred. This programme will be terminated.
    Code: Ox7E
    i quite suprised as this seems to be a Toshiba problem as they obviously aent supplied correct driver s for this platform.
    Can any one help!!!!!!!!!!!!!

  • DAQmx Run Time 5 + LV Application Support

    Hi
    I want to use the DAQmx RT 5 installer for a smaller foot print install.
    The only other thing I need is support for LV 8.x
    But I don't want to go to a bigger run time install if I can help it.
    Is there any installer available that installs all the LabVIEW VIs needed for DAQmx?
    If I had this, I can keep the size down on my installer.
    I tried moving files manually but it didn't work, I am guessing that it registers it somewhere? 
    Is there an installer avialable or does anyone have a work around?
    Cheers
    JG 
    Certified LabVIEW Architect * LabVIEW Champion

    Thanks guys for your posts, however I think you have misinterpreted my original post, so I will try again: 
    Obivously I need the LabVIEW run time installed. But I am talking DAQmx - when you install DAQmx you need to install the main "Run Time", but you also need to install the VIs that you use in your application otherwise it will be broken. When you create an exe these are not included in the build. There are in VI.lib, but they are not in the LabVIEW 8.x Run Time they are in the DAQmx Run Time. I am trying to use the smallest Run Time possible to minimise it's footprint. However, you have to go to the big one to install ADE support. If I could use DAQmx RT 5 + get my hands on a seperate ADE installer for LabVIEW (I imagine this would not be large in size) it would be SWEET!
    I am pretty sure the ADE DAQmx VIs get installed here - C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\DAQmx and that location is used for the Run Time as well. I am at work but I have been playing around at home so I can't check right now. I tried to copy and paste them, or include them in my installer, it does not work (I am thinking something is registered when using the NI installer or I am missing something)
    E.g. The Run Time 5 does not include the following: 
    NI LabVIEW SignalExpress
    Application development environment (ADE) support for LabVIEW, LabWindows/CVI, and Measurement Studio
    The DAQ Assistant
    NI-DAQmx documentation
    LabVIEW Real-Time support
    Measurement & Automation Explorer (MAX)
    Not having ADE support for LabVIEW means that your exe will be broken. I don't need all the other stuff just whatever is in DAQmx RT5 and ADE support!
    I am looking for a small install (from NI?) that could do this. Is this available?
    Cheers
    JG 
    Message Edited by jg-code on 07-01-2009 08:45 PM
    Certified LabVIEW Architect * LabVIEW Champion

  • Why won't Flash run and save?

    how do I get flash player to run and save?

    Flash Player Help | Installation problems | Mac OS
    Flash Player Help | Installation problems | Windows
    Mylenium

  • I have been trying to download adobe reader several times I have tried to click run and save the adobe reader installer box pops up with a blank black screen. I have browser IE 11

    I have been trying to download adobe reader several times I have tried to click run and save the adobe reader installer box pops up with a blank black screen. I have browser IE 11

    Try using the offline installer from http://get.adobe.com/reader/enterprise/
    [topic moved to Adobe Reader forum]

  • FIOS fiber run stops at the entrance to my neighborhood

    The fiber run for FIOS stopped literally at the entrance to our neighborhood. It has been several months now and it doesn't seem like Verizon is too concerned about offering us FIOS services. When can we expect to be hooked up? We live in the Hollybrook neighborhood off of Penns Hill Rd. in La Plata, MD. Does a petition help in instances such as this? The people I have talked to in this neighborhood and in adjacent Hardship Plantation are pretty angry right now (myself included.) Thanks.
    ~David

    Hi, there could be many reasons the run stopped at your neighborhood. Including but certainly not limited to:  permits from the city to dig, need for equipment installation on the streets or in the central offices, logistical issues, contracts, budget constraints (yes, even Verizon has budgets for projects), and the list goes on.
    As to whether a petition would work or not is anyone's guess. It would definitely bring attention to the fact that a good portion of the neighborhood would be potential customers.  As to who you would present that petition to is questionable. 
    ~~ "It's not a bug. It's an undocumented feature."

Maybe you are looking for