Missed generations (resetting task)

Hi All,
I am writing some LabVIEW code to be used with a cDAQ-9172.
I want to repeatedly output an analog waveform after receiving digital trigger.  I understand there are a couple ways to do this, but the most promising for our purpose uses "DAQmx wait until done", stopping the task, and restarting it.  Attached is a simplified version of what I am doing.
It works great, except that at certain frequencies with certain time-outs generations are missed, or even worse in our application, cut short (leaving a voltage offset until the next generation).  For example, if the timeout is 0.03 s, and I have a digital trigger at a frequency of 13.3 Hz, the analog output is often missed or cut short.  Frequencies above and below this are no problem, though.  Does anyone know what is going on and ways to minimize this issue (especially the unintended offset)?
Also, what is the allowed range of the timeout input in "DAQmx wait until done"?  I could not find it in the documentation and I assume it is not the full range of a double.
Thanks in advance
Attachments:
FishExample_mod_1c2.vi ‏33 KB

Comparing your code to the "Cont Gen Voltage Wfm-Int Clk-Non Regeneration.vi", I noticed a couple of differences that could likely be the source of your cutoff waveform. If you open the example you'll notice the waveform and the DAQmx write is called for each iteration of the while loop and has the start task contained in a conditional statement that outputs the buffer when called for the first time, keeping phase continuity. Having the DAQmx Write vi outside the while loop I believe simulates regeneration since the same buffer is called for each start task, which explain why you don't get the entire signal at certain frequencies.   
Regards,
Glenn

