Can someone check where exactly I'm wrong

I do this task using sbRIO9642 and sounds and vibrations box signal (looking for manual) on FPGA Simulator

using "TACH OUT" signal box thus measure the speed edge sbrio ports

I'm trying to measure the speed of the fan and this is the code for this

every time when I run this code

RPM from scratch, but I want the final value of the display...

So that I can use this as a process variable to control the fan speed using pid

irfan789 wrote:

RPM from scratch, but I want the final value of the display...

What happens if you leave the register shift uninitialized?

Tags: NI Software

Similar Questions

  • The new Windows XP Update site is broken. Can someone check?

    The new Windows XP Update site is broken. Can someone check and confirm?

    http://update.Microsoft.com/microsoftupdate/v6/muoptdefault.aspx?ReturnUrl=http://update.Microsoft.com/microsoftupdate&ln=en-us&muopt=6

    Hello

    The description of the problem seems a little unclear and I wish I had a better understanding before you start working on it. I would really appreciate if you could answer the following questions:

    1. what exactly is the problem you are experiencing in your computer?

    2. your computer installed with Service Pack 3 is?

    3. you receive an error code or message?

    4. have you made any recent hardware or exchange of software on your computer before the show?

    Please provide us with more information on the specific question to help you to fix as soon as possible.

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

  • WINDOWS 7 64 BITS BSOD, can someone check my mini dump file

    WINDOWS 7 64 BITS BSOD, can someone check my mini dump file

    1: kd >! thread
    GetPointerFromAddress: unable to read from fffff80002cac000
    WIRE fffffa80074b2770 Teb 165c.1490 Cid: 000007fffffd7000 Win32Thread: fffff900c2d1f010 CPU 1
    The IRP list:
    Cannot read nt! _IRP @ fffffa800fb4fee0
    Borrow not identity
    GetUlongFromAddress: cannot read fffff80002beac18
    Owning process fffffa800bab6b10 Image: rnappp8c.exe<== what="" is="">

    The dump file was not very helpful. Please run the driver verifier, to help catch offending drivers and then download and share a link to the generated dump.

    Driver Verifier - stalking a bad driver to behave.

    http://answers.Microsoft.com/en-us/Windows/wiki/windows_10-Update/Driver-Verifier-tracking-down-a-mis-behaving/f5cb4faf-556b-4B6D-95b3-c48669e4c983

  • Can Action Script 3, someone place where my code is wrong?

    I want to have my controlled characters separately, with "FireBoy" moving with the left until the right keys and "WaterGirl" moving with the a, w and d keys. However to modify my code somehow WaterGirl now moves with the right button instead of the d key. Please, someone can find where I made a mistake and advise me on how to solve the problem.

    My code for main.as is:

    package

    {

    Import 12345678910111213import;

    import flash.display.Sprite;

    import flash.events.Event;

    import flash.events.KeyboardEvent;

    import flash.events.MouseEvent;

    /**

    * ...

    * @author Harry

    */

    SerializableAttribute public class Main extends Sprite

    {

    private var leftDown:Boolean = false;

    private var rightDown:Boolean = false;

    private var aDown:Boolean = false;

    private var dDown:Boolean = false;

    private var FireBoy:Hero = new Hero();

    public var StartButton:Go;

    public var WaterGirl:Female = new Female();

    public var Door1:Firedoor;

    public var Door2:Waterdoor;

    public var fire: wash;

    public var water: Blue;

    public var Green: Gem;

    public void Main (): void

    {

    If init() (stage);

    of another addEventListener (Event.ADDED_TO_STAGE, init);

    }

    public void init(e:Event_=_null):void

    {

    StartButton = new getCurrentCard;

    StartButton.x = 100;

    StartButton.y = 5;

    addChild (StartButton);

    StartButton.addEventListener (MouseEvent.CLICK, startgame);

    }

    private void startgame(e:Event_=_null):void

    {

    removeEventListener (Event.ADDED_TO_STAGE, init);

    entry point

    removeChild (StartButton);

    FireBoy.y = 495;

    addChild (FireBoy);

    stage.addEventListener (Event.ENTER_FRAME, HerocheckStuff);

    stage.addEventListener (KeyboardEvent.KEY_DOWN, HerokeysDown);

    stage.addEventListener (KeyboardEvent.KEY_UP, HerokeysUp);

    WaterGirl.x = 70;

    WaterGirl.y = 495;

    addChild (WaterGirl);

    stage.addEventListener (Event.ENTER_FRAME, FemalecheckStuff);

    stage.addEventListener (KeyboardEvent.KEY_DOWN, FemalekeysDown);

    stage.addEventListener (KeyboardEvent.KEY_UP, FemalekeysUp);

    Door1 = new Firedoor();

    stage.addChild (Door1);

    Door1.x = 5;

    Door1.y = 62;

    Door2 = new Waterdoor();

    stage.addChild (Door2);

    Door2.x = 100;

    Door2.y = 62;

    Fire = new Lava();

    stage.addChild (Fire);

    Fire.x = 160;

    Fire.y = 570;

    Water = new Blue();

    stage.addChild (Water);

    Water.x = 350;

    Water.y = 160;

    Green = new Gem()

    stage.addChild (Green);

    Green.x = 500;

    Green.y = 100;

    graphics.beginFill (0 x 804000, 1);

    graphics.drawRect (0, 0, 800, 40);

    graphics.endFill ();

    graphics.beginFill (0 x 804000, 1);

    graphics.drawRect (0, 170, 600, 40);

    graphics.endFill ();

    graphics.beginFill (0 x 804000, 1);

    graphics.moveTo (800, 200);

    graphics.lineTo (800, 700);

    graphics.lineTo (400, 700);

    graphics.lineTo (100, 700);

    graphics.endFill ();

    graphics.beginFill (0 x 804000, 1);

    graphics.drawRect (0, 580, 800, 40);

    graphics.endFill ();

    }

    public void Collision (): void

    {

    If (WaterGirl.hitTestObject (Fire))

    {

    WaterGirl.x = 70;

    WaterGirl.y = 495;

    }

    If (FireBoy.hitTestObject (Water))

    {

    FireBoy.x = 15;

    FireBoy.y = 495;

    }

    }

    public void HerocheckStuff(e:Event):void

    {

    If (leftDown)

    FireBoy.x-= 5;

    If (rightDown)

    FireBoy.x += 5;

    FireBoy.adjust ();

    Collision();

    Check_Border();

    }

    public void HerokeysDown(e:KeyboardEvent):void

    {

    If (e.keyCode is 37)

    leftDown = true;

    If (e.keyCode is 39)

    rightDown = true;

    If (e.keyCode is 38)

    FireBoy.grav = - 15;

    Collision();

    Check_Border();

    }

    public void HerokeysUp(e:KeyboardEvent):void

    {

    If (e.keyCode is 37)

    leftDown = false;

    If (e.keyCode is 39)

    rightDown = false;

    }

    public void FemalecheckStuff(e:Event):void

    {

    If (aDown)

    WaterGirl.x-= 5;

    If (rightDown)

    WaterGirl.x += 5;

    WaterGirl.adjust2 ();

    Collision();

    Check_Border();

    }

    public void FemalekeysDown(e:KeyboardEvent):void

    {

    If (e.keyCode is 65)

    aDown = true;

    If (e.keyCode is 68)

    dDown = true;

    If (e.keyCode is 87)

    WaterGirl.grav = - 15;

    Collision();

    Check_Border();

    }

    public void FemalekeysUp(e:KeyboardEvent):void

    {

    If (e.keyCode is 65)

    aDown = false;

    If (e.keyCode is 68)

    dDown = false;

    }

    public void Check_Border (): void

    {

    If (FireBoy.x < = 0)

    {

    FireBoy.x = 0;

    }

    ElseIf (FireBoy.x > 750)

    {

    FireBoy.x = 750;

    }

    If (WaterGirl.x < = 0)

    {

    WaterGirl.x = 0;

    }

    ElseIf (WaterGirl.x > 750)

    {

    WaterGirl.x = 750;

    }

    }

    }

    }

    My Hero.as code (FireBoy) is:

    package

    {

    Import 12345678910111213import;

    import flash.display.Sprite;

    SerializableAttribute public class Hero extends Sprite

    {

    [Embed (source = "... / assets/FireBoy.jpg")]

    private static FireBoy: Class const;

    private var FireBoy:Bitmap;

    public var grav:int = 0;

    public var floor: int = 535;

    public void Hero()

    {

    FireBoy = new Hero.FireBoy ();

    scaleX = 0.1;

    scaleY = 0.1;

    addChild (FireBoy);

    }

    public void adjust (): void

    {

    This.y += grav.

    If(this.y+this.height/2 < Floor)

    Grav ++;

    on the other

    {

    Grav = 0;

    This.y = floor - this.height / 2;

    }

    If (this.x - this.width / 2 < 0)

    This.x = this.width / 2;

    If (this.x + this.width / 2 > 800)

    This.x = 800 - this.width / 2;

    }

    }

    }

    And finally my code for Female.as (WaterGirl) is:

    package

    {

    Import 12345678910111213import;

    import flash.display.Sprite;

    /**

    * ...

    * @author Harry

    */

    SerializableAttribute public class female extends Sprite

    {

    [Embed (source = "... / assets/WaterGirl.png")]

    private static WaterGirl: Class const;

    private var WaterGirl:Bitmap;

    public var grav:int = 0;

    public var floor: int = 535;

    public void Female()

    {

    WaterGirl = new Female.WaterGirl ();

    scaleX = 0.1;

    scaleY = 0.1;

    addChild (WaterGirl);

    }

    public function adjust2 (): void

    {

    This.y += grav.

    If(this.y+this.height/2 < Floor)

    Grav ++;

    on the other

    {

    Grav = 0;

    This.y = floor - this.height / 2;

    }

    If (this.x - this.width / 2 < 0)

    This.x = this.width / 2;

    If (this.x + this.width / 2 > 800)

    This.x = 800 - this.width / 2;

    }

    }

    }

    You should make use of the function trace to troubleshoot your treatment.  Put traces in the instructions conditional movement function different to see which is used in what circumstances.  You can consider putting the movement code into a function because they all run when you deal with a keyboard in any case event.

  • Can someone check my part of information please?

    I can't do my hard drive part FRU # and Description of the parts search page, then someone can verify for me please?

    my serial No.: T400 2764 CTO of L3xxxxx.

    Thank you very much!

    One last thing, I don't have the CD recovery comes in the box, I'm sure I was not choosing it when I made my order, so sad, I don't have any screen capture my order page. The strangest part is that no order details in my confirmation email at all. Seems that lenovo can get what they want.

    Note of the moderator; s/n, under the direction of protection own members

    Lytton, welcome to the forum,

    Simply remove the hard drive and the liquidator FRU number located on the sticker. Removal instructions

    You can create your own recovery discs by start > programs > ThinkVantage > create the product recovery media.

    Hope this helps

  • Can someone check the code, which has a bad point. ?

    Tried to use the buffer to collect acceleration, but fail.

    Could someone help me to debug?

    {if(Paused==2)}
    for (i = 0; i< 2;="">
    sensor_event_get_xyz (event, force_x [i], & force_y [i], & force_z [i]);
    {If (force_x [0]! = {force_x [1]})}
    If (tmb [0] [1] .millitm-tmb .millitm > 19) {fail without data

    ftime (& TMB [i]);
    fprintf (f, "% ld %d, %7 .3f, 7% .3f, %7.3f\n ', tmb [i] .time, tmb [i] .millitm, force_x [i], force_y [i] force_z [i] '");
    }
    }

    Thank you

    Hi lyon819,

    You started multiple threads, ask questions identical or similar (I counted only son perhaps 8 or 9 which was only 2 or 3 questions).  Can you please try to direct your questions related to a thread that you have started?  Someone reading a question in one of your threads may not notice that it has already been answered in another thread.

    See you soon,.

    Sean

  • I found a site that sells Windows 7 and 8 license for cheap keys, can someone check whether it is authentic or fake?

    Can anyone please help me determine if this site sells authentic windows 7 product keys, or is it a scam? I understand that this is a digital download only, but no other Web site is on sale for prices too low. Help, please! Microsoft Windows 7 Ultimate edition with Service Pack 1 key

    Regular price: $42,89

    Special price: $32.99

    TOB

    It's probably a scam.  Many sites offer key that can operate up to what phones OS home.  I wouldn't buy a key from any where but legitimate a site of Microsoft.  You just ask in trouble if you do.

    The name of the site (sheridanmudtrack.com should you tip off)

  • Can not activate validated windows 7 Pro, can someone check my diag report and tell me why - 0xc004c003

    I did a complete reinstall of windows 7 pro to do a periodic cleaning. The system downloaded 168 files updated, and when they tried to install they have failed. It may be that the file has been corrupted? I went back through the updates and downloaded it all, but I broke up in smaller numbers. Still will activate not windows 7. The phone option say no as well.  Code details is 0xc004c003 the activation server has blocked;

    I ran the validation and it finished with welcome on windows, now that your copy is genuine! My code on the report of diag is 0 as well. Still can't activate. Why is he blocked?

    Help, please.

    Diagnostic report (1.9.0027.0):
    -----------------------------------------
    Validation of Windows data-->

    Validation code: 0
    Code of Validation caching online: 0x0
    Windows product key: *-* - YMQRV - 4P9F8-QFY9C
    The Windows Product Key hash: nxNbw1xD302 + eRUqT558UnYxEyo =
    Windows product ID: 00371-835-1071516-85886
    Windows product ID type: 5
    Windows license type: retail
    The Windows OS version: 6.1.7601.2.00010100.1.0.048
    ID: {B1579125-A0BD-48CA-97C2-533F0287589A} (3)
    Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/a, hr = 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Product name: Windows 7 Professional
    Architecture: 0 x 00000009
    Build lab: 7601.win7sp1_gdr.140303 - 2144
    TTS error:
    Validation of diagnosis:
    Resolution state: n/a

    Given Vista WgaER-->
    ThreatID (s): n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002

    Windows XP Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    File: No.
    Version: N/a, hr = 0 x 80070002
    WgaTray.exe signed by: n/a, hr = 0 x 80070002
    WgaLogon.dll signed by: n/a, hr = 0 x 80070002

    OGA Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002
    OGAExec.exe signed by: n/a, hr = 0 x 80070002
    OGAAddin.dll signed by: n/a, hr = 0 x 80070002

    OGA data-->
    Office status: 109 n/a
    OGA Version: N/a, 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3

    Data browser-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default browser: C:\Program may Explorer\iexplore.exe
    Download signed ActiveX controls: fast
    Download unsigned ActiveX controls: disabled
    Run ActiveX controls and plug-ins: allowed
    Initialize and script ActiveX controls not marked as safe: disabled
    Allow the Internet Explorer Webbrowser control scripts: disabled
    Active scripting: allowed
    Recognized ActiveX controls safe for scripting: allowed

    Analysis of file data-->

    Other data-->
    Office details: {B1579125-A0BD-48CA-97C2-533F0287589A}1.9.0027.06.1.7601.2.00010100.1.0.048x 64*-*-*-*-QFY9C00371-835-1071516-858865S-1-5-21-2194484404-786307286-2763911233to be filled by O.E.M. power O.E.M. American Megatrends Inc.. P1.70 20130408000000.000000 + 000AE003707018400FC04090409Time(GMT-08:00) Standard Pacific03109

    Content Spsys.log: 0 x 80070002

    License data-->
    The software licensing service version: 6.1.7601.17514

    Name: Windows 7 Professional edition
    Description: operating system Windows - Windows (r) 7, retail channel
    Activation ID: e838d943-63ed-4a0b-9fb1-47152908acc9
    ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
    Extended PID: 00371-00170-835-107151-00-1033-7601.0000-2682014
    Installation ID: 021406613026060133897304781740051121623754265523021363
    Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
    The machine certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
    Use license URL: http://go.microsoft.com/fwlink/?LinkID=88341
    Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
    Partial product key: QFY9C
    License status: initial grace period
    Time remaining: 40200 minute (s) on (27 day (s))
    Remaining Windows rearm count: 4
    Trust time: 26/09/2014 01:25:46

    Windows Activation Technologies-->
    HrOffline: 0x00000000
    HrOnline: 0x00000000
    Beyond: 0 x 0000000000000000
    Event timestamp: 9:26:2014 00:58
    ActiveX: Registered, Version: 7.1.7600.16395
    The admin service: recorded, Version: 7.1.7600.16395
    Output beyond bitmask:

    --> HWID data
    Current Hash HWID: NgAAAAIABAABAAEAAAADAAAAAQABAAEAHKImUa8MGPIQMxQTlLJU + Xy6aCwgdNCwIE + CJyAh

    Activation 1.0 data OEM-->
    N/A

    Activation 2.0 data OEM-->
    BIOS valid for OA 2.0: Yes, but no SLIC table
    Windows marker version: N/A
    OEMID and OEMTableID consistent: n/a
    BIOS information:
    ACPI Table name OEMID value OEMTableID value
    APIC1156 040813 APIC
    FACP A_M_I OEMFACP
    HPET 040813 OEMHPET
    MCFG 040813 OEMMCFG
    LASRYVITRAGE 040813 OEMB1156
    AAFT 040813 OEMAAFT
    SSDT A M I POWERNOW

    Hello

    Thanks for posting in the Microsoft Community. The error 0xC004E003 code is produced if the Software Licensing Service reported that license evaluation failed.

    Use the feature "Change product key" enter your key product again:

    If you were directed to this method, you have the correct product key, but you should try to enter again to reactivate Windows 7. To do this, follow these steps:

    1. Click Start, click computer, and then click System Properties on the toolbar.
    2. In the Windows activation section, click the change product key. If you are prompted for an administrator password or for confirmation, type your password, or click continue.
    3. In the product key box, type the product key, and then click Next.
      Note Use your original product key.
    4. Follow the steps in the Windows of Activation Wizard to complete the activation process.

    Call Microsoft use the manual telephone Activation:

    1. When you reach the desktop click Start, then in the search box type: slui.exe 4
    2. press enter on your keyboard
    3. Select your country.
    4. Select the telephone activation option, then dial the given number and hold for a real person.

    You can also view this article online help:

    Error 0xC004E003 Activation for Windows:

    http://Support2.Microsoft.com/kb/978305

    Let us know the status of the issue. If you need help, please after return. We will be happy to help you.

  • I bought adobe photoshop elements 13 and first 13 items, I downloaded photoshop but I can't download the first. I have the serial number, I check but I can not find where to try to download my product again. Can someone help me? Thank you

    I followed the instructions to download my products, but after downloading photoshop, I was able to download the elements first 13.

    My account view serial number and registration of the product, but I can't find where I can try it to donwnload again.  ???

    Please use the link below to download the application of elements first 13

    Adobe - download Adobe Premiere elements 13 free trial version | Adobe

    Download the demo on the link and enter the serial number. It will convert full version

  • Can someone tell me what I'm doing wrong when you create a native extension for iPad? (Very detailed)

    My company is developing a game for iPhone and iPad using Flash cs5.5 and Air3.0

    The customer requires that certain features be supported - these things as GameCenter, rating, etc... which none are currently supported by flash for the iOS.

    However, they provide us with a bunch of xCode example files on how they want things to work.

    My idea was to bridge the gap in functionality by creating a native extension using the xcode source that was given to me, giving me the required functionality.

    But first, I need to truly CREATE a native extension, even just a base echo/hello everyone... I followed all the steps of various guides and tutorials and I have managed to create an ipa and put it on my iPad 2 to test, but when the program starts, nothing happens, I find myself with a black screen. When I comment on the lines of code that initialize the extension, it fires just fine.

    (and Yes, I even tried to put things in try blocks where there was a mistake - no luck)

    So I hope that someone can read through the process of what I do below and point out what I am doing wrong, or what Miss me.

    What I use:

    Mini Mac running OS x 10.7.2 - this is used to run xCode 4.1 build 4B 110

    PC - Windows 7 home 64 bit - running Flash CS5.5 (version 11.5.1.3469) with the 3.0 SDK inside AIR. I also have the sdk 3.0 air in a separate file for the command-line running. (This is my primary development platform)

    The PC has flash builder installed, but I've never really used it, and I don't know how to use it... everything that has been built to date has been done using Flash CS5.5

    So, here's what I did.

    The first thing we do is to create a library static .a on mac.

    I open xcode and create a new project.

    • Select iOS framework and library, then select "Cocoa touch static library.
    • Give it a name, in this case "EchoExtension" and put it in a folder.
    • I then delete the file EchoExtension.h as all the samples I've seen so far do not use.
    • I then add 'FlashRuntimeExtension.h' to the project of the AIR3.0 sdk frameworks folder on my PC
    • I remove everything in my folder ".m", and then, next to several different examples and tutorials, type the following code:

    //

    EchoExtension.m

    EchoExtension

    //

    #include "FlashRuntimeExtensions.h".

    Echo FREObject (FREContext ctx, void * funcData, uint32_t argc, {FREObject argv)

    return argv [0];

    }

    //----------- Extention intializer and finalizer ----------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------ -

    A native context instance is created

    void ContextInitializer (void * extData, const uint8_t * ctxType, FREContext ctx, uint32_t * numFunctionsToTest, const FRENamedFunction * functionsToSet) {}

    Configure the number of functions in this extention

    for ease of reference, set the number of function that will use this extension.

    int FunctionCount = 1;

    set the number of function pointer reference that will use this extention.

    * numFunctionsToTest = FunctionCount;

    create an array to store all the functions that we will use.

    FRENamedFunction * func = (FRENamedFunction *) malloc (sizeof (FRENamedFunction) * FunctionCount);

    create a table for each function entry

    Func [0] .name = (const uint8_t *) "echo"; the name of the function

    Func [0] .functionData = NULL;                    the data type

    Func [0] .function = & echo;             the reference to the real function

    Save the array to a pointer.

    * functionsToSet = func;

    }

    A native context instance is deleted

    void ContextFinalizer (FREContext ctx) {}

    return;

    }

    Initialization of each extension function

    void ExtInitializer (void * extDataToSet, ctxInitializerToSet FREContextInitializer *, FREContextFinalizer * ctxFinalizerToSet) {}

    * extDataToSet = NULL;

    * ctxInitializerToSet = & ContextInitializer;

    * ctxFinalizerToSet = & ContextFinalizer;

    }

    Called when the extension is unloaded

    void ExtFinalizer (void * extData) {}

    return;

    }

    • I'll then 'product', 'building' and it creates libEchoExtension.a
    • I'm copying this .to file on my PC.

    I am now finished with this abandoned mac of God (* shudder *)
    Back on my PC, I create a folder for my test project. For all the intentions a purposes, we will call this "D:\src\EchoExtension" then I create 2 folders, one called "lib" and one called "app". Lib, it's where I'm going to create the actionscript source for my extension.

    • In my lib folder, I create a new fla in flash cs5.5, called "EchoExtension.fla".
    • I create my lib folder, the following:
      • com\extensions\EchoExtension\EchoExtension.as
      • a folder named 'Build' in which I place my libEchoExtension.a file.
    • I have in my EchoExtension.as file, place the following code:

    package com.extensions.EchoExtension

    {

    import flash.events.EventDispatcher;

    import flash.events.IEventDispatcher;

    import flash.external.ExtensionContext;

    SerializableAttribute public class EchoExtension extends EventDispatcher

    {

    protected var _extensionContext:ExtensionContext;

    /**

    * Constructor.

    */

    public void EchoExtension()

    {

    Super();

    Initialize the extension.

    _extensionContext = ExtensionContext.createExtensionContext ("com.extensions.EchoExtension", "main");

    }

    public void echo(Prompt:String):String

    {

    Return _extensionContext.call ("echo") as String;

    }

    }

    }

    • In my main fla, on the first layer of the time line, I put just the following code to make sure that did get file included when I publish the swc.

    import com.extensions.EchoExtension.EchoExtension;

    var ext:EchoExtension = new EchoExtension();

    Stop();

    • I then opened upwards from my fla publication settings, disable the swf - which I don't need, and check the swc and ensure it generates in my generation folder.  «. "/ Build/EchoExtension.swc.
    • I also updated the player Air 3.0 (which I can do because I managed integrated AIR 3.0 along side my AIR 2.6 and can build both without any problem)
    • I then publish the swc. So far so good. No problems.
    • I then made a copy of the CFC and rename it to EchoExtension.swc.zip, how I extracted the library.swf file and place it in the folder of my generation.
    • I then create extension.xml in case of generation that contains the following code:

    " < extension xmlns =" http://ns.Adobe.com/air/extension/2.5 ">

    com.extensions.EchoExtension < id > < /ID >

    < versionNumber > 1 < / versionNumber >

    <>platforms

    < platform name 'iPhone-ARMS' = >

    < applicationDeployment >

    < nativeLibrary > libEchoExtension.a < / nativeLibrary >

    < initializer > ExtInitializer < / initializer >

    < finalizer > ExtFinalizer < / finalizer >

    < / applicationDeployment >

    < / platform >

    < / platforms >

    < / extension >

    • Now, at this point, I'm a little suspicious, because I build for the iPad2... the platform is iPhone... I thought that may be a problem and at some point I have tested the same build on the iPhone4 and had the same results. I also tested using the name of the platform of the iPad-ARM and got the same results... So I don't think that's the problem, but I'm not sure.
    • Now, to make things easier, I created a batch file called "buildane.bat" in my file generation. That's what I use to create my .ane file and it contains the following command line:

    D:\SDKs\AirSDK30\bin\adt-Paquet - target ane EchoExtension.ane extension.xml - CFC EchoExtension.swc - iPhone-ARM library.swf libEchoExtension.a platform

    • I then open a command prompt and run buildane.bat and Ottoman. My donkey is created. My generation file now has the following files in it:
        • buildane.bat
        • EchoExtension.ane
        • EchoExtension.swc
        • EchoExtension.swc.zip
        • extension. XML
        • libEchoExtension.a
        • Library.swf

    Now that I have my swc, donkey and it's time to create my sample application that will be used to test my new extension.

    • I go back to my D:\src\EchoExtension folder and go to the folder app ealier, I created.
    • I then create a new flash project called EchoExtensionTester.fla
    • I open the action script settings, paths to library and add the CFC I created in my D:\src\EchoExtension\lib\build file to my project.
    • On my stage, I create a field called text txtInput, a field of dynamic text named txtEcho, and a couple of buttons called btnClear, btnRuntime and btnEcho
    • I open the first layer of the timeline, and place the following code:

    imports of base.

    import flash.desktop.NativeApplication;

    import flash.events.MouseEvent;

    import flash.text.TextField;

    import the extension of our swc.

    import com.extensions.EchoExtension.EchoExtension;

    the value of our input text to the need the softkeyboard field

    txtInput.needsSoftKeyboard = true;

    Add event handlers to our buttons.

    btnEcho.addEventListener (MouseEvent.CLICK, btnEcho_Click);

    btnClear.addEventListener (MouseEvent.CLICK, btnClear_Click);

    btnRunTime.addEventListener (MouseEvent.CLICK, btnRunTime_Click);

    create our variable expansion.

    var ext:EchoExtension;

    Try

    {

    initialize our extension of echo.

    Ext = new EchoExtension();

    } catch (error) {}

    txtEcho.text = 'Error when trying to create new EchoExtension:\n\n' + e;

    }

    Stop();

    Delete the text echo field

    function btnClear_Click(e:MouseEvent):void

    {

    txtEcho.text = "";

    }

    just to test, put the latest version of the air runtime in our text field, so we can make sure we run air 3.0

    function btnRunTime_Click(e:MouseEvent):void

    {

    txtEcho.text += "\nRuntime version =" + NativeApplication.nativeApplication.runtimeVersion; ".

    }

    call the extension, passing all that is in the text input field and get back and place it in our text echo field

    function btnEcho_Click(e:MouseEvent):void

    {

    txtEcho.text += "\n";

    Try

    {

    txtEcho.text += ext.echo (txtInput.text);

    } catch (error) {}

    txtEcho.text += "\nError call ext.echo:"+ e;»

    }

    }

    • I save the project, Open Air for the parameters of the iOS, then perform the following settings: (Yes, I know... I'll have to use adt to perform the build, but I need to first create the swf file)
      • File: EchoExtensionTester.ipa
      • AppName: EchoExtensionTester
      • Version 1.0
      • Landscape
      • Full screen on
      • Auto orientation is disabled
      • GPU rendering
      • device: iPad and iPhone
      • RES: high
      • Deployment: I use my certificate and profile provisionging that I use for my main project (that works) and defined for the test of the device.
    • I close the window and save again... but before I publish, I opened newly created "EchoExtensionTester - app.xml" which is located in my app folder.
    • I add the extensions <>< extensionID > com.extensions.EchoExtension < / extensionID > < / extensions > to the XML in the file so now it looks like this:

    <? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >

    " < application xmlns =" http://ns.Adobe.com/air/application/3.0 ">

    <>Extensions

    < extensionID > com.extensions.EchoExtension < / extensionID >

    < / extensions >

    < id > EchoExtensionTester < /ID >

    < versionNumber > 1.0 < / versionNumber >

    < file_name > EchoExtensionTester < / name of the file >

    < description / >

    <!-to locate the description, use the following format for the description element. < description > < text XML: lang = "fr" > App English description goes here < / text > < text XML: lang = "fr" > French App description goes here < / text > < XML text: lang = "ja" > Japanese App description goes here < / text > < / description >->

    < name > EchoExtensionTester < / name >

    <!-to locate the name, use the following format for the name element. < name > < text XML: lang = "fr" > insert here the name App English < / text > < text XML: lang = "fr" > insert here the French App name < / text > < XML text: lang = "ja" > insert here the Japanese App name < / text > < / name >->

    < copyright / >

    < initialWindow >

    < content > EchoExtensionTester.swf < / content >

    standard < systemChrome > < / systemChrome >

    < clear > false < / transparent >

    < visible > true < / visible >

    true < fullscreen > < / full screen >

    landscape of < aspectRatio > < / aspectRatio >

    GPU < renderMode > < / renderMode >

    < maximizable > true < / maximizable >

    < minimizable > true < / minimizable >

    < resizable > true < / resizable >

    < autoOrients > false < / autoOrients >

    < / initialWindow >

    < icon / >

    < customUpdateUI > false < / customUpdateUI >

    < allowBrowserInvocation > false < / allowBrowserInvocation >

    < iPhone >

    < InfoAdditions >

    <! [CDATA [< key > UIDeviceFamily < / key > < table > < String > 1 < / string > < string > 2 < / string > < / array >]] >

    < / InfoAdditions >

    < requestedDisplayResolution > top < / requestedDisplayResolution >

    < / iPhone >

    < / application >

    • I save the changes to the xml file and return to Flash. I then publish.
    • The swf file is created as it should be, but then I get the error message:

    Error creating files.

    A native implementation extension 'com.extensions.EchoExtension' required by the application is not found for the target platform.

    • Now, while it is a pain in the rear, I again, this was going to happen because in my reading tutorials and samples, they have all said that you use adt to build the ipa... but that is fine... all I wanted anyway, was the swf, which I now have in my app folder.
    • I close flash because I no longer need and I create a new batch file: (Note: I have change the name of the cert, profile and password for this post)

    CLS

    "D:\SDKs\AirSDK30\bin\adt" - package - target the ipa-ad-hoc - stores pkcs12 - keystore "D:\src\mycert.p12" - storepass MYPASSWORD-putting into service-profile "D:\src\myprovfile.mobileprovision" "EchoExtensionTester.ipa" "EchoExtensionTester - app.xml" "EchoExtensionTester.swf" - extdir... / lib/Build

    Set dummy = p

    ECHO done

    • I then open a command window in my app folder and run build.bat.
    • I wait about 2 minutes...
    • ...
    • ...
    • YAY! My ipa file was created without error reported so far... Time to copy this bad boy to the iPad and see what happens.
    • I opened iTunes, drag "EchoExtensionTester.ipa" to the applications, then synchronize my device...
    • ...
    • YAY! iTunes installed ipa on the device... and there is a white icon bright and shiney for Echo Extension tester...
    • I open the app... and...
    • nothing.
    • I'm waiting for
    • still nothing.
    • I go to the bathroom.
    • I'll be back... still nothing... just a black screen.
    • I press the home button on the iPad, the app minimized, I restore it... nothing... black screen.

    management of human resources. Time to do some trial and error to see if I can figure out what the distribution.

    • As a test, I opened my fla and I comment out the following lines:
      • Ext = new EchoExtension();
      • txtEcho.text += ext.echo (txtInput.text);
    • I then rebuild the swf... get the same error (don't care)... I then rebuild the ipa using the batch file... and reinstall it on the device when it is made.
    • Exactly the same thing...
    • I opened the xml file... and remove the < extensionID > com.extensions.EchoExtension < / extensionID > line, save and re - run the batch file again... Wait for the ipa ends, then run it on the device.
    • I start the program on the iPad and it starts perfectly... with the exception of the commented line of code actually create and call the extension, everything works as it should. The runtime on the device reports as 3.0.0.4080
    • A test, I opened the .fla save and uncomment the 2 lines, I commented out above... keep the xml file extensionID, I re - publish the ipa... of course, this time, it actually creates the flash API, because the id of the extension is not in the xml file.
    • I put the file API with the extension in place on the ipad code... The fire and make the txtInput text and press the button of the echo. I get the following error:
      • Error calling ext.echo: TypeError: Error #1009
    • I suspect it's because I failed to include the extension in the descriptor... but when I build it with the extensionid in the xml file, I just get a black screen. I'm 99% sure that the context of the extension in the ext object is null (because that's what happens when I run Flash debug without extension lines in the xml)

    And here I am stuck.

    Can someone tell me what I am doing wrong or what I forgot to do?

    Thank you.

    Hi can check you if the CFC of the native extension is linked as external?

    Next image can help locate and change the link type of CFC.

    The issue that many people face here (i.e. extension works fast/interpreter mode and only when they are packed in standard mode) occurs only when the SWC of the NE is not linked externally.

    I hope this helps.

    Kind regards

    Mathyas blabla

    IOS of the AIR

  • Can someone tell me where I can buy a Photoshop CS6 Raw (nef, not DNG) converter for my camera Nikon D600

    Can someone please tell me where I can buy a Photoshop CS6 Raw Converter(nef, not dng) for my Nikon D600.


    Also, I would be grateful if you could help me by telling me how you install the 'Player' in the suite?


    Any help would be most appreciated.


    Concerning


    Brand silk

    Camera Raw plugin | Supported devices

    Applications of camera Raw compatible Adobe

    Nikon D600 is supported by Camera Raw 7.3 and later versions which is compatible with the CS6.

    In CS6, click Help > updates and your Camera Raw should be updated.

    Check the exact version of Camera Raw that you have installed via Help > about Plug-ins > Camera Raw

  • Someone know where I can find a disk for an older MacBook utility? It seems that Apple can't MacBook since 2007.

    Someone know where I can find a disk for an older MacBook utility? It seems that Apple can't MacBook since 2007.

    If you were able to call Apple support (after-sales applecare or apple?) and ask if they

    can know if you can still buy replacement system installation DVD of restoration for your MacBook

    they could tell you if it is possible if they have your serial number, to look further into it.

    • How to identify MacBook - Apple Support models

    • Find the serial number of your Apple - Apple Support product

    Depending on where you are, some support Apple or Apple Care facilities cannot

    be able to comply with a demand for vintage and filtering software obsolete spare.

    Some models introduced in 2007 started with 10.4 Tiger (with the version of the Intel-based OS)

    and went as far as Lion 10.7.5 as their higher upgrade system. All systems prior to 10.7

    usually included a system restore DVD media kit, gray-label of this Mac-specific disks.

    If you bought the computer in 2007, it may have been a year of construction 2006 model, in order to

    be able to identify the computer model exactly, the discovery of a boot of replacement keys is

    DVD that can also be used to prepare the computer for a replacement of the HDD, etc.. The

    utility disc on the DVD installation-restoration is an important tool; so is the installation disc & software.

    A detail of (if any) the system drive on the computer, if those who took on DVD

    would be a bootable disk utility version in the installation program. The DVD of grey original label

    media can be found in resale, are used or old stock, published initially with a Mac, new.

    Places online like Amazon may be able to provide the specific software package if you knew

    exactly the part numbers your computer had when new on these original discs.

    Serial number of Mac news - your Apple series number search:

    https://www.PowerBookMedic.com/identify-Mac-serial.php

    If you identify a number before contacting Apple computers on-line software resellers

    You may be able to narrow down. In addition, if identify the computer exactly, there may be some

    This time DVD media (exact details, new or used; original gray-replacement of labels, used.)

    And finally, if the computer running Snow Leopard 10.6.8 and he is older than the date of this

    OS X system, you could buy a DVD of Snow Leopard 10.6.3 retail on Apple Store online, to get

    http://www.Apple.com/shop/product/MC573Z/A/Mac-OS-x-106-Snow-Leopard

    the installation program which has a utility disk in the package. You start from the DVD to use these

    utilities include in the installation program. It can also erase everything. If the computer shipped with the

    last supported OS X installed 10.7, who no doubt had a key task to install USB, not a restore DVD.

    Later computers have their built-in OS X Recovery, a partition on the hard drive which has the OS X

    Utilities and a way to go online for the software of system recovery and restore without media disks.

    Nothing is as simple as it sounds. the first thing is to correctly identify the computer; If you call

    Apple (depending on where you are in the world), results may vary. their after-sales service or Apple

    Nobody care may be able to help or tell you that they cannot, on the basis of the serial number.

    In any case...

    Good luck & happy computing!

  • Can someone explain to me exactly what the IP of MSN was going to?

    Can someone explain to me exactly what the IP of MSN was going to?

    Hello

    I suggest you according to the question in this forum and check if that helps:
    http://www.windowslivehelp.com/forums.aspx?ProductID=2

    It will be useful.

  • I accidentally turn off my WIFI! When I go to it says disable 'status' HP wireless assistant but no, where do see how to activate it again, can someone help please!

    hen I go to it says disable 'status' HP wireless assistant but no, where do not see how to activate it again, can someone help please!

    I went to something help I have and it says to reboot my laptop, press F10, then go to system configuration > integrated device options > LAN/WLAN switching > activate. I restarted my laptop and pressed F10 but it come with the system configuration...

    Hi you can access device manager and enable you WLAN, or simply more portable computers HP come with a button to toggle WLAN, please check the color of the light wireless button and press again to see if it changes color, if not you have successfully activated the WLAN again.

    You can also try

    1. Reboot the laptop.
    2. Press F10 .
    3. Enter the BIOS .
    4. Select Advanced options .
    5. Select the Device option , WLAN/LAN switching.
    6. Switch to Activate .
    7. Select save changes and exit .

    If you could tell the laptop model and the version of the operating system you use that I'll be able to give you more accurate and simpler measures

  • If [mail {$to, $subject, $totalmessage]} [this is the code I get a syntax error in Dreamweaver CS6.]  can someone please tell where is the error and how to fix?

    If {{mail {$to, $subject, $totalmessage]}

    It is the syntax committed an error I am getting in dreamweaver CS6.

    can someone please advise how to solve this problem?

    Thank you!

    Stacie

    If {{mail {$to, $subject, $totalmessage]}

    The supports are all wrong. You can use, where you can $headers can represent From: e-mail.

    If (mail ($ $subject, $totalmessage, $headers)) {}

Maybe you are looking for

  • DVD player not working not not since upgrading to Windows 10?

    Improved to win 10 of Win 7 and now cannot get my DVD player to work. Checked info from Device Manager which advises (Windows cannot start this hardware device because its configuration in the registry information is incomplete or damaged (code 19).)

  • L430 - very low Audio output

    We bought several L430 notebooks and with Windows 7 audio output is very weak... we tried with the realtek drivers and windows HD, but the result is poor put off...

  • How to open .dbx files in Word processer

    When the text is copied, pasted and saved in Notepad format .rtf and then tried to open it, it is encoded and unreadable. It records to a .dbx file. BB

  • How install LR3 from a CD when my new Mac is not a CD player?

    LR3 bought years ago, and it's on a CD.  I then updated in November 2015 at LR6 via download. Two of them were for a Windows computer.I have now bought a Macbook Pro and want to install LR on it.How do we install LR3 for the Macbook Pro, when the sof

  • How to change the storage

    HelloThere are now three storage. for example (storage A, StorageB, StorageC)I created the virtual machine and configured storage as StorageA. (This server is running now)But I would change the storage of A to B.The A device is Local and B iSCSI disk