In the events of sequence - error?

I'm doing a sequence of events occur one after the other. I have a background image that I want to fade, blur, and then the blades in a Panel. Flash gives me 2 errors when I test:

Description: 1119: access to property may be undefined MOTION_CHANGE through a reference with static type flash.events:Event.

Source: blurTween.addEventListener (TweenEvent.MOTION_CHANGE, onMotionChanged);

Description: 1119: access to property may be undefined MOTION_FINISH through a reference with static type flash.events:Event.

Source: blurTween.addEventListener (TweenEvent.MOTION_FINISH, onMotionFinish);

Thank you.

import fl.transitions. *.
Import fl.transitions.Tween
import fl.transitions.easing. *.
import flash.filters.BlurFilter
import fl.transitions.TweenEvent

var BgTweenAlpha:Tween = new Tween (behindTheBrushBg, "alpha", Strong.easeOut, 0, 1, 1, true);

BgTweenAlpha.addEventListener (TweenEvent.MOTION_FINISH, onAlphaFinish);

function onAlphaFinish(TweenEvent:Event):void {}
var totalBlur:Number = 0;
var blur: BlurFilter = new BlurFilter (totalBlur, totalBlur, 3);

behindTheBrushBg.filters = new Array (blur);

var blurTween = new Tween (blur, "blurX", Strong.easeOut, blur.blurX, 8, 1, true);

blurTween.addEventListener (TweenEvent.MOTION_CHANGE, onMotionChanged);

function onMotionChanged(TweenEvent:Event):void {}
blur.blurY = blur.blurX;
behindTheBrushBg.filters = new Array (blur);
}

blurTween.addEventListener (TweenEvent.MOTION_FINISH, onMotionFinish);
}

function onMotionFinish(TweenEvent:Event):void {}
var panelTweenX:Tween = new Tween (behindTheBrushPanel, "x", Strong.easeOut,-460, 0, 1, true);
}

A brief glance, you pass a bad event to the event handler:

function onMotionFinish(TweenEvent:Event):void {}

It should be:

function onMotionFinish(event:TweenEvent):void {}

Tags: Adobe Animate

