Adapt the size of string constants/indicators with the resolution of the screen

Hello,
I al currently working with Labview 2009. I have designed a VI with a resolution 1280x800. When I switch to a higger resolution, my string indicators becomes bigger but the police of the strings stays the same.. It is the same with Texts directly written on the front panel.. Any suggestions?
Thanks a lot,
Kastillio

Hello,
Please take a look on the link below:
http://digital.ni.com/public.nsf/allkb/048C31D73E8EC91286256E440063E1BB?OpenDocument
Regards
Luciano Borges
National Instruments Brazil
Luciano Borges
R&D Engineer
Pirelli Brazil

Similar Messages

  • Hi can some one please help my screen size has changed its self  and is now larger than the screen can someone please let me know if this is a bug? if so how do i fix this? or am i just a nonce? if so how do i resolve this thanks in advance.

    sorry Q is in the tittle having big issues with my screen so its hard to use

    Apple menu -> System Preferences -> Displays
    Apple menu -> System Preferences -> Universal Access
    are both places where screen size may change inadvertantly.  Use higher resolutions, but lower screen zoom.

  • Layout with different resolutions

    Hallo and good morning!
    Once again I need some advice:
    I have a program that is running on different machines with different resolutions.
    Is it possible to avoid, that the layout is paning all around?
    Best regards
    Hilby
    Solved!
    Go to Solution.

    Hi Hilby,
    No... that is currently a limitation of the layouts, where we try to adapt to each screen, but the objects and the layout may not fit into a different aspect ratio with a different number of pixels.
    The aspect ratio is the most important, followed by the total resolution of the screen.
    Some more information on aspect ratios is below.
    In summary, DASYLab is unable to completely adapt the "Screen" layout for evey monitor size and resolution. If you want to have a fixed layout that does not completely occupy some monitors, then consider using a fixed size, like A4 or A3.
    If you make something on a big monitor, 1600x1200 for example, and move it to a wide screen monitor,, 1600x900.
    From my friends at Wikipedia
    With computer displays, aspect ratios wider than 4:3 are also called widescreen. Widescreen computer displays were previously typically of 16:10 aspect ratio, now they are shifting to 16:9.
    Until about 2003, most computer monitors had a 4:3 aspect ratio and some had 5:4. Between 2003 and 2006, monitors with 16:9 and mostly 16:10 (8:5) aspect ratios became commonly available
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

  • What is the difference between String Constant and Empty String Constant

    What is the difference between string constant which does not contain any value and the Empty string constant?
    While testing a VI which contain a normal string constant in VI analyzer, it gives error to change string constant with the empty string constant?
    Please Reply
    prabhakant
    Regards
    Prabhakant Patil

    Readability.
    Functionally, they are the same. From a coding standpoint, the Empty String Constant is unambiguous.
    It is empty and will always be; good for initialization. Also, because you can not type a value into and Empty String Constant, someone would need to conciously replace it to set a 'default' value that is something other than NULL.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String

    In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String , for executing the Stored Procedure with Current date as the input .

    Hi Srinath,
    The below blog might be useful
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/06/executing-stored-procedure-from-sender-adapter-in-sap-pi-71
    PI/XI: Sender JDBC adapter for Oracle stored procedures in 5 days
    regards,
    Harish

  • What is the max size of a zip file with the JDK1.5 ?

    Hello everybody,
    I'm a french student and for a project, I need to create a zip file, but I don't know in advance the number and the size of files to include in my zip.
    I wish to know if someone have the answer to my question : what is the max size of a zip file with the JDK1.5 ? I believe that with the JDK1.3, the limit size of a zip was about 2Go, wasn't ?
    Thank you for all answer !
    Good day !
    PS : sorry for my very poor english ;-)

    Here is all I have found for the moment :
    ...Okay, what about my suggestion of creating your own 10GB file?
    Try this:import java.io.File;
    import java.io.RandomAccessFile;
    import java.nio.ByteBuffer;
    import java.nio.channels.FileChannel;
    import java.util.Random;
    class Main {
        public static void main(String[] args) {
            long start = System.currentTimeMillis();
            int mbs = 1024;
            writeFile("E:/Temp/data/1GB.dat", mbs);
            long end = System.currentTimeMillis();
            System.out.println("Done writing "+mbs+" MB's to disk in "+
                    ((end-start)/1000)+" seconds.");
        private static void writeFile(String fileName, int numMegaBytes) {
            try {
                int numBytes = numMegaBytes*1024*1024;
                File file = new File(fileName);
                FileChannel rwChannel =
                        new RandomAccessFile(file, "rw").getChannel();
                ByteBuffer buffer = rwChannel.map(
                        FileChannel.MapMode.READ_WRITE, 0, numBytes);
                Random rand = new Random();
                for(int i = 1; i <= numMegaBytes; i++) {
                    for(int j = 1; j <= 1024; j++) {
                        byte[] bytes = new byte[1024];
                        rand.nextBytes(bytes);
                        buffer.put(bytes);
                rwChannel.close();
            } catch(Exception e) {
                e.printStackTrace();
    }On my machine it took me 43 seconds to create a 1GB file, so it shouldn't take too long to create your own 10GB. Then try zipping that file.
    Good luck.

  • How to export string in CDATA with the jaxb xml writer?

    How to export string in CDATA with the jaxb xml writer?
    It read CDATA no problem but it is lost on write.

    Found it:
    ### THIS WORKS WITH SUN JAXB REFERENCE IMPLEMENTATION. ###
    (Not tested with any other)
    In the xsd, you must create a type for your string-like element.
    Then associate a data type converter class to this new type, which will produce CDATA tags.
    Then you must set a custom characterEscapeHandler to avoid the default xml escaping in order to preserve the previously produced CDATA tag.
    Good luck.
    -----type converter-----
    import javax.xml.bind.DatatypeConverter;
    public class ExpressionConverter {
         * Convert an expression from an XML file into an internal representation. JAXB will
         * probably have already stripped off the CDATA encapsulation. As a result, this method
         * simply invokes the JAXB type conversion for strings but does not take any other action.
         * @param text an XML-compliant expression
         * @return a pure string expression
         public static String parse(String text) {
              String result = DatatypeConverter.parseString(text);
              return result;
         * Convert an expression from its internal representation to an XML-compliant version.
         * This method will simply surround the string in a CDATA block and return the result.
         * @param text a pure string expression
         * @return the expression encapsulated within a CDATA block
         public static String print(String text) {
              StringBuffer sb = new StringBuffer(text.length() + 20); //should add the length of the CDATA tags + 8 EOLs to be safe
              sb.append("<![CDATA[");
              sb.append(wrapLines(text, 80));
              sb.append("]]>");
              return DatatypeConverter.printString(sb.toString());
         * Provides line-wrapping for long text strings. EOL indicators are inserted at
         * word boundaries once a specified line-length has been exceeded.
         * @param text the string to be wrapped
         * @param lineLength the maximum number of characters that should be included in a single line
         * @return the new string with appropriate EOL insertions
         private static String wrapLines(String text, int lineLength) {
              //wrap logic, watchout for quoted strings!!!!
              return text;
    ------in caller----
    Marshaller writer = ......
    writer.setProperty("com.sun.xml.bind.characterEscapeHandler", new NoCharacterEscapeHandler());
    -----escaper-----
    import java.io.IOException;
    import java.io.Writer;
    import com.sun.xml.bind.marshaller.CharacterEscapeHandler;
    public class NoCharacterEscapeHandler implements CharacterEscapeHandler {
         * Escape characters inside the buffer and send the output to the writer.
         * @param buf buffer of characters to be encoded
         * @param start the index position of the first character that should be encoded
         * @param len the number of characters that should be encoded
         * @param isAttValue true, if the buffer represents an XML tag attribute
         * @param out the output stream
         * @throws IOException if the writing process fails
         public void escape(char[] buf, int start, int len, boolean isAttValue, Writer out) throws IOException {
              for (int i = start; i < start + len; i++) {
                   char ch = buf;
                   if (isAttValue) {
                        // isAttValue is set to true when the marshaller is processing
                        // attribute values. Inside attribute values, there are more
                        // things you need to escape, usually.
                        if (ch == '&') {
                             out.write("&");
                        } else if (ch == '>') {
                             out.write(">");
                        } else if (ch == '<') {
                             out.write("<");
                        } else if (ch == '"') {
                             out.write(""");
                        } else if (ch == '\'') {
                             out.write("&apos;");
                        } else if (ch > 0x7F) {
                             // escape everything above ASCII to &#xXXXX;
                             out.write("&#x");
                             out.write(Integer.toHexString(ch));
                             out.write(";");
                        } else {
                             out.write(ch);
                   } else {
                        out.write(ch);
              return;

  • Richt Click Mouse with user32.dll and String Constant for Escape Key

    Hi, could some one provide the input parameters to use with Mouse_Event function in user32.dll to Right Click the Mouse?   Also, what is the string constant to send if one want to type the Escape Key (Esc)?  
    I have searched this forrum but only find the parameters for Left Mouse Click.  Thanks for any help.

    Hi,
    The mouse_event function has been superseded by the sendinput command.  To learn more about the function calls with user32.dll, have a look at the msdn.com website.  The user32.dll website is shown here.  The syntax for the mouse_event function is shown below:
    Syntax
    VOID mouse_event(      
        DWORD dwFlags,
        DWORD dx,
        DWORD dy,
        DWORD dwData,
        ULONG_PTR dwExtraInfo
    );I hope this helps,
    Regards,
    Nadim
    Applications Engineering
    National Instruments

  • I have one of the old macbooks and wish to hook it up to my tv. do i need a mini dvi to hdmi adapter plus a 3 rca phono lead with a jack for the sound. please help as im useless at this stuff. cheers

    i have one of the old macbooks and wish to hook it up to my tv. do i need a mini dvi to hdmi adapter plus a 3 rca phono lead with a jack for the sound. please help as im useless at this stuff. cheers

    First we need to know which one of the 9 different models of MacBook you have. To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info (and then System Report if you’re running 10.7 Lion). When System Profiler comes up check the Model Identifier and post it back here.
    The Late 2008 model 5,1 Aluminum Unibody and the Late 2009 model 6,1 and Mid 2010 model 7,1 White Unibody have a Mini DisplayPort. The Early 2006 model 1,1 through Early 2008 model 4,1s plus the Early and Mid 2009 model 5,2s have Mini-DVI ports. Each would take a different adapter to connect with the TV.

  • When I burn my imovie I get the IDVD screen with a thumb size video playing in the corner of the screen without audio - weird

    When I burn my imovie I get the IDVD screen with a thumb size video playing in the corner of the screen without audio - weird

    You can find the serial number either in About this Mc in the Menu bar under the , or it should be on a sticker under the foot of the machine.
    If you have the install discs, try booting from them, holding down the c key and then using Disk Utility to check the drive. 
    You can also boot into Safe mode
    To start up into Safe Mode (to "Safe Boot"), do this:
       1. Be sure the computer is shut down.
       2. Press the power button.
       3. Immediately after you hear the startup tone, press and hold the Shift key.
          Tip: The Shift key should be held as soon as possible after the startup tone but not before.
       4. Release the Shift key when you see the gray Apple and progress indicator (looks like a spinning gear).
    During the startup in Mac OS X 10.2 through 10.3.9, you will see "Safe Boot" on the Mac OS X startup screen.
    During the startup in Mac OS X 10.4 or later, you will see "Safe Boot" on the login window, which appears even if you normally log in automatically.
    Please post back with results,
    To leave Safe Mode in any version of Mac OS X, restart the computer normally, without holding any keys during startup.

  • I Mac (intel based) with OSx 10.6.8, screen shows blur / hazy rectangular patch in the middle. It was small earlier but is growing in size now. How to get rid of it?

    My iMac (intel based) all aluminum, OSx 10.6.8, 2.5 GHz Processor, bought about 6 months ago. It was working fine till now. Last few days a hazy blur patch appears in the center of the screen. It's growing with each passing day. How can I get rid of it? Pl help me to understand the problem and the right solutio.
    Thanks in advance.

    Did you buy this from an individual, retail computer business or Apple reseller?
    Do you have or did you get any type of warranty?
    Before I make an assumption that there is something wrong with the LCD screen.
    Both sides of the iMac's protective glass may just need cleaning.
    The protective glass on your iMac is held on by strong magnets.
    Power down and unplug the iMac.
    You need two small suction cups to remove the glass from the iMac.
    These suction cups maybe able to be found in hardware store or home improvement store.
    These suction cups are of the type that can be used on window panes to hold small ornaments or hanging items attached to the window glass.
    Place the suction cups at top right and left sides of the glass, make strong suction with the cups and slowly pull the glass forward toward you.
    Once you have the top loose, grab the top opposite sides of the glass and pull the rest of the glass panel away from all of the magnets.
    Place the glass on something soft like a soft heavy terry towel.
    To clean the glass, use a non-ammonia type glass cleaner with a non-abrasive cloth.
    A fairly decent size micro fiber cloth will work fine.
    Throughly clean both sides of the glass, and replace the glass by putting the suction cups back , line up the bottom of the glass and attach the bottom of the glass, first.
    Then slowly move the glass panel inwards holding the suction cups and get the glass close to the top and allow it to "snap" in place.
    Restart the iMac and see if the blurriest went away.
    If it didn't, then you may have to bring in your iMac to an Apple store or authorized Apple service center for servicing or a replacement LCD panel.
    Depending on how much you paid for this iMac, get an estimate for repair.
    It may cost more than you paid,for the iMac
    You may have to consider purchasing another computer.

  • How to set the screen size with nested Iview screen

    Can someone show me how to set the screen size with nested IView  screen.
    at the moment i only try it with trial and error untill it looks somewhat close. Is there a property in VC to set the size for Height and width.
    The same question is for the form. the form elements inside the form is easy but the actual form is still a challenge.

    Hi,
    Yes you are correct ,Still the Form and iview are not able to change thier Layout Structure using a Propery.
    it is available with VC7.1
    Govindu

  • The font size in the menu bar is too small (unreadable). How can I increase font size. I have a new Samsung PC with high resolution screen.

    Hi the fnt size in the menu bar is too small (unreadable). How can I increase the font size. I have a new Samsung PC with high resolution screen.

    You must mean Photoshop Elements 11, not Photoshop.
    There is no ability to change the size of the menu font in PSE 11.
    note to mod:
    Please move to the Photoshop Elements forum.

  • The Mystery of the Duplicating Photos with Varying resolutions and Sizes by Sony Z1 Compact

    about the duplicating photos with varying resolutions and Sizes problem... I have a band-aid fix to this without deleting everything in your  phone. What you do is to find time to actually MANUALLY DELETE the extra photos. Don't delete it by Taping on the Album app and deleting everything on the home photos.
    Instead tap the album then on the UPPER LEFT CORNER (If you've updated the albums) tap the 3 bars beside the album icon to access the album menu, then tap the FOLDERS choice.
    You should see alot of folders with Thumbnails named with numbers and different resolutions. Delete all the folders labeled as Thumbnails or cache. *note that you cannot delete whole folders but the folder gets deleted automatically after all the contents inside it is deleted
    Afterwards, go to your phone's settings->App-> Album
    Then tap the Clear Data button
    After that restart your phone.
    This actually "fixes" the problem for a while but usually after a few restarts or Phone charge the folders comeback and you have to redo the whole process again. But the folders that are made becomes fewer than the 1st occurrence of this problem and deleting the photos shouldn't take as long as the 1st.
    Honestly i think this is definitely an Application bug and should be fixed by Sony, since you know its their built in app for Multimedia

    yea that also helps since it's a bug caused by the new update. I'm just waiting for Sony to fix the bug, i don't really mind deleting the thumbnails

  • Lifetime and behavior of the String Constant Pool

    If you 'inline' a String constant in Java, I'm aware in the VM spec that it says this String is put in the constant pool.
    What is the lifetime of the constant pool and what is it tied to? Is there one constant pool per Class, per Class instance, or per VM?
    If an instance is GC'd, do it's constants previously moved to the constant pool get destroyed, or do they live on until I create another instance of that Class?
    Thanks, Kevin

    Is the constant pool created at compile time and written into the Class file?Yes.
    Each class has it's own constant pool which contains constant values and references to other classes and fields.
    It is created a compile time.
    A class (definition) is loaded by a classloader at runtime.
    In theory you could have the same class loaded twice by different classloaders and each would have a copy of the class definition.
    As far as I know, a class definition can only be removed from memory by nulling/garbage collecting the classloader that loaded it.
    regards,
    Owen

Maybe you are looking for