Weird behaviour when spanning colums in GridPane

Using column span seems to influence the size of all the columns spanned in a weird (as in: I can't figure it out) way.
With the code below, you would expect the second column to be the size of the button (the only node placed directly in it), and the first column to take up all remaining space.
But for some reason, the second column is bigger than the button. Note that in my original code (way more complex than the example below) the second column was over 300 pixels too wide.
The only workaround I found was to set the preferred size of the nodes in the first column, and to set a preferred column size as well (see commented lines). Nothing I tried on the second column seemed to have any effect.
Am I missing something here, or is this a bug ?
GridPane root = GridPaneBuilder.create()
        .padding(new Insets(10))
        .hgap(15)
        .vgap(15)
        .gridLinesVisible(true)
        .build();
root.getColumnConstraints().addAll(
        ColumnConstraintsBuilder.create()
            .hgrow(Priority.ALWAYS)
            //.prefWidth(200)
            .halignment(HPos.RIGHT)
            .build(),
        ColumnConstraintsBuilder.create()
            .hgrow(Priority.NEVER)
            .build());
TextField text = new TextField();
//text.setPrefWidth(200);
GridPane.setColumnSpan(text, 2);
root.add(text, 0, 0);
Button cancel = new Button("Cancel");
root.add(cancel, 0, 1);
Button save = new Button("Save");
root.add(save, 1, 1);
Scene scene = new Scene(root);
primaryStage.setTitle("GridPane Span Test");
primaryStage.setScene(scene);
primaryStage.show();

I think it is bug
Re: Strange GridPane behaviour in relation to column width

Similar Messages

  • Weird behaviour when applying XLST in PL/SQL

    I came across this strange behaviour when applying XSLT to an XML document. Below is a simplified version, based on some code that I found in OTN
    declare
    indoc VARCHAR2(2000);
    xsldoc VARCHAR2(2000);
    myParser dbms_xmlparser.Parser;
    indomdoc dbms_xmldom.domdocument;
    xsltdomdoc dbms_xmldom.domdocument;
    xsl dbms_xslprocessor.stylesheet;
    outdomdocf dbms_xmldom.domdocumentfragment;
    outnode dbms_xmldom.domnode;
    proc dbms_xslprocessor.processor;
    buf varchar2(2000);
    begin
    indoc := '<emp><empno> 1</empno> <fname> robert </fname> <lname>
    smith</lname> <sal>1000</sal> <job> engineer </job> </emp>';
    xsldoc :=
    '<?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output encoding="utf-8"/>
    <xsl:variable name="CR">
    <xsl:text>
    </xsl:text>
    </xsl:variable>
    <xsl:template match="/">
    <xsl:value-of select="$CR" />
    <xsl:value-of select="$CR" />
    </xsl:template>
    </xsl:stylesheet>';
    myParser := dbms_xmlparser.newParser;
    dbms_xmlparser.parseBuffer(myParser, indoc);
    indomdoc := dbms_xmlparser.getDocument(myParser);
    dbms_xmlparser.parseBuffer(myParser, xsldoc);
    xsltdomdoc := dbms_xmlparser.getDocument(myParser);
    xsl := dbms_xslprocessor.newstylesheet(xsltdomdoc, '');
    proc := dbms_xslprocessor.newProcessor;
    --apply stylesheet to DOM document  
    outdomdocf := dbms_xslprocessor.processxsl(proc, xsl, indomdoc);
    outnode := dbms_xmldom.makenode(outdomdocf);
    -- PL/SQL DOM API for XMLType can be used here
    dbms_xmldom.writetobuffer(outnode, buf);
    dbms_output.put_line(buf);
    end;
    I would expect this to output two carriage returns and this is what I get with xsltproc on the Linux server. Instead, it outputs the entire source XML document without the tags, as shown below.
    1 robert
    smith1000 engineer 1 robert
    smith1000 engineer
    Now, if you change the definition of the CR variable to add some text, for example to
    <xsl:variable name="CR">
    <xsl:text>XX
    </xsl:text>
    It outputs:
    XX
    XX
    which is what I would expect.
    Does anyone have any idea what is going on here? Changing the variable definition to <xsl:variable name="CR" select="'&#xD;&#xA;'" /> fixes the problem by the way.

    I came across this strange behaviour when applying XSLT to an XML document. Below is a simplified version, based on some code that I found in OTN
    declare
    indoc VARCHAR2(2000);
    xsldoc VARCHAR2(2000);
    myParser dbms_xmlparser.Parser;
    indomdoc dbms_xmldom.domdocument;
    xsltdomdoc dbms_xmldom.domdocument;
    xsl dbms_xslprocessor.stylesheet;
    outdomdocf dbms_xmldom.domdocumentfragment;
    outnode dbms_xmldom.domnode;
    proc dbms_xslprocessor.processor;
    buf varchar2(2000);
    begin
    indoc := '<emp><empno> 1</empno> <fname> robert </fname> <lname>
    smith</lname> <sal>1000</sal> <job> engineer </job> </emp>';
    xsldoc :=
    '<?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output encoding="utf-8"/>
    <xsl:variable name="CR">
    <xsl:text>
    </xsl:text>
    </xsl:variable>
    <xsl:template match="/">
    <xsl:value-of select="$CR" />
    <xsl:value-of select="$CR" />
    </xsl:template>
    </xsl:stylesheet>';
    myParser := dbms_xmlparser.newParser;
    dbms_xmlparser.parseBuffer(myParser, indoc);
    indomdoc := dbms_xmlparser.getDocument(myParser);
    dbms_xmlparser.parseBuffer(myParser, xsldoc);
    xsltdomdoc := dbms_xmlparser.getDocument(myParser);
    xsl := dbms_xslprocessor.newstylesheet(xsltdomdoc, '');
    proc := dbms_xslprocessor.newProcessor;
    --apply stylesheet to DOM document  
    outdomdocf := dbms_xslprocessor.processxsl(proc, xsl, indomdoc);
    outnode := dbms_xmldom.makenode(outdomdocf);
    -- PL/SQL DOM API for XMLType can be used here
    dbms_xmldom.writetobuffer(outnode, buf);
    dbms_output.put_line(buf);
    end;
    I would expect this to output two carriage returns and this is what I get with xsltproc on the Linux server. Instead, it outputs the entire source XML document without the tags, as shown below.
    1 robert
    smith1000 engineer 1 robert
    smith1000 engineer
    Now, if you change the definition of the CR variable to add some text, for example to
    <xsl:variable name="CR">
    <xsl:text>XX
    </xsl:text>
    It outputs:
    XX
    XX
    which is what I would expect.
    Does anyone have any idea what is going on here? Changing the variable definition to <xsl:variable name="CR" select="'&#xD;&#xA;'" /> fixes the problem by the way.

  • Weird behaviour when drilling down in time hierarchy

    Hi Experts,
    We have time hierarchy
    year--->quarter--->month--->week--->day.
    But when im drilling down from Quarter it is showing the week level and not the month level and then again if i m trying to drill down from quarter then it is showing the month.
    What can be the issue here?
    Regards

    Hi,
    just check what u have set into preferred drill path tab for Logical level quarter.
    Regards,
    Vikas
    Edited by: user7312087 on Jul 7, 2009 12:27 AM

  • Weird behaviour when soft proofing.

    I'm finding that if I open an image in DEVELOP, when soft proofing is ALREADY switched on, the sliders usually grey out as soon as I make a first adjustment, the histogram display disappears as well. Toggling the soft proof check box brings everything back to life.

    I'm on Win 7 Pro 64, HP Z800, Nvidia Quadro FX3800, Xeon 6 Core. Wacom Intous.
    ...and I'm still getting the problem. I suspected maybe the Wacom tablet so disabled the service but still get problem with a mouse. I created a new catalogue and imported some different images,
    still get the problem, except for the FIRST time I try it with a new image, then everything's OK but subsequent tries give the problem. The files are either layered tiffs of finalised images or DNG or Hasselblad 3F
    originals.
    The grey outs occurred after the first adjustment, after choosing "Make Proof Copy". I have now checked the "Don't Ask Again" button and the problem seems to have gone away. Just a little glich I guess.
    Cheers.

  • Error and weird behaviour in executable launch

    Hello folks,
    This post is regarding a weird behaviour i am experiencing with an executable i built. 
    LABVIEW version(Includes Runtime engine) LV2012 SP1 f3
    DAQmx: 9.6.1
    The behaviour is listed below in detail. 
    In a nutshell, the exectuable runs on the development computer but does not run on the Target computer. Also, Irresepctive of which PC i run the executable on, i cannot access the block diagram even after enabling debugging everywhere. 
    On the target PC, the app fires up but does not run further, no error codes appear on the screen, it's like the app freezes after firing up. And to add to the misery, i cannot access the block diagram to debug and know what's going on. 
    Also, I have tried including the dynamic vis to my build script. No bueno. 
    What I see on running the app is addressed below:
    TARGET COMPUTER:
    DAQmx 9.7 and LV2012 SP1 f4 RTE have been installed manually.
    App does not run: No broken run button, the app launches but does nothing when the vi is run. No error messages.
    The block diagram is still inaccessible, even after selecting the “Enable debugging” option in the build specifications.
    DEVELOPMENT COMPUTER:
    The app launches and runs perfectly.
    The block diagram is still inaccessible, even after selecting the “Enable debugging” option in the build specifications.
    DAQmx 9.7 and LV2012 SP1 f4 RTE were not installed as the app recognized the already installed Labview environment.
    Additional steps that I have tried,
     Created and ran only an executable on the target PC, the attempt was unsuccessful. The vi showed similar characteristics as mentioned above in the target PC section.
     Created and ran an installer with additional install options(LV2012 f4 RTE and DAQmx 9.7)on the target PC, the attempt was again unsuccessful. The vi showed similar characteristics as mentioned above in the target PC section.  No error messages.
     Tried both the steps mentioned above on the development computer and the attempts were successful. .
    To the best of my knowledge, I believe, the issue here is with the environment I am creating for the executable and the installer to run with/off of. After having carefully followed the installation procedure for the Run-Time Engine and the DAQmx drivers, I still do not know what I am missing. 
    Please advise.
    Thanks guys, 
    RP.

    Hey guys, 
    So, got the application to work. Almost. 
    The problem was that the executable was missing the hardware config from the Device. 
    Now, the new issue is as following: 
    The goal of the vi is to generate a report of the test conducted. So, the way the vi works is that, the second the vi is run, an empty word file is created with only the company logo,  
    Field headings, which are populated after the test is conducted. 
    The logo is a .jpg file, which has a relative path into the executable.
    The field heading are String constants wired into a 'concatenate strings.vi' which are in turn wired to into the report generation vis.
    What's happening is that when i run the app on the target pc, Only the logo appears on the word template. Even when i conduct the whole test and stop the vi, the results aren't populated in the word file. Which is a little weird.
    Does any one know whats doing that?
    Please refer to the attached word files.
    Right - It is the file format desired. 
    Wrong - It is the file format achieved. 
    Please advise.
    Thanks,
    RP. 
    Attachments:
    Right.docx ‏17 KB
    Wrong.docx ‏16 KB

  • Weird behaviour of OBIEE 11g hierarchy columns

    Hi,
    I'm facing this weird issue when i implement the OBIEE 11g new feature called hierarchy column.The issue is that the last value in the hierarchy is reporting
    Example
    Store Heir-achy
    ->Store Country
    ->Store City
    ->Store name
    ->Store Name
    ->Store name (And the level goes on and on).
    I don't know why this weird thing is happening.Any help is appreciated.
    Thanks,
    Sunny.

    Thanks for the response, in regards to whether it is 1 or 2 Logical Facts, it is still the same behaviour. IN regards to the Logical Dimension, yes it is set with two LTS with the applicable content levels set. I even tried that as just 1 LTS doing the join through the General tab. Still the same behaviour with the drill-down. I am assuming it will always go through the full drill path regardless of what level the Fact you are hitting is at.

  • HTML Link -AS2 fine, AS3 weird behaviour

    Hi Guys, I'm working on a project at the moment, and am
    seeing weird behaviour with the way my swf handles html links
    inside dynamic textboxes. When rendered as a AS2 file, the link
    works on a release as expected. When its inside a AS3 file the link
    will only work if the user right click and chooses 'open in new
    window' was there a change in behaviour how AS3 handles these
    links, or is there now an declaration needed to be made to allow
    these link to have the old behaviour?
    The project calls for xml data and embedded in that is a html
    link. Originally I thought it might have been the way I'd formed
    the xml so I tried with a hardcoded version instead (dynamic
    textbox, add text -> highlight -> add link through properties
    tab). But I still see the same behaviour between the as2 and as3
    versions.
    Any help would be greatly appreciated.
    Cheers.

    Actually, the ''href'' attribute is supposed to direct the browser to a new URL, etc., not run a script. Instead, use the ''onclick'' event attribute:
    ''<a onclick = “$('.div-feedback').fadeIn();”></a>''.
    Happy coding!

  • Weird behaviour in the Fontbook display pane

    I have just been checking through some font conflicts using FontBook. All have resolved successfully, but I have noticed weird behaviour involving four or five fonts. Some of them show up as all-Cyrillic faces (Arno Pro), or all-Hebrew faces (Stone Sans) or all-Arabic faces (Balzano) in the display pane, yet print perfectly as Western characters when used in any program (Pages, Word, Bean, FCE, Keynote etc).
    It's not actually causing any problem, I suppose, apart from a weird representation in Fontbook. I have tried deactivating and reactivating these fonts. I have tried quitting and restarting Fontbook. I have even tried restarting the computer. The Cyrillics, Hebrews and Arabics keep coming back.
    Is this a known Fontbook bug, or am I doing something wrong?

    Thank you, Kappy and Tom:
    I tried the Preview Repertoire command and it showed that the fonts did, indeed, have the full Latin complement of characters. It's just that only the Cyrillic/Hebrew/Arabic/Gujarati/Mandarin selections are showing up in some fonts' preview panes: particularly those fonts with the suffix "Pro" in the title (Myriad Pro, and so on).
    How strange.

  • Weird behaviour with dragImage in DragManager & NativeDragManager

    I'm getting some unexpected (to me anyway) behaviour when I set the "dragImage" property for DragManager and NativeDragManager when I call "doDrag".
    DragManager.doDrag(dragInitiator:IUIComponent, dragSource:DragSource, mouseEvent:MouseEvent, dragImage:IFlexDisplayObject = null, xOffset:Number = 0, yOffset:Number = 0, imageAlpha:Number = 0.5, allowMove:Boolean = true):void
    So I'm setting the "dragImage" property to a 30x30 pixel PNG that I've embedded, and when I run my app and click to drag I do see the image, but it's weirdly greyed out.  I experimented with setting the "imageAlpha" property to 1.0 and the greyness dissapears, and the image is still semi-transparent.  I think what's happening is that the image gets laid over the default skin, which is a grey box, at 0.5 transparency, and then the whole thing is set to another transparency amount.  If that's true.. then.. what's the point in having the imageAlpha set to 0.5 by default?  Who wants their drag image to be greyed out like that?  And how do you adjust the transparency if imageAlpha doesn't do that for you?
    NativeDragManager.doDrag(dragInitiator:InteractiveObject, clipboard:Clipboard, dragImage:BitmapData = null, offset:Point = null, allowedActions:NativeDragOptions = null):void
    For NativeDragManager I've tried setting the "dragImage" property to the bitmap data of the same PNG that I embedded (Why BitmapData?  Why not an IFlexDisplayObject like DragManager uses?) and it renders it in much the same way as DragManager does, once I'd set the "imageAlpha" to 1.0.  But when I drag the image outside of the application it pixel shifts it, chopping aproximately two pixels off of the left edge, and sticking them on the right edge.  I've no clue why it's doing this...

    As to the first question, yes, the default is set to 0.5 as the documentation states.  Many UI systems make icons semitransparent when dragging (e.g. Win 7 & OSX).

  • Roundness / Residual - weird behaviour

    Hi,
    I've been experimenting to understand "roundness" in Find Circular Edge - which seems to be the residual from "circle fit". I noticed some weird behaviour, and to understand it, I wrote a program that scales the width of a "perfect" circle from 0.5 to 1.5.
    I expected some glitches, jumps,.. due to discretization, rounding,.. etc, but then I stumbled upon behaviour that makes no sense: When I detect a circle that is partly outside of the image, the roundness is suddenly at very low value.
    To visulalize, I'm talking about such an image:
    The roundness behaves like this:
    I am not sure if it is just my vi (I'm attaching the example picture and the experimental vi), but can anyone explain this behaviour and give me some idea how to avoid it?
    Thanks,
    Birgit
    Solved!
    Go to Solution.
    Attachments:
    src05.jpg ‏19 KB
    circularedge.vi ‏63 KB

    The results of the "roundness" aka residual have a glitch once the detected circle is outside of the image.
    Allow me to add a "normal" picture with a low residual of 0.17
    High residual of 21,3
    This behaviour sort of models how well the shape fits with the calculated circle.
    And that's what I expect.
    However, in the second the algorithm "finds" a circle that is outside of the image boundaries, the residual "jumps" and is suddenly very, very low, as if one had a shape that would fit with the calculated circle.
    This, for example, has a residual of 0,27

  • [SOLVED] Weird behaviour after formatting USB installation media

    Hi, I have noticed this weird behaviour with USB drives I used to install Arch linux with.  I format them using fdisk and mkntfs but after replugging them in, the udevil daemon mounts them again as ARCH_2013...[something] and even the directory tree exists!  This happens also when I use mkntfs without the -f flag (initializing with zeros).  I also checked the other files in /dev/sd* in order to make sure that my drive does not appear twice, but there is only sda (my HD) and sdd (or sometimes sdb, sdc,...) which must be the USB drive, also according to dmesg.
    Any ideas?
    EDIT: I wrote something about not seeing any files when manually mounting but that was my bad, I only tried mounting /dev/sdb1 but mounting /dev/sdb brought me the same files as devmon showed.
    Last edited by ysetdng (2014-07-12 22:36:46)

    I am assuming you used dd to write the image to the disk. You can use it to remove the contents of the disk as well.
    You should make use of the arch wiki, it is quite helpful.
    https://wiki.archlinux.org/index.php/US … tion_Media
    You can use this to zero out the entire device:
    # dd if=/dev/zero of=/dev/sdx bs=8M // x is the letter assigned to the usb drive. Be careful, The dd command is destructive.
    It may take a while to zero out the entire disk, depending on the size. After that use fdisk/cfdisk or gdisk/cgdisk to create the partition table and partition.
    To create the filesystem type, this one, ext4:
    # mkfs.ext4 /dev/sdx // or create a vfat
    then create the label:
    # e2label /dev/sdx1 USB_STICK_LABEL
    Use my suggestion as a last resort. Read the wiki, most of what I have said is in there anyway.
    Last edited by rgb-one (2014-07-12 18:21:18)

  • My iPhone 5 shows weird behaviour.

    I bought a new factory unlocked no contract iPhone in Pakistan. The phone is from the United Kingdom, the first thing I would like to tell you that this phone has dreadful battery life, the battery drops 1% every minute when I'm texting and while I'm on facebook, drops even faster when I'm playing some game like Asphalt 7 (this is acceptable but the battery drains faster than my iPhone 4S) moreover the phone shows weird behaviour, sometimes when I charge it to 100%, it stays there for some time but then suddenly the battery drops to around 70% within an instant and sometimes when the battery is low and I plug it in, the battery percentage suddenly jumps from 18% to around 40% and this happens the moment I plug it in (both the computer and the wall charger) and the last thing is that this phone charges amazingly fast like from 2% to 1% in about 30 minutes. I saw a video on the internet for reference and in that video, the guys' iPhone 5 charges from 5% to 100% in 2 hours and 10 minutes. So could something be wrong with my battery or charger or both ???
    I have Brightness set to auto and I mostly stay indoors
    Location services are off
    Diagnostics and Usage are set to Don't Send
    iOS is 6.1.4 (the latest available)
    Push Notifications for all apps are off
    WiFi remains on most of the day
    3G is set to off as it is not available in Pakistan
    Cellular Data is off
    Bluetooth is off
    Time and Date automatic adjustment is off
    Mail is set to Fetch Manually
    Only 2.5 GB storage is in use
    and I set it up as a new iPhone and I've restored it 3 times in just 1 week.

    How would I know when the battery is totally discharged to 0? Because all it shows is this

  • Mail / Exchange 2013 weird behaviour?

    I’m hoping someone here can help with weird behaviour from Mail which is driving me nuts. It doesn’t appear to be the same problem as the odd Exchange behaviour described in other threads. It appeared about a month back, and I had made no changes to my software or hardware at that time.
    I have the latest version of OSX Mail in Mavericks, set up with an Exchange 2013 and iCloud mail accounts. There are no extensions or add-ons running. I have two Macs and two iOS devices on these accounts, all fully updated. The problems exist regardless of which devices are powered up at any one time. Mail is set to download messages automatically.
    On both of the Macs I get the same following problems:
    - When new messages arrive, the mailbox notifier indicates the new messages, but they are not shown in the message list. If I select the ‘Exchange’ inbox they are visible, and remain so when I switch back to the combined ‘Inbox’.
    - When I select the ‘Exchange’ inbox, rather than the combined ‘Inbox,’ then after 30 seconds or so the ‘From’ field in the message list changes to ‘To’, so all the senders are shown as my email address.
    - The entire send/receive function seizes up half a dozen times a day, necessitating a Force Quit to restart the app.
    iOS devices work just fine.
    Is this in fact the same as the reported Exchange problems, or have I got something else going wrong here? I’ve tried deleting and recreating the account, and also had my hosted Exchange provider take a look, to no avail.
    Many thanks,
    Tobes

    Hi Ivan,
    It is really an odd issue. Working for a while, then crash.
    According to your description, I found that we suspect it is a certificate issue.
    If this issue really related to the certifcate mismatch or something additional, it shouldn't connect to Exchange server, even just for a while (As we
    encountered).
    I suggest double check our ECP VD configuration and Authentication method. Steps as below:
    1. Please try to re-build ECP Virtual Directory, commands as below:
    a. To remove current ECP VD:
    Remove-EcpVirtualDirectory -Identity "Server01\ecp (default Web site)"
    b. To check whether the Remove operation completed successfully:
    Get-EcpVirtualDirectory -Server Server01
    c. To create a new ECP VD:
    New-EcpVirtualDirectory -Server SERVER01 -ExternalURL https://mail.contoso.com/ecp -InternalURL
    https://mail.contoso.com/ecp
    2. Please verify that the Microsoft Forms Based Authentication service is running on all Exchange servers.
    a. To check:
    Get-EcpVirtualDirectory -Server <server name> | fl *auth*
    b. To enable:
    Set-EcpVirtualDirectory -Identity "Server01\ecp (default Web site)" -FormsAuthentication
    $true
    3. Please also make sure the remote apps are all installing the trusted certificate.
    4. Please also collect detailed App logs or error message in event viewer for the further troubleshooting.
    Maybe I have not enough experiences, I am not sure whether the logs above that we provided is useful. Maybe others have different opinions.
    Hope it is helpful
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • MPB + 24" LED, weird behaviour after disconnect

    When using my MPB in combination with my 24"LED (single screen setup), everything works perfectly. When I disconnect, the resolution drops to the maximum resolution of my MPB. This drop in resolution results in weird behaviour of application windows, expose (corner activation) and spaces.
    Expose does not work anymore, seems like it still thinks there is a larger resolution, so putting my mouse pointer in the corner will not activate expose or any other corner function.
    Spaces does not slide anymore, again it seems like it expects a larger desktop to slide which is not there anymore. The display flashes and skips to the next desktop.
    Windows can not be resized because the sizing corner (lower right) is outside of the current screen area. So to be able to resize my applications, I have to resize them to small before I disconnect the 24"LED screen.
    Solutions tried:
    1) System preferences > Displays > Detect displays... Does not work
    2) System preferences > Displays > Lower resolution > Normal (max) resolution : Works like a charm
    3) Logout > Login : Also works
    Does anyone else know how to make this work the way it should? So far it seems the programming (Leopard) is faulty.

    AVrublevskiy
    I agree that, at times, the SGE switches can be somewhat difficult when getting them in and out of stack mode. I would recommend getting them back to the config that they had before you tried to remove them from a stack, then configure them via the serial cable back to factory defaults. The pinout for the cable can be found here.
    There is also a little, round, red hole at the bottom left of the switches face plate that allows you to factory reset the device. You should use a paper clip and hold it for a full 30 seconds.
    These switches are designed to either be stacked or not, meaning they are not supposed to be put in and taken out of stacked mode at random. By default, the switches try to stack together, and do not work well when the stack gets broken up or changed. I sincerely suggest you pick either stacked or standalone and leave them as such.
    As a side note, there is a newer firmware available for this switch. It is version 3.0.0.18. It can be found here.
    Please report any new problems.
    Bill

  • Weird behaviour with inlined SubVI's

    Every now and then I've ran into some serious weird behaviour where I've eventually traced it down to some inlined subVI. It has seemed as if the values used inside the inlined subVI don't match what the calling VI is feeding into its inputs. I haven't been able to consistently reproduce this issue so I apologize for the vague description, but since I felt I should finally address this and I couldn't really find anything similar by searching, I'll do my best to describe it and we'll see what turns up.
    As I mentioned, the issue certainly doesn't occur consistently. I use inlined subVI here and there and most of the time there are no problems whatsoever. I ran into the issues randomly I think four times now, first three of them were on LV2013 and this last time on LV2014. In all cases I have been using AF and I think the first times were actually with an actor class. At the time I thought it might have been related to the AF, and it still might, but now the last time it wasn't the actor class itself but a data member of one. So far all of the problems have occured with class methods, and I think the "corrupt values" have been the object private data, but I can't confirm this.
    This time the inlined subVI was a static dispatch method with contents shown below on the left and the calling on the right.
    I'm showing the calling just to point out that when I was investigating the problem and I probed the object wires before and after the inlined subVI the values (Calibration.X Step and Calibration.Y Step) were OK, but the result of the VI (Point out) was some insane value as if the actual division inside was performed by corrupt data. I think that the output value wasn't Inf, though, so the divider might not have been a default value such as 0.
    Other notes:
    I checked that the wires are connected to the inputs and outputs
    As I mentioned, the projects have always been relatively large AF setups, the problematic method has been an actor method or a method called by an actor somewhere down the chain. I have no reason to assume AF is the culprit, I'm just pointing this out, just in case
    The problem seems to occur quite randomly but once it "starts" it doesn't go away until I find which inlined subVI it was and change it to a normal VI call
    The problem might not even be specifically inlined subVI related but for example pre-allocated VI related instead
    I don't know whether the problem would occur in a built executable as well, so far I've only ran into them while testing while developing and fixed them there
    Looking at the "Known Issues" related to inlined subVI's I don't know if this related to them. The other one deals with execution systems, which I haven't touched to my knowledge, and the other one says "An Inline public methodVI calling a private-scope method VI, inlined into a non-class caller may give a runtime error when trying to call the private method from the inlined code in the non-class caller."
    LabVIEW version is 14.0.1 (2014 SP1 32bit) on Windows 8.1
    Yep, reading through this post I gotta say I'm not expecting much, what a mess, but it would be great to find out if anyone else has ever ran into similar problems or has a clue what's going here.

    Just for the sake of your sanity, I've seen "funky" behaviour with inlined VIs also, but on Real-Time targets.
    I've never been able to narrow down the exact problem but it seems to be related to changed made to inlined VIs not being reflected in the compiled code od VIs which call them.
    I've reported it but without code which can actually reproduce it, it cannot be fixed.
    Say hello to my little friend.
    RFC 2323 FHE-Compliant

Maybe you are looking for

  • Call details when sending and recieving roaming text messages when abroad.

    Is it possible to get the full number of roaming text messages that are sent and recieved whilst abroad ?

  • MS SQL Server 2008 -- Daily Backup

    Hello, My real need is simply to do a daily backup of a database : I have SQL Server 2008 ( not express ) . My user is    sa       and has full control on the database. I have searched the web and found many places where they say to do a     Task ->

  • DBMS_XDB.createResource(path, XMLTYPE) removes the XML declaration

    Hi, I'm writing out XML documents to the XMLDB repository by looping through a view which has an XMLTYPE column and writing each instance of that column using the 2nd form of createresource specified in the PL/SQL Packages and Types Reference. DBMS_X

  • OB transfer to SAP

    I Expert When moving to SAP all open AR invoices will be imported from the legacy system. Among the invoices there are incoming payments which have been entered as payment on account that needs to be also brought across to SAP. I need to know how to

  • Masterdata text

    Hi, i have a situation, where i can see text and key details when i execute the query, but when i save it in a table and look into it it is showing only key and not text.can anyone tell me why and solution for this? advanced thanx ram