Change the graph with nodes of property

I've been struggling with this problem for a while now. I have a graph of simple waveform I want to set the horizontal scale to and then make a .png to file. The vi is attached. This vi is up to a lot more great vi. Does not work when I run the first level vi of the adjustment of the horizontal scale. The .png file I receive shows the unadjusted graph. However, if I open this vi and then run the first level vi it works - the graph shows the .png file scale properly. Also, if I just run this vi se it works correctly.

I'm guessing there is a timing issue and the .png file is created before the scaling takes place, but I don't see how.

Does anyone have any ideas as to why the scale does not if the vi is not open, when it is executed?

If the front of the VI is not open, the nodes property can do nothing because they run in the UI thread.  This is consistent with the behavior you report with it works when the VI is open.

Can you try to open the façade but putting off the screen (if the user does not see it) and then set the properties of the graph?

Lynn

Tags: NI Software

Similar Questions

  • Is possible to change the type of node WINS with cmd command on a windows operating system that is not joined to the domain?

    Is possible to change the type of node WINS with cmd command on a windows operating system that is not joined to the domain?

    Hello

    The question you posted would be better suited to the TechNet community. Please visit the link below to find a community that will provide the support you want.

     
     

    Hope this information is useful.

  • How to change the Rectangles with buttons

    I'm working on this example that does not work correctly:

    public class test extends Application
    {
    
        private void init(Stage primaryStage)
        {
    
            Group root = new Group();
            primaryStage.setScene(new Scene(root));
    
            String pillButtonCss = DX57DC.class.getResource("PillButton.css").toExternalForm();
    
            // create 3 toggle buttons and a toogle group for them
            ToggleButton tb1 = new ToggleButton("Left Button");
            tb1.setId("pill-left");
            ToggleButton tb2 = new ToggleButton("Center Button");
            tb2.setId("pill-center");
            ToggleButton tb3 = new ToggleButton("Right Button");
            tb3.setId("pill-right");
    
            final ToggleGroup group = new ToggleGroup();
            tb1.setToggleGroup(group);
            tb2.setToggleGroup(group);
            tb3.setToggleGroup(group);
            // select the first button to start with
            group.selectToggle(tb1);
    
            //////////////////////////////////////////
    
            final VBox vbox = new VBox();
    
            final Rectangle rect1 = new Rectangle(300, 300);
            rect1.setFill(Color.ALICEBLUE);
            final Rectangle rect2 = new Rectangle(300, 300);
            rect2.setFill(Color.AQUA);
            final Rectangle rect3 = new Rectangle(300, 300);
            rect3.setFill(Color.AZURE);
    
            tb1.setUserData(rect1);
            tb2.setUserData(rect2);
            tb3.setUserData(rect3);
    
            group.selectedToggleProperty().addListener(new ChangeListener<Toggle>()
            {
                @Override
                public void changed(ObservableValue<? extends Toggle> ov, Toggle toggle, Toggle new_toggle)
                {
                    if (new_toggle == null)
                    {
                        //rect.setFill(Color.WHITE);
                    }
                    else
                    {
                        vbox.getChildren().addAll((Node[]) group.getSelectedToggle().getUserData());
                        //rect.setFill((Color) group.getSelectedToggle().getUserData());
                    }
                }
            });
    
    
            ///////////////////////////////////////////
    
    
            HBox hBox = new HBox();
            hBox.getChildren().addAll(tb1, tb2, tb3);
            hBox.setPadding(new Insets(20, 20, 260, 20));
            hBox.getStylesheets().add(pillButtonCss);
    
    
    
            vbox.getChildren().add(hBox);
            //vbox.getChildren().add(rect);
    
            root.getChildren().add(vbox);
        }
    
        @Override
        public void start(Stage primaryStage) throws Exception
        {
            init(primaryStage);
            primaryStage.show();
        }
    
        public static void main(String[] args)
        {
            launch(args);
        }
    }
    
    
    

    I want to create several Rectangles (or in which object or object) in which I want to store data. I want to spend the Rectangles (objects) that appear in front of the user by using the buttons. The example that I put in place does not work correctly. Can you tell me what is the right way to implement this?

    REF javafx 2 - How to change the Rectangles with buttons - stack overflow

    You have two problems:

    User data that assign you to each button switches are a node, not a [Node]. Thus, the cast will fail on line 43.

    When the selected toggle changes, you add another Rectangle to the vbox. You want to replace the rectangle that is in the vbox.

    Try

    vbox.getChildren () .setAll ((Node) group.getSelectedToggle () .getUserData ());

  • My screen iphone6 is cracked and in my country, they can only change the iphone with a new one and with a very high price. Is there anyway that I could replace just the screen?

    My screen iphone6 is cracked and in my country, they can only change the iphone with a new one and with a very high price. Is there anyway that I could replace just the screen?

    No, if you want to keep all rights to the service or support from Apple. Not to mention the fact that it then will be bork Touch ID and make the phone unusable if ever, you restore or update of iOS.

    Apple doesn't sell parts of the iPhone. There is no legitimate sources for replacement screens.

  • HP Deskjet 710C does not print colors (also after changing the cartridge with a new one)

    HP Deskjet 710C on Windows XP

    Problem: Printer does not print color. Black printing works. It also does not print color now, I changed the color with a new cartridge. Remove the printer from Windows XP and reinstall also does not resolve it. Also by using the option in Windows/printer driver for the cleaning cartridge has failed. Anyone know a solution to this?

    There is a document about the lack of color of the issues on the printer Deskjet 710C that can be found here.

    I hope this helps!

  • Another user changed the row with a primary key oracle.jbo.Key]

    I see many discussions about this error, but still cannot understand the difficulty that I need in my scenario.

    I am an Oracle Developer and completely new to ADF, please bear with me.

    I use JDeveloper 11.1.1.9.0

    My scenario:

    Creates an object editable view (UVO) with sub selects in the query, which is from several db tables.

    Creating a table using the UVO

    When I try to update a field in the table, and then click the validate, I get the error message:

    Another user changed the row with a primary key oracle.jbo.Key]

    Can someone explain in what scenarios I see this error and how do I solve this problem?

    Try the viewObject execution after validation and reQueryOnCommit set to true

    For details see - binary: a reason more for "Houston-25014: another user has modified the line containing oracle.jbo.Key primary key '

    Ashish

  • Movement of the cursor with nod to the data nearest

    I would like to have a cursor ONLY align with the closest data point for the cursor of the mouse on a XY graph when the mouse: down.

    The cursor action requires dragging. Anyway to have the cursor align with nearest (closeset in Euclidean produce units) data point to the location of the mouse without slipping?

    I tried to extract the coordinates of the mouse and then look for in a list of XY graph coordinates converted to pixel coordinates. It seems that mapping the coordinates of graph coordinates in pixels is incompatible with the text changes and other features outside the chart area.

    Useful features

    1. coordinated output XY from at least one corner of the chart (on the inside where data) area.

    2. an index of the nearest data point in the graph where the mouse.

    3. an option of a cursor to align with the closest point of data where the mouse and mouse: down.

    No workaround (example screws) is greatly appreciated.

    Just resolved. I used a snippit of code from someone, but it had misused the coordinates of the frame rather than graphic. Now I can do exactly what I was looking for. I'll post the VI after cleaning a little more.

  • Change the view with email list on the left, not from list above and the content of the email below.

    I like my emails showing up with a list of emails to the left of the screen and the content of the e-mail to the right of the screen, which is how I got it in the old outlook program, I have used. Can someone tell me how to change the view, it looks like this?

    View (Alt + V) menu > Presentation > vertical display

  • Ubuntu: Change the keyboard with xmodmap causes closing bracket key to stop working

    I use an Apple keyboard, so I use a xmodmap file customized for change my alt and super keys. When I apply this file using xmodmap, the bracket key closing unresponsive in Firefox, but works fine in all other programs. This means that I can't type a bracket closing or a right brace anywhere in Firefox. in the address bar, the box search, settings, Web sites, etc. It's as if I'm even not press.

    I can 'fix' the key by resetting the xmodmap, with the command: setxkbmap-layout us
    (but then of course the keys alt and super are changed, so I can't actually use the computer like this)

    I apply my file with the command xmodmap: xmodmap ~ /. Xmodmap
    My ~ /. Xmodmap file is pasted below - you can see that I'm not remapping the key closing bracket (i.e. keycode 35, keysym 0x5d, 'bracketright' according to xev). Troubleshooting information has been taken for the duration of my layout xmodmap.

    Please keep in mind: this is only a problem for Firefox. Closing the bracket key works in other programs. So I suspect that it is a bug in Firefox.

    ==== Start of .Xmodmap file ====
    
    ! Swap Alt and Cmd keys.
    keycode 37 =    Control_L
    keycode 133 =   Alt_L Meta_L
    keycode 64 =    Super_L
    
    keycode 134 =   Alt_R Meta_R
    keycode 108 =   Super_R
    keycode 105 =   Control_R
    
    clear Shift
    clear Lock
    clear Control
    clear Mod1
    clear Mod2
    clear Mod3
    clear Mod4
    clear Mod5
    add    Shift   = Shift_L Shift_R
    add    Lock    = Caps_Lock
    add    Control = Control_L Control_R
    add    Mod1    = Alt_L 0x007D
    !because the "0x007D" will assign the "+*]" key to the unity menu
    add    Mod2    = Num_Lock
    add    Mod4    = Super_L Super_R
    add    Mod5    = Mode_switch ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift
    
    ! Configure '=' key on numpad as '='.
    keycode 0x7D =  equal
    
    ! Configure shift-space as space instead of nbsp
    keycode 65 =space space

    Apparently I should have studied a little better. This seemed to be independent, but in fact the specific post, I'm a link has solved the problem for me:

    http://UbuntuForums.org/ShowPost.php?p=11900141 & postcount = 6

    Either I had to remove "0x007D" of the line starting with "Add Mod1".

  • Portege A600 Webcam software crashes when changing the settings with the sound muted

    I have a problem with XP Toshiba factory build for Portege A600 and Portege R600.
    If you try to change the sound properties of the Webcam using the Camera Assistant Software with the sound muted, the camera wizard app will hang & Windows fails to shut down or even stop. The only way to stop is pressed the power button until the machine stops.

    So far, the only solution I can come to is to increase the volume to zero rather than using the mute box. The problem is if you forget and mute rather than turning down and then try to change the sound properties, its "game over." In addition, it is not really satisfactory because politics is to keep the machines muted until the sound is required.

    This does not happen with the Vista Build, build it only XP.

    My guess is that this will not happen on any machine using the Chicony Webcam & software with the Realtek HD audio but I have not tried on machines enough yet to be sure. So far, I've recreated on two A600s and a R600. The machines are not defective and you can create the problem, "straight out of the box. Just do the following:
    (1) use the provided Toshiba product recovery DVD for restore factory Toshiba Windows XP SP2 version
    (2) once you have done the whole stuff, mute
    (3) open the Camera Assistant Software application & to select Properties
    4) click the audio settings tab

    That of all, suspended. The Camera Assistant Software version is 1.7.209.0807L which seems to be the last being available for download on the websites of Toshiba.

    Someone has encountered this or have any suggestions?

    Hello

    I n t have a Portege but U400 with pre-installed and integrated webcam Win XP.
    I installed a clean Win XP and then upgraded the XP to the last State and installed all the drivers available from the Toshiba page and possible.

    I followed the steps in your message and I have to say that I didn t notice strange questions, software webcam still works correctly

    I put t know what could be the problem, but I recommend that you check the audio driver to update maybe you can use the Realtek page
    Also, check if the BIOS has been updated to the current state and if your Windows XP is up to date.

  • Tecra S11 - change the resolution with FN keys gives an error

    Hello

    When I change the resolution of the screen with FN + space key combo, then background turns white and the icons on the desktop disappear. Windows 7 Professional / Tecra S11

    When you try, after FN + space press WIN + D (see the "D" esktop) combo and white background will appear.

    It's a Toshiba sw related issue or Win7

    Thank you

    Hi petersm,

    You may notice the behavior even if you change the screen resolution by using the options of the display driver?

    Maybe you need to reinstall Toshiba added value Pacakge that controls the FN keys

  • Re: Satellite A50 - how can I change the boot with BIOS password priority?

    I have a Satellite A50. I need to restore to factory default to recover DVD, how do I boot from the DVD?

    The default boot priority is the HARD drive and is more bootable has been formatted. My BIOS is password protected, how can I change the boot priority? After having inserted the password, its always boot from the HARD drive.

    Thank you

    The boot priority, that you can change in the BIOS.
    Go into the BIOS with ESC, enter your password and then you can change it.
    But don t forget to save the changes.

    That s all and then you can boot from the CD.

  • Satellite L100 - 121 PSLA0: can I change the motherboard with a better video card?

    Is it possible to change the motherboard for a Toshiba Satellite L100-121 PSLA0, which is a 945GMA of Intel graphics card, with a motherboard with the best video card, or just the video card?

    I want a better video card on my laptop, so I can change it?

    Hello

    You cannot move the graphics card because it s mounted on the motherboard.
    He welded s and cannot be deleted

    But I wonder why you want to replace the mobo together to get the best graphics card. Is that a card mother books is one of the expensive laptop parts.
    The replacement would cost about 300-400 euros.

    I think a desktop PC with a new graphics card would be much cheaper ;)

  • Impossible to change the brightness with Fn + F9/F10 on my 1 840

    Hi experts,

    I just reimagee my laptop with Windows7.  Some drivers installed from the support page, driver HP hotkey is installed.  Now I find that I can not change the brightness of backlight Fn + F9/F10.  But in the meantime, I'm able to change volumn via Fn + F6/F7.  It's only the glow of the Fn key does not looks.

    Is there anything else that I should install?  Or any instruction to solve this problem?

    Thank you.

    Hello nachenn,

    To get your question more exposure I suggest you post in the trade forums since the HP EliteBook 840 G1 is a commercial product. You can do so here: laptop - HP ProBook, EliteBook, Compaq, slate/Tablet PC, Armada, LTE

    Support of your product page can be useful in the meantime: laptop HP 840 G1

    I hope this helps!

    Thanks for posting on the HP Forums.

  • What are the alternatives to the update of the indicators using nodes of property?

    Hello

    I'm building a VI that must update several controls/indicators in several points throughout its execution. It must also be able to accept the new values of the controls at any time.

    The problem is that all these controls and indicators on the face before of the VI another who called my VI. The current version of my program updates all these controls and indicators using references and property nodes (each indicator/control to be used has its own reference on my VI control, and these references are then sent to nodes of property), which makes it naturally slow.

    At the moment I plan to rebuild my VI so that the principal is able to recover data without the help of the references, but it is not only a lot of time but also difficult and impossible without my code turning into a massive pile of disorganized (especially since the lab computer is quite slow and the main big enough VI that by pressing the button "clean/re-organize block" causes a crash).

    Alternatives to this? Queues?

    This (my nugget events) is the best general solution, I came here.

    Felix

Maybe you are looking for

  • Apple Mail shows gmail in 2 places...

    The left column of Apple Mail shows gmail accounts in 2 places. Under the mailboxes up and then again lower down with folders marked ' staff, recipes, important, deleted, drafts, messages sent messages, travel, work. I REALLY want to get rid of these

  • Satellite L450-136 - installation of web cam driver problem

    Hi all I am trying to download web cam driver for Satellite L450-136.All is well until final bit, I get off cam end of message.Do not know how. Thank you

  • QFile open problem

    Hello guys,. My question is perhaps stupid and I don't know that I'm doing something wrong, but I can't do https://developer.blackberry.com/cascades/documentation/device_comm/networking/tutorial_http_comm.ht... sample works correctly. The problem is

  • How can I draw a line at 40 ° c in windows7 paint

    Hello I use the part of Paint in Windows 7 and I would like to know if I can draw lines with angles varoiuse 30 and 60 degrees Best regards, Nigel Terry

  • Photoshop CS2 download on my Mac.

    I am trying to download Photoshop CS2 on my Mac and I can move on to the Installation part, but when he actually try to install, it says the installation failed. What should I do to fix this?