Similar Questions

  • The event COM system error +.

    XP Home SP3. All the updates installed ect.

    Having this issue almost once a day.

    Computer stops responding. Icons have no effect or return errors. Parts of some windows, such as Solution Explorer, lose their color.

    Only solution is off and restart.

    Every time I am met with the same results in Event Viewer. A long line of warnings of yellow triangle with these properties:

    EventID 4356

    {The COM event system + could not create an instance of the Subscriber partition:{41E90F3E-56C1-4633-81C3-6E8BAC8BDD70}!new:{D3938AB0-5B9D-11D1-8DD2-00AA004ABD5E}.  CoGetObject returned HRESULT 80070422.

    Event ID 4352
    The event of COM + a system attempted to raise the EventObjectChange::ChangedSubscription event but received a bad return code.  HRESULT was 80040201.

    I ran a number of pieces of different viruses, including Kaspersky, clamwin, Spybot, Malwarebytes, Malwarebytes ROOT kit. Zone alarm.

    I have updated all drivers with SlimDrivers.

    Could really do with some decent advice on this one.

    http://EventID.NET/display-EventID-4356-source-EventSystem-eventno-1035-phase-1.htm

    Read more top

  • View is not to connect to the event db and error unable to connect to the db

    Hello

    while trying to connect the event dB view, I encounter a weird problem where, by getting "unable to connect" error message.

    in the error log I get below error also can you pls help.

    TP-Processor1 > code [ConfigurationManagerBean] ADAM Error: 2 128 com.vmware.vdi.admin.ui.ConfigurationManagerBean.updateDatabaseConfiguration(SourceFile:181)

    com.vmware.vdi.adamwrapper.exceptions.ADAMServerException: database initialization failed, SQL exception when connecting to the database: TCP/IP connection to host failed. java.net.ConnectException: connection refused: connect

    at com.vmware.vdi.admin.be.ConfigurationManager.a(SourceFile:1703)

    at com.vmware.vdi.admin.be.ConfigurationManager.updateDatabaseConfiguration(SourceFile:1580)

    at com.vmware.vdi.admin.ui.ConfigurationManagerBean.updateDatabaseConfiguration(SourceFile:177)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    to com.vmware.vdi.admin.ui.common.ViewFlexFactory$ ViewProxy.invoke (SourceFile:113)

    to com.sun.proxy. $Proxy56.updateDatabaseConfiguration (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)

    at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)

    at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)

    at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1011)

    at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)

    at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)

    at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)

    at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)

    at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)

    at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)

    at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)

    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)

    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)

    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)

    at com.vmware.vdi.admin.ui.servlet.AMFProxyServlet.a(SourceFile:90)

    at com.vmware.vdi.admin.ui.servlet.AMFProxyServlet.doPost(SourceFile:57)

    Hi James,

    It's a SQL API based in the event database connection, it does not need an ODBC connection, see will do for you.

    I just wanted to know what operating system you are using to connect to the server and did you do Windows Update on this machine? If not done it please do.

    restart the machine try connecting the event database. It does not work please check the things mentioned in the KB below

    http://KB.VMware.com/kb/1029537

    You can do one more thing before checking the KB, if the connection to the server OS is windows 2012 and the SQL Windows 2012, take a snapshot of the VM Server conection and proceed to

    under location

    C:\Program Files\VMware\VMware View\Server\broker\shared\lib\sqljdbc-1.2.jar

    Stop all the service view in the connection to the server.

    sqljdbc - 1.2.jar and rename sqljdbc - 1.2.jar.backup.

    Download SQL JDBC 3.0 driver http://www.microsoft.com/en-us/download/details.aspx?id=21599

    extract the downloaded file and copy the sqljdbc4.jar to location (C:\Program Files\VMware\VMware View\Server\broker\shared\lib\)

    also copy same file once more and rename the file to sqljdbc-1.2.jar

    Restart all services server connection and wait 10 minutes, then check the admin page.

  • Get-VIEvent - how to export the event type?  error, warning, or info

    Hello

    I know that the Get-VIEvent command allows you to specify the type of events to get back... that is to say [-Types < EventCategory [>]

    but, I want to extract all the events and export them to a CSV file. I want one of the columns to be "EventCategory", which will be ERROR, WARNING, or INFO, but I can't seem to find it.  $_. GetType(). Name gets me the type of event, but not the category.  I know that I can have my script executed 3 times (each time specifying the - parameter Types) but I want to run only once.  Any ideas?

    Thank you!

    Jeff

    Hello, horningj-

    I worked on a few elements that should attract the event category.  The first selects a few properties, including a calculated property that gets the event category:

    ## works well if no events of type 'EventEx'## get the .Net View object of the EventManager (used for getting the event Category) $viewEventMgr = Get-View EventManager ## get some VIEvents, select a few properties, including a calculated property for EventCategory Get-VIEvent | Select FullFormattedMessage, CreatedTime, @{n="EventCategory"; e={$strThisEventType = $_.GetType().Name; ($viewEventMgr.Description.EventInfo | ?{$_.Key -eq $strThisEventType}).Category}}
    

    It becomes VIEvents (the last 100, because I did not specify the parameter - MaxSamples) and returns the properties of data.  The calculated "EventCategory" property uses the type of the VIEvent object to search for in the collection of items EventDescriptionEventDetail in ownership eventInfo found in .net object View for the EventManager.  He then grabs the 'Category' of the corresponding element of EventDescriptionEventDetail property.

    Works fine unless you have any VIEvents type "EventEx" - then, this 'research' in EventDescriptionEventDetail collection method fails, because there is more than one element of this type (there are 91 of them at the moment).

    This led me to the next bit.  It is similar to the previous method, but it handles EventEx events too:

    ## get the .Net View object of the EventManager (used for getting the event Category)$viewEventMgr = Get-View EventManager
    
    ## get some VIEvents (the last 100, as "-MaxSamples" is not specified) Get-VIEvent | %{    ## put the pipeline varible into another variable; get its type    $oThisEvent = $_; $strThisEventType = $_.GetType().Name    ## if this event is of type "EventEx"    if ($strThisEventType -eq "EventEx") {        $strEventTypeId = $oThisEvent.EventTypeId;        ## get the EventInfo item (of type EventDescriptionEventDetail) whose "FullFormat" property begins with the EventTypeId of the VIEvent at hand, and get its "Category" property        $strCategory = ($viewEventMgr.Description.EventInfo | ?{$strRegexPattern = "^$strEventTypeId\|.*"; $_.FullFormat -match $strRegexPattern}).Category    } ## end if     ## else, can just grab the EventInfo item whose "Key" is the same as this event's type    else {$strCategory = ($viewEventMgr.Description.EventInfo | ?{$_.Key -eq $strThisEventType}).Category}    ## add a NoteProperty "EventCategory" to this event    $oThisEvent | Add-Member -MemberType NoteProperty -Name EventCategory -Value $strCategory -PassThru} | Select FullFormattedMessage, CreatedTime, EventCategory
    

    It seems that the EventTypeId of the event returned by Get-VIEvent is included in the first part of the property FullFormat of elements EventDescriptionEventDetail with EventEx key, separate from the rest of the value by a vertical pipe.  Thus, the EventTypeId of the VIEvents can be used to make a match on EventEx of events .net EventManager View object types to get the event 'category' (info, warning, error, user).

    You can, of course, change the Select statements to choice/choose the pieces of information you want to export and then export to a file of data as you please.

    How does do for you?

    * The message has been edited by mattboren on April 5, 2011 - added line at the beginning of the second piece of code '$viewEventMgr = Get-view event Manager.  It was already in the first room and assumes that the user has run the two parts in the same session, but added for completeness.

  • Symbols of the event viewer and 'Error' or warning

    In the "Event Viewer" window, in the file of the application, there are events 1701. All of these events have a 'mistake' or the symbol 'warning' in the column type.  Is this serious? How did this happen and an average person can solve these erroors and these warnings? Kenny

    OK you return

  • The creation of sequence error. Help, please

    I use following script to create the sequence but in error
    Error report:
    SQL error: ORA-01722: invalid number
    01722 00000 - "invalid number."


    CREATE SEQUENCES BL_BTN_MASTER_SEQ
    MINVALUE 1
    MAXVALUE 999999999999999999
    INCREMENT BY 1
    START WITH (SELECT MAX (BULLETIN_MASTER_ID) + 1
    OF BL_BTN_MASTER)
    NOCACHE;

    FYI... The bulletin_master_id column data type is NUMBER (22.0)
    Help, please.

    Published by: user11228834 on May 29, 2013 10:22

    Published by: user11228834 on May 29, 2013 10:23

    Published by: user11228834 on May 29, 2013 10:25

    Oracle doesn't like the ' (select max (bulletin_master_id) + 1 bl_btn_master)' statement incorporated in the CREATE SEQUENCE statement because if you look at the syntax it expects an acual number.» You can use run immediately to create the sequence in this way:

    {code}
    declare
    number of v_seq;
    v_statement varchar2 (200);
    Start
    SELECT max (bulletin_master_id) + 1
    in v_seq
    of bl_btn_master;

    v_statement: = 'CREATE the SEQUENCE BL_BTN_MASTER_SEQ |
    "MINVALUE 1' |
    "MAXVALUE 999999999999999999' |
    ' INCREMENT OF 1' |
    'START WITH ' | v_seq |
    "NOCACHE";

    execute immediate (v_statement);
    end;
    {code}

  • The event log and error gusvc

    I got the system freeze when in "sleep mode" and "blue screen". I ran system restore, regcure and scan all the material for viruses, etc..
    The last event gave the source as "gusvc" and the details as follows:

    "The description of event ID gusvc source 0 was not found. Either the component that triggers this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. »

    Where the head? I'm trying to avoid replacing my hard drive (had data from external drives movement all along).

    Thank you
    joanjps

    Hi joanjps,

    Thank you for using answers Forum.

    "gusvc" is the Google update service. I suggest re-installing/updating your Google product to solve this problem.

    If your using Google Earth, you can check the minimum hardware required for use, because it's a lot of resources.

    I also suggest updating your video card driver by visiting the manufacturers Web and search for the latest version of the driver.

    I hope this helps.
    Chris
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Error of MSN Messenger in the event log, the activation context generation failed

    When I open my MSN Messenger, I get an error, it appears in the event log.

    Activation context generation failed for "C:\Program Files\Windows Live\Messenger\msnmsgr.exe". Error in manifest or policy file "" online. A component version required by the application conflicts with another version of the component already active. Contradictory elements are: Component 1: C:\Windows\WinSxS\manifests\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4148_none_5090ab56bcba71c2.manifest. Component 2: C:\Windows\WinSxS\manifests\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_e163563597edeada.manifest.
    -How can I fix this, I tried everything, uninstall & reinstall.
    -Install new C++ 2008.
    -Check the event log for errors related to this problem.

    Hello

    Follow these steps to resolve the problem:

    a. uninstall Windows Live Messenger. For detailed instructions, see How to uninstall Windows Live Essentials

    b. remove the Windows Live folder in the following directories:

    C:\Program Files

    C:\Program Files\Common Files

    c. Uninstall Microsoft Visual C ++ components.

    d. restart the computer.

    e. reinstall Microsoft Visual C ++ these links:

    Download details: Microsoft Visual C++ 2008 Redistributable Package (x 86)
    Download details: Microsoft Visual C++ 2008 SP1 Redistributable Package (x 86)

    f. restart the computer and install Windows Live Essentials.

    Now, run Windows update and check if there is Visual C++ updates and update the same.

  • How to remove data in the Event Viewer log

    If I go to the event viewer in computer management and select these words. He did a search on the summary of the events of Admisitrator, recently seen nodes and newspaper summary. I want to remove all references in the summary of the events of the administrator, but I want to continue to use the log for all future events.

    I tried to do by ensuring that there is a check box FILE reviews "Show all hidden files" and I also took the checkbox "Hide protected operating system files".  I have to program Data/Microsoft/Event Viewer and the folder is EMPTY.

    Is there a way to do this correctly?

    The observer of events (local) summary of administrative events on my computer displays the event in the last hour, last 24 hours and 7 days. Do you mean that you have received errors Event ID 315 2,000 over the last 7 days?

    If you say yes then the priority should be to find why you get so many errors. It so happened that I had the same report and wrote the following to another forum on January 2, 2012. It can help to solve your problem.

    This error was gets me a few months. This afternoon, I tried to resolve an event ID: error 2 and found a blog that offers a solution to this problem:
    http://manlyelectronics.com.au/blog/resolve-Windows-error-session-HomeGroup-log-failed-to-start-with-the-following-error-0xC0000035-in-Event-Viewer-Microsoft-Windows/

    If you ignore the warning and click "Leave the homegroup" and restart the computer, your home network still works. You can also get no event IDS more: 2 errors and the bonus for me was a cessation of the event ID: 315 errors. I rebooted the computer several times and errors have ceased.

  • How do I know that the event log are reported to any server

    Hello

    I can see all the event logs and error logs using the event viewer. But I want to know if newspapers are reported to some server just we report about a bug or non-response to application/software using the reporting window.
    I want to check if the event errors are reported on some server or not, if yes, to which server it is reported. Is this possible?
    The observer of events, or any application in the windows operating system keeps track of these reported error logs.
    Thank you
    Pankaj

    Hello

    As mentioned by Palcouk, Event Viewer records all events and activities on your computer but does not send it to any server. The call you have received is wrong / will call that could come from a potential hacker.

    I suggest that you go through the items listed below.

    http://www.Microsoft.com/security/online-privacy/prevent.aspx

    http://www.Microsoft.com/privacy/default.aspx

    http://privacy.Microsoft.com/en-in/fullnotice.mspx

    http://www.Microsoft.com/security/online-privacy/overview.aspx

    I hope that helps!

  • Extremely slow start, when I saw the event connect my mouth gaping, LOTS of ERRORS - ideas?

    My system REALLY takes a lot of time to boot, I see that many others have the same problem and I'm once again, sitting here all night get more angry about how to solve this problem, no good at such things tech, great new computer still on warranty, oh yes, but microsoft windows is SEPARATED.  All the guarantees it?  Danger danger danger.

    ActionLog name: Microsoft-Windows-Diagnostics-Performance/Operational
    Source: Microsoft-Windows-Diagnostics-Performance
    Date: 2009-10-19 12:30:32 AM
    Event ID: 100
    Task category: startup performance monitoring
    Level: critical
    Key words: event log
    User: LOCAL SERVICE
    Computer: TracyHome
    Description:
    Windows has started:
    Start time: 227174ms
    IsDegradation: false
    Incident Time (UTC): 10/19/2009-04:26:40
    The event XML:

     
       
        100
        1
        1
        4002
        34
        0 x 8000000000010000
       
        1320
       
       
        Microsoft-Windows-Diagnostics-Performance/Operational
        TracyHome
       
     

     
        2
        2009 10-19 T 04: 26:40.796Z
        2009 10-19 T 04: 30:27.245Z
        345
        335
        227174
        137437
        20
        1652
        10448
        28932
        602841088
        0
        4993
        674
        646
        153
        115553
        3
        89737
        fake
        0
        0
        0
        0
        fake
        fake
        fake
        0
        0
        fake
     

    Log name: Microsoft-Windows-Diagnostics-Performance/Operational
    Source: Microsoft-Windows-Diagnostics-Performance
    Date: 2009-10-19 12:30:32 AM
    Event ID: 100
    Task category: startup performance monitoring
    Level: critical
    Key words: event log
    User: LOCAL SERVICE
    Computer: TracyHome
    Description:
    Windows has started:
    Start time: 227174ms
    IsDegradation: false
    Incident Time (UTC): 10/19/2009-04:26:40
    The event XML:

     
       
        100
        1
        1

        4002
        34
        0 x 8000000000010000
       
        1320
       
       
        Microsoft-Windows-Diagnostics-Performance/Operational
        TracyHome
       
     
     
        2
        2009 10-19 T 04: 26:40.796Z
        2009 10-19 T 04: 30:27.245Z
        345
        335
        227174
        137437
        20
        1652
        10448
        28932
        602841088
        0
        4993
        674
        646
        153
        115553
        3
        89737
        fake
        0
        0
        0
        0
        fake
        fake
        fake
        0
        0
        fake
     

    Your system runs a check of the Performance of Microsoft Diagnostics when starting, why start has slowed to a crawl. And it seems to work many times.  I don't know why this is the case - none of what you posted gives a cause for verification.  Are there other errors leading up to these?  If so, could you put them as well?

    Go to start / search and type msconfig and enter.  Double-click the program icon that appears.  Click the Startup tab and check to see if Microsoft Diagnostics is listed as a startup item - it then, uncheck the box. (I did not thiink it is the problem, but it is best to check to be sure.)

    Try a system restore to a point BEFORE this problem started to occur.  Here's how: http://www.howtogeek.com/howto/windows-vista/using-windows-vista-system-restore/.  Check the box to show more than 5 days of restore points.  If this does not work, try an earlier point or two.

    If this does not work, do a startup repair, boot from the Installation of Windows Vista genuine disc or your recovery disk. Here is the procedure: http://www.bleepingcomputer.com/tutorials/tutorial148.html.  You may need to change the BIOS to do the CD drive first in the boot sequence.  It was boot the PC and wait for the screen where it shows the F key to enter the menu start or start of installation.  Push it quickly. Make the change, save your work and exit.  Insert the CD into the drive and restart.  When you are prompted, press a key to start the PC.

    If you don't have a floppy, you can make a recovery disk to http://neosmart.net/blog/2008/windows-vista-recovery-disc-download/ using a burning like software: http://www.snapfiles.com/get/active-isoburner.html and of course a blank CD.  This recovery file is just as good as one that comes with Vista, but it can't do a reinstall.  You can do a system restore or startup repair or even use the command prompt.  Boot from the CD may be your only option to keep the PC "awake" long enough to make the procedures - which even works.

    If it does not go to Sart / all Aprograms / accessories / command prompt and right click on command prompt, and then click Run as administrator.

    Type sfc/scannow, go and let it run.  It will scan and try to correct some of your system files.  If all goes well, it completes without error, it could not repair (if such errors occur, then post back here).

    Then type chkdsk /f /r and enter and let it run.  It will scan and try to fix bad sectors on your hard drive.

    If that is not working, after return and we work on other solutions to the problem - we have still quite a few options, we can try - but I think that the first option for recovery (System Restore) is likely to work best if you know ehen this started and can find a restore prior to that point.

    Good luck and I hope this helps - but please post back whatever the case.  We are here to help you best we can.

    Lorien - a - MCSE/MCSA/network + / A +.

  • major error with the structure of the event

    IM under LABVIEW 13.0 PRO

    I don't know when this strarted bug happening, but now when I add a business to a structure of the event. Freezes in LabVIEW. I have to close labview with the Task Manager.

    It doesn't matter what code I'm working with, even a new VI, with nothing else than a structure of the event.

    I tried this on my desktop PC, my laptop and my CPU DAQ.

    The error occurs on my desktop and my laptop. But it does not occur on my CPU DAQ.

    Whenever I click on add event usually case, you get a popup to configure and add cases, but with the popup error never comes to the top and labview crashes.

    Theres no code to share the problem ocured when adding events to the event structure. It happened with any structure of the event, in any code, all the time.

    I spoke to an engineer of apllication of labview and suggested to delete the labview.ini file located in the installation of labview directory. I did this and the problem was solved.

    Still not sure what caused this to happen.

  • I have error on the event of key property

    I created the event for my Logout button, that I put it when someone click on it to change the value of the horizontal slider switch to false, in the value of the domain property I enter 1 or 0, but used to accept it accept only true or false, I say it's OK. But when I run my application and press the button I have error.  I have attached the picture of the error.

    And I have this error all the time, just a few times.

    Real strings must be 'True' and 'False '. We are supposed to support all lowercase also, but maybe that does not completely work. Capitalize the first letter and see if that helps.

  • DAQmx error: DAQmx Every N samples transferred the event buffer is not d support channel types

    Hello

    Trying to get my new ni9263 below is the steps:

    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
    DAQmxErrChk (DAQmxCreateAOVoltageChan(taskHandle,"Dev1/ao0","",-10,10,DAQmx_Val_Volts,)); NOR-USB 9263
    DAQmxErrChk (DAQmxCfgSampClkTiming (taskHandle,"" SAMPLE_RATE, DAQmx_Val_Rising, DAQmx_Val_ContSamps, SAMPLE_SIZE));

    DAQmxErrChk (DAQmxCfgOutputBuffer (taskHandle, OUTPUT_BUFFER_SIZE));

    DAQmxErrChk (DAQmxRegisterDoneEvent(taskHandle,0,DoneCallback,));

    DAQmxErrChk (DAQmxRegisterEveryNSamplesEvent (taskHandle, DAQmx_Val_Transferred_From_Buffer, EVERY_N_SAMPLES, 0, EveryNSamplesCallbackAO, NULL));
    DAQmxSetWriteRegenMode (taskHandle, DAQmx_Val_DoNotAllowRegen);

    Then I do my writing code and start the task

    When I move my code in my application hangs when it comes to DAQmxRegisterEveryNSamplesEvent with the following error

    DAQmx error: DAQmx Every N samples transferred the event buffer is not d support channel types

    Status code :-200980

    Any idea?

    Greetings;

    When you're talking about an alternative, do you mean a sleeve of spare or chassis or an alternative in the code?

    If it's a matter of code, then you probably need to change your software architecture to adapt the capacity of the installation. In order to avoid to use the FIFO and so have the problem you are experiencing, you avoid needing to register for this event? A few examples on different architectures is on the following link:

    http://www.NI.com/white-paper/6999/en

    Kind regards

    Simon Perez

  • Detection of change DAQmx - cancel the event error logging

    I am trying to use DAQmx for detection on some digital lines of changes. I think I installed everything in this article, but I always get error 'Error 1 has occurred to unregister events in the detection of change in Test - Error.vi Unregister'. When I change the structure to register for another event, not involving DAQmx but using the same structure, I get this error.

    I need this implementation on a code that runs for a very long time and according to the above article:

    "Use the Unregister function for events and function to destroy the user events to release the associated events and the reference of user event. LabVIEW unregisters all events and destroyed the existing user automatically events when the top-level VI end of execution. However, to conserve memory resources, National Instruments recommends that you unsubscribe and destroy the user events explicitly, especially in an application that is running for a long period of time. »

    Here are some screenshots of my comic, but also the .vi. Note that the detection of real change does not work well, it's just after I click on 'stop' I get the error generated by the "unregister to events.vi.

    Note When you transfer the .vi, I saw the issues described on this thread and had to change the name of the file...

    crossrulz wrote:

    You must cancel the registration of the event before deleting the task DAQmx.

    Delete the task implicitly cancels registration of events.  If you disable the task, rather than simply cancel, the event is already cancelled and you don't need two nodes.

    Or quite simply, the event is part of the job.  no tasks, no event and LabVIEW cleans the records for the non-existent event.  Other events that are not 'owned' by similar of e/s Sessions must use the unregister (as of the events of user)

Maybe you are looking for