Modification of the program of "Getting Started" sample to acquire data of multiple frequencies

Dear members,

I am very new to the LabVIEW and worked (mainly through aid of Google) to change one of the samples included with LabVIEW 2010 programs to suit my purpose.

Essentially, the "Getting Started" program that comes with the LabVIEW 2008 works in the following way

  1. The user runs the program
  2. The user sets the frequency to whatever is needed
  3. User presses the "Trigger" button on the front that gives the values of the two boxes on the front panel
  4. Program stops automatically

I modified in the following way

  1. I enter the "recurrence interval" and the "maximum rate" in a table to calculate the number of iterations
  2. I then pass the frequency required in the 'constant' through dissociation TI (where I was setting at the start manually the frequency)
  3. From there, the program runs exactly as before
  4. I wrapped the existing set of block diagram in a loop 'For' to repeat several times, with a different frequency every time
  5. Then, I finally write measures in a worksheet in addition to posting on the "façade".

The problem that I face is that the frequency is not updated in the program. For example, if the last frequency used on the parser a 20 Hz, the program will be to take measures against the same 20 Hz rather than against the correct frequencies several times.

So, in the spreadsheet I created, I get 1 kHz, 2 kHz... 10 kHz, but the values of impedance values recorded against them were indeed all taken against 20 Hz (or how often I last used by using the non-modified program).

I suspect that the frequency is updated whenever the user presses the button "Trigger", but since I took this, for purposes of automation and replaced by a constant static in the 'real', it could cause problems. I don't know if this is definitely the problem, but even if this is the case, I can't find a way around it.

Any help would be greatly appreciated as this provides a bottleneck in my project.

Thank you

Attachments:

VI program Original

VI for updated program

Files zipped (for the support of dependence)

Dear Robert,

I am in using LabVIEW 2010 was therefore not able to run the code you have provided. However, I managed to get one of my friends write me the code that I have attached, to help anyone who has the same problem in the future.

Thank you for your time and effort.

Tags: NI Software

