Round Color Box (Silver): Slows VI Server Access

Continued from here:
Christina (et al),
I've attached two examples demonstrating the obervation.  I first ran into this because I use a simple flags framework in some of my applications.  If the flag name input is unwired, I auto-name the flag based on the calling VI name.  So, I get a reference to the calling VI and determine a flag name respectively as you can see in the attachment.
The "Wait for Flag" primitive can be called in a loop as quickly as you like (limited by how long it takes to access the calling VI reference of course).  So, I had an application where the consumer loop had to run in the 100+ Hz range and because the Round Color Box (Silver) was on the panel, I couldn't get this kind of performance.  Switching to the Round Color Box (Modern) solved the issue (but doesn't look nearly as nice).
The "test color boxes_Rapidly Access VI Refnum" example below is a simplified version illustrating the problem.  The "test color boxes_Wait for Flag" example better represents what I'm actually doing.  Just unzip and run the "test color boxes_Rapidly Access VI Refnum" VI and follow the instructions on the panel.
Then, unzip and run the "test color boxes_Wait for Flag" VI for an actual use case.
Thanks for taking a look.  Do you see what I'm seeing?
Certified LabVIEW Architect
Wait for Flag / Set Flag
Separate Views from Implementation for Strict Type Defs
Attachments:
test color boxes_Rapidly Access VI Refnum.zip ‏26 KB
test color boxes_Wait for Flag.zip ‏93 KB

The problem here is that the "Silver" style frame draws relatively slowly. In most cases, this isn't noticeable because LabVIEW doesn't need to redraw the frame when the value of a control or indicator changes. But, when the control is an element of an array, LabVIEW does redraw the entire control for each element value change.
So, for the time being, I'm afraid it's not advisable to use Silver controls (other than the "frameless" ones) as array elements.
You can see that it's the frames that are causing the slowdown by coloring them transparent so that they're invisible. 
I'm embarrassed to mention this, but the coloring trick also shows that there's a workaround where you take a picture of the array of Silver color boxes, put it in the background, and then color the frames of the actual color boxes transparent. I'm not saying it to recommend it, just to say that it does get you something that looks the same without the performance problem.
Christina Rogers, Senior Software Engineer and UX Technical Lead, LabVIEW R&D

