Panel and Canvas

Hi all,
I am working on a maintenance project.
in this project,the programmers have used Canvas.
But i want to use panel.
Is there any difference between Panel and canvas.
Regards,
Tapas

Panel is a container (and may contain subcomponents).
Cnavas is a simple drawing surface component.
Ragnvald Barth
Software enigneerhttp://blake.prohosting.com/ragnvald

Similar Messages

  • Difference between panel and canvas?

    When should they be used, respectively? They seem very
    similar to me.

    Hi,
    Panel and Canvas are definitely not the same. Panel can
    layout its children for you based on the layout property. Its also
    got a title bar.
    Canvas will not layout its children. Please find more details
    below.
    http://livedocs.adobe.com/flex/3/langref/mx/containers/Panel.html
    http://livedocs.adobe.com/flex/3/langref/mx/containers/Canvas.html
    Hope this helps.

  • Adding mouselistener on Panel and Canvas

    Hi,
    I m building an application in which I m making a frame, adding a panel on it and then adding a Canvas on the panel. On this Canvas my Native C code is drawing an Image. This image is very small with respect to the size of the frame.
    The size of the Panel and the Canvas is made equal to the size of Image drawn.
    Now I want a mouseclick event on this image.
    Now the problem is that when I add mouselistener to the Panel I don't get any event.
    And when I add mouselistener to the Canvas I get the event but I get the event on the whole frame even if I set the canvas size equal to the drawn image size. I only want the mouse event only if mouse is clicked on the image.
    Can anyone tell the mistake or suggest any other way of doing this ?

    Hi,
    I m building an application in which I m making a frame, adding a panel on it and then adding a Canvas on the panel. On this Canvas my Native C code is drawing an Image. This image is very small with respect to the size of the frame.
    The size of the Panel and the Canvas is made equal to the size of Image drawn.
    Now I want a mouseclick event on this image.
    Now the problem is that when I add mouselistener to the Panel I don't get any event.
    And when I add mouselistener to the Canvas I get the event but I get the event on the whole frame even if I set the canvas size equal to the drawn image size. I only want the mouse event only if mouse is clicked on the image.
    Can anyone tell the mistake or suggest any other way of doing this ?

  • Opening a new file in photoshopcc and the file name is displayed but no white working canvas. you can see it as a layer in the layers panel and if i draw on the grey area i can see int on the layer but not on the main screen.

    opening a new file in photoshop cc and the file name is displayed but no white working canvas. you can see it as a layer in the layers panel and if i draw on the grey area i can see int on the layer but not on the main screen.

    Graphics card is the problem.
    Trying to update drivers now.
    Thanks for your help
    john

  • How do we display .doc files or .pdf files inside flex containers like Panel or Canvas?

    How do we display .doc files or .pdf files inside flex containers like Panel or Canvas? (i am talking about Flex web browser application and NOT air)
    thanks in advance.

    Perhaps I was not clear...
    We have a Word doc.
    We want to create a PDF doc from it.
    We want, in Word/VBA, to add content (annotation/text note=sticky) to the PDF from Word via VBA macro.
    What is the best way to do this?
    1. Use a VBA call to the PDF doc to execute the AcroJS (we would pass the content, location, etc for the note in the call) - what is this VBA call that will execute AcroJS in an PDF doc?
    2. Use AIC OLE objects to access the PDF doc.
    From your last answer - it sounds like I cannot add the annotation to the PDF from the Word VBA macro - is that correct?
    Our content is already in the Word doc - We want to execute a macro in Word that will add content to the PDF doc  - can this not be done in Word?

  • Remote Panel and Internet Explorer

    Hello. I have a problem with a Remote Panel and Internet Explorer. I create a measurement system in LabVIEW. It�s composed of a main front panel and a few subVIs with independent front panels opened from main Front Panel when I press appropriate button. As a local system everything works ok but I try to create a web version of this system. I decide that I can use a Remote Panel. In Web Publishing Tool I was creating a web page for each of Front Panel. I try to have the same functionality as in local system, so when in Front Panel (opened in Internet Explorer window) I press appropriate button I want to open secondary Internet Explorer window with a subVI inside. And now I�m stuck because I can�t open this secondary window in a network w
    orkstation. Has anyone have an idea how can I do it?

    > Hello. I have a problem with a Remote Panel and Internet Explorer. I
    > create a measurement system in LabVIEW. It?s composed of a main front
    > panel and a few subVIs with independent front panels opened from main
    > Front Panel when I press appropriate button.
    I think you have two options. You can open most modal subVI panels
    directly on a remote machine. The popup panels won't be in a web page,
    but it will work with few changes.
    A second approach would be to change the app slightly. The buttons that
    launch the subVIs will turn into URL links. The links will open a web
    page with a different embedded panel.
    Greg McKaskle

  • Can a Mac Pro support 5 DVI panels and 1 HDMI panel?

    I'm deciding between getting a Mac Pro or new PC. I have 5 DVI panels and 1 HDMI panel to support. I know a variety of PC motherboards support a variety of video cards that will support those display requirements.
    Does anybody know if the video options for the Mac Pro will also support those display requirements?

    To do this with 5770s you would need two of them and at least 2 "active" adapters. It might be more cost effective to use the 5770 it will come with and 2@ 2600XT cards.
    A simple rule of thumb for video cards, ATI/AMD cards ALL work on ALL Mac Pros (if they are Mac cards)
    When looking at Nvidia cards, you need to be aware of which model Mac you have. Some Nvidia cards will be "EFI-32" only, and some will be "EFI-64" only. New Mac Pros are all EFI64.
    http://macvidcards.com/macpro/which-mac-pro-do-you-own/
    Whatever card you get, be sure it is specifically listed as being for Mac Pros. Only with Nvidia cards do you need to worry about which model.

  • My wifi will not turn on. The button is settings seems to be locked. I tried turning it on from the control panel, and also with Siri, but it still does not turn on in settings, so i cannot access wifi. Please help ASAP

    Wifi will not work. The button in settings seems to be locked. Tried control panel and siri to turn it on, doesnt work because the settings wont turn it on. Need help ASAP cause my data limit is approaching.

    If the battery was completely drained the iPad will not respond for some time after connecting it to the charger. Connect the iPad to the charger that came with it and plug that into a good wall outlet. Wait 30 minutes. Then reset the iPad.Press and hold both the Home button and the Sleep/Wake button continuously until the Apple logo appears. Then release the button and let the device restart. You will not lose data doing this. It's like a computer reboot.
    If the iPad restarts let it continue to charge until it's battery shows fully charged. If the iPad still does not start Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support. Be sure to back up your device before taking or sending it to Apple.

  • Using a Meter control in LV Touch Panel, and using shared variables that are custom controls.

    I Just started using LV touch Panel module with an NI TPC-2106.
    I have two differenct problems:
    1) I was planning on using the "Meter" control quite a bit. I can set up the meter exactly how I like on the host PC, but on the touch Panel computer it seems to ignore my adjustments, mainly the start and end of the scale - i.e. I would like control to run from 0 to 360 with 0 straight up, using the entire circle. However, on the Touch panel computer it always puts 0 at about 7 o'clock and 360 at about 5 o'clock. I have also tried adding markers to no avail.
    2) I am communicating with a compact fieldpoint controller. I can creat a shared variable that is a simple double with no problems. However, I have some shared variables that use a custom control for the variable type - bascially a cluster with a couble doubles, a time stamp, and an enumeration. It lets me drag the shared variable into my diagram, but it seems to ignore it when I run it.

    Ipshita_C,
    - I am using LV 8.6.1f1and LV Touch Panel 8.6.1.
    - I have attached a simplified VI that shows how I want to use the meter. Notice that the placement of the endpoitns does not work correctly on the touch panel, and that it ignores the arbitrary markers that I placed.
    - I also have included an XY graph control that displays on the TPC with margins around the graph area that I removed from the graph control.
    - For the shared variable, it appears to be an issue related to the touch panel, not fieldpoint. I found another thread in this forum that mentioned that clusters containing Enumerations do not work in shared variables on the touch panel. I changed the enumeration to an integer and it now works fine.
    In general, there seem to be a disappointing number of limitations in the touch panel implementation. My biggest concern is that I have not found any documentation from NI that lists these limitations. I seem to have to try things out and see what works and what does not work. Can you point me to a comprehensive list of touch panel modules limitations?
    Attachments:
    test 2.vi ‏10 KB

  • Remote Panel and DSC interfering?

    Hi, I wonder if DSC or OPC is interfering to view my remote panel in a executable, since I installed them and now I cannot see my web page. I mean the instructions says close Labview to gain acces with the executable, does DSC or the shared variabel Server or something is interfering?
    What happened:
    I have a program which monitors temperature for rooms with fruit, We acquire the temps through modbus RTU, and We see that info through internet.
    First I did it with the modbus libraries, and It worked, We had the web page working through remote panels and the web publishing tool.
    But now I saw the DSC toolkit for Labview, and excited about that I migrated the whole functionality to the IO servers, and until the very end, when everything else works ok, the web page or remote server doesn't works, works with the VI but not with the EXE.
    The first time I followed this, and I did this time again with not succes
    http://digital.ni.com/public.nsf/allkb/7F95D43D3F50FCAC8625710E000068E1
    Currently state:
    My Web server is started and works in development, I made a webpage named TRY.html, and it works in Labview with the VI.
    I know that the plugin doesn't works on chrome, but just to let you see that the problem is not IEXPLORER, whetn the web page is static it works on chrome too.
    With IEXPLORER (right) it works in chrome (left)  it doesn't
    Working on IExplorer
    So I followed the steps from the instructions, added the web page to my project, added to the build, and built
    Then I modified my NIconfigserver file, and CLOSED labview entirely, the tutorial says so, I closed at least as much as I used to do before.
    My ni config
    # Web server configuration file.
    # Generated by LabVIEW 14.0
    # 13/06/2015 11:44:16 p. m.
    # Global Directives
    NI.AddLVRouteVars
    ErrorLog "$LVSERVER_ROOT/logs/error.log", level=2, anew
    TypesConfig "$LVSERVER_ROOT/mime.types"
    LimitWorkers 10
    LoadModulePath "$LVSERVER_ROOT/..;$LVSERVER_ROOT/modules;$LVSERVER_ROOT/LVModules"
    LoadModule LVAuth lvauthmodule
    LoadModule LVSnapshot lvsnapshotmodule
    LoadModule LVRFP lvrfpmodule
    Listen 8000
    # Directives that apply to the default server
    NI.ServerName LabVIEW
    DocumentRoot "C:/SMC/data"
    InactivityTimeout 60
    SetConnector netConnector
    AddHandler LVAuth
    AddHandler LVSnapshot snap
    AddHandler LVRFP
    AddHandler LVSnapshot
    AddHandler fileHandler ""
    AddOutputFilter chunkFilter
    DirectoryIndex index.html
    My ini
    [SMC]
    server.app.propertiesEnabled=True
    server.ole.enabled=True
    server.tcp.paranoid=True
    server.tcp.serviceName="My Computer/VI Server"
    server.vi.callsEnabled=True
    server.vi.propertiesEnabled=True
    WebServer.Enabled=True
    WebServer.TcpAccess="c+*"
    WebServer.ViAccess="+*"
    DebugServerEnabled=False
    DebugServerWaitOnLaunch=False
    saveFloaterLocations=True
    find.viListFlags=0
    LastErrorListSize=0,0,0,0
    paletteStyle="NamedIcons"
    And so, I open my EXE, then reload the webpages, and I can see that the web server is started, because it shows the html, but I cannot link to my EXE. It says that can't find my VI
    Requested VI is not loaded into memory on the server computer
    If I close the EXE the server stops
    Remote Panel connection refused by specific server, Make sure Labview Web server is enabled
    And that's my history
    It's always hard for me to get the web page working, but this time I've spent hours without success
    I did the test in my development pc and in the target PC and is the same, on these PC's the webpage was working before using DSC.
    So any help will be appreciated
    My best regards

    The DSC Runtime Engine will be sufficient for the deploying the project to a new computer. The Run Time Engine is equivalent to the DSC Module, but you can't do any programming with it. You will need to purchase a separate license for the Runtime license for each deployment computer also. 
    What is the DSC Run-Time System and When Should I Use It?
    http://digital.ni.com/public.nsf/allkb/E56DB8726DB68F288625770E00594351
    Thanks,
    Frank
    Application Engineer
    National Instruments

  • Remote panel and selective control access through Security with DSC

    Hi Everyone,
    I looked around to see what labview had to offer concerning security of remote panel and all the solutions I've found only propose full access to a remote panel, or none. The login page is not an option for me as everyone on the intranet can access the remote panel for monitoring but not everyone can have control to the buttons on it.
    With the DSC module, I can give securities to the different controls and it works great with the exe, if I log in or out, the controls appears or disapears. Unfortunately, with remote panels, those controls are always visibles. Furthermore, when I log in from a remote panel, all the other remote panels get logged in with the same username and priviledges. When I log out, same thing, it logs out all the other remote panels. So the last guy who logs in gives its priviledges to every one else who is monitoring the remote panel at that time. when he logs out, he logs everyone out. I used a reentrant vi hoping that this would solve the problem but it didnt.
    I would like to do what my colleague does with Advantech without any problem. He has only 1 .exe is running on the server and whoever connects to it through webserver, just needs to log in and he has all the priviledges of an guest, operator, admin, etc.. with access to controls and features accordingly. All this without interfering with the other people using the remote panels. This colleague has always been doubtful about the capabilities of labview to do SCADA systems and uptil now, I've been able to prove him wrong.. please help me continue
    There are workarounds, using remote desktop to the server instead of webserver but it definitely is not as practical for the client and it will need quite some work to to synchronise all the exes open from the differents sessions, through the use of shared variables, binding and securities.
    Thank you for your help.
    Solved!
    Go to Solution.

    Thank you very much for your reply Jordan.
    The NI security info is on the server (local domain with groups and users), and the running exes as well. The remote panel is not supposed to be accessed by internet, at least not yet, but just by the computers on the network and thinkline computers who are directly connected to the servers. the remote panel is accessed through the simple url: http://serverip/Application.html
    There is no problem with accessing the remote panel of the exes on the server from another computer on the network. But there are several security issues when logging in and out with the NI Security Programmatic Login and logout VIs through the remote panel..
    The 1st problem occurs when several people access the remote panel at the same time. In my setup, everyone is allowed to check what's happening on the front panel of the running exe, go through the tabs, check the graphs, the tables, etc.. , but only the administrators and the operators can send commands to the machines and the production line through this remote panel. Hence some buttons are accessible to all users, while others are only accessible depending  on the privileges of the person logged in.
    So like I said in the 1st post, I configured some buttons to be accessible only by the users of the admin group. When the exe runs, it's perfect, if I log in and out with an admin account, the buttons appears and disappear accordingly. But when I check the remote panel, those admin buttons are always visible, even if I am logged in as a guest or even logged out. Is it because the remote panel only needs minimum runtime engine and doesnt use the dsc runtime engine? if so, any work around?
    Furthermore, another big problem is that if I login as an admin in one remote panel, then login as an guest in another remote panel, and then logout back from the first remote panel, it says: "User Domain/Guest logged out". Hence, my second login logged out my first user. I can actually see the admin buttons appearing and disappearing on the exe when login as admin and guest from the different remote panels.
    So that's it, I would like my remote panel to behave like a normal scada system, with one exe running in the back (on the server) and with all the users accessing it through web server. Several users might/will access the remote panel at the same time and each of the users have a login/password that grant some of them the privileges to take some actions while giving the others only monitoring rights.
    I hope that I have been more clear in this 2nd post,
    Thank you again for your time.
    Best Regards,
    Tom.

  • I have a pc running windows 7.  I got an Airport Extreme 802.11n Wi-Fi and the printer is now plugged into the Airport.  The wireless router works fine but the printer shows as offline in control panel and in word. The printer is a HP LaserJet CP1525nw.

    I have a pc running windows 7.  I got an Airport Extreme 802.11n Wi-Fi and the printer is now plugged into the Airport.  The Airport works fine but the printer shows as offline in control panel and in word. The printer is a HP LaserJet CP1525nw.

    +For now I have it set to Share Public IP address - Is this correct for my Network Setup with The Airport Extreme being the only router being used ?+
    This would be the correct setting if the AirPort Extreme is connected to a simple modem (one ethernet port).
    *Settings I have Enabled*
    5 GHz name indicates that you have elected to use the option to assign a separate name to the 5 GHz network. This will allow you to "tell" compatible computers to connect to that network, rather than the slower 2.4 GHz network
    Use Wide Channels is recommended for 5 GHz operation.
    Interference Robustness often does more harm than good and should not be used unless you know you are in a area with a lot of wireless networks and you feel that your network is experiencing interference issues from a nearby network.

  • Is there a way to set the default Initial View to Bookmarks Panel and Page on word documents that I save as PDF?

    When I save my word 2013 documents as Adobe PDF I have to open the PDF up, go to File>Properties>Initial View>Navigation Tab and then set the initial view as Bookmark Panel and Page; it gets pretty tedious.
    I use Save as Adobe PDF rather than Print to Adobe PDF Printer because I like being able to have the security settings automatically set.
    I just want to be able to save my word document as Adobe PDF with the initial view already set as Bookmark Panel and Page, and with security, so I can send it out immediately.
    Is this possible?
    Thank you.

    Use the Firefox Android Addon - Phony
    *https://addons.mozilla.org/en-US/android/addon/phony
    for more
    *https://addons.mozilla.org/en-US/android/

  • How to add a navigation Panel and Zoom Slider Bar using Java API

    Hello,
    I am using Mapviewer Java bean as I have to use Oracle Mapviewer in Java Stanalone application.Please can anyone tell me how to add a Navigation panel and Zoom Slider in Java API. I found the API s for same in Java Script but not in Java.Kindly help.
    I am using Oracle Mapviewer 11g.

    This is forum sponsored by Adobe make of Acrobat and Reader. Since Chrome and FireFox web browser have chosen to use their own viewer you might get more help in their forums or customer support.

  • Draw in a Panel and Scroll around it with the Mouse

    Ok, so I've been bored and needed something to program so I opted with making a single player RPG creator, for this I decided to use a Panel for the screen and then Paint in what I want for maps (importing images using paint) but I want the maps to be bigger
    than the Panel and I want to have the mouse (for now so I can have some understanding of that) scroll around the map, basically have it further than half way down on the panel and it scrolls down, but I don't want any clicking or MouseWheel use needed or used,
    I just want it to follow where the mouse is.
    Long story short, I have a panel, I put the mouse further than halfway, the panel scrolls down or wherever the mouse is pointing.

    Hi,
    Test Tools in Visual Studio 2010 and 2012 forum is to discuss visual studio test issues. Based on your description, your issue seems to be more related to programming. If this is the case, I recommend you to consult your issue on some
    development forums such as Visual Studio Language Forums:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vslanguages,
    Windows Forms Forum:http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsformsor
    WPF forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpffor better support.
    Thanks,
    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.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How to enable my ipad air..

    how to enable ipad air...??can somebody help me..

  • SQL script into a CASE statement ?

    Hy, can someone tell me, please, if is it possible insert into a case statement (shell unix script) one or more SQL script ? For example : case aaa in 1 ) sqlplus blabla <<! update ... insert ... 2 ) esac Thank you very much ! Andys

  • Photo Stream overwhelmed with iTunes "logo" images.

    Last night my Photo Stream was overwhelmed with iTunes "logo" images in many different languages. Does anyone have any idea where they may have come from or how I can get rid of them? My Photo stream is not at max capacity and I can't add any pics. T

  • Is there any alternatives to Configurator for creating custom Photoshop panels?

    I've been using Configurator for quite some time now in order to improve my workflow; having custom panels is huge to me. So I was surprised that Adobe decided to stop supporting flash panels, starting with version CC 2014. I want to update Photoshop

  • Back up and Reset Question, 1st Generation iPad

    If I back-up my 1st generation iPad to Cloud and then reset the iPad, will I recover all apps that were on the iPad when I sync to Cloud after the reset?  Thanks!