Similar Messages

  • Some fields are missing in Current Task - Designer Workflow Approval Task Process

    Hi All,
           I am using approval task process activity in designer workflow. When i go to the single task behaviour page, some fields are missing under Current Task Source.
    Some missing fields are :
    1. Assigned To
    2.External participants
    3. Form Urn
    I am trying to get the above fields but not available. What could be the issue?
    Puli Bala

    Hi Puli,
    I think your task list is corrupted, could you please try to associate your workflow to another task list in SharePoint Designer > Click Workflows on left navigation > Click to open your workflow > Under Settings section, select another task
    list and test.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • Missing Admin Console Tasks items BPC Administration

    Hi All,
    We use BPC version 5 for Microsoft.
    I have a user who has a problem with missing Admin Console Tasks items. Previously, she was able to access the items. Then she was assigned a new computer. After installing BPC (administration and Excel), now the items are missing. She could access BPC using Excel (normal tasks).
    Does anyone has observed and solved this problem before? I checked the Internet Explorer settings (security and Java JRE) and seem fine. Except the Java JRE is  bit old (1.6.0_03)
    Thanks.

    Hi Zikif Hamdy,
    It could be due to few possible reasons....so please check the following on her new computer.
    You can do the following using your login credentials - First (to find the issue).
    1) Go to client software center and click BPC Client Diagnostic
        Check BPC administration Client features. You will know whether you have all necessary softwares available on her new computer or not for installing BPC administration. If any errors it will generate error log.
    At the same time you will know whether you are able to access all BPC admin console tasks.
    2) Since she is using it for the first time on her new computer. You need to select correct AppSet & Application on current view. So that based on her security profile all necessary BPC admin Console tasks will be enabled.
    Hope this helps!!!

  • SSIS Package Load Failure and is missing Execute SQL Task in Toolbox

    Also, BIDS closes after right-clicking the toolbox and selecting “Choose Items”.
    I’ve tried several ways to fix these issues with no success.
    I’m running SSIS/SSMS/SQL Server 2008 R2 (but not running an SQL instance on my PC) on a Windows XP with Service Pack 3 workstation. I get the following errors:
    WHEN OPENING BIDS:
    I get 2 errors titled “Package Load Failure”. They both reference ‘Visual Studio Explorers and Designers Package’ as being what failed to load. The first message references GUID 8D8529D3-625D-4496-8354-3DAD630ECC1B. The second references GUID AA612177-A69A-4391-B2F4-17F8A88F4BBA
    . They both mention contacting the package vendor, but I haven’t got any Add-ins loaded so I’m not sure what that means exactly. They also both ask if I’d like to skip loading the package in the future.
    ONCE BIDS IS OPEN:
    No error messages appear here. There is no ‘Execute SQL Task’ in the toolbox for Control Flows. Also, if I attempt to open a project containing this object (Execute SQL Task), I get this error in a modal window:
    TITLE: Microsoft Visual Studio
    There were errors while the package was being loaded.
    The package might be corrupted.
    See the Error List for details.
    BUTTONS:
    OK
    . . . and these errors in the Error List at the bottom of the IDE:
    Error      1             
    Error loading Package.dtsx: Failed to load task "Execute SQL Task", type "Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91". The contact information
    for this task is "Execute SQL Task; Microsoft Corporation; Microsoft SQL Server 2008 R2; © 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1". 
            C:\Documents and Settings\848862.VCHS_NT_DOMAIN\My Documents\Visual Studio 2008\Projects\LearnSSIS\LearnSSIS\Package.dtsx   
    1               
    1             
    Error      2             
    Validation error. Execute SQL Task : The task has failed to load. The contact information for this task is "Execute SQL Task; Microsoft Corporation; Microsoft SQL Server 2008 R2; © 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1". 
            Package.dtsx    
    0             
    0             
    Error      3             
    Validation error. Execute SQL Task : There were errors during task validation. 
       Package.dtsx    
    0             
    0               
    Finally, when I attempt to add the Execute SQL Task via the Tools menu, “Choose Toolbox Items” selection, I do get the tabbed box for adding things. However, they only come up after issuing this error:
    The following assemblies are installed SDK assemblies but could not be shown in the customize toolbox dialog because they are missing one or more components. Please make sure that all necessary libraries are available:
    Microsoft.SqlServer.SqlCEDest.dll
    Microsoft.SqlServer.Management.CollectorTasks.dll
    Microsoft.SqlServer.SQLTask.dll
    System.Data.SqlServerCe.dll
    Microsoft.Synchronization.Data.SqlServerCe.dll
    (above dll repeated at bottom of message)
    After this message, I have my choice of .NET Framework Compnents. When I select COM Components, those come up with no problem. The WPF Components tab generates the same dll error above. The Maintenance tab is empty. The SSIS Data Flow Items tab loads fine,
    as does the SSIS Control Flow Items tab – but there’s no Execute SQL Task there either.
    If you open the toolbox (on a new project, with a project loaded, or without a project loaded) and right-click, then select “Choose Items”, the entire application quickly closes. This “closing behavior” is the same thing you get if you attempt to add toolbox
    items through either the Tools menu or the right-click method when you launch BIDS in SafeMode.
    In an effort to fix this – I’ve rolled back the .NET Framework version to 3.0 and reinstalled back up to 4; I’ve uninstalled and reinstalled SQL Server 2008 R2 shared services as well as the entire application; I’ve cleared the .tbd files from my user profile;
    and I’ve run several things from the command line (devenv.exe /resetuserdata, /setup, /resetskippkgs, etc.). Lastly – I’ve applied every Service Pack and update applicable to my PC (ok, it belongs to my employer – but no one here has been able to figure this
    out either).
    After having worked this for several days now and, I think, exhausting every available avenue from search engines – I turn to you. Please let me know if you can help. Also, I can provide any additional
    files or information you may require.
    CBS

    try: Devenv.exe /ResetSettings
    http://msdn.microsoft.com/en-us/library/ms241273(v=vs.80).aspx
    Or try this (it's for 2005, but maybe it works for 2008 aswell):
    http://geekswithblogs.net/cicorias/archive/2007/10/10/Restoring-Missing-Toolbox-Items-in-Visual-Studio-2005---just.aspx
    or try
    http://stackoverflow.com/questions/1268298/how-to-rebuild-the-visual-studio-toolbox
    "You can also go into the folder "C:\Documents and Settings\\Local Settings\Application Data\Microsoft\VisualStudio\9.0" and delete the *.tbd files.  I have had to do this a couple times to get rid of duplicate items and when Reset Toolbox crashes
    without warning"
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • Process object missing in workflow task

    Hi all,
    I have this odd problem that occurs (seemingly) at random.
    I have a workflow for Material Master creation, it has various forks in the flow, sometimes the process object i.e. the material master object is missing in the workflow task under the available objects tab. It only seems to happen in one of the branches of the fork, also it only seems to be one user who gets this problem, so it makes me think it's something he's doing.
    How is it possible that an object which was previously available in the task is no longer available?
    any help greatly appreciated.
    Neil

    Hi,
    thanks for the reply, by "missing" I mean it is no longer instantiated in the workflow task. I have determined this by looking in the workflow log and checking the task container.
    The binding for the task is correct, I am using the same task in all branches of the fork and in the other branches the material object is instantiated.
    I have learnt a bit more about the scenario in the last few minutes... it seems that when the task was created initially the object was instantiated, but the user has backed out of the transaction and not completed the work item leaving it in his inbox with a status of "executed" it is only then that the process object is missing. This doesn't seem to happen to any other user so it's something he is doing that is causing the problem.

  • Quickoffice and adobe MISSING after reset

    Hello Everyone,
    I resetted my E7 yesterday, and noticed that Quickoffice and Adobe readers disappeared!
    I tried reinstalling Belle from the nokia suite, all went well, but QO & Adobe are still missing.
    I tried deleting the downloaded installation files from c:\users\all users directory, re-downloading the nokia belle update (~350mb) and re-reinstalling the OS, but still QO and Adobe are missing.
    I tried *#7370#, "delete and restore" etc, but to no avail.
    I tried changing OSes - WinXP, Win7, Win7 64bit etc, but still no avail.
    Any help is appreciated.
    Tks.

    Hi northwinde,
    Welcome to Nokia discussions board! 
    Quickoffice and Adobe are both downloaded applications, they will be erased if you do a hard rest on the device. To get them back, you can just download them from here Quickoffice and  PDF Reader. If you paid already for them, just go on the market > History then download them again.
    Regards
    Sergent
    If my response has helped you in any way, show it by hitting the WHITE STAR... If you don't a MONSTER will come and eat your lunch...
    Also hit the Accept as solution button, so OTHERS can benefit from this helpful answer...
    DON'T BE SHY...

  • OWA on IE 11 missing PUBLIC FOLDERS, TASKS, NOTES

    My Internet Explorer 11 computer opens a Outlook Web Access in the navigation pane is redesigned. Missing from this pane are PUBLIC FOLDERS, NOTES and TASKS.  My other computer with an earlier version of IE continues to open the conventional Outlook
    Web Access with its full navigation pane. Can I restore this functionality to the navigation pane on OWA on IE 11?

    Please read:
    Internet Explorer 11 only loads OWA Light
    Can't load OWA Premium by using Internet Explorer 11 in an Exchange Server environment
    Windows 8.1, Outlook Web App, and IE11
    See:
    Internet Explorer Compatibility View.
    Regards,
    Vincenzo Di Russo
    Microsoft® MVP Windows Internet Explorer, Windows & Security Expert - since 2003.
    Moderator in the Microsoft Community and TechNet Forums
    My MVP Profile

  • Pictures missing after resetting system.

    Using an ipad. I reset all settings in order to get my imessage and FaceTime to work; and it was apparently reset to an earlier date than I wanted. All my apps and so forth are there now, but several pictures are missing. I didn't have anything saved on iCloud or whatever; but only pictures to that date were saved. I've backed it up on iCloud twice. How do I get back the rest of my pictures?

    I have the same problem. I bought an iPod Touch 4G 64GB last June. After upgrading to the new iOS 5, most of my pictures, apps and music is gone. Every time I try and recover my backup the system crashes. I tried to call their technical support to restolve the problem but I was told that I had to pay $29 to solve the problem that they created.
    This is a disgrace and I'm never buying an Apple product again.
    People are saying restore the iPod but with mine that didn't help.

  • Ipod touch 4 generation, reset.

    Im trying to reset my ipod touch 4th generation but when i do the thing it says to do on the support secxtion, it wont work. im despret to get it working....help?

    If the unit has NEVER been jailbroke, first try a system reset.  It cures many ills and it's quick, easy and harmless...  Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow the on-screen directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.  You WILL lose all of your data (game scores, etc,) but, for the most part, you can redownload apps and music without being charged again.  Also, if you have IOS-7, read this.

  • IDM 7.2 creating Password Reset task

    Hi,
    We are in the process of implementing IdM 7.2, when I create a task for Password reset the I'm getting a DB error have any one encountered this in IdM  7.1 Here is the error that I'm getting
    MXMC: Access denied Err 214727900
    Source OraOLEDB
    Description ORA 01400: Cannot insert NULL into ("MXMC_OPER"."MXP_TASKPARAMETERS".MCVALUE")
    Method: EmcTaskProperties.SaveGafParameters
    Thanks,
    Joe.P

    Ok, then it's one of two things in my experience:
    1. The encoded password for the MXMC_OPER is incorrect.  Try to login to Oracle using that account.  It should have been defined in the INCLUDE.SQL file when the database was created.  You might need to work with your DBA on this, assuming you are not one.
    2. I've only seen this happen on MSSQL, but if your classpath is set up in a certain way, these things can happen.  I've written about it [here|http://idm-thoughtplace.blogspot.com/2011/02/too-much-in-jar.html]
    Hope this helps you.
    Matt

  • Manual invoice generation-lowest task

    Dear Dina,
    During manual project event generation how to define the event for lowest task.by default system shows top tasks..which setup would allow to choose lowest task too for event generation then this goes for draft invoice..
    Plsssssssss advice.thanks a lot n advance....

    Hi
    System does not support invoicing on lowest task level.
    The system does not support entering other than top task values on the event creation form.
    Dina
    Edited by: Dina Rotem on Sep 24, 2010 7:49 PM

  • Missing DAQmx Create Task.vi among others

    Hi all,
    I'm trying to run a .vi made in Labview 8.5 using Labview 2012. I have the most recent version of DAQmx (9.5) installed, but it's unable to find the file DAQmx Create Task.vi, and if I chose to ignore it about 6 other files pop up that it is also unable to find. I have uninstalled and installed DAQmx on both my computer and two other computers running Labview 2009 to try and get this to work, but nothing seems to be solving the problem. Any ideas what might be going wrong here?
    Thanks!

    Are you trying to open the VIs using 8.5 or 2012?  Are the DAQmx VIs in the palette?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • WSDL Generation Ant Task

    Hi
    I can see the ANT tasks to generate WAR/EAR for a given EJB/POJO service implementation
    - but I dont see any options to output a WSDL file. Is there one?
    I realise that I can obtain the WSDL from a deployed service via ?WSDL, but I
    really need to generate the WSDL file as part of the build.
    Cheers,
    -Nick

    Hi Nick,
    There will be a wsdlgen ant task in coming release. It should solve your
    problem. For now you can run clientgen on the ear, there is a wsdl saved in
    the generated client jar.
    -Neal
    "Nick Minutello" <[email protected]> wrote
    in message news:[email protected]..
    >
    Hi
    I can see the ANT tasks to generate WAR/EAR for a given EJB/POJO serviceimplementation
    - but I dont see any options to output a WSDL file. Is there one?
    I realise that I can obtain the WSDL from a deployed service via ?WSDL,but I
    really need to generate the WSDL file as part of the build.
    Cheers,
    -Nick

  • Castor XSD Code Generation ANT task: mapping  XML file?

    Hello,
    I am new to Castor and am using the Castor Code Generator ANT task to generate code from a XSD schema file.
    I am using a binding XML file as well. One thing that I have a question about is the needed XML mapping file. I set the ‘*generateMapping*’ attribute to ‘true’ but have not found a mapping XML document.
    Is there something I am doing wrong?
    I would have attached the XSD files(some are imported), binding XML file and the ANT build.xml file in a .zip file to this post, but this forum does not have a facility for file attachments, but I can email them upon request.
    Thanks in advance,
    Andrew

    Hi Andrew,
    JAXB is the Java standard (JSR-222) for generating Java classes from an XML schema. Several implementations of this standard are available:
    - Metro JAXB: The JAXB reference implementation, available in Java SE 6 and as part of GlassFish
    - EclipseLink JAXB (MOXy): Part of EclipseLink, also available in Oracle TopLink
    - JaxMe: Available from Apache
    - Etc...
    Castor is a proprietary XML binding tool. For Castor related questions you should visit the Castor website.
    -Blaise

  • Missing icon on task bar of executable powerbuilder

    I have a very strange issue....  
    This occurs when I execute our software application that has been build with powergen( powerbuilder).  When I execute the executable( acct123.exe) that was built, some of the icons that we created and use ( on a task bar) have 'red X' instead of the image.  When I select the icon it executes properly. 
    I talked to some of the people testing the application and they would see the 'red X' some days and other days, the image would display.
    I have attached a jpg that shows the icons red X
    any thoughts?????????????????????????

    Hello Deanna,
    A few thoughts / questions.
    1) Has this application worked properly before or is this a new EXE?
    2) Is it possible that the application is referencing any of the images using a directory path that is set up in the properties of a datawindow and the path has changed?
    3) Any changes in the Operating System or Servers?  What is the environment?  I ask this because you say sometimes users see the icons and sometimes they don't.
    4) Verify that all the files referenced are in the same directory (EXE, PBD, DLL, images, etc.)
    5) And as Bruce asked is there PBR file referenced?  If so, did you include it in the Build process?

Maybe you are looking for