Cvi for linux and gtk+

Is there any way that I can manipulate UI window settings like titlebar visible (ATTR_TITLEBAR_VISIBLE) via GTK+ or other toolkit in Linux?  Basically, I am trying to manipulate the visual attributes of the UI that are not compatible in Linux such as the titlebar visibility, minimize and maximize buttons hidden, etc...
In windows, I have used the windows SDK to create/manipulate system tray icon menus.  Perhaps there is a similar approach in Linux?
Thanks for reading,
-pete
Message Edited by pshrew on 06-02-2010 12:12 PM
Solved!
Go to Solution.

Hi Pete,
After a little more research, I have found that it is possible to modify these attributes, because CVI for Linux uses the X Window System. To do this, you would be able to get a reference to the X Window System attribute by using the function int GetPanelAttribute (int panelHandle, int
panelAttribute, void *attributeValue) with ATTR_SYSTEM_WINDOW_HANDLE for the panelAttribute. From here, you could use X Window System functions to modify properties.
Best,
John M
National Instruments
Applications Engineer

Similar Messages

  • Ini_ReadFromFile dumps core in CVI for Linux

    Hello all,
    I've been using the toolbox/inifile.h library for 3 years on CVI for Linux
    with few problems. And suddenly it won't load my ini file.
    It runs fine on Windows, I haven't updated the Linux CVI compiler (version
    10, patched), I haven't done any relevant changes to my code.
    IniText hInitFile;
    char InitPath="config.ini" ;
    hInitFile = Ini_New(0);
    if (hInitFile==NULL) return 1;
    Ini_ReadFromFile (hInitFile, IniPath)
    Crashes here with core dump:
    (gdb) bt
    #0 0x00263a4c in memcpy () from /lib/libc.so.6
    #1 0x08082e57 in Ini_ReadGeneric ()
    #2 0x00000000 in ?? ()
    Since it happens in a compiled lib, I can't do much more.
    Guillaume Dargaud
    http://www.gdargaud.net/

    Solved shortly after posting the above...
    There was a wrong entry in the ini file "=0.4" and it caused the crash...
    Guillaume Dargaud
    http://www.gdargaud.net/

  • Is CVI for linux out ?

    Hello all,
    I haven't been back here for a while... I've beenusing the beta version of CVI for Linux for the last 6 months or so, but I haven't heard anything about the final version. Has it been released yet ? A quick search didn't lead to anything recent.
    Thanks.

    Hi,
    We do have the NI LabWindows/CVI Run-Time Module for Linux. Here is a white paper that contains information on software recommendations, supported Linux distributions, etc. There is also a list of the differences between the Windows version and Linux version here that lists the exceptions where functions are not supported or behave differently.
    Jason
    Applications Engineer
    National Instruments

  • Does sccm 2012 supports ibcm for linux and unix operating systems

    folks,
    does SCCM 2012 supports linux and unix operating system for IBCM ..........as per my knowledge it dont what i have learn t through bing........

    I thought it's not supported for Linux and Unix, see also:
    http://blogs.msdn.com/b/teju_shyamsundar/archive/2014/05/23/installing-the-system-center-2012-r2-configuration-manager-client-on-linux-part-2.aspx
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Why we have separate azure java SDK for linux and windows

    I saw different links for downloading azure java SDK for linux and windows.
    What difference does it actually have when java is platform independent? Or both are same jars?

    Hi,
    Thank you for your post.
    It contains the same jar files.
    Regards,
    Mekh.

  • LabVIEW for Linux and hardware registers

    Hi all,
    I'm considering using LabVIEW for Linux in an upcoming project based around
    PC/104. As the only way to communicate to the PC/104 module inputs is via
    hardware addressing, I need to know whether it is possible to directly
    address hardware in LabVIEW for Linux. If not can you suggest a way of doing
    this? Also does LabVIEW for Linux and say RedHat make for a more stable
    system than LabVIEW for Windows and Windows 2000/XP?
    Thanks in advance.
    Regards,
    Shane Broadbent
    - remove the 'nospam' to reply by e-mail

    Hi Shane.
    I know that you can address hardware in Labview for Linux: I do it with an NI6071e,k 6602 and 6503. I don't know specifically about the PC/104, but I imagine it can also be done.
    Generally you can talk to the hardware registers using code interface nodes (CINs) in Labview. In the CIN you just use a 'write()' command. I don't think there's anything more to it than that. Creating the CINs is no trouble at all.
    Don't know about stability of Labview with Linux compared to windows, all though others tell me stability is pretty much the same.
    hope this helps and good luck!

  • CD different for Linux and Windows

    I have in hand a very strange CD. This is an (old) CD with drivers for a Samsung printer. The CD has drivers for Linux and Windows. But if I mount the CD in Linux, I see only the Linux driver and if I access the CD from Windows, only the Windows drivers are seen. How they can do that ? How can I mount in Linux the CD in order to see the content seen from Windows ?

    In Windows ( DIR D: )
    Le volume dans le lecteur D s'appelle SAMSUNG_LBP
    Le numéro de série du volume est C432-A954
    Répertoire de D:\
    28/02/2005 00:53 <REP> ACROBAT_READER
    26/10/2004 06:11 740 AUTORUN.INF
    28/02/2005 00:53 <REP> DATA
    28/02/2005 00:53 <REP> ML-1610
    28/02/2005 00:53 <REP> Manual
    09/12/2004 03:55 11 219 SETUP.DAT
    20/09/2004 07:29 270 336 SSAuto.Dll
    17/09/2004 08:03 253 952 SSEtc.dll
    22/09/2004 11:09 225 280 SSFcs.dll
    12/03/2004 05:59 1 622 016 SSRes.dll
    17/09/2004 08:04 155 648 SSTtp.dll
    26/10/2004 05:42 307 200 Setup.exe
    28/02/2005 00:54 <REP> USB
    8 fichier(s) 2 846 391 octets
    5 Rép(s) 0 octets libres
    In linux (ls -l -F /mnt/cdrom)
    total 44
    dr-xr-xr-x 22 root root 4096 Feb 28 2005 Manual/
    -r--r--r-- 1 root root 2555 Feb 28 2005 README.txt
    -r-xr-xr-x 1 root root 51 Feb 28 2005 autorun*
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 bin/
    dr-xr-xr-x 8 root root 2048 Feb 28 2005 cups/
    dr-xr-xr-x 4 root root 2048 Feb 28 2005 data/
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 help/
    -r--r--r-- 1 root root 8517 Feb 28 2005 icon.xpm
    dr-xr-xr-x 9 root root 2048 Feb 28 2005 locale/
    dr-xr-xr-x 2 root root 6144 Feb 28 2005 misc/
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 ppd/
    dr-xr-xr-x 2 root root 2048 Feb 28 2005 scripts/
    dr-xr-xr-x 4 root root 2048 Feb 28 2005 setup.data/
    -r-xr-xr-x 1 root root 6603 Feb 28 2005 setup.sh*
    ouput of isoinfo -d dev=dev/sr0 (in linux)
    CD-ROM is in ISO 9660 format
    System id: LINUX
    Volume id: SAMSUNG_LBP
    Volume set id:
    Publisher id:
    Data preparer id:
    Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
    Copyright File id:
    Abstract File id:
    Bibliographic File id:
    Volume set size is: 1
    Volume set sequence number is: 1
    Logical block size is: 2048
    Volume size is: 239152
    Joliet with UCS level 3 found.
    SUSP signatures version 1 found
    Rock Ridge signatures version 1 found
    Rock Ridge id 'RRIP_1991A'
    If I use on Windows the Windows port of cdrtools; then these tools behave as in Linux, showing me the Linux contents. In Linux I can also mount -t udf and then I see:
    total 32
    -rw-r--r-- 1 root root 32768 Feb 28 2005 Desktop DB
    -rw-r--r-- 1 root root 0 Feb 28 2005 Desktop DF
    drwxr-xr-x 1 root root 22 Feb 28 2005 Manual/
    This was for a Samsung ML-1610 B/W laser printer. This is crazy.
    @lolilolicon That explain the result when I mount -t hfs. But the difference in Linux and Windows remain mysterious. How Windows "mount" the CD? I believed it was the equivalent of mount -t iso9660 in Linux but apparently, it is not.
    Last edited by olive (2011-09-08 12:12:16)

  • Re: CVI for Linux

    I'm sure Linux is more stable than the Win 9.x OS family, but I'm not sure
    when comparing to WinNT.
    I've been developed applications under WinNT with CVI for 3 years and had to
    reboot only few times.
    Even Linux is more stable than WinNT, still linux suffers from
    incompatibality of hardwares and software technologies.
    - Where in linux you can manipulate a program with another program like you
    have in DDE in Windows ?
    - Where in linux you can share application components in your customized
    program like OLE and ActiveX in Windows ?
    - Linux doesn't support foreign languages and foreign fonts, for example I
    use hebrew and couldn't found hebrew for my RedHat platform that would be
    supported by all the hebrew web pages, in Windows you don't mee
    t this
    problem.
    - Is linux user friendly for install and maintance ... ? common...
    - When you buy any additional PCI, ISA, AGP card or some accessory like
    printer, scanner, cam. , CD, DVD etc. for your PC there's no chance you'll
    get it with drivers for LINUX so you'll need to spend hours on web to look
    for your new hardware drivers for linux if you'r lucky.
    - Try to browse to an ASP web site which was written with VisualBasic
    scripts, on linux and you'll find how much of the origianl page
    functionality is missing comparing with browsing the same page under IE
    Windows
    LINUX is stable, yes but in what price: its very very far from being a
    standard OS and so far it seems that the market including software, hardware
    and PC accessories companies still invests their mayor budgets on windows
    and less on linux.

    This isn't even worth responding to, but I can't help it.
    From someone who has great experience with many OSs and not swayed by marketing hype, lemming herding, or other cult issues. I can confidently say the following:
    A simple analytic approach to OS determination reveals that Linux (& other Unix), Win-x, VxWorks, RTE, OSx, etc. each have specific application targets. Determine if your application requires mass market appeal for gaming & other toys, or be it industrial, or mission critical applications. Always choose the right tool. If you only have a hammer...step aside.
    As for where the questioned services are provided...study the conceptual origin of DDE, Active X, etc. Unix has it, and much more. Don't get me started on the interprocess limitations of Windows! The
    re's more to be held for those who have seen the possibilities.
    Any comparison among OSs for 'the best' is like comparing apples, oranges, etc. Even a fruit stand attendent is more intelligent then to attempt such a feat! If you want a mango, buy a mango. But don't try to prove that it's better than any other.

  • FormsCentral PDFs not working for Linux and Unix users

    I recently created a PDF (using Indesign > Acrobat IX Pro > Formscentral [AFC]) that includes radio buttons, form fields, linked videos set to play in the PDF once clicked and (after running through AFC) a submit button.
    The form has been distributed and we have already had hundreds of successful responses collected in the AFC site, all is working well there.
    One major problem we are having is that we have a lot of Linux/Unix users and the response from them is that they can't activate the videos, the form fields are out of kilter alignmentwise and the submit button does not work. Even when using the proper Adobe Acrobat Reader (v9, for example).
    Is the Adobe development team aware of problems such as these for Linux/Unix platforms and is there a suggested fix that they know of?
    The link to the actual file is here: http://cms.iopscience.iop.org/alfresco/d/d/workspace/SpacesStore/b5a48eac-8642-11e2-8cf8-e 50acbc9fd86/NJP-Video-Abstracts-Competition-2013.pdf
    Thanks in advance

    Hi Jesse,
    can you email me ([email protected]) the original PDF (before you imported it in FormsCentral)? Also, I'm curious about the format of the video in the PDF. Does the video in the PDF worked in Linux/Unix before going through the FormsCentral import/export?
    When I look at your PDF on my Red Hat Entrprise Linux 6.0 system with Reader 9.5.4 it does look fine (location of the fields) but the video generate an error (which I'm still investigating). I have not yet try the submit button on your form (as I don't want to submit bad data to you) but I seem to have an issue with the submit button on other PDF forms I generated (when I try to submit from a linux machine). Still investigating that as well.
    Gen

  • Detect memory leak in JNI so files for linux and Solaris

    I have to find the memory leaks in the JNI for solaris and linux but the issue is
    i need to find the leaks in the so files.I have solved the issues of leaks using Purify
    on windows but not getting appropriate support for linux. Any pointers to tools will help.I tried Valgrind on linux but it is not giving me the exact location of leak as in purify and also the support for purify is for 32 bit only.Valgrind is not showing any functions in .so files.JNI is not supported in Purify for Solaris? Please Help.

    amol28 wrote:
    I have to find the memory leaks in the JNI for solaris and linux but the issue is
    i need to find the leaks in the so files.I have solved the issues of leaks using Purify
    on windows but not getting appropriate support for linux. Any pointers to tools will help.I tried Valgrind on linux but it is not giving me the exact location of leak as in purify and also the support for purify is for 32 bit only.Valgrind is not showing any functions in .so files.JNI is not supported in Purify for Solaris? Please Help.If you have written the JNI, the JNI itself (java calls, methods, etc) to be OS agnostic then it shouldn't matter. In that case you check the windows code (not jni), the linux code (not jni) and the jni code itself independent of each other.
    If you haven't made the JNI OS agnostic the question would be why not?

  • Site SSL works on Chrome, Safari, and FF for Linux and OS-X, but not FF for Windows 7 (or any Android browser)

    I am setting up a website with SSL: https://coalitionportelgin.ca The SSL connection works (and intermediate certificates are retrieved) in Chrome on Linux, OS-X, and Windows 7; ChromeOS; Firefox (18.0) on OS-X and Linux; and Safari on OS-X, iOS, and Windows.
    However, I am still getting connection errors on Firefox 18.0 on Windows 7 and on all Android browsers, with "This Connection is Untrusted...because no issuer chain was provided."
    This diagnostic tool shows the certificate chain is being pulled, but still reports "Unable to get the local issuer of the certificate. The issuer of a locally looked up certificate could not be found."
    http://www.networking4all.com/en/support/tools/site+check/report/?fqdn=coalitionportelgin.ca&protocol=https
    Intermediate certificate is installed:
    $ ls /etc/ssl/certs |grep GandiStandardSSLCA.pem
    GandiStandardSSLCA.pem
    And it is being pointed to:
    $ grep -i -r "SSLCertificateChainFile" /etc/apache2/
    /etc/apache2/sites-available/000-coalitionportelgin.ca-ssl: SSLCertificateChainFile /etc/ssl/certs/GandiStandardSSLCA.pem
    /etc/apache2/sites-enabled/000-coalitionportelgin.ca-ssl: SSLCertificateChainFile /etc/ssl/certs/GandiStandardSSLCA.pem
    /etc/apache2/httpd.conf: SSLCertificateChainFile /etc/ssl/certs/GandiStandardSSLCA.pem
    For good measure, the intermediate and root certificates have also been appended to the server certificate.
    I have followed all steps indicated by the cert provider, as well as other sources, and have spent hours troubleshooting this. I don't see anything more to be done. Is this a problem of server configuration (and if so, what?) or is this a problem that I can't do anything about?

    Try to ask advice about web development at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • Nigpib-linux-0.6 GPIB software driver for Linux and PXI GPIB board

    My I use nigpib-linux-0.6 GPIB software driver for Linux in a Compact PCI system running linux and equipped with your PXI GPIB board ?
    Thanks.
    Paolo Santinelli.
    [email protected]

    If you alter the device ID of the device from c801 to c821 within the driver module, you should be able to use the driver with the PXI board.

  • Zenworks for Linux and SLES 9.0

    Any idea when Zenworks for Linux will work on SLES 9.0?
    Thanks
    Ed

    > On Mon, 09 Aug 2004 16:15:37 GMT, ed wrote:
    >
    > > Any idea when Zenworks for Linux will work on SLES 9.0?
    >
    > my personal guess.... oes / sp1 for ZLM 6.5
    >
    > but let me ask...
    Any news on this topic?
    I already have a SLES 9 machine up and running - waiting for
    a working ZenWorks.
    Greetings.
    Marcel Ritter
    > Marcus Breiden
    >
    > Please change -- to - to mail me.
    > The content of this mail is my private and personal opinion.
    > http://www.edu-magic.net

  • Is labview same for linux and windows?

    hi,
    Right now, i am using labview 6.1 and 7.1 windows version. can i use the same windows version for linux  also?

    You need to get the Linux version in order to run LV on Linux. You can open and run the VIs you save in Windows in the Linux version and vice-versa, but some things are Windows-specific and will not work (for instance ActiveX, .net, toolkits which are only supported on Windows, etc.). Also, when you open your VI in Linux, LV will tell you it was changed, because the compiled code is saved as part of the VI. The compiled code for Windows and Linux is different, so when you open a Windows VI in Linux, it is recompiled.
    You might wish to do a search for "Linux" to see more specific details.
    Try to take over the world!

  • LabVIEW for Linux and DB2 Database

    I am trying to write an application in LabVIEW under Linux that will
    take all my data and dump it into DB2 database. I was going to use the
    SQL Toolkit that National Instruments supply but they dont have a
    version for Linux. Does any one knows a way around this problem to
    communicate with database from LabVIEW in Linux. Thanks a lot!
    Arkadiy

    I did not implement it yet, but made tests which let me think that the
    system is absolutly easy to implement:
    Acquisition system (AS, Windows) creates data and sends it to Database
    system (DS, SGI IRIX).
    AS: Labview5.1, Internet-Toolkit (I think this is on Linux as well), but
    not SQL-toolkit (to exansive for my needs).
    DS: Usual Unix-System. MySQL Server running, database for acquired data,
    User acount for AS.
    AS sends a data-file via ftp to DS, connects via telnet to DS and runs a
    small script to insert the datafile into the database.
    Seems complicated, but in fact is very easy to implement. I will look if
    I can find some of my test files, if that helps.
    Greetings, Gilbert
    P.S.: If you go for this solution, I will be interested if and how it
    works.
    Ar
    kadiy wrote:
    > I am trying to write an application in LabVIEW under Linux that will
    > take all my data and dump it into DB2 database. I was going to use the
    > SQL Toolkit that National Instruments supply but they dont have a
    > version for Linux. Does any one knows a way around this problem to
    > communicate with database from LabVIEW in Linux. Thanks a lot!
    >
    > Arkadiy

Maybe you are looking for

  • PACKAGE

    Dear all, 1) Can anyone tell me how to import all java packages like java.util , java.io in a single import statement. 2) If i want to find a perticular .class file from the all packages of java , how can I achieve this? With Regards. SUJOY

  • Save As Problem

    Acrobat_9_Standard with Windows 7; unable to save to formats other than PDF; the Save As only allows to save as PDF file; want to convert or save file as a TIFF file; Help, please

  • Panel sizing issues! IT'S TOO BIG FOR IT'S BOOTS!!!!!

    Hi there, I have a Panel which I make the client of a ScrollPane. The ScrollPane is added onto a container. This is all fine. My challenge is that I have about eighteen components (labels - containing pictures, text areas, etc) on the one panel. The

  • A box pops up and says the url is not valid and will not open. What do I do?

    I'm trying to enter the billpayer section of my credit union website and a box pops up saying the url is not valid and will not open. What do I do?

  • I cannot change any user account icons

    I cannot change any user account icons. Under the Default icons it says "No Items". Any new users are set up with a tennis ball with no other options. In the initial set up, there were a lot of choices. Now they're gone. It there a missing file?