load the Panel tui does not not on CVI2012 for Linux

We have problems with the panels that look great on Windows being difficult to read on Linux, probably because most of the fonts text and control are VAL_DIALOG_META_FONT under Windows but the CVI for Linux implementation has only NISYSTEM.

As a quick way to test different fonts in Linux I created a file of tui in the file of the uir and then used the global search and replace to change VAL_DIALOG_META_FONT to something that would look like if all goes well decent on Linux.

Problem is that works LoadPanel(0,"filename.tui",1) under WIndows but get error-46 on Linux.

Considering that LoadPanel, 0, "(filename.uir,PANEL) works very well under Linux & Windows but the fonts are very difficult to read on Linux."

Is there a mapping table somewhere magic numbers attribute VAL_FONT corresponding fonts under Windows and Linux?

It would be nice to have some guidance on default font mappings. But at the end of the day, I don't really care much fonts unless the default values are difficult to read.

I guess another complication possible is that the native file UIR CVI 8.5, but CVI 2010 for Windows did not need to "convert".  Perhaps one of the attributes in the file of tui is not valid on Linux, but it is on Windows?

Loading files TUI in Linux, it's a question we've discovered recently and he did not again to the list of known issues. I'm not 100% sure, but I think a solution to this problem would be to manually edit this file of tui and remove these attributes which generates errors. You can start with ATTR_TITLEBAR_STYLE and then look if one of the following are in the file of tui: ATTR_DS_BIND_PLOT_STYLE, ATTR_DS_BIND_POINT_STYLE, ATTR_DS_BIND_LINE_STYLE, ATTR_DS_BIND_PLOT_COLOR and delete them. Then try again to load the file of tui.

On the other hand, I think that there is a solution to your original problem: predefined fonts (VAL_DIALOG_METAFONT) seems a bit about Linux. In my view, there is a way, that a user can change the underlying font and the size of a predefined font. Under windows you can change it in the registry but under Linux, you can set an environment variable: XAPPLRESDIR that points to a directory that should contain a file named cvi, a file where you can write the font settings. Each line must be in the following format: .:. If you want settings you write persistent applications put it a "*"instead of the name of the application. "

The list of possible keys is: appFont (NIAppMetaFont), (NIMenuMetaFont) menuFont, dialogFont (NIDialogMetaFont), editorFont (NIEditorMetaFont), messageBoxFont (NIMessageBoxMetaFont).

The value must be of the following form: --

This is the only line that I have in the cvi file: *.dialogFont: adobe-helvetica-19

Tags: NI Software

