3D Graph Render Window Programmat​ically

Hello Guys,
you know it is possible to right click on a 3D picture graph object in run-time and get a new movable window with "Render Window". I would like to be able to open directly that window instead of the front panel picture control.
Actually I have a 2D graph which allows me to see a basic map, I enter a formula for Z(X,Y) and I want to optionnaly show the 3D result. The X,Y plane is more important than the 3D and the XY graph is more efficient, so I don't want the 3D all the time. Actually it works, I just change the Visible property value True/False and it's okay, but the render window is more efficient, the one on the front panel is a bit slow with mouse dragging...
Do you know if there is any property or method to open, close this render window programmatically?
By the way, I would like to know if it is possible to manage "Run-Time Shortcut Menu" for any front panel control, as it is possible with VI Menu bar with event structure. There is a reference constant for the menu bar. I don't find the menu reference for a control.
Thanks for reading,
Jimmy

Thanks Darin,
it's what I'm looking for but I'm not using the same picture control so the idea is quite different. Attached some screenshots to show what I'm using exactly. If you have any idea how to open that Render Window programmatically, that would be really nice.
Regards,
Jimmy
Attachments:
Find.png ‏88 KB
Run-Time Menu.png ‏83 KB
Diagram.png ‏73 KB

Similar Messages

  • 3D Graph Render Window Programmatically

    Hello!
    does anybody know how to open the "Render window" of a 3D graph programmatically?
    Thanks
    I ask my question for the second time because nobody replied the first time, maybe it was not clear.

    Thanks Darin,
    it's what I'm looking for but I'm not using the same picture control so the idea is quite different. Attached some screenshots to show what I'm using exactly. If you have any idea how to open that Render Window programmatically, that would be really nice.
    Regards,
    Jimmy
    Attachments:
    Find.png ‏88 KB
    Run-Time Menu.png ‏83 KB
    Diagram.png ‏73 KB

  • Render Window Programatically, is it possible?

    Hi all, i am trying to use the 64 bit 3d Graph Render window to take advantage of hardware acceleration.  I would however like to call the render window programatically.  Does anyone know of a way to do this?
    thanks!
    Dave

    Saying a bit more about what that render window is would certainly help! Is it an ActiveX component, or a .Net Control? Or maybe some DLL? I assume you don't mean the LabIVEW 3D Picture Control, since controlling that programmatically is really all there is about this control. 
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Window title and borders for Render Window (3D Picture Control)

    Hi all,
    some more questions on the 3D picture control.
    I use the external render window, because in the solarsystem.vi demo, the 3d picture control appears to be very slow. The render window is much faster there. (I haven't tried it for my application though.)
    I'd like to display a full screen 3D animation. How the hell do I get rid of the window title bar (I can set it to empty, but the bar itself remains), and the borders of the render window?
    Regards
    Matthias

    The update speed of the solarsystem example is 2 ms (in the timeout event). This would result in 500 updates per second, witch is totally redundant. Put it on 33 ms, and you'll still get smooth updates, and much better performance! No monitor will update 500 times a second, and your eye can only see 25-30 frames per second anyway.
    With this, you could probably use the normal 3d control (indicator actually). The window doesn't have any way to remove the title bar.
    (You can do some things with window API's, but removing the titlebar is only possible by creating a new class, a new window, and then it would be impossible to tell LabVIEW to use this window...)
    If you'd make the render window full screen, how would you close your application? There is no way (or I'm missing it) to get events back from the render window.
    Regards,
    Wiebe.

  • Minimize teststand window programmatically?

    How do I get teststand to minimize it's execution window programmatically within a sequence step? How do I mess with any of the window propertys like making it always on top, maximizing, floating, etc...

    Hi,
    Are you talking about the sequence editor? To do this you need to use the Windows API to perform functions on windows. You can call into the User32.lib and call functions such as CloseWindow (minimize) to manipulate the Windows on the screen. Not sure how you would get about minimizing an execution window inside the parent sequence editor window, but I would think it should be possible. Consult MSDN for more information.
    Bob

  • Send control image programmat​ically to clipboard

    Hi all
    The right click option allows one to copy or export simplified image to clipboard.
    Programmatically, "export simplified image "is not possible.
    Using "invoke node", it is posible to save in a file as jpg/bmp/pmg.
    Does somebody has a vi to copy graph control image programmatically to clipboard as jpg or emf?
    thanks
    Alipio
    "Qod natura non dat, Salmantica non praestat"

    Hello,
    I have needed to programmatically copy image data to the clipboard too. In the past I have used George's toolset. However with Labview 8.5, you can do it. Attached is a snippet that shows how you can use the picture methods to export to either the clipboard or a file. Can't do it in either LV8, or LV8.2. Sad.
    Attachments:
    copy to clipboard test.vi ‏35 KB

  • How to change the text in the legend of a graph programmat​ically in labview

    I have many graphs in one plot and want to show the legend the name of the graph (i.e. the filename). How do I change the text in the legend programmatically?

    Create a property node for your graph. Use the property node "Active Plot" to define which plot (or line) you want to rename. Then write the new legend label to the property node "Plot.Name". See attached.
    Tim
    Attachments:
    legend.vi ‏12 KB

  • Programmat​ically changing the TCP/IP address of Windows Vista / 7 / 8

    Hi there!
    I'm pretty new to LabVIEW (started 2 months ago) and still have a long way ahead of me, so please forgive me if anything that I ask is too basic.
    I'm trying to change the IP properties of the PC via LabVIEW for some bigger software I'm working on.
    I can easily do it in Windows XP using the System Exec function to call cmd.exe and then use netsh commands, as previously explained for example here:
    https://forums.ni.com/t5/LabVIEW/Programmatically-​changing-the-IP-address-of-Win-XP/m-p/410533/highl​...
    https://forums.ni.com/t5/LabVIEW/Change-IP-number-​and-Subnet-mask-with-LabView/m-p/407536/highlight/​...
    http://forums.ni.com/t5/LabVIEW/How-to-change-the-​TCP-IP-settings-of-the-LAN-connection-from-LV/m-p/​...
    http://forums.ni.com/t5/LabVIEW/Change-the-compute​r-IP-address-in-LabVIEW/m-p/167481?query.id=108803​... ...
    But then, since I want to run my software in Windows 7 (& by extension to any Windows OS), I have a problem: netsh asks for elevated rights.
    So, the next problem is: how do I run cmd.exe (or any other programm?, by extension) as administrator (from LabVIEW)?. Note that I'm using an account with admin rights. But I would prefer not having to disable the User Account Control configuration, and I don't want to force the user to any interaction (clicking in pop-ups, or right-clicking in anything), I want it to be as automatized as possible.
    I did a bit of research and couldn't find anyway to do it, neither any command to run with cmd, so the two similar solutions that came to my mind are very rudimentary and kind of dirty:
    Use DLLs to make LabVIEW press the keys necessary to open cmd running as admin via key shortcuts (using a variation of https://decibel.ni.com/content/docs/DOC-29563 and the key shortcuts from here: http://www.howtogeek.com/howto/windows-vista/run-a​-command-as-administrator-from-the-windows-vista-r​...). Here, I open the Window menu (with LWIN), properly writes "cmd", and then uses CTRL+SHIFT+ENTER ok... but then the User Account Control appears and LabView keeps doing the commands (I want ALT+Y or LEFT & then ENTER)... without affecting to the UAC! If I make LabVIEW wait a bit and manually close the UAC I succesfully have the command prompt... but LabVIEW is still incapable of write the text that I'm giving it to him (the netsh commands). LabVIEW runs the software, but it's like the UAC & the command prompt are running in a higher? level and are not affected by LV. If I do the same over a .txt I succesfuly have the intended text. Any ideas about this?
    Create a link to cmd.exe and change the properties to "Run as administrator", then use System Exec to call the link, expecting to open a command prompt with elevated rights, and then write the netsh commands either with DLLs (that might not work according to my first solution) or using the "standard input" of System Exec? (not sure if this is possible). But then System Exec gives me an error (code 2) when trying to execute the .lnk and so the command prompt does not open. The error code stands for "Error 2 occurred at an unidentified location. Possible reason(s): LabVIEW: Memory is full." Any idea about how to solve this?
    The conclusion is that I'm stuck with two possible solutions none of them working.
    Maybe there's a more simple solution that I didn't think about?
    Solutions to these problems?
    Any different proposals?
    Thanks in advance for any tip or help!
    Note: I titled the thread as Windows Vista, 7 & 8 since I assume all of them asks for admin rights when changing IPs. In case there are other people with the same problem, altough right now I'm only using XP & 7.
    Alejandro Asensio, CLAD

    First question: Why do you have to change OS properties via a custom application? I know such requirements can exist (sigh...) but nevertheless it seems a little bit weird to me ;-)
    OK, now an idea:
    Run cmd.exe via task scheduler. Here is a how to do it: http://maximumpcguides.com/windows-vista/run-a-pro​gram-with-administrative-privileges-without-uac-pr​...

  • Clearing Charts and Graphs Programmat​ically

    I must be overlooking something simple because it seems that clearing charts
    programmatically would be such a common thing, but where then is the
    attribute to do this?

    Simple indeed. Thanks Greg.
    "Greg McKaskle" wrote in message
    news:[email protected]..
    > > I must be overlooking something simple because it seems that clearing
    charts
    > > programmatically would be such a common thing, but where then is the
    > > attribute to do this?
    >
    > To clear a graph, write and empty plot (empty array) to its terminal or
    > a local
    > variable. To clear a chart, write it to the charts History attribute.
    >
    > Greg McKaskle

  • Printing programmat​ically a window

    The User Interface of my VI has different looks depending on the position of one of the menus. For
    documentation I would like to print out all the menu items looks. I think it's no problem to to loop
    over the menu items, but how can I programmatically print out the window? (LV5 or 6.1)
    The data shown do change regullarely, so I do not want to make this manually, what is of course the
    most simple way...at least the first time
    Any hints are appreciated.
    Urs

    Not sure what are you trying to print, the menu, the front
    panel, or both ? I don't think LabVIEW can capture an pop
    up menu. Since you're using LV5, you can download
    SnapVIEW from my web site. It can capture any part of
    the screen, include popup menu, and save to bmp file.
    You can print the bmp file with MS Paint.
    George Zou
    http://gtoolbox.yeah.net
    George Zou
    http://webspace.webring.com/people/og/gtoolbox

  • Programmat​ically reset scale layout in digital graph

    Hi all,
    I'm using a digital graph to display digital signals.
    During visualization, digital line name can change, then plot names can changes at run time.
    My issue is due to the scale layout. When plot name is too long, plot name is overlayed to the graph. I can fix the problem using Reset scale layout, but it seems that Reset scale layout cannot be enabled programmatically.
    Can you help me?
    Thanks in advance

    HI AC_85
    I verified that Reset scale layout cannot be enabled programmatically. I think you know the plot name size before changing it, why don't you change the plot area position according to that? Maybe you can use property node "plot area" to programmatically set the position of the plot area.
    Regards

  • How to make my applicatio​n programmat​ically switch between English and Russian

    Greetings from Colorado...
    My application needs to be switchable between English and Russian.  Future languages to add are Spanish and Chinese.  The user selects a language
    from a control before starting the program and then the program changes the Captions, Boolean Texts, Graph Labels, and Enum Type Strings to the
    chosen language.  For Russian, this requires a different set of characters.  I have made substantial progress by:
    Control Panels>Region and Language>Keyboards and Languages>Change Keyboards added Russian>Keyboard>Russian on my development
    computer.
    In the LabVIEW.ini file, I added UseUnicode=TRUE (thanks to a suggestion found in this forum)
    Made property nodes for controls and used properties such as Interpret As Unicode (True for Russian, False for English), Text, Font Name, Font Size, etc.
    I have used fonts Arial and Arial CYR for Russian and MS Sans Serif for English
    Set the keyboard for Russian and enter Cyrillic characters into text constants that are set for Arial or Arial CYR font.  Sometimes one works and
    sometimes the other works.  As long as I set the font name in the property node the same way the text went into the text constant, it generally
    works.  I wish I could understand why one works sometimes and the other works other times!
    I have had trouble with the Boolean Text going off-center when changing fonts and languages and it seems that by setting the Lock Text In Center
    property to False and then True again, it seems to work.  Often changing Boolean texts between short and long texts causes some of the long text
    to be non-displayed; I have remedied this by explicitly setting the width of the Boolean text in a property node.
    Often, the Russian text appears as gibberish with strange right-angle characters, :s, =s, and tiny numbers.  I have been able to remedy this on my
    development computer by ensuring that the text constant on the block diagram has the same size as the caption is supposed to have.  This
    is not necessary for normal programming in English, but it seems to help here.  But it doesn't always solve the problem.
    Sometimes the English text appears as Chinese gibberish in an Enum Type selection list or in a graph label.  On my development computer,
    it seems that making the text the last property to change helps here.
    By changing the sequences of assignments to a single property node with a long list of properties, I have been able to make some of these
    controls to switch between languages without gibberish showing up.
    A few hours ago, I had the Russian strings in the Enum Type control working, except that when selecting from the available items, only the first
    word of the Russian string was displayed.  Two of the items start with the same word, so the user can't distinguish them.  
    At that time the English strings were appearing as Chinese gibberish while the list during the selection process displayed in English.  As soon
    as I changed the selection, future attempts to change the selection gave Chinese gibberish during the selection process, too.  But this was only
    a problem in the executable version; the source-code version worked fine.
    In an attempt to get rid of the Chinese gibberish, I made new constants and retyped the items into them.  This worked!  But then, the Russian
    stopped working and gave gibberish angles and tiny numbers, even though I didn't touch any of the code that sets the properties in Russian mode.
    After trying a few sequences of setting the properties for the graph X label on page 2 of my tab control, this label started working correctly for both
    languages.  But the text of that label comes through on page 1 of the tab control, partly obscured by other controls on that page.  After the
    program runs a few more seconds, these shadows disappear.
    Most times I restart LabVIEW, I get an error message saying there was a crash due to fontmgr.cpp, line 7494.  But there actually wasn't a crash.
    My computer has Windows 7 64-bit.  Deployment Computer has Windows 7 32-bit.  LabVIEW version is 8.5.  
    I have probably 50 or 100 more controls and indicators to change to language programmability and figuring out all this stuff for each one is
    terribly time-consuming and there is no assurance that all of them will ever work.  
    At this point, I'm hoping that I am on an entirely wrong path and someone will send me a clue to get me on a path that is more predictable.
    Thanks in advance to all who post ideas!
    Cheers
    Halden 

    Hi All,
    I've made a lot of progress on this translation, but it's been really hard.  There are lots of weird things going on that must be logical because they're in a computer, but I can't figure out what the logic is.  When changing a font on a caption using the front panel, it sometimes changes the font on the caption and sometimes doesn't although the indicator always indicates the new font.  Removing the first character of the unicode font string being sent to the caption seems to help...huh?  Anyway, tabs still can't change language programmatically, and niether can ring controls (some kinds will take the new list of strings, but when selecting, they only display the first word of the string!).  Boolean text can be reprogrammed, but only if the boolean text is set to be the same for both true and false states.  When reprogramming captions on a non-displayed page of a multi-page tab-controlled user interface, the new text appears on the current page until I change pages back and forth.  What a pain!
    Sooo, NI....does LabVIEW 2011 have support for unicode fonts?  Or, is there anything else in the new control style that will support programmatic language changing?
    Halden 

  • Hi, where is the new event window in ical??

    Hi, what I'm trying to do is to repeat an event every week for the rest of the year in ical, so I read one post which had a picture of the new event window pop up. Where is that new event window??? It doesn't pop up for me.
    Here's what I do:
    1. I click on File, then New Event.
    2. A highlighted portion where I can write in text shows up, but then I don't know where the option to make the reminder a repeated reminder comes up.
    I have Mac OS X Version 10.5.8, I believe.
    Or...how do I jiust repeat an event without going to this?? I'd just like to repeant an event.
    Any help??
    Thanks in advance,
    Bonnie

    All right, never mind, I found it myself!!! You gotta double-click (press twice on mouse area) on the highlighted portion of the text that shows up on a date.
    Thanks for reading this!!!
    Bonnie

  • Problem with programmat​ically control histogram color

    Hi,
    I'm developing a function to display multiple channel histogram. But I can not programmatically control the color. I use XY graph to display, and there's no problem with other type of plots.
    Attached is the example vi I use for the test. Please tell me if I make any mistakes.
    Inhaler
    Attachments:
    histogram_colortest.vi ‏38 KB

    instead of using plot.color, use the fill/point color.
    -Joe

  • Can I programmat​ically control USB with LabVIEW?

    I have a requirement to test a USB device. The test includes powering several of the devices off and on, i.e., power cycling for several hours. My plan is to accomplish by using a USB hub, breaking out the power circuit and running it through a relay inside of a DAQ. A neater solution would be to programmatically turn the USB device off and on. I know that the computer communicates with the device under test via USB and not the USB port itself. So I’m wondering if it’s possible with LabVIEW to accomplish this.
    Thank you.

    I'm not exactly sure what Eric was referring to as far as ActiveX. If it's with respect to the operating system, you're not going to find any ActiveX interface with the OS to do this. Unless he was referring to software programmability of the hub? Don't know.
    With respect to power-cycling, a USB port can be disabled using OS calls. Thus, if you want to just turn off the whole hub you can disable the USB port that the hub is connected to. On Windows you can use a command-line utility called devcon to do this (search the forum as this has been mentioned before). The limitation is that devcon is not redistributable. This means that you cannot include it if you're giving this software to a customer. If, on the other hand you need to selective turn off the ports on the hub (i.e., to test individual devices), then you'd have to go back to the manufacturer of the hub and find out if they have a software interface to do this. Otherwise, it's the external power on/off approach via a relay or via a regulator as suggested by SnowMule.
    EDIT: Additional caveat: devcon may not work under Windows 7. You did not indicate what operating system you're using. However, the OS calls that devcon makes are still there.

Maybe you are looking for

  • How to setup a printer with Airport Extreme + Express Network

    Ok so here's how things are setup. I have an Extreme connected to my cable modem creating the wireless network. I have a PC that doesn't have a wireless card, so I setup an Express next to it. The Express takes in the wireless signal, and the PC is c

  • VOL number

    have searched all emails and have had no joy whatsoever in finding this VOL number to claim my sainsburys voucher........please help 

  • How can we hide userid & password from browser

    How can we hide the userid,password and connectionstring from the address bar of explorer when we run 9i forms on browser

  • Where is the directory for the hard drive?

    Yesterday I bought my first Apple product since my iPod Touch (2nd generation) -- the new Mac Mini. Using Migration Assistant, I moved a huge amount of files from my Win 7 PC. The problem is I cannot find any of it. When I use Spotlight, I can find d

  • Hide the 'Download a copy' button from ribbon for sharepoint online.

    Hi,  I using SharePoint online, in that for a document library need to hide the 'Download a copy' button from ribbon.since from that document library no document to be downloaded. Regards, RK