Event metadata name constant

hello,
I am a young new Flexer that has a question:
When I define a style for my component using the style metadata tag as so:
[Style(name="backgroundColor", type="uint", format="color", inherit="no")]
can I reference a constant for the name property, instead of explicitly typing 'backgroundColor', as so:
[Style(name=StandardCSSNames.BACKGROUND_COLOR, type="uint", format="color", inherit="no")]
so that if I need to change that property name later in time, it'll be easier than to traverse my class definitions for occurences.
Thanks for your time. Max

"Cannt"
answered by a dev from adobe in this forum yesterday

Similar Messages

  • Email Notification 11g - Event Metadata xml issue

    Hi,
    I am creating Email Notification for 11g .. For that I have created Event Metadata xml, one java class and pluggin.xml.
    the problem I am facing, I am not able to upload the Event Metadata xml (ISUDnotsigned.xml) using weblogicImportMetadata.sh
    My Event Metadata xml is as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <Events xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../metadata/NotificationEvent.xsd">
    <EventType name="ISUD Not Signed">
    <StaticData>
    <Attribute DataType="X2-Entity" EntityName="User" Name="User Login"/>
    <Attribute DataType="91-Entity" EntityName="User Group" Name="User Grp"/>
    </StaticData>
    <Resolver class="com.hssa.oim.emailNotification.ISUDNotSignedNotificationEventResolver">
    <Param DataType="X2-Entity" EntityName="User" Name="usr_login"/>
    </Resolver>
    </EventType>
    </Events>
    the weblogic properties file is as below:
    application_name=OIMMetadata
    metadata_from_loc=/iam/email
    metadata_to_loc=
    metadata_files=/metadata/ISUDnotsigned.xml
    when I am running the weblogicImportMetadata.sh it is saying Transfer complete. but its not reflecting in OIM admin console.. Kindly suggest
    Edited by: boyinabox on Feb 28, 2013 4:50 AM

    it doesn't work because notifications are set from user1 account so USER# is still 1 even when I removed record first.
    This is my aproach based on Ask Tom: On Becoming Others, Limits, and Restoration
    >sqlplus user1
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    SQL> grant execute on sys.dbms_aq to user1;
    Grant succeeded.
    SQL> alter user user3 grant connect through user1;
    User altered.
    SQL> connect user1[user3]
    Enter password:
    Connected.
    SQL> create or replace procedure sched_not_add_q as
      2    reginfo1    sys.aq$_reg_info;
      3    reginfolist sys.aq$_reg_info_list;
      4  begin
      5    reginfo1    := sys.aq$_reg_info('SYS.SCHEDULER$_EVENT_QUEUE:SCHED$_AGT2$_3',
      6                                    1,
      7                                    'plsql://SYS.SCHEDULER$_JOB_EVENT_HANDLER',
      8                                    null);
      9    reginfolist := sys.aq$_reg_info_list(reginfo1);
    10    dbms_aq.register(reginfolist, 1);
    11  end;
    12  /
    Procedure created.
    SQL> exec sched_not_add_q;
    PL/SQL procedure successfully completed.
    SQL> drop procedure sched_not_add_q;
    Procedure dropped.
    SQL> connect user1
    Connected.
    SQL> revoke execute on sys.dbms_aq from user3;
    Revoke succeeded.
    SQL> alter user user3 revoke connect through user1;
    User altered.
    SQL> exit;
    >
    So it works now.

  • How do I use the event.target.name String with an external dispatchEvent?

    ...I hope the title question makes sense...
    On my stage I have an externally loaded SWF with a button. When clicked the button dispatches an event to the main stage.
    On the main stage a listener then loads an SWF into a loader called gallery.
    The gallery loader is also being shared by buttons on the main stage which use the event.target.name String to call in SWFs with corresponding names.
    I am using Tweens to fade-out and -in content to the gallery when a button is pressed.
    Loading the SWFs was working until I tried to create a universal button function for the dispatchEvent buttons...
    The problem I have is that I don't know how to define the String to tell the newSWFRequest where to find the SWF when triggered by the external buttons.
    (I may be doing this all wrong... but figured the best way to load an SWF on to the main stage from an external SWF was by using dispatchEvent??)
    My code triggers the Event and the gallery loader fades out, but then it cannot find the new SWF:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    Please can someone help me understand the way to make the String point in the right direction? (I think the only errors are in bold below)
    Code:
    var myTweenIn2:Tween;
    var myTweenOut2:Tween;
    var nextLoadS2:String;
    // Listen for external event dispatched from external btns
    addEventListener("contactStage", btnClickExtrnl);
    function btnClickExtrnl(e:Event):void {
    nextLoadS2 = ?????
    myTweenOut2=new Tween(gallery,"alpha",None.easeOut,gallery.alpha,0,0.2,true);
    myTweenOut2.addEventListener(TweenEvent.MOTION_FINISH,tweenOutCompleteF2);
    // Btns Universal function
    function tweenOutCompleteF2(e:TweenEvent){
    myTweenOut2.removeEventListener(TweenEvent.MOTION_FINISH,tweenOutCompleteF2);
    myTweenOut2=null;
        var newSWFRequest:URLRequest = new URLRequest("swfs/" + nextLoadS2 + ".swf");
    myTweenIn2 = new Tween(gallery, "alpha", None.easeOut, gallery.alpha, 1, 0.2, true);
        gallery.load(newSWFRequest);
        gallery.x = Xpos;
        gallery.y = Ypos;
    Thank you.

    That works – thank you!
    I'm now using this code to fade in each of the SWFs:
    function contactStage(e:MouseEvent):void {
        var newSWFRequest:URLRequest = new URLRequest("swfs/"+e.currentTarget.name+".swf");
        myTweenIn = new Tween(gallery,  "alpha", None.easeOut, 0, 1, 0.2, true);
        gallery.load(newSWFRequest);
        gallery.x = Xpos;
        gallery.y = Ypos;
    But I cannot add the fade out function. I have amended the above code to create:
    var myTweenOutX:Tween;
    var myTweenInX:Tween;
    function contactStage(e:MouseEvent):void {
    myTweenOutX=new Tween(gallery,"alpha",None.easeOut,gallery.alpha,0,0.2,true);
    myTweenOutX.addEventListener(TweenEvent.MOTION_FINISH,tweenOutCompleteFX);
    function tweenOutCompleteFX(e:TweenEvent){
    myTweenOutX.removeEventListener(TweenEvent.MOTION_FINISH,tweenOutCompleteFX);
    myTweenOutX=null;
        var newSWFRequest:URLRequest = new URLRequest("swfs/"+e.currentTarget.name+".swf");
    myTweenInX = new Tween(gallery,  "alpha", None.easeOut, 0, 1, 0.2, true);
        gallery.load(newSWFRequest);
        gallery.x = Xpos;
        gallery.y = Ypos;
    But get this error:
    ReferenceError: Error #1069: Property name not found on fl.transitions.Tween and there is no default value.
    at ACOUSTIC_fla::MainTimeline/tweenOutCompleteFX()[ACOUSTIC_fla.MainTimeline::frame1:110]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at fl.transitions::Tween/set time()
    at fl.transitions::Tween/nextFrame()
    at fl.transitions::Tween/onEnterFrame()
    Where am I going wrong?

  • How do I use event.target.name in AS2?

    Thanks to kglad I was able to see how event.target.name in AS3 could make a button load a movieclip with the same namesake.
    I'm doing the same thing now in AS2 but don't know what to write instead of event.target.name.
    And so at the moment each button pushes info into an array and then a function uses that to decide which movieclip to attach to a holder after it has faded out once, and then fades in again...
    // ***** IMAGE GALLERY START ***** //
    // Add image to holder
    imgholder.attachMovie("img0", "image0_0", 1)
    // Array
    var nextLoad = ["img0"];
    // Btn listeners
    img5.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img5"); btnClick() } // Written on 1 line
    img4.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img4"); btnClick() }
    img3.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img3"); btnClick() }
    img2.onRelease = function() { trace (nextLoad); nextLoad.pop(); nextLoad.push("img2"); btnClick() }
    img1.onRelease = function() {
    nextLoad.pop();
    nextLoad.push("img1");
    btnClick()
    img0.onRelease = function() {
    nextLoad.pop();
    nextLoad.push("img0");
    btnClick()
    // The btn function
    function btnClick() {
    trace ("click");
    var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 100, 0, 1, true);
    myImgTween.onMotionFinished = function() {
    fadeOutImg();
    // The btn function part II
    function fadeOutImg() {
    trace ("fadeOutImg");
    imgholder.attachMovie(nextLoad, "image1_1", 1);
    var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 0, 100, 1, true);
    I know I should be able to push the button name into the array, but am having to use a string... I'm sure my code is cumbersome!! But it works. I've tried pushing the button name but it end up including the full stage reference.
    Is there a cleaner way of doing this using event.target.name?
    Thanks for looking!

    There is no event.target in AS2. However since AS2 has no way of remembering the scope object where the target object resides, you can use this to your advantage to retrieve the name of the target by using the "this" command in the function whenever you use the above format "mc.onPress = myfunc". FYI, the popular workaround Delegate, made it possible that when you called "this" in the function, you could retrieve the scope object where the target instance resides. So without its use, "this" will return the name of the target object. Anyway this is the code you can use:
    imgholder.attachMovie("img0","image0_0",1);
    var nextLoad = ["img0"];
    img5.onRelease = onImgRelease;
    img4.onRelease = onImgRelease;
    img3.onRelease = onImgRelease;
    img2.onRelease = onImgRelease;
    img1.onRelease = onImgRelease;
    img0.onRelease = onImgRelease;
    function onImgRelease():Void {
       nextLoad.pop();
       nextLoad.push(this._name);
       btnClick();
    // The btn function
    function btnClick() {
       trace("click");
       var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 100, 0, 1, true);
       myImgTween.onMotionFinished = function() {
          fadeOutImg();
    // The btn function part II
    function fadeOutImg() {
       trace("fadeOutImg");
       imgholder.attachMovie(nextLoad,"image1_1",1);
       var myImgTween:Object = new Tween(imgholder, "_alpha", Strong.easeOut, 0, 100, 1, true);

  • Attached corresponding image in mouse without using event.target.name in actionscript 3

    Hi,
    AS3:
    How to get general id (or) name from xml loaded images. bcoz, i want to drag and drop that images in generic method. Now, i currently used the event.target.name for each one.
    So, code length was too large. See my code below.
    /*********loading images through xml********/
    var bg_container_mc:MovieClip
    var bg_bg_myXMLLoader:URLLoader = new URLLoader();
    bg_bg_myXMLLoader.load(new URLRequest("xml/backgroundimages.xml"));
    bg_bg_myXMLLoader.addEventListener(Event.COMPLETE, processXML_bg);
    function processXML_bg(e:Event):void {
              var bg_myXML:XML=new XML(e.target.data);
              columns_bg=bg_myXML.@COLUMNS;
              bg_my_x=bg_myXML.@XPOSITION;
              bg_my_y=bg_myXML.@YPOSITION;
              bg_my_thumb_width=bg_myXML.@WIDTH;
              bg_my_thumb_height=bg_myXML.@HEIGHT;
              bg_my_images=bg_myXML.IMAGE;
              bg_my_total=bg_my_images.length();
              bg_container_mc = new MovieClip();
              bg_container_mc.x=bg_my_x;
              bg_container_mc.y=bg_my_y;
              ContentHead.addChild(bg_container_mc);
              for (var i:Number = 0; i < bg_my_total; i++) {
                       var bg_thumb_url=bg_my_images[i].@THUMB;
                        var bg_thumb_loader = new Loader();
                       bg_thumb_loader.load(new URLRequest(bg_thumb_url));
                       bg_thumb_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded_bg);
                       bg_thumb_loader.name="bg_load"+i;
                       bg_thumb_loader.addEventListener(MouseEvent.MOUSE_DOWN, bg_down)
                       bg_thumb_loader.x = (bg_my_thumb_width-18)*bg_x_counter;
                       bg_thumb_loader.y = (bg_my_thumb_height-45)*bg_y_counter;
                       if (bg_x_counter+1<columns_bg) {
                                 bg_x_counter++;
                       } else {
                                 bg_x_counter=0;
                                 bg_y_counter++;
    function thumbLoaded_bg(e:Event):void {
              var my_thumb_bg:Loader=Loader(e.target.loader);
             var sprite:Sprite = new Sprite();
              var shape:Shape = new Shape();
              shape.graphics.lineStyle(1, 0x0098FF);
              shape.graphics.drawRect(e.target.loader.x-2, e.target.loader.y-2, e.target.loader.width+4, e.target.loader.height+4);
              sprite.addChild(shape);
              sprite.addChild(my_thumb_bg);
              sprite.x=4;
              bg_container_mc.addChild(sprite);
              my_thumb_bg.contentLoaderInfo.removeEventListener(Event.COMPLETE, thumbLoaded_bg);
    //  get name for each image. 
    I want to change this code in generic method. do needful.
    function bg_down(event:MouseEvent):void {
              var bg_name:String=new String(event.currentTarget.name);
              var bg_load:MovieClip=event.currentTarget as MovieClip;
              if (event.currentTarget.name=="bg_load0") {
                      var alaska_mc:alaska_png=new alaska_png();
                       addChild(alaska_mc);
                       alaska_mc.x=stage.mouseX;
                       alaska_mc.y=stage.mouseY;
                       alaska_mc.name="alaska_duplicate"+alaska_inc;
                       alaska_inc++;
                       alaska_mc.startDrag(false);
                      alaska_mc.addEventListener(MouseEvent.MOUSE_UP, stdrag);
                       alaska_mc.addEventListener(MouseEvent.MOUSE_UP, stdrag);
              if (event.currentTarget.name=="bg_load1") {
                       var lake_mc:lake_png=new lake_png();
                       addChild(lake_mc);
                       lake_mc.x=lake_mc.mouseX;
                       lake_mc.y=lake_mc.mouseY;
                       lake_mc.name="lake_duplicate"+lake_inc;
                       lake_inc++;
                       lake_mc.startDrag(false);
                       lake_mc.addEventListener(MouseEvent.MOUSE_UP, stdrag);
              if (event.currentTarget.name=="bg_load2") {
                       var mountn_mc:mountn_png=new mountn_png();
                       addChild(mountn_mc);
                       mountn_mc.x=mountn_mc.mouseX;
                       mountn_mc.y=mountn_mc.mouseY;
                       mountn_mc.name="mountn_duplicate"+mountn_inc;
                       mountn_inc++;
                       mountn_mc.startDrag(false);
                       mountn_mc.addEventListener(MouseEvent.MOUSE_UP, stdrag);
              if (event.currentTarget.name=="bg_load3") {
                       var town_mc:town_png=new town_png();
                       addChild(town_mc);
                       town_mc.x=town_mc.mouseX;
                       town_mc.y=town_mc.mouseY;
                       town_mc.name="town_duplicate"+town_inc;
                       town_inc++;
                       town_mc.startDrag(false);
                       town_mc.addEventListener(MouseEvent.MOUSE_UP, stdrag);
              if (event.currentTarget.name=="bg_load4") {
                       var water_mc:water_png=new water_png();
                       addChild(water_mc);
                       water_mc.x=water_mc.mouseX;
                       water_mc.y=water_mc.mouseY;
                       water_mc.name="water_duplicate"+water_inc;
                       water_inc++;
                       water_mc.startDrag(false);
                      water_mc.addEventListener(MouseEvent.MOUSE_UP, stdrag);
              if (event.currentTarget.name=="bg_load5") {
                       var city_mc:city_png=new city_png();
                       addChild(city_mc);
                       city_mc.x=city_mc.mouseX;
                       city_mc.y=city_mc.mouseY;
                       city_mc.name="city_duplicate"+city_inc;
                       city_inc++;
                       city_mc.startDrag(false);
                      city_mc.addEventListener(MouseEvent.MOUSE_UP, stdrag);
              if (event.currentTarget.name=="bg_load6") {
                        var citywide_mc:citywide_png=new citywide_png();
                       addChild(citywide_mc);
                       citywide_mc.x=citywide_mc.mouseX;
                       citywide_mc.y=citywide_mc.mouseY;
                       citywide_mc.name="citywide_duplicate"+citywide_inc;
                       citywide_inc++;
                       citywide_mc.startDrag(false);
                      citywide_mc.addEventListener(MouseEvent.MOUSE_UP, stdrag);
              if (event.currentTarget.name=="bg_load7") {
                       var downtown_mc:downtown_png=new downtown_png();
                       addChild(downtown_mc);
                       downtown_mc.x=downtown_mc.mouseX;
                       downtown_mc.y=downtown_mc.mouseY;
                       downtown_mc.name="downtown_duplicate"+downtown_inc;
                       downtown_inc++;
                       downtown_mc.startDrag(false);
                      downtown_mc.addEventListener(MouseEvent.MOUSE_UP, stdrag);
              if (event.currentTarget.name=="bg_load8") {
                       var powerlines_mc:powerlines_png=new powerlines_png();
                       addChild(powerlines_mc);
                       powerlines_mc.x=powerlines_mc.mouseX;
                       powerlines_mc.y=powerlines_mc.mouseY;
                       powerlines_mc.name="powerlines_duplicate"+powerlines_inc;
                       powerlines_inc++;
                       powerlines_mc.startDrag(false);
                      powerlines_mc.addEventListener(MouseEvent.MOUSE_UP, stdrag);
              if (event.currentTarget.name=="bg_load9") {
                       var tropical_mc:tropical_png=new tropical_png();
                       addChild(tropical_mc);
                       tropical_mc.x=tropical_mc.mouseX;
                       tropical_mc.y=tropical_mc.mouseY;
                       tropical_mc.name="tropical_duplicate"+tropical_inc;
                       tropical_inc++;
                       tropical_mc.startDrag(false);
                      tropical_mc.addEventListener(MouseEvent.MOUSE_UP, stdrag);
              if (event.currentTarget.name=="bg_load10") {
                       var waters_mc:waters_png=new waters_png();
                       addChild(waters_mc);
                       waters_mc.x=waters_mc.mouseX;
                       waters_mc.y=waters_mc.mouseY;
                       waters_mc.name="waters_duplicate"+waterthumb_inc;
                       waterthumb_inc++;
                       waters_mc.startDrag(false);
                      waters_mc.addEventListener(MouseEvent.MOUSE_UP, stdrag);
    Please suggest me if any  one.
    Regards,
    Viji. S

    for each loader created, create a movieclip and add your loader to the movieclip.  assign all the properties you want to retrieve later to the movieclip and assign your event listeners to the movieclip.

  • Passing event target name to text field

    Hi There,
    I'm new to 3.0 and can use some help here... should be an
    easy one for you experts...
    I just need to pass an event target name to a text field:
    square.addEventListener(MouseEvent.MOUSE_DOWN,downObj);
    function downObj(event:MouseEvent){
    targetObj = event.target;
    mydrag.visible = true;
    targetObj.startDrag();
    mydrag.addEventListener(Event.ENTER_FRAME, dragClip);
    target_txt.text = String(event.target);
    I've also tried:
    target_txt.text = event.target;
    but no luck so far..
    Any help would be highly appreciated.
    Cheers...
    Bruno Aun
    Flash + Coldfusion Developer
    http://www.BrunoAun.com

    That's right...
    target_txt.text = String(event.target
    .name);
    works like a charm.
    thank you!

  • Workflow Business Event System Name

    Hi,
    I have installed AIA 2.5.
    While installing "Order to Cash:Siebel CRM - EBS PIP", In the Oracle E-Business Suite Server Details Screen,one of the Field is asking to provide the value for "Workflow Business Event System Name".
    How to find the "Workflow Business Event System Name" values in the E-Business Suite Server.
    Thanks
    Prashant

    Hi,
    Can anyone provide the solution "How to find the Workflow Business Event System Name for E-Business Suite Server"?
    Oracle pl. help .
    -Prashant

  • File Name - Metadata Name - Final Cut Pro X

    I want to include the Metadata Name field or file name on each clip used in a project so when I share to DVD they can see each clip name on the screen for editing purposes.  So far I have added a title then manually typed the info into each clip.  I want to automate this.  Any suggestions?

    If it can be done, it would probably require creating a generator template in Motion 5 and publishing it to FCP X. Seems like a perfect use for Motion 5 but I'm not very well trained in Motion to know if it can read Metadata fields.

  • Please help to fix this issue  - Event Error Name: WFE_DISPATCH_RULE_ERR

    Hi All,
    Yesterday, Workflow Mailer sent me the email with content:
    An Error occurred in the following Event Subscription: Event Subscription
    Event Error Name: WFE_DISPATCH_RULE_ERR
    Event Error Message: 3825: Error '-1422 - ORA-01422: exact fetch returns more than requested number of rows' encountered during execution of Rule function 'ap_payment_event_wf_pkg.rule_function' for event 'oracle.apps.ap.payment' with key '45582'.
    Event Error Stack:
    Wf_Event.dispatch_internal()
    Please help how I can fix this.
    Thanks,
    Asm

    950984 wrote:
    Hi All,
    Yesterday, Workflow Mailer sent me the email with content:
    An Error occurred in the following Event Subscription: Event Subscription
    Event Error Name: WFE_DISPATCH_RULE_ERR
    Event Error Message: 3825: Error '-1422 - ORA-01422: exact fetch returns more than requested number of rows' encountered during execution of Rule function 'ap_payment_event_wf_pkg.rule_function' for event 'oracle.apps.ap.payment' with key '45582'.
    Event Error Stack:
    Wf_Event.dispatch_internal()
    Please help how I can fix this.
    Thanks,
    AsmPlease see (SYS ADMIN Error Notification: WFE_DISPATCH_RULE_ERR ORA-01422 [ID 989268.1]).
    Thanks,
    Hussein

  • Visa device name constant slows computer down

    I am using LabView 6.0 with Windows98. When I insert a Visa device name constant, the computer gets terribly slow, accessing it's harddisk (it looks like it's trying to refresh constantly). Moving the Visa device name constant so that it doesn't show on the screen (or placing a window in front of it), or hiding the diagram altogether, takes care of the problem. What causes this and is there any other way to prevent this from happening?

    Hello,
    Thank you for contacting National Instruments. I am glad you found the answer elsewhere on the forum. Could you please share with us what exactly you found, how it helped you or post the link to the discussion?
    Good luck and have a great day!
    Regards,
    Koninika
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Function module to populate itab with event's name

    Is there any function module which would populate internal table with all the events name of the submitted program.Actually I used F4_PROG_EVENT but it is generating a alv popup with event's name but not storing anything in the internal table.

    Hi,
    Check FM: REUSE_ALV_LIST_DISPLAY
    Export
    It_events  : internal table with a list of all possible events of ALV and their corresponding routine names.

  • Daq channel name constant

    Hello,
    I'm using LABVIEW 6.1 on a computer that does not have a DAQ card
    installed.  I would like to create a listbox that allows selection of
    multiple DAQ channels.  My problem is that the AI Group Config.vi
    requires a DAQ Channel IO data type which is neither a string nor an
    Integer.  I tried to use the DAQ channel name constant, however I
    wasn't able to enter a value for the constant. This problem may be
    caused by the DAQ card not being installed.
    Therefore, my question is that if I had the DAQ card installed, would
    the DAQ Channel Name Constant allow me to enter a value?
    Thanks,
    Steve

    I believe you can at least type a name into the control/constant if you
    right click on it and select "Allow Undefined Names". Then just double
    click in the control and start typing.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • VISA Ressource Name Constant freezes Labview

    I have a compelte new project.
    If I drop a VISA Ressource Name Constant from the I/O Pannel onto the work
    area, my compelte LabVIew freezes.
    This happens only with the Hardware attached.
    The VISA interactive control works fine !
    Does anybody have a clue why ? Is the access and resonse times to long ? Is
    it a IRQ or Labview peoblem ? Why VISA interactive control works without
    problems ?
    Please Help !
    Thanks for your effort !
    1. viGetAttribute (0x0015D988,0x3FFF018F,VI_TRUE)
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:29:58.774 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    2. viGetAttribute (0x0015D988,0x3FFF0190,0 (0x0))
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:29:58.774 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    3. viSetAttribute (0x0015D988,0x3FFF0190,2 (0x2))
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:29:58.774 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    4. viFindRsrc (0x0015D988,"?*INSTR",0x0015D9C8,4 (0x4),"COM1")
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:29:58.774 Call Duration: 00:00:09.114
    Status: 0 (VI_SUCCESS)
    5. viFindNext (0x0015D9C8,"COM3")
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:07.888 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    6. viFindNext (0x0015D9C8,"LPT1")
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:07.888 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    7. viFindNext (0x0015D9C8,"GPIB0::5::INSTR")
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:07.888 Call Duration: 00:00:00.010
    Status: 0 (VI_SUCCESS)
    8. viClose (0x0015D9C8)
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:07.898 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    9. viSetAttribute (0x0015D988,0x3FFF0190,0 (0x0))
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:07.898 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    10. viGetAttribute (0x0015D988,0x3FFF018F,VI_TRUE)
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:07.898 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    11. viGetAttribute (0x0015D988,0x3FFF0190,0 (0x0))
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:07.898 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    12. viSetAttribute (0x0015D988,0x3FFF0190,2 (0x2))
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:07.898 Call Duration: 00:00:00.010
    Status: 0 (VI_SUCCESS)
    13. viFindRsrc (0x0015D988,"?*INSTR",0x0015D9C8,4 (0x4),"COM1")
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:07.908 Call Duration: 00:00:09.063
    Status: 0 (VI_SUCCESS)
    14. viFindNext (0x0015D9C8,"COM3")
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:16.971 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    15. viFindNext (0x0015D9C8,"LPT1")
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:16.971 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    16. viFindNext (0x0015D9C8,"GPIB0::5::INSTR")
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:16.971 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    17. viClose (0x0015D9C8)
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:16.971 Call Duration: 00:00:00.010
    Status: 0 (VI_SUCCESS)
    18. viSetAttribute (0x0015D988,0x3FFF0190,0 (0x0))
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:16.981 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    19. viGetAttribute (0x0015D988,0x3FFF018F,VI_TRUE)
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:16.991 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    20. viGetAttribute (0x0015D988,0x3FFF0190,0 (0x0))
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:16.991 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    21. viSetAttribute (0x0015D988,0x3FFF0190,2 (0x2))
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:16.991 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    22. viFindRsrc (0x0015D988,"?*INSTR",0x0015D9C8,4 (0x4),"COM1")
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:16.991 Call Duration: 00:00:09.053
    Status: 0 (VI_SUCCESS)
    23. viFindNext (0x0015D9C8,"COM3")
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:26.044 Call Duration: 00:00:00.010
    Status: 0 (VI_SUCCESS)
    24. viFindNext (0x0015D9C8,"LPT1")
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:26.054 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    25. viFindNext (0x0015D9C8,"GPIB0::5::INSTR")
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:26.054 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    26. viClose (0x0015D9C8)
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:26.054 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    27. viSetAttribute (0x0015D988,0x3FFF0190,0 (0x0))
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:26.054 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    28. viGetAttribute (0x0015D988,0x3FFF018F,VI_TRUE)
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:26.054 Call Duration: 00:00:00.010
    Status: 0 (VI_SUCCESS)
    29. viGetAttribute (0x0015D988,0x3FFF0190,0 (0x0))
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:26.064 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    30. viSetAttribute (0x0015D988,0x3FFF0190,2 (0x2))
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:26.064 Call Duration: 00:00:00.000
    Status: 0 (VI_SUCCESS)
    31. viFindRsrc (0x0015D988,"?*INSTR",0x0012F128,0x0012F130,0x0012F01C)
    Process ID: 0x000003F8 Thread ID: 0x000005A0
    Start Time: 11:30:26.064
    Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

    Sascha:
    NI-VISA 2.x has a couple of entries in the visaconf.ini file that we have found occasionally get into a weird state. Look in the [VISA-CONFIG] section for lines that start with "RefreshFindList" and "AlwaysRefresh". Both of these should be set to 0. If they happen to be set to 1, you can manually set them back to 0.
    This would cause a symptom similar to what you describe, where LabVIEW continually polls NI-VISA and thinks it needs to continually refresh its list, which it does by calling viFindRsrc. This seemingly infinite loop continues as long as a VISA refnum is visible, on either the front panel or block diagram.
    This has been fixed for the upcoming version, NI-VISA 3.0.
    Dan Mondrik
    Senior Software Engineer, NI-VISA
    National In
    struments

  • Help with event.target.name

    I am very green with actionscript and coding in general so please forgive me if I am asking something that sounds super simple.
    Is it possible to take "event.target.name" value which in my case would be something like "SW5005_mc" and change that value.
    I use that value right now to tell another clip to gotoAndStop(event.target.name); which I have frames labeled the same as the event.target.name.
    I would like to take the value of event.target.name for instance "SW5005_mc" and remove the "_mc" and put a dash in between the "SW" and the "5005"
    to get "SW-5005" which then I would pass into a text field.
    I really don't know where to begin or if this is possible.
    Thanks for any help or suggestions,
    Chris

    yes you can do it with String manipulation, check out the various String Class methods, some examples here:
    http://www.wuup.co.uk/as3-basics-string-manipulation-in-actionscript-3/
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/String.html

  • Changing event's name in iCal

    I want to modify the names of events in the event list of iCal
    any idea????
    thanks
    philippe

    What do you call "the event list?" Maybe a screenshot would help...

Maybe you are looking for