Similar Questions

  • Error FSX Gold - "the graphics card does not minimum requirements for support of shader."

    I just bought FSX Gold and I have installed two of them, but when I click to open it it says "the graphics card does not meet the minimum requirements for the support of shader. This product requires a geForce3/Radeon8500 class or a better graphics card. Flight Simulator will now quit. "I went to support to see what happened and he said the need Shader 1.1 or later so I checked my Shader and he said he was Shader 2.0. you guys can tell me what's wrong.

    Details:
    CPU -  Intel (r) Core (TM) 2 CPU Quad Q6600 @ 2.40 GHz
    Speed of the CPU to 2.4 GHz Performance rated at: 5.28 GHz
    GB OF RAM - 6.0
    OS - Microsoft Windows Vista Home Premium Edition Service Pack 2 (build 6002), 64 - bit
    Video card - Intel (r) G33/G31 Express Chipset Family

    • Video RAM - 287.0 MB
    • 3D - Yes
    • Hardware T & L - No.
    • Pixel Shader Version - 2.0
    • Vertex Shader Version-2. 0a

    Version of DirectX-11, 0
    Sound Card - Realtek High Definition Audio
    Free disk space - 356.3
    DVD - ROM - HL-DT-ST DVD-RAM GH10L

    That's all. I hope you can help!

    Hi Man Com,.

    I suggest updating the video drivers from the manufacturer's Web site and make sure that direct X is enabled in the graphics card Control Panel conrtol.
    For more information, you can consult the following articles:
    Updated a hardware driver that is not working properly

    The problems of the game performance

    You can also read the following article and see if it helps.

    Solving graphic problems in Flight Simulator X

    Hope this information is useful.

  • Why the parent class does not report data for child in LVOOP class?

    Attached is a practical program that I wrote to learn about the legacy with LVOOP.

    I have the impression of OOP is a Parent class describes the type of object.  Then the children inherent description of the parent.  The child may also have additional qualities, but it still contains the description of the parent.  If a child does not have a VI bearing the same name as the parent and the parent VI will be loaded and executed.

    My questions:

    (1) why does the Parent.lvclass:Read.vi not report 'Child' in the channel indicator when the child write VI has been sent?

    2) matches the data of the child, do not at all seen by the parent company even when it has the same definition (that's the String)?  I understand that the Parent do not know anything about the unique child elements, but I think we should know about the common themes which inherited the child.

    Here is my sample code:

    These are two different sets of data. The parent class has a data set containing the string, the class of the child also has a data set containing the string, but both of these channels are separated.

    This can be made apparent, by changing the names of the channels based on their respective categories:

    What you want is for your children, class VI write to access the data of the parent class. You can do this with a simple data VI member access in VI of the child:

  • Stop loading the page function does not work

    When you try to stop loading a defective or incomplete url the browser still loads a page or load a search engine. Only one I've found to get around this undesirable feature is to press the stop loading shortened the page several times.

    The problem probably lies in the browser making the request to load TWICE (or more) instead of once. Which means that just hit the stop button once has no effect, because you stopped only one application, the other is leaving still active...

    So my question is: how to stop this annoying behavior?

    Hello

    Try Firefox Safe mode to see if the problem goes away. Safe mode is a troubleshooting mode, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open Firefox 4.0 + in Safe Mode holding the key SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • Or open the Help menu and click on the restart with the disabled... modules menu item while Firefox is running.

    Once you get the pop-up, simply select "" boot mode safe. "

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. To do this, please follow article Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems .

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. It might help others who have the same problem.

    Thank you.

  • How to uninstall when the panel control does not allow me please.

    I had taken to the repair shop and worse problem yet, they installed Avast anti virus but it stopped because of the record that I was an insured person I have avg still impossible to uninstall and re install avast? WOT I do like not p.c. also savvy pc used to system recovery?

    Thank you tim

    Hello

    (1) what is the exact error while trying to uninstall in Control Panel?

    (2) how you try to uninstall the program from the control panel?

    Check the below link that can help you in the matter of fixing. How to solve problems when you install or uninstall programs on a Windows computer

    http://support.Microsoft.com/kb/2438651

    Hope this information helps.

  • Running Vista Home Premimum Service Pack 2. Why DEP now prevents Photoshop 7 launch when it still worked before? DEP to load the program exceptions does not work according to the instructions.

    Photoshop 7.0 version worked. Since the last round of updates, now DEP is prohibiting its launch. Following the instructions online to allow certain programs to be exempted from DEP is not no longer works. Program in the list do not use DEP profile but doesn't always open.

    Hello

    You can read these articles and check if that helps.

    Data Execution Prevention: Frequently asked questions: http://windows.microsoft.com/en-us/windows-vista/data-execution-prevention-frequently-asked-questions

    Change Data Execution Prevention settings: http://windows.microsoft.com/en-us/windows-vista/change-data-execution-prevention-settings

    What is Data Execution Prevention? : http://windows.microsoft.com/en-us/windows-vista/what-is-data-execution-prevention

    Why Windows close my program? : http://windows.microsoft.com/en-us/windows-vista/why-is-windows-closing-my-program

    Thank you.

  • Why the Panel actions does not appear?

    I'm unable to view the window of the Actions Panel in a document I've already done a lot of work to.  He has worked previously - I created a layer Actions and was able to add the action script, however, when I try to open it back to change the action script that I wrote, or the F9 shortcut windows > Actions pulled up the Actions Panel.  In fact, when I try both methods, nothing happens.

    try changing the default workspace (or something different from your current one).

  • get the istaller widow does not - cannot connect for example help: photos from the camera to the windows Gallery

    problems with the pc, for example: transfer photos to pc camera, not a problem before and the messages ' windows install doesn't work do not.
    and - how do I know if I am registered with microsoft.

    Duplicate the content of the Post-
    having the same problem that below, but also not can not transfer pictures off camera to the pc and get "windows install doesn't work do not ' yet automatic updates

    can't seem to get the files without a fight and get over 'message' and when trying to install spikes "can not open format not supported or do.nt have the latest updates for windows gallery.» problem, only started recently. last photo successfully transferred a month ago

    Hello

    1 you get the error message during the installation of other programs?

    2. you have any security program installed on the computer?

    3 did you a recent software or changes to the material on the computer?

    I suggest to go through the steps from the link provided and check if it helps.

    See the issues of Windows Installer:

    http://support.Microsoft.com/kb/2438651#reso1

    What is Windows Installer?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-Windows-Installer

    See also:

    Troubleshoot camera connection

    http://Windows.Microsoft.com/en-us/Windows-Vista/Troubleshoot-camera-connection-problems

    Hope this helps and let us know if you need more assistance. We will be happy to help.

  • After upgrading to Firefox 10; hompeage won't load, does not, the bookmarks bar does not return button

    After upgrade my mac to Firefox 10 my home page does not load, the back button does not work, there is no history in the URL bar (or any Demo URL come at all than), bookmarks bar does not display unless I press CTRL and right-click, none of my favorites display the connection information stored... Help! its driving me crazy!

    I just sort this problem! I restarted with modules disabled and started allowing one by one and found it had a problem with one of them. I have now deleted add it on and all is well back. Hope this works for you too!

  • Unexpected error in the property page. The VSS service uses the system restore does not work. Error (0 x 810000202). __

    original title: "there was an unexpected error in the property page. The VSS service uses the system restore does not work. For more information, see the journal of events (0 x 810000202). __

    "There was an unexpected error in the property page. The VSS service uses the system restore does not work. For more information see log of events (0 x 810000202).

    Please try the troubleshooting below to check the status of the shadow copy Volume service

    1. click on start > all programs > Accessories > run

    Type the following text in the run window, and then click ok:

    Services.msc

    You will get the Services window.

    2. Please check service Volume shadow copy service is "started" and "automatic".

    If these services are not set to "Started" and "Automatic", please, do a right-click on the service and select "Properties".
    On the window properties, please change the startup type to automatic, and use the Start button to start the service.

    Click on apply, click ok.

    Close the Services window

    Restart the computer and check if the problem occurs again.

    If the problem persists, start your computer in safe mode and try to do a restore of the system again. Temporarily disable your anti-virus protection

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    I hope this helps
    If this post can help solve your problem, please click the 'Mark as answer"If you find it useful, mark it as useful by clicking the 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer

    My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer

    Hello

    You can access Mode safe? Repeatedly press F8 as you start? If yes you can try Control Panel - device
    Manager - graphics card - Double click on - driver tab - click on UPDATE driver - then right click
    on devices and UNINSTALL - REBOOT.

    Another method to try to get to the desktop (try in normal Windows Mode without failure)
    CTRL + ALT + DELETE and on the tab process EXPLORER.exe and COMPLETE the PROCESS on this subject - then
    on the Applications tab - lower right - new task - type in EXPLORER.exe. Safe mode is reached
    by tapping F8 as you start several times.

    First check this thread in case it is simple and if not to come back to this thread.

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/50247d5e-0ae0-446c-A1bd-11287fd1478a

    Black screen problems are extremely difficult to repair and all patch is usually on a base hit or miss.
    That there is no information on a black screen as it is on a blue screen just adds to the
    Difficulty. Often using a restore point or Startup Repair will have no effect. You can try a
    Google to see the proposed repairs, whom some have worked however these cover a wide
    field efforts.

    Here's a video of one of them.

    http://www.Google.com/search?hl=en&q=black+screen+of+death+Vista&btnG=search&AQ=f&OQ=&AQI=G1

    Here's another fix
    http://blogs.PCMag.com/SecurityWatch/2008/12/the_mysterious_black_screen_of.php

    You have a Vista disk? You can try restoring the system to it. If you do not have your system disks
    manufacturer will sell them at low prices. Or try in safe mode if you can get there.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    You can create a recovery disc or use someone even version (to do the system restore there only to)
    being bootable).

    How to create a Vista recovery disk
    http://www.Vistax64.com/tutorials/141820-create-recovery-disc.html

    ------------------------------------------------

    These require the correct Vista discs since you can not start safe mode.

    Try the Startup Repair tool-

    This tells you how to access the System Recovery Options and/or with a Vista disk
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    Try recovery options Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    -----------------------------------------------

    Here are a few Google searches where many have found different solutions:

    Vista black screen - check that a 1st
    http://www.Google.com/search?hl=en&source=HP&q=Vista+black+screen&AQ=f&OQ=&AQI=G10

    Vista black screen Solution
    http://www.Google.com/search?hl=en&q=Vista+black+screen+solution&AQ=f&OQ=&AQI

    Vista black screen Fix
    http://www.Google.com/search?hl=en&q=Vista+black+screen+fix&AQ=f&OQ=&AQI

    -----------------------------------------------

    If necessary and you can access all ordinary Windows.

    You can try an In-Place Upgrade (hopefully save programs and data) or a repair installation (if all goes well
    saves the data, and you need to reinstall the programs). Be sure to do a good backup or three.

    You can use another DVD that are not protected but you will need to copy you have the product key.

    On-site upgrade
    http://vistasupport.MVPs.org/repair_a_vista_installation_using_the_upgrade_option_of_the_vista_dvd.htm

    If nothing works, you can make a repair facility that must save the data but you will need to
    Reinstall the programs. This also requires correct Vista disks especially for OEM versions. You will be
    need to know your product Code.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    How to perform a repair for Vista Installation
    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    ---------------------------------------------------------------------------

    Another method that works sometimes: at the command prompt, type of Vista startup disk:
    (type in a single line or copy / paste a line at a time and then press enter - type no parenthesis)
    or "BOLD"
    )

    c:

    cd\

    CD c:\Windows\System32\winevt (there is a space between cd and C :)

    Ren LogsOLD Logs (there are spaces between ren and newspapers and Logsold)

    RESTART Windows

    I hope this helps.

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

  • service pack 3 error loading 'a components file does not match the verification information present in the component manifest ".

    service pack 3 error loading 'a components file does not match the verification information present in the component manifest ".

    I have SP2 with all updates, I have this error message after the failed attempt to load service pack 3.

    Hi Carl_Focus_Phone,

    ·         Is confined with Update Service Pack 3?

    ·         Did you do changes on the computer before the show?

    You can follow the steps in the article in the Microsoft Knowledge Base and check if that helps.

     

    How to troubleshoot an installation fails on Windows XP Service Pack 3

    http://support.Microsoft.com/kb/950718

    You can also see the following articles for more information:

    Steps to take before you install Windows XP Service Pack 3

    http://support.Microsoft.com/kb/950717

     

    Learn how to install Windows XP Service Pack 3 (SP3)

    http://Windows.Microsoft.com/en-us/Windows/help/learn-how-to-install-Windows-XP-Service-Pack-3-SP3

    Let us know if that helps.

  • On the computer, it does not load XP but goes to the XP start and says: NVRD32.sys file not found

    On start-up the computer, it does not load XP but goes to starting XP, and says NVRD32.sys file not found. I have to go up to xp home line manually and it load. How to fix the problem, so he starts xp automatically without entering start xp
    Thank you

    Posing for the PC model, you show that you do not know the answer, it was a software problem, but you're right, it's a Dell.
    In any case, I found the answer elsewhere, must with the boot.ini file on XP

  • When I click on Power Options in the Control Panel, it does not. How can I cope?

    When I click on Power Options in the Control Panel, it does not.   How can I cope?

    When I click on Power Options in the Control Panel, it does not.   How can I cope?

    Make a check of the system files. It's to look for corrupt files. He will try to fix it if it is found.

    http://www.Vistax64.com/tutorials/66978-system-files-SFC-command.html

    Question:

    Was there a time when the Power Options in the control panel was admissible?

    If Yes, how long?

    Would it be too long to do a system restore?

    System Restore requires you to choose a date where you did not have this problem as the restore point.

    You remember such a date?

    How the system restore...

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

  • UCR-6002: the database specified does not have the minimum requirement to load the metadata repository.

    Hi all

    I want to install a test environment with the following software products:

    WebLogic Server 10.3.6

    WebCenter Capture 11.1.1.8.0

    WebCenter Imaging 11.1.1.8.0

    BPM 11.1.1.7.0

    SOA Suite 11.1.1.7.0

    Oracle Database Enterprise Edition Release 12.1.0.2.0 12 c

    I use the remote 11.1.1.8.0 to create the database schemas.

    When RCU checks the prerequisites, it comes up with a warning as follows:

    «The database you connect to, is one newer than the supported version.» See the matrix of certification for the supported DB versions".

    If I type 'ignore' on the message box, it stops the verification process will not continue. Also, if I type "Cancel" does the same thing.

    The error message displayed in the Message box is both below:

    UCR-6002: the database specified does not have the minimum requirement to load the metadata repository.

    UCR-6080: Global check prerequisites failed - requirement of verification for the specified database

    The database that you connect is a CDB that is not supported.

    Action taken:

    1. check again on the database character set and confirmed it is set up correctly for AL32UTF8

    2. the databases are supported for WebCenter 11.1.1.8.0 + 12.1.0.1, so the database version is supported.

    Hope someone knows what's going on.

    Thanks in advance.

    Try to create a plugable (PDB) database within the CBD and then rerun

    the UCR.

    May be restricted the RCU to install MDS and other schemas FMW the

    CBD, but rather in the PDB.

    More information on PDB and CBD you can find here

    http://docs.Oracle.com/database/121/CNCPT/cdbovrvw.htm#CNCPT89235

    Hope that helps,

    Anatoli

Maybe you are looking for