Similar Messages

  • How to make a round color box?

    Can anyone walk me through the steps in making a round color box?
    Thanks in advance.
    Solved!
    Go to Solution.

    Do you need a color box because you want the user to pick a color or you want the vi to spit out a color? Or do you want the color box for some other reason?
    If you want to make it open a color picker pallette, I don't know of a way. However you could always make a round decoration, make sure it is on the top layer and the refnum for it should be This VI.Panel.Decos[0], and then you can programmatically change it's color via a property node. See attached.
    Message Edited by jaraalmonte on 12-16-2009 03:02 PM
    Attachments:
    colors.PNG ‏11 KB

  • SQL Server Agent running SSIS package fails Unable to determine if the owner of job has server access

    I have a web application developed through VS 2012 which has a button on a form that when operated starts a SQL Server agent job on the server that runs an SSIS package.  The website and the instance of SQL Server with the agent and SSIS package are
    on the same windows 2008 r2 server.  When the button is operated no exceptions are raised but the SSIS package did not execute.
    When I look in the logfileviewer at the job history of the sql server agent job I see that the job failed with message...
    The job failed.  Unable to determine if the owner (DOMAINNAME\userid) of job runWebDevSmall has server access (reason: Could not obtain information about Windows NT group/user 'DOMAINNAME\userid'<c/> error code 0x6e. [SQLSTATE 42000] (Error 15404)).,00:00:00,0,0,,,,0
    ...even though DOMAINNAME\userid is in the logins for the sql server and has admin authorities.
    Could someone show me what I need to do to get this to run?  Thanks tonnes in advance for any help, Roscoe

    This can happen when the network is too slow to allow a timely completion of the verification. Or the account running has no such right.
    I suggest you try using the SA account for the job as it does not require to poll the AD.
    Arthur My Blog

  • Windows 2008 R2 Hyper-V has really slow VMs disk access

    Wondering if anyone can help? I have noticed in a couple of Windows Server 2008 R2 Hyper-V scenarios, that the VM guests are often very slow. Disk access is especially slow.
    In one situation their was only a couple of guest VMs, and they were running of mirrored IDE HDDs.  Performance improved significantly when I used two mirrored SSD hdds instead.
    My other main situation is where the VHDs are stored on HP Lefthand P4300, over 2-nodes with 8 SATA hdds in each, using iSCSI.
    So I ran a few tests with robocopy copying 4-6GB of files (mostly large) or whole VHDs (40GB or more), using HP4300 SATA, a newer HP 4330 SAS, a THECUS NAS with SATA hdds,  and an SSD in a THECUS NAS, and local SAS mirrored hdds. All using iSCSI except
    the local SAS hdds.
    You can see from results that Guests run considerably slower than host. Any ideas?
    Sample data (although not always same background conditions of load etc):
    From within Guest direct iSCSI to same (from HP 4330): 34MB/s
    From other Guest using VHD (from HP4300) to direct iSCSI (from HP4330): 14MB/s
    From within Guest using VHD (from HP4330) to same: 9MB/s
    From within Guest using VHD (from HP4300) to VHD (from HP4330): 11MB/s
    From within Guest using VHD (from HP4330) to VHD (from HP4330): 19MB/s
    From within Guest using VHD (from THECUS SSD) to same VHD (from THECUS SSD): 18MB/s
    From within Guest using VHD (from HP4300) to VHD (from THECUS SSD): 13MB/s
    From within Host from HP4300 iSCSI to HP4330 iSCSI: 12MB/s
    From within Host using VHD (from THECUS SSD) to same VHD (from THECUS SSD): 40MB/s
    From within Host from HP4330 iSCSI to same HP4330 iSCSI: 232MB/s & 132MB/s
    From within Host from HP4330 iSCSI to HP4300 iSCSI: 40MB/s & 57MB/s
    From within Host from HP4300 iSCSI to same HP4300 iSCSI: 26MB/s & 47MB/s
    From within Host from HP4300 iSCSI to Guest VHD (from THECUS SATA): 15MB/s

    Hi aucj,
    I would suggest to use host level ISCSI connection then build VM on that ISCSI disk .
    please add more Vcpu for that VM then try to copy again (shutdown the other VMs ,in that online VM from one folder to another folder ).
    Hp4330 ISCSI connection is 1GB , right ?
    If yes , it should be with max 100M/s with the single ISCSI connection .
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Mystery: XP display color scheme : silver can result in black on black unreadable controls

    My setup is a Dell PC running XP Professional.  Display Dell 1901 (also does this on Default Display).  Intel 82856G Integrated Graphics driver. LabVIEW 7.1.
    The color settings for the 5 controls on the attached .vi are foreground: 179 179 179 and background 255 255 255 yet some appear as black on black in the XP display color scheme : silver and some appear as black on white.  By setting the XP color scheme to default, you can use the color sample and color fill tools to change whether a control will be black on black or black on white in the color scheme : silver view.  It appears like there is some "magic property" that is not foreground or background color that is being copied with the color sample and fill tools.
    Any ideas?
    Attachments:
    silver_contrsch.JPG ‏76 KB
    control_scheme_silver.vi ‏15 KB
    default_contrsch.JPG ‏79 KB

    Hello,
    I was a bit puzzled by this myself until someone suggested I use the "color sucker" tool to find out what the current colors of the enums were.
    The color sucker tool (aka eye-dropper) can be used by selecting the paintbrush tool and holding CTRL on the keyboard.  Now left-click the item you want to check the color of.  Right-click any object to bring up the color picker, and look at the colors in the history.  The one furthest to the right (that isn't "empty") is the color you just picked up with the color sucker.
    You'll notice that on the problematic enums, the background color is "Hilight Text".  This is a system color that will change depending on the theme you use.  On the silver theme, it is black or near-black.  On the others it is white or near-white.
    When picking colors, you might want to be careful to watch the text next to the curently selected color box.  If it has RGB values, this is safe (theme-independent).  It's also safe to use named colors in the "User" list, such as "Control Background".  But if the named color is a system color, it can change depending on your theme.
    Disclaimer: I don't know if color sucker or eye dropper is the "official" term for this tool. 
    Message Edited by Jeff B on 05-30-2006 10:54 AM

  • What do I need to open a connection from the Linux box to the Oracle server

    Hi all,
    I want to access oracle database from java application running on Linux.
    The database is installed on a Window 2000 machine. What do I need to install before I can open a connection from the Linux box to the Oracle server on Windows 2000 ?
    Do I need Oracle Client ?
    Thanks,
    Quoi

    Hi Quoi,
    http://myjdbc.tripod.com/basic/jdbcurl.html
    Talks abt how to write a jdbc url and the jar + config required to connect to db. Also has a sample program to connect.
    Regards
    Elango.

  • How do I keep round cornered boxes when opening CS4 to CS4

    I produce a lot of forms which have round cornered boxes within the text boxes, when opening these indesign CS4 files into CS5 the boxes lose all but one of the round corners. The only fix I can see is to manually adjust the boxes within CS5. Is there an easier way? or will an update improve this. I find this very frustrating as I only have about 700 forms produced which will all need to be fixed.
    Please help!

    I sympathise, it's exactly the problem with upgrading.  I don't think Adobe cater for the user with 1000's of files very well,
    Well, Stix, I don't think they cater to small users with thousands of files. I'm sure that if my organization was buying hundreds of licenses for the full Creative Suite, and maybe LiveCycle Server, that they might be able to cater to me. But since we're only buying 1 license of the Suite and 4 of InDesign, then the fact that I have an archive of tens of thousands documents in forty languages going back to the early 90s that have to be updated on an intermittent basis, is not really high on Adobe's list of things about which it is important to care. My file management needs, while totally critical to me (and by extension the refugees I serve), aren't going to be that important to Adobe. They don't cater to me, and I can understand this, as I am not a big revenue stream for them.
    Wow, I'm flabbergasted! who knew that I would need to do this??
    However, the fact that it seems that only the forums regulars know  these critical facts is a massive failing on Adobe's part. I fail to  understand why this stuff that we post over & over again isn't  pointed out to the users when they install ID, or when they open a file  that was created in a previous version of ID. Seems like a  mind-numbingly obvious case for one of those little checkboxes that says  "Don't show me this again." Illy seems to handle this without issue.
    my documents are of a style whereby I may need to make changes to two 
    words in a document created in Indesign from 2004, are you suggesting  
    that I need to keep all versions of Indesign for evermore and only use
    the program that created the document to open/edit? This is a very
    impractical solution.
    As Bob has already pointed out... yeah. It's impractical, but it is also a solution.
    In your shoes, I'd mention to your IT folk that your long-term IT plan should include keeping some old apps around in virtualization; that way when InDesign CS10 reflows your document created with CS6 when you just want to update a logo, you can just boot up your image of Windows 2012 End-Of-The-World-Edition without needing IT to help you out.

  • Ive just purchased lightroom 5. In LRM 4, under Photo, edit in, I have been using NIK software color efex, silver efex, DFine, viveza, etc. When I go to the menu for "edit in", I only see an option for silver efex, not the rest of the NIK software package

    How do I access all my NIK software (color fee, silver efex, define, viveza) in LRM 5 under "edit in". The options appear in LRM 4,But sinceIjust began w LRM 5, I don't see the NIK software options in the menu: Photo, edit in...? Thanks

    You will need to reinstall your Nik Plugins.

  • BI Server Access

    Hi all,
    where would i get temporary BI server access to practice config (sand box env)?
    Thanks

    Hi,
    You have to Pay you can get it from LearnSAP.com.You have to pay for there membership.Need any help
    mail me [email protected] I am a member I can get you for less.
    Regards,
    Andy

  • Round Edged boxes in rtf templates

    Hi all,
    I have been really struggling to design rtf templates for XML Publisher with round edged boxes.
    The client requirement is to have all the tables/objects that contain data to have rounded edges..Just like a flowchart box..
    I have tried using the flowchart box, but when I increase the height/width of the object, the radius of the actual round edge object increases, thus distorting the entire look of the template.
    Can anyone give me some pointers on how I can overcome this issue using rtf templates.
    I would have gladly done this as a PDF template, but for the issue with lack of support for conditional logic.
    Any help will be truly appreciated
    Thanks,
    Lavina

    Hi ,
    You can select the number format in RTF template .Double click the Form Field select
    Type :Number
    Number Format :#,##0.000
    Thanks.

  • How can I make a color box indicator transparent?

    All, I would like to make a color box, which is part of a cluster in an array, transparent programmatically.  Instead of appearing transparent, it shows up with a LARGE "T" inside the color box, with a white background.  Because it is part of a cluster within an array, it will not work to use a property node... and because I would like to programmatically change the color, having it permanenty transparent (as proposed on another discussion topic) will also not work.  Can someone please help me turn a color box transparent programmatically?
    Thanks.
    Anthony

    The problem is that arrays of clusters cannot be passed into property nodes as falkpl has previously said. The attached jpeg shows how you would programmatically break the arrays into cluster, into elements, and then manipulate that color box to a transparent one. The T within the white color box indicates transparent though. If you were to attached that to a color attribute then you would see that object disappear (well I guess not since it's transparent )
    Grant H.
    National Instruments
    LabVIEW Product Marketing Manager
    Attachments:
    color box.JPG ‏21 KB

  • Lightroom 5 What is the Color box for in the adjustment brush and filters

    Hi
    I am running Lightroom 5.6 although I think this has been around probably from 4.In the Basic Development module when I select the Adjustment brush, Radial filter or Graduated filter then below Defringe I get a box marked Color. What does this box do.

    Thanks for the quick reply. This is what I expected but it does not do it very well. For example If I have a light blue background and select 100% Blue in the Color box I would expect it to increase the blue but it does not really do this.

  • How do i create a mail box in the SMTP server thru a java program

    How do i create a mail box in the SMTP server thru a java program. If it is possible thru a java program.pls suggest a mail server compatible for the above possibility to work.
    pls help ....

    Please let me know if it is not at all possible to
    create a user account automatically thru a program
    (java) in a mail server... how does yahoo work
    then..does he manually add a user to the mail
    server...By talking to a web server not a mail server.
    >
    Is not there any mail server that will allow us to
    create mailboxes for my java program.. how do the
    other web account services work..
    As I said mail servers do have management interfaces. You need to find one and then determine what the management interface is.

  • How to get the index of framed color box control in 2 D framed color box array

    Hi,
    In project, I want to show the different status (Std By, TIP, Pass & Fail) with different color for 200 color boxes arranged in 20X10 (2 D array). When user click on any of the array item, I want to show the details, so I want the index of the item. How can I get it?
    Thanks,
    Shrinivas
    Solved!
    Go to Solution.

    Why an array? There's more than one way to skin a cat 
    See attached
    "In theory, theory and practice are the same. In practice, they’re not."
    Attachments:
    CatSkinned.vi ‏19 KB

  • Color box in a 2D Array

    Hi,
    I am a beginner in Labview , i want to color a box in a 2D Array of color boxes.  So if the user clicks on a box inside the 2D array, the box will turn into a specific color. I think i need to get the column and  row of the element that has been clicked.
    Then i want to check if the box already has been turned into another color , if not i want to turn it into a specific color ( e.g. connect 4).If it already has been turned into a specific color it wont change.
    [img]http://i42.tinypic.com/dm9v9h.jpg[/img]
    thats the color box.
    So can someone please help me with this problem.
    Thx

    Here is a quick example (not at all bullet-proof, just trying to give you an idea).
    All of the squares start white.
    If a white square is clicked, it will turn red.
    If it is already red, it will stay red.
    Hope that helps getting you started.
    Edit: I forgot one quick thing. Wire a constant of 100 to the event timeout (the hourglass in the upper left corner).
    Message Edited by Cory K on 04-02-2010 11:44 AM
    Cory K
    Attachments:
    Colors.vi ‏11 KB

Maybe you are looking for

  • Error While runing a report

    Hello, I am getting following error message when i run the report "Source selection for XCCALDATE__XCFISCLYR is incompatible for target selection " Thanks.

  • Batch Processing multiple page pdf

    Using Batch Processing in Acrobat I would like to: Extract as single pages from a multiple page pdf. I want the resulting pdfs renamed with page numbers. The first few pages of the pdf are roman numeral pages (index) then the rest of the pages would

  • 65hm167 loss of HDMI signal -- No picture

    I have a Toshiba 65HM167 DLP TV that was working in this configuration for 4 months: Uverse HD cable receiver, apple TV, Wii, Xbox, BD player  to a  Denon AVR2113ci receiver to the Toshiba I now get a blue banner witrh no signal which seems to me to

  • Run-time error -2147217843 (80040e4d)

    Hi, I've Run-time error -2147217843 (80040e4d). Does anyone know how to fix it ? Thank in adv.

  • Double-Clicking Excel 2004 Docs Won't Open Them

    Odd problem, not sure if there is a work-around: I am using Excel 2004 which seems to work perfectly otherwise. When I double-click an Excel doc (.xls), it will open Excel itself, but the document will not load. The only way I can open an Excel docum