Similar Questions

  • Get a pop up: "the program can't start because tsad.dll is missing on your computer.

    Original title: Miss me tsad.dll. What is c?

    I KEEP GETTING A POP UP THAT READS THE PROGRAM CAN'T START BECAUSE TSAD. DLL IS MISSING ON YOUR COMPUTER. TRY REINSTALLING THE PROGRAM TO FIX THIS PROBLEM!    WELL, I WOULD, BUT I DO NOT KNOW WHAT PROGRAM IT IS THAT I NEED TO REINSTALL.   OR IS THERE A WAY IN WHICH I CAN GET RID OF THIS POP UP?   THANK YOU, S J.

    Hi J S,

    1. are you able to start fine in the computer?

    2. when exactly you receive the error message?

    3. have you made a recent software or hardware changes to the system?

    It seems that tsad.dll is used by "Conducent AdGateway".

    Method 1:

    If the "Conducent AdGateway" software is installed on the system and you do not use, you can even uninstall and check if it helps:

    Uninstall or change a program

    Method 2:

    Otherwise, you can try to perform a clean boot and check if it helps:

    A clean boot to check if startup item or services to third-party application is causing this issue.

    You can read the following article to put the computer in a clean boot:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    Note: Make sure that you put the computer to a Normal startup once you have completed troubleshooting.

  • Civilization IV in Windows 7 gets error - "the program can't start because D3DX9_32.DLL is missing on your computer.

    I followed the script full compatibility to Win XP, everything as I was told and when I tried to launch the game, I got this error message:

    "The program can't start because D3DX9_32.DLL is missing on your computer. Try reinstalling the program to fix the problem. »

    I can't tell you that reinstall does not work... I followed this circle twice... it does not work... If someone can get this thing works on Win 7, please let me know.

    Hello PixieRose.

    First up you don't have to bother running it in compatibility mode, you don't need to.  Just install DirectX or install it from the disc of Civ 4. Paul Smith - MVP for Windows desktop experience... I crawled off NNTP - for now. Detachment Aldershot, United Kingdom. On the internet at windowsresource.net and dasmirnov.net. Please post back to let us know what works and what does not. :-)

  • My Lightroom worked the perfect time, but today when I start the program I get a message "Lightroom has stopped working".

    My Lightroom work all the perfect time, but now when I start the program I get a message "Lightroom has stopped working".

    I use Windows 7 pro SP1and Photoshop and Lightroom CC. I think that it is a more recent version.

    Yes, I use the administrator account

  • I just downloaded and installed the Lightroom update version (5.7).  When I now try to open the program I get an error message stating "the application could not start properly (0xc00007b).  It happened the last time I upgraded and I w

    I just downloaded and installed the Lightroom update version (5.7).  When I now try to open the program I get an error message stating "the application could not start properly (0xc00007b).  It happened the last time I upgraded and sent me a few files that has corrected the problem.  Can help you.  With our thanks.  John

    Try this: error "Unable to start properly - 0Xc00007b"

  • How can I find out what programs I should have started and what are the programs I can start myself to my computer to run correctly when starting?

    * Original title: startup

    How can I find out what programs I should have started and what are the programs I can start myself to my computer to run correctly when starting?

    Hello

    I understand you want to learn about programs, you should start your Windows startup. I will certainly help you to question.

    When you start Windows by using a normal startup startup, several applications and services automatically, and then run in the background. These programs include the base system, antivirus software, utility applications processes system and other software that was previously installed. These applications and services may cause interference when you install or run a program.

    The system configuration is a tool that can help identify problems that might prevent Windows from starting correctly. You can start Windows with common services and startup programs turned off and then reactivate them, one at a time.

    I suggest you to refer to the links below and check if this is useful:

    Using the Configuration System (msconfig)

    Perform a clean boot to determine if background programs interfere with your game or program

    Hope this information helps.

    Please get back to us with an update on the issue, we will be happy to help you.

  • iTunes gives error "the program can't start because CoreFoundation.dll is missing on your computer. Try reinstalling the program to fix this problem.

    I downloaded iTunes and when I restart my computer I got a message-

    "The program can't start because CoreFoundation.dll is missing on your computer. Try reinstalling the program to fix this problem.

    everything seems to work even the iTunes page but whenever I turn on my computer I get this message. I am running windows 7, 32 bit. I bought an Apple iPhone 3G and that is why I decided to download iTunes to create an account to get apps and music to my phone. I reinstalled iTunes and still get the message, any ideas on what I do not or should it please?

    Ignore the mention in the article following the Apple MobileMe support and uninstall iTunes (by following the instructions on the link where it tells you to uninstall 6 applications that iTunes installs) and restart then download and install iTunes again: http://support.apple.com/kb/TS2211

  • When booting Windows 7, error, "the program can't start because LayoutDll12Oem.dll is missing on your computer.

    Whenever I start my PC brand new I get a pop up message titled, "error RoxWatchTray12Oem.exe - System" the body of the window to say, "the program can't start because LayoutDll12Oem.dll is missing on your computer. Try reinstalling the program to fix this problem.  It does not seem to affect what only on the PC, but it's annoying to see every time I start the PC. Any help? I have windows 7 64 bit.

    Hello

    Method 1:

    I suggest that you put the computer to boot and check for the issue:

    http://support.Microsoft.com/kb/929135

    Note: Place the computer to a normal startup when you have completed troubleshooting by following step 7 from the link above.

    Method 2:

    You can also check the below link for troubleshooting which talks about the same issue when you face and check if this may help:

    http://social.technet.Microsoft.com/forums/en-us/w7itpromedia/thread/8d25cd36-5fe4-4691-9b68-433ebd60a717

  • InDesign CS6 "the program can't start because Core Foundation_v11.dll is missing on your computer. Try reinstalling the program to fix the problem.

    Hi all

    I'm under Indesign CS6 in Windows 7. Lately, when the program opens, I get the error pop up: "the program can't start because Core Foundation_v11.dll is missing on your computer. Try reinstalling the program to fix the problem"when I click OK, the program continues to load as usual, with nothing going wrong that I can see. I would like to get rid of the error message though. I tried to reinstall and looking for problems with multiple antivirus and anti-malware programs, all in vain (no sign of any viruses or malware). Does anyone have a suggestion on how to restore the missing file? Thanks much for any help.

    Wayne

    With a little more research I found the source of the problem. For anyone interested, it is explained here

    Missing file: CoreFoundation_v11x64.dll

    I tried to install a free trial of Extensis Suitcase last week, but for some reason any it is impossible to install. This is after I started noticing the error, but because the suitcase was not to load the two events not connect! After reading the above thread involving the suitcase, I looked in the InDesign plug-ins folder and, Lo and behold, a folder called Activation of fonts with Extensis files! I moved their and the error message was gone!

    Thanks again P Spier and thanks to Adobe for these forums.

    Wayne

  • Tried to access the programs and get the error: message 16. What is the problem? Help, please!

    Tried to access the programs and get the error: message 16. What is the problem? Help, please! Photoshop, photoshop elements, Dreamweaver - none of my creative Cloud applications will be commissioning, since my last update. I need to access these programs for the job, I'm trying.

    Hi wdriver,

    It seems that for some unknown reason the authorization in the licensing folder is deleted. Please try to start one of the applications by right click and select run as administrator, it should solve the problem by doing this.

    Please let us know if it helps.

    Kind regards

    Abhijit

  • after update after effects cc 2015, the program does not start.

    Yesterday I did just a little update - now after update after that effects cc 2015 the program does not start. I have the message - aftereffex exe cannot start (0xc0000142) - an idea?

    Best regards

    Robert

    The update of the corrections after effects CC 2015 (13.6.1) is available. It fixes several bugs, including one in discussion on this topic.

    Details: http://adobe.ly/1QqMMc6

    Let us know how things work after installing the update.

  • I have first items 13, recently installed on a new laptop of Dell Inspiron 17 5000 Series. The program works very well. However, when I have access to the program, I get a message that there is an update available, 13.1. I let you go ahead and do the upda

    I have first items 13, recently installed on a new laptop of Dell Inspiron 17 5000 Series. The program works very well. However, when I have access to the program, I get a message that there is an update available, 13.1. I let him go ahead and do the update before using the program. It only updated, then restarts first elements 13. As soon as the program loads, I again get the message that 13.1 update is available. How to stop the happy ground?

    RTA,

    Thank you very much for your answers. As you suggest, I went to the help/updates and found that 3 points were scored update, Manager, 13 Photoshop and first elements 13 elements. On a hunch, instead uncheck one of them, I thought I'd see what would happen to let update all 3. It took a while, but, long story short, stopped the happy Vangogh and everything seems fine. Thank you for your messages, much appreciated.    Walt Maken

  • When I run the program I get a message "error loading C:\windows\dhax40.dll the specified module is not found.

    I have Windows XP service pack 3.

    There is very little. DLL files that should be loaded from the C:\WINDOWS folder and is not one of them.

    A Google search on the name of the file means no "hits" which makes things even more suspicious.

    A "Cannot find...". ', ' Failed to start..., "Could not load..." ». "Might not work... "" Cannot run ""error loading... ". "or"specific module could not be found"message at startup is usually related to the malware that has been configured to run at startup, but the referenced file has been removed after a malware scan, leaving behind him a startup item or the registry entry pointing to a file that does not exist.
    It might be a removal of malicious software or an application not installed.  The entry may have a curious looking name since it was probably generated at random when the malware was installed. If you search your system for the referenced file, you may not find.
    Windows attempts to load this file but cannot locate because the file has been deleted for most probably during an analysis of the malware. However, an orphaned associate of remainders of startup parameter or registry entry and tells Windows to load the file when you start or connection.
    So you should delete the referenced entry Windows stop trying to load or run the file. It may or may not be included in the registry, but you can find it.  Autoruns (see below) you get the elements no matter where it is.
    If you just locate and uncheck the item in msconfig, which disables the element but does not remove the reference to the element of false starting your computer.   The msconfig program is not a Startup Manager, that's a troubleshooting tool.  Disabling things in msconfig to put an end to the messages and think that your problem is solved is short-sighted and leave behind him a sloppy XP configuration.  Just disable the display of a start-up error message should not count as a 'solution' to the problem.
    If you are comfortable editing the registry, you can find and remove the reference directly from there or remove it using a popular third-party tool called Autoruns.  The problem can always be found in the registry well.
    Before making any changes to your registry by hand or with third-party tools, don't forget to first make a backup of the registry. There is no cancellation or exit without saving the option in regedit.
    Here is a link to a popular registry backup tool:
    You can also use the Autoruns to find the element of start remains little matter where he's hiding.  Autoruns does not install anything on your computer.  It will display all startup locations where the reference may be then you can turn it off or remove it completely.  Here is the download link for Autoruns:
    Run Autoruns.exe and wait that he at the end of the filling of the list of entries.
    When the Autoruns is finished scanning your system, it will say "Ready" in the lower left corner.  Autoruns can be a little intimidating to first if you have never seen it before because it displays a lot of information
    .  You are really interested only a few sections.
    The problem is usually to start the system or the user startup entries, then click the connection tab and see if the startup item is there.
    Scroll through the list and look for a boot entry associated files in the error message.
    If you can't find on the connection tab, look in any tab.
    You can also click file, search to search for logon, or any tab for all or part of the name of the element.
    Right-click on the offending entry and choose Remove.  If you are not sure what it is, you can simply disable, restart and if the problem is resolved and then remove the offending entry.  If you don't see it in Autoruns, you may edit the registry and remove the item from your startup folder it
    .  Autoruns shall display the same information however.
    Given that you had or have an infection, followed with this:
    Perform scans for malware, and then fix any problems:
    Download, install, update and do a full scan with these free malware detection programs:
    Malwarebytes (MMFA): http://malwarebytes.org/
    SUPERAntiSpyware: (SAS): http://www.superantispyware.com/
    They can be uninstalled later if you wish.
  • Loads of Boot Up Error Messages: "CLR error: 80004005 ',"the program can't start because LPK.dll is missing on your computer.

    I get a number of error messages when I try to start my Windows 7.  Initially, I just got a black screen or a screen frozen at the point of "Welcome".  I was unable to boot into safe mode and the only options were 'valuation' or 'normally', which none worked.  I was finally able to start in safe mode.  It is a VERY slow process, and once it finally loaded, I get 3 error messages.  It was noted that "the program cannot start because LPK.dll is missing on your computer.  I got the message "GfxUI has stopped working" as a "CLR error: 80004005".»  Once I click OK on all this, windows Explorer tries to restart and stop eventually.  I tried to find solutions, but it seems that I can't in the control panel to check the settings.  Although I can click on the Start button and I don't see the control panel option, it will not be open.  How to solve this problem would be greatly appreciated it's super frustrating!

    If you have a real win7 dvd, you can try to boot from this dvd and run a repair (disconnect external devices first)

    If you don't have that a recovery of certain system-makers, depends on its options on the question of whether you can fix or do a destructive restore (the latter will destroy everything on the disc)

  • All of the programs do not start

    Computer is only a few months old a day all works well, that during the night that all programs fail to start showing error the application has failed to start because its side by side configuration is missing see the log for more information.

    Don't know what to search for in the log file. Cannot open the Control Panel, need help please.

    Hey,.

    To be honest that s manifested no description of the error and I can help you t. No one knows what you have installed programs, what OS and mobile you have.

    In my opinion, you perform an installation of system recovery if you can't start programs of t. TOSHIBA recovery disc or HDD recovery can restore the factory settings and after everything works again.

    Check this box!

Maybe you are looking for