Problem with the State showed up in BB10

Hello

After the upgrade of my DevAlpha to the latest version, 10.0.9.1675, I have problems with 2-State buttons.

Example code:

#myBtn{
    background-image: url(btn/myBtn.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
}
#myBtn:hover{
    background-position: 0px -124px;
}

So, when I click the button it stay frozen until steady-state, does not return to the default position. All my apps of ww are affected by this problem.

Anyone can attempt to reproduce this problem?

If so, what is the solution?

This is sort of the standard: hover behaviour I noticed in mobile browsers. Since then no cursor, hover is only simulated.

The simplest solution (and the one I use in my projects) is to use: active instead of: hover.

#myBtn:active{
    background-position: 0px -124px;
}

Tags: BlackBerry Developers

Similar Questions

  • problem with the slide show running javascript on a page that uses an inclusion

    Hi all

    I'm new to PHP, and if this is the wrong forum to post, if you would redirect me please, I would be grateful.

    I have a file that I call menu.php.  Inside this file, I have a menu accordion based on jQuery.  It works very well. I use an inclusion in another page, called "chair.php." As a first step, the menu jQuery works very well in the chair.php page, and I use <? PHP include ("menu.php");? >.  However, I'm running problems when I try to add a jQuery slideshow called 'pikachoose' in the chair.php page.  It seems that the slideshow cannot work properly if the menu is there...

    The code in the head for the "menu.php" tags is as follows:

    < head >

    " < script type =" text/javascript"src =" http://AJAX.googleapis.com/AJAX/libs/jQuery/1.6.4/jQuery.min.js "> < / script > .

    < link rel = "stylesheet" href = "css/960_12_col.css" type = "text/css" media = "screen" / > < / script > "

    < script type = "text/javascript" src = "js/menu.js" > < / script >

    < / head >

    The code used in the head (and some of the body) of tags in the chair.php is as follows:

    < head >

    < link type = "text/css" href = "reg/bottom.css" rel = "stylesheet" / > "

    < link type = "text/css" href = "css/960_12_col.css" rel = "stylesheet" / > "

    " < script src =" http://AJAX.googleapis.com/AJAX/libs/jQuery/1.6.4/jQuery.min.js "type =" text/javascript"> "

    < /script >

    "< script type =" text/javascript"src="reg/jquery.pikachoose.js "> < / script >

    < script language = "javascript" >

    ($(document) .ready)

    function () {}

    $("#pikame"). PikaChoose({carousel:true});)

    });

    < /script >

    < / head >

    < body >

    <? PHP include ("menu.php");? >

    etc etc.

    < / body

    < / html >

    With the inclusion, the slideshow shows just like a series of images in a list.  When I remove understand it and keep all the same code, the slideshow works as it should.

    Is there a reason why the pikachoose slideshow cannot run the menu.php SEO include is in place?

    Thank you

    Rachel

    Sorry... I got it.  I had to remove the library jQuery from the menu.php file.

  • Problem with the States and component in flex

    I am trying to build this flex like this application

    ExpertDiscoverySystem.mxml

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx s:Application ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = minHeight = "1280" '960' xmlns:component = 'rate' currentState 'SearchStart' = >
    < s:layout >
    < s:BasicLayout / >
    < / s:layout >
    < s: states >
    < name s: State = "SearchName" / >
    < name s: State = "SearchDomain" / >
    < name s: State = 'SearchResult' / >
    < name s: State = "SearchStart" / >
    < / s: states >
    < fx:Declarations >
    <! - Place non-visual elements (e.g., services, items of value) here - >
    < / fx:Declarations >

    <!-< fx:Script >
    <! [CDATA]
    private void changeState (): void {}
    this.currentState = 'SearchResult ';
    searchpage.searchTerm.text = searchpage.getResult ();
    }
    []] >
    < / fx:Script >->

    "" < XY = '0' mx:Image = '0' source = '... / image/background.jpg "includeIn ="SearchDomain, SearchName, SearchStart"/ >
    <!-< s:TextInput '120,65' = x y = "507.8" width = "806" id = "searchText" includeIn = "SearchDomain, SearchName" / >
    < s:Button "951" = x y = '508' label = "Find it!" id = "Search" includeIn = 'SearchDomain SearchName'-click = "" / >-->
    < mx:LinkButton label = "Name" fontSize = "36" = "Verdana" includeIn = fontFamily click "SearchStart" = "currentState ="SearchName"" color = "#CE1717" enabled = "true" x = "383" y = "556" fontWeight = "bold" / >
    < mx:LinkButton fontSize = fontFamily "36" = "Verdana" click = "currentState ="SearchDomain"" includeIn = "SearchStart" color = "#CC1C1C" label = "Domain" '656' = x y = "555" fontWeight = "bold" / > "
    "< includeIn = 'SearchResult' x = '0' mx:Image = '0' source = '... /image/BackgroundSearch.jpg"/ >
    < s:TextInput = 'SearchResult' x = "542.1" includeIn = "47.6" width = "576" / >
    < s:Button = 'SearchResult' x = "1132" includeIn = '47.1' label = 'Search' id = 'Search2Button' / >
    < includeIn: search for components = "SearchDomain" x = "250" y = "420" >
    < / research components: >
    < component includeIn: searchResult = 'SearchResult' id 'Advanced' = x = "29" y = "115" >
    < / component: searchResult >
    < includeIn: search for components = "SearchName" x = "250" y = "420" >
    < / research components: >

    < / s:Application >

    and the component

    Search.MXML

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx s:Group ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" width = "800" height = "400" contentBackgroundAlpha = '0,0' xmlns:component = 'rate' >
    < s:layout >
    < s:BasicLayout / >
    < / s:layout >

    < fx:Declarations >

    <! - Place non-visual elements (e.g., services, items of value) here - >
    < component id: searchResult = searchedTerm = "{"Advanced"searchTextInput.text}" >
    < / component: searchResult >
    < / fx:Declarations >
    < fx:Script >
    <! [CDATA]
    private void changeState (): void {}
    this.currentState = 'SearchResult ';
    searchpage.searchTerm.text = searchpage.getResult ();
    }
    []] >
    < / fx:Script >

    < s:TextInput width = "572" id = "searchTextInput" x = "49" y = "83" / >

    < s:Button label = 'find it!' id = 'search"click =" changeState () ""652"= x y ="84"/ >"
    < / s:Group >

    and searchResult.mxml

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx s:Group ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" width = "900" height = "800" >
    < fx:Declarations >
    <! - Place non-visual elements (e.g., services, items of value) here - >
    < / fx:Declarations >

    < fx:Script >
    <! [CDATA]
    [Bindable]
    public var searchedTerm:String;
    public var searchCriteria:String;
    public function getResult (): String
    {
    Return searchedTerm;
    }
    []] >
    < / fx:Script >
    < s:Label x = '6' y = '13' text = "" you searched: "fontSize ="18"/ >"
    < s:Label = "173" x = "13" fontSize = "18" id = "searchTerm" color = "#FF0000" / >

    < / s:Group >

    The problems goes like this. I need to access my main of my search.mxml component mxml application state 'SearchResult', with my code view, it is impossible to access at all because the State 'SearchResult' was not include the search.mxml component

    Is there anyway to access the State of my main application of my component?

    Hello

    Try to use FlexGlobals.topLevelApplication.currentState = 'SearchResult '; in your Search.mxml component.

    Thank you

    Jean Claude

  • problem with the States

    Hello

    in my application, I would like something code you see in the code.

    but this is not possible, because now I have two buttons with the id 1.
    What is the best way to solve this problem? especially when you have a lot of buttons? I mean, I need the id when I want to withdraw the child...

    Thank you!

    I think you need to rethink your statements. You try to add the same button in two States, which should not be necessary. You can base a State to another State, more specifically.

    Also, you cannot use numbers as identifiers.

  • problem with the statement select

    I want to view records that start with the letter D for a particular ID of a table called THE. To do this, I wrote the select statement with as operator.but when duplicates were found in the table it would not display. for eaxample
    create table tea(id number(40),f_name varchar2(150));
    
    INSERT INTO tea ( ID, F_NAME ) VALUES ( 
    832, 'Magnolia St. #12'); 
    INSERT INTO tea ( ID, F_NAME ) VALUES ( 
    832, 'Magnolia St. #10'); 
    INSERT INTO tea ( ID, F_NAME ) VALUES ( 
    1909, ' Delaware Ave.'); 
    INSERT INTO tea ( ID, F_NAME ) VALUES ( 
    1909, 'Delaware St.'); 
    INSERT INTO tea ( ID, F_NAME ) VALUES ( 
    832, 'Mangolia'); 
    INSERT INTO tea ( ID, F_NAME ) VALUES ( 
    832, 'Monolia'); 
    INSERT INTO tea ( ID, F_NAME ) VALUES ( 
    1909, 'Delaware'); 
    INSERT INTO tea ( ID, F_NAME ) VALUES ( 
    1909, 'Mandea'); 
    commit;
    
    select * from tea order by id;
    
        ID F_NAME
    ------ ------------------------------
       832 Magnolia St. #12
       832 Magnolia St. #10
       832 Mangolia
       832 Monolia
      1909  Delaware Ave.
      1909 Delaware St.
      1909 Delaware
      1909 Mandea
    
     now when i try with letter 'M' for 832 it is displaying the all the records starting with M
    select f_name from tea where upper(f_name) like upper('m%') and id=832;
    
    F_NAME
    ----------------------------
    Magnolia St. #12
    Magnolia St. #10
    Mangolia
    Monolia
    
    but when i tried with D it is not displaying  Delaware Ave.
    
    select f_name from tea where upper(f_name) like upper('d%') and id=1909;
    
    F_NAME
    -------------
    Delaware St.
    Delaware
    I'm unable to display folder Delaware Ave. , for the id of 1909. I need display this folder also.
    What could be the reason it is display for "M" and showing not "d".
    any suggestions please?
    I use 9i

    Because there is a space character before Delaware Ave
    Watch your insert statement

    INSERT INTO tea ( ID, F_NAME ) VALUES (
    1909, ' Delaware Ave.'); 
    

    To take

    INSERT INTO tea ( ID, F_NAME ) VALUES (
    1909, 'Delaware Ave.'); 
    

    And it should work

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com

  • problem with the state machine

    Hello! I have a VI to monitor a storage tank. I tried to do by creating a simple state machine that changes the value(on/off) of some faucets based on 2 conditions:

    -When a certain temperature reaches a predetermined value AND its derivative is<0, the="" state="" must="" change="" from="" on="" to="">

    -When some time passes, the State should change from off to on.

    Unfortunately I can't get this working as it never changes state (by example, if I start with him always stay on 'on' and vice versa).

    Could you please tell me what I'm doing wrong? I enclose the screenshots of the 2 States.

    Thank you!

    Sounds like your shift which could not not be wired properly.

  • Insert the problem with the statement

    case 1:

    declare
    Start
    Insert into t4 values (1);
    commit;
    Insert into t4 values ('test');
    commit;
    end;

    invalid value 1 of 1 line inserted with no identifier;

    case 2:

    declare
    Start
    Insert into t4 values (1);
    commit;
    Insert into t4 valuess ('test');
    commit;
    end;

    any line not inserted value 1 with invalid identifier;

    question is why difference between over case

    Hello

    Jhon says:

    Thnaks for the previous comment.

    Update Q4 set c1 = c1 * 2;   Why this statement fail while we and rename c32 column c1-exceute immediate statement

    If, at the time of compilation, the single column of the table is c3, the UPDATE statement will not compile.  So really, you must change the name of column in PL/SQL, then use EXECUTE IMMEDIATE to do the UPDATE.

    This is an example of why create or modify tables in PL/SQL is a bad idea.

  • Problem with the States of text frame

    I'm trying to create a text button simple reversal. I assigned States, and it seems to work unless I put normal transparent (text & fill), which is what I want.  After that I changed the normal state to transparency, the button is not visible in a State in preview mode before.  Any ideas?

    An opaque object to 0% in the browser receives any mouse down or reversal events. Set the opacity to 1%. It will not always be visible, but 1% opaque, he will answer to rollover and mouse down events.

  • When I try to establish a wifi connection, it shows that the problem with the network card is not fixed. How can I solve this problem?

    When I try to establish a wifi connection, it shows that the problem with the network card is not fixed. How can I solve this problem?

    Hello

    Thank you for writing to Microsoft Communities.

    Until we start troubleshooting on this issue please provides us additional information by answering a few questions, this will help us better solutions to the problems.

    1. What is the full error message do you get?

    2. are - that you be able to access or connect to the Internet via wired?

    3 have there been recent changes to the computer before the show?

    Please go ahead and follow the steps mentioned and later a update on the State of the question.

    Method 1:
    Try to run the network troubleshooters. Check if it enumerates and helps resolve the errors.
    http://Windows.Microsoft.com/en-us/Windows7/open-networking-troubleshooters

    Method 2: If the problem persists, try to follow the steps from the link.

    In the Windows wireless network connection problems:
    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Check this link for more information:

    How can I troubleshoot network card? http://Windows.Microsoft.com/en-us/Windows7/fix-network-adapter-problems

    Why can't I connect to the Internet?
    http://Windows.Microsoft.com/en-us/Windows7/why-can-t-I-connect-to-the-Internet

    Please follow these recommended steps and post if you still experience the problem.

  • How do I monitor/find where is the State of my download?  I don't know how long it takes or if there is a problem with the download that I can't find anything.  Also, is it supposed to be an icon for my purchase of Photoshop and light in my apps folder

    How do I monitor/find where is the State of my download?  I don't know how long it takes or if there is a problem with the download that I can't find anything.  Also, is it supposed to be an icon for my purchase of Photoshop and light in my apps folder?  Where can I find that when it's done download?

    Could you please confirm the operating system you are using.

    You can see the status of the application of CC desktop download.

    The CC app desktop click the creative cloud icon located in the taskbar (Windows) or the Apple bar (Mac OS) menu, to open the creative cloud desktop application.

    Hope this will help you.

    Kind regards

    Hervé Khare

  • Problems with the buttons (on the area of State/Hit)

    The site I'm getting is:

    http://www.RelicRockBand.com

    If you go to the "Biography" section, you'll see four links that work as buttons of reversal.  Now, if you go to the 'Media' section, you will see 6 links that do not appear to react correctly as buttons of reversal.  They fulfill their function, but it is difficult to get the button to appear in its "underline" in the State.  I don't know if it is a problem with the over State, the status of success or another problem with how I built the site.  If you want to take a look at this, go to:

    http://www.uvm.edu/~nmphilli/Relic_Website/Flash/Relic_Webpage.fla

    to get the FLA for the site.  The concerned items are nested as follows: in scene 1, on the content layer, label image 'Media' (frames, 16-21), you will find Media_Fader, where is Media_Content, in which are several buttons, each with getURL actions that are applied to them.  Any help would be fantastic!  Thank you!

    -Nic

    The question always involves using the textfield links.  Remove the textfields in all settings inside the buttons and your problems should go away.

  • Problems with the help of web camera, it shows it programs and on the desktop. But when I double click on it. It will go to the program do not know what to do. Help, please. Thank you.

    Having problems with the help of web camera program does not work when I click it. don't know what to do. Please help thanks.

    Hello

    Right click on the shortcut tab icon - properties - look on the target line to see where and what type of program
    is supposed to work.

    You will probably need to reload the drivers of the device and any camera control software.

    Login as an administrator.

    Double-click Control Panel / Device Manager - Imaging - writing down of the brand and model of camera.
    on this subject and on the tab of the driver is version. Now, click on update drivers (who are unable to do anything as MS
    is far behind the pilots of certification). RIGHT click on the camera - UNINSTALL - REBOOT - it
    will update the driver stack.

    Now, go to the system manufacturer's website and download the latest driver for the camera and the other related camera
    software (if not more recent get the same).

    Download - SAVE - go to them and RIGHT CLICK - RUN AS ADMIN - reboot after each driver.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    Then let windows updates on however prevent loading of drivers who are often older than the
    those that you have installed. If updates suggests a pilot and then HIDE it and watch manually to see if their
    really is a more recent version (at the time system manufacturer and the sites of the manufacturer of the device).

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • My window 7 showing message "a problem with the NVIDIA Graphic driver", but I can't download the solution

    My Windows 7 PC at home keep crashing and I keep losting my screen when I played the game on the last 6 months.  After I restart my PC, it says that there was a screen.   I had since a few Update window update driver and try the NVIDIA drivers with no will.  There were a few times he were message indicating the "resolve a problem with the NVIDIA graphics driver" on the taskbar.  When I click on the message and try to download.  It gives me the message that "your computer was not able to download the solution at this time.  Make sure that your computer is connected to the internet, and then try to download again"that had happen all the time, and of course, I had access to the internet all the time!  I'm getting nowhere for solve this problem.  Can anyone help?  I want to know if there is something I need to know the video driver as usual outside the upgrade.

    PS I tried a lot of stuff, running the troubleshooter from the performance.  I had an i7 with plenty of RAM, running only a few program, hard disk error not... etc.  It seems related to the video driver. I update my window.

    Hello Lewie,

    Thanks for posting your query in Microsoft Community Forum.

    1. What is brand and model your computer?
    2. You did it any significant hardware or change software on the computer before this problem?

    I understand that you lose your screen when you play a game. This happens usually if the installed graphics driver has corrupted or unstable. Therefore, I suggest trying the following methods and check if the problem persists.

    Method 1: Run the tool material and devices

    Try running the next fixit and check whether the problem is resolved.

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Method 2: Update your graphics card

    1 open Device Manager by clicking the Start button, click Control Panel, click System and Security, and then, under System, click the Managerof peripheral . If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    2. in the list of hardware categories, find the display adapters and select the device driver you want to update, and then double-click the device name.

    3. Click tab driver , click Update driver, and then follow the instructions. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    For more information, visit the below mentioned link:
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    If you are not able to update the device driver via windows update, you can visit your computer or graphics card manufacturer (NVIDIA) Web site and download & install the latest driver. Or contact the manufacturer of your system to do.

    For reference, you can also consult the following Web page. Click on continue to this site Web (not recommended) if you are prompted for any error of certification.

    A problem of NVIDIA graphic driver

    Hope this information is useful. If the problem still persists, please post back for further assistance, we will be happy to help you.

  • I'm having a problem with the FireFox browser. I have attached two files that describe the problem. I have marked their A &amp; B. A is the way it should lo

    I'm having a problem with the FireFox browser. I have attached two files that describe the problem. I have marked their A & B. A is how it should look like and B what happens once I have, I opened several tabs. I can get it back to normal if I click VIEW, click Customize. When the window customize appears that Firefox returns to its normal state. I have to click on the done button and go back to what I did. I tried to reset FireFox back to the default settings, but that has not fixed the problem.
    It started happening a month. Is there a way I can fix this? Thanks for your help. I don't know how to fix my 2 attachments that shows the problem I'm having.
    [email address removed to protect your privacy and security]

    Try disabling hardware acceleration in Firefox.

  • Problem with the report and the system of axis 2d

    Hi, I'm trying to write a script with tiara, who wrote a 2d axis system in the report but I'm having a lot of problems with it.

    What I'm trying to do, is make 3 or more system axis 2d in the report, each displaying a part of the data of 2 channels (x = ch0, ch1 = y).

    With only 1 graphic I get what I want, but when I try to add the 2nd or the 3rd, they show without my defined x-scale and with the offset x different from the first chart.

    I tried everything, but I could not remedy

    I added as attachments the .csv file that I use to ch0 and ch1 and 2 screen shoots "what I get" (about the problem with the script) and "what I hope to get" (done manually, is what I'm trying to get the report)

    Any help will be appreciated, thanks in advance

    Ierman

    I'll post my code here:

    Dim Xscale, Yscale
    XScale = Array (0,25,0,5,49)
    Yscale = Array(-0.2,0.2,-0.2,10,4)
     
    Call PicDelete()
    Call GraphObjNew ("2D-Axis", "2DAxis1")
    Call GRAPHObjOpen ("2DAxis1")
    D2AxisTop = 1

    D2AxisBottom = 70
    D2AxisLeft = 1
    D2AxisRight = 1
    Call GRAPHObjOpen ("2DYAxis1_1")
    D2AxisyScaleType = "manual".
    D2AXISYBEGIN = Yscale (0)
    D2AXISYEND = Yscale (1)
    D2AXISYORIGIN = Yscale (2)
    D2AXISYTICK = Yscale (3)
    D2AXISYMINITICK = Yscale (4)
    Call GRAPHObjClose ("2DYAxis1_1")
    Call GRAPHObjOpen ("2DXAxis1_1")
    D2AxisxScaleType = "manual".
    D2AXISXBEGIN = Xscale (0)
    D2AXISXEND = Xscale (1)
    D2AXISXORIGIN = Xscale (2)
    D2AXISXTICK = Xscale (3)
    D2AXISXMINITICK = Xscale (4)
    D2AxisXTxt = ""

    D2AxisXColor = 'black '.

    D2AxisXTickAuto = 1
    D2MTickLineWidth (1) = 0.1
    D2MTickLineType (1) = "solid".
    D2AxisXTickSize = 60
    D2AxisXTxtAutoCo = 0
    D2MTickColor = "red".
    Call GRAPHObjClose ("2DXAxis1_1")
    Call GraphObjNew("2D-Curve","New_Curve")

    Call GraphObjOpen ("New_Curve")

    D2CCHNX = "[1] / [1]" "

    D2CCHNY = "[1] / [2]" "

    D2CurveColor = "red".
    Call GraphObjClose ("New_Curve")
    Call GRAPHObjClose ("2DAxis1")

    Dim Xscale1, Yscale1
    Xscale1 = Array (25,50,0,5,49)
    Yscale1 = Array(-0.2,0.2,-0.2,10,4)
    Call GraphObjNew ("2D-Axis", "grafic")
    Call GRAPHObjOpen ("grafic")
    D2AxisTop = 40

    D2AxisBottom = 37
    D2AxisLeft = 1
    D2AxisRight = 1
    Call GRAPHObjOpen ("2DYAxis1_2")
    D2AxisyScaleType = "manual".
    D2AXISYBEGIN = Yscale1 (0)
    D2AXISYEND = Yscale1 (1)
    D2AXISYORIGIN = Yscale1 (2)
    D2AXISYTICK = Yscale1 (3)
    D2AXISYMINITICK = Yscale1 (4)
    D2AxisYTxt = "" ' testo asse label y
    Call GRAPHObjClose ("2DYAxis1_2")
    Call GRAPHObjOpen ("2DXAxis1_2")
    D2AxisxScaleType = "manual".
    D2AXISXBEGIN = Xscale1 (0)
    D2AXISXEND = Xscale1 (1)
    D2AXISXORIGIN = Xscale1 (2)
    D2AXISXTICK = Xscale1 (3)
    D2AXISXMINITICK = Xscale1 (4)
    D2AxisXTxt = «»

    D2AxisXColor = 'black '.

    D2AxisXTickAuto = 1
    D2MTickLineWidth (1) = 0.1
    D2MTickLineType (1) = "solid".
    D2AxisXTickSize = 60
    D2AxisXTxtAutoCo = 0
    D2MTickColor = "red".
    Call GRAPHObjClose ("2DXAxis1_2")
    Call GraphObjNew("2D-Curve","New_Curve1")

    Call GraphObjOpen ("New_Curve1")

    D2CCHNX = "[1] / [1]" "

    D2CCHNY = "[1] / [2]" "

    D2CurveColor = "red".
    Call GraphObjClose ("New_Curve1")
    Call GRAPHObjClose ("grafic")

    Hi lerman,.

    Here is an edited version of your code that works on my computer.  A problem that I know that I fixed it was that your presentation of the STATE was in the name-oriented mode but you use the variables based on the number to assign it X and Y channels.  The execution of these commands in a loop FOR makes it much easier to debug the code and to avoid any annoyance at first.

    Brad Turpin
    Tiara Product Support Engineer

    National Instruments

Maybe you are looking for