Forcing Mathscript​/Matlab figure window display position

I know in most cases I can always output the values of my mathscript/Matlab variables through the "add output and an indicator".
But in some cases I just want the output plot to be generated from Mathscript/Matlab. especially since some MATLAB plot command cannot be output in Labvies
I have attached two pic files for the block diagram and the plot figure generated. When the plot figure popped up, it is usually at the center of the screen. Is there a way to force the window to pop up say at the uppermost left corner?
Attachments:
Matlab _Mathscript Node.jpg ‏53 KB
plot figure.jpg ‏77 KB

put the MC_windpos.vi in ...\National Instruments\LabVIEW 8.6\vi.lib\imath\engines\lvmath\Functions
and us the function windpos as in the attached  example
Attachments:
MC_windpos.vi ‏31 KB
mathwindow.vi ‏26 KB

Similar Messages

  • How to display error messages and output from Matlab (which Matlab would typically send to its command window but no longer does when called by Labview) into Labview or allow it to be dumped into Matlab Command Window?

    Using Labview 6i and Matlab 6.1. I want to be able to see Matlab warnings and error messages either in the Matlab Command Window or in Labview itself. Currently Matlab is called by Labview (which is working). However I would like to debug and/or modify my Matlab script file to better understand how the two programs are interfacing. It is difficult since no data or messages can be displayed currently to the Matlab command window. I would like to change that if it is possible - Labview is suppressing that from happening. If not possible to send these
    messages to Matlab Command Window can I make it at least possible to see Matlab's actual warnings and/or error messages in Labview?

    I don't think you can debug your Matlab script from labVIEW. The following webpage talks about this:
    http://digital.ni.com/public.nsf/3efedde4322fef198​62567740067f3cc/19106e318c476e608625670b005bd288?O​penDocument
    My suggestion would be to write a script in Matlab and thoroughly test it before calling the script from a Matlab script node in LabVIEW.
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

  • What to do if Windows displays an "iTunes.exe - Corrupt File" message

    Greetings fellow Podders, Resident Furball here...
    It is about time that I produced a single post for all the chkdsk issues that we've been discussing since November 2004. The Apple KB article seems to cover the major points succinctly, but we need to address the more serious variations and flavours of the problem.
    <hr>
    What to do if Windows displays an "iTunes.exe - Corrupt File" message
    Many users are coming across this seemingly distressing error message in Windows when connecting their iPods. As described in Apple KB Article 300554, the message reads:
    iTunes: iTunes.exe - Corrupt File
    The file or directory \iPod_Control\iTunes\????????? is corrupt and unreadable. Please run the Chkdsk utility.
    and the ????????? can be anything (eg. sysinfo, Temp1, DeviceInfo etc.).
    <hr>
    Don't panic!
    If you do see this, don't worry, and don't panic. Contrary to what the error message reads, this issue actually has very little to do with iTunes. The iPod_Control is the key to this - because this folder doesn't even exist in iTunes... it's on the iPod!
    ...so! Installing and uninstalling iTunes really won't do you much good at all... it's the iPod that needs attention.
    <hr>
    What's causing this error?
    To be honest, we don't know. We saw a massive number of reports of this issue back in November 2004, because iPod Updater 2004-11-15 contained a firmware bug that corrupted iPod system files when the Pod entered Deep Sleep.
    But this firmware bug was corrected in iPod Updater 2005-06-26.
    Of late, we have seen a resurgence in chkdsk errors on Discussions. Some of these are caused by the old buggy firmware that people still have. Some of the errors are more serious and are hardware and operating system-related. But we have still to pin down the exact cause of this error.
    <hr>
    Okay, so what do I do if I see this error?
    In short, as Apple have recommended in their KB article:
    Restore your iPod, using the latest iPod Updater.
    Follow the instructions carefully. Ensure that you download the iPod Updater. Ensure that you install it, and then ensure that you run it with the iPod connected and follow the prompts to the letter.
    The broad majority of the errors are painlessly fixed this way. Of course, it does mean that your iPod will be wiped, so make sure that you have your music/data backed up, and/or present in iTunes so you can resynchronise it when you have finished Restoring.
    <hr>
    Okay, I've Restored, but the error is still coming up
    Are you sure you've Restored? Quite a number of folks are assuming that just downloading the iPod Updater is enough. It's not. And neither is downloading iPod Updater, and installing it on your computer. It needs to be implemented on the iPod, according to the iPod Updater instructions.
    Okay, so if you have Restored your iPod, and you are still getting this error, then you have a variety of options available.
    Chkdsk errors that are not fixed with a Restore are most likely down to two things:
    1) A physical issue on the iPod itself
    or
    2) An issue on the computer's operating system
    Here's where it gets woolly. There are a variety of things you could try...
    Format the iPod in Windows
    This would usually have the same effect as a Restore, but a deep-level format in Windows is something that Apple have recommended in the past, as a last resort to completely wipe the iPod before performing a Restore with iPod Updater. This process wipes the iPod.
    To do this:
    1) Enable Disk Mode on the iPod. You can do this either in iTunes (which is best), or manually on the iPod itself.
    2) Open My Computer and locate your iPod
    3) Right-click the iPod and select Format
    4) Leave the parameters set at their defaults, and ensure Quick Format is unchecked
    5) Hit Format
    6) Then Restore your iPod as normal.
    Run the Chkdsk utility
    You could run the chkdsk utility on your iPod. But Restoring your iPod has the same effect as running chkdsk. Chkdsk does not wipe your iPod.
    1) Enable Disk Mode as above
    2) Determine the drive letter of your iPod from My Computer
    3) Go to Start, Run
    4) Type cmd. Hit Enter to take you to the Command Prompt.
    5) Type chkdsk /f X:, where X is the drive letter of your iPod. Hit Enter, and any corrupt files are found and corrected.
    Run Windows ScanDisk
    ScanDisk is the Windows version of Chkdsk. It does not wipe your iPod.
    1) Enable Disk Mode
    2) Right-click the iPod in My Computer, select Properties
    3) Select Tools
    4) Select the option to scan the disk for errors
    Try changing the Drive Letter of the iPod
    Sometimes Windows confuses the drive letters, and this can cause the iPod to be adversely affected. Try the instructions detailed in Apple KB Article 93499 to change the drive letter of the iPod. This does not wipe your iPod.
    Try changing Hardware Policies for the iPod
    The Hardware Policies in Windows have been known to affect the way in which the iPod connects, synchronises, and disconnects. This does not wipe your iPod.
    1) Enable Disk Mode so the iPod appears in My Computer
    2) Right-click the iPod in My Computer
    3) Select Properties
    4) Select Hardware Policies
    5) Select Optimize for Performance (instead of Optimize for Removal)
    6) Restart your computer.
    Contact Apple for a replacement iPod
    Some chkdsk issues have been caused by faulty hardware. As a last resort, contact Apple Support by phone to report your issue, and/or request an iPod Service.
    If you explain that you have followed all these steps, you should have a strong case for obtaining a replacement iPod.
    <hr>
    Thanks!
    Thank you to everyone for their continued support, kindness and excellent troubleshooting skills here on Discussions. There are countless people that I am deeply grateful to for their assistance in handling this issue. Rest assured folks, you have made me the Discussions Furball that I am today.
    Happy Podding folks!
    Kind regards,
    Gopha.
    <hr>
    References
    1) The Original Corrupt iPod File thread from 2004. (Credit: AbbyM)
    2) Our Summary and Index threads to consolidate the chkdsk issue at the height of its reign of terror.
    3) Chkdsk is fixed by iPod Updater 2005-06-26.
    4) Different flavours of chkdsk.
    5) Happy Birthday chkdsk!.
    6) Apple Level 2 Technical Support officially close the chkdsk casefile. (Credit: Apple Level 2)
    7) Chkdsk can be fixed by changing the drive letter of the iPod. (Credit: daisysnroses, jchiu8)
    8) Chkdsk can be fixed by changing the hardware policy. (Credit: Bruce Finn)
    9) Chkdsk caused by faulty hardware. (Credit: Kiwi_Bloke)

    iPod Updater 2006-03-23 has been released
    iPod Updater 2006-03-23 includes iPod Software 1.1.1 for the new iPod and new iPod Software 1.1.1 for iPod nano.
    iPod Updater 2006-03-23 contains the same software versions as iPod Updater 2006-01-10 for all other iPod models.
    What's new in iPod Updater 2006-03-23:
    - Volume limit
    - Bug fixes
    I have been trying to ascertain from Apple Support Level 2 as to whether the latest iPod firmware improves or provides better resolution for the chkdsk issue. If anyone has been using iPod Updater 2006-03-23 to resolve their chkdsk woes, feel free to post in here just to say how things worked out for you...
    Kind regards,
    Gopha.

  • I attempt to open a second window from the icon but it does not open then when firefox is closed it will not reopen because it is still running in processes but no window displayed until you kill the process and then restart firefox.

    I attempted to open a new window from the Firefox icon but nothing happens. I then went on browsing and closed Firefox but was later unable to open it. I checked processes and it was already running but there was no window displayed. I am running Windows 7 Professional.
    This is repeated any time I already have the browser open and wish to open a second instance.

    '''<u>Open a second window (not a second tab, that is different) when Firefox is already running and displayed on the monitor</u>'''
    *Firefox button > New Tab > New Window
    *CTRL+N
    *'''''If using the Menu Bar''''': File > New Window
    **To '''''temporarily''''' display and make choices from the Menu Bar press the ALT key or the F10 key
    **Also see: https://support.mozilla.com/en-US/kb/Menu%20bar%20is%20missing
    '''<u>Firefox "hang on exit"</u>'''
    #Stop the Firefox process:
    #*[http://kb.mozillazine.org/Kill_application Mozillazine - Kill application]
    #*Windows 7 users click [http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576 here]
    #Why Firefox may hang:
    #*[http://support.mozilla.com/en-US/kb/Firefox+hangs Firefox hangs] (see Hang at exit)
    #*[http://kb.mozillazine.org/Firefox_hangs Firefox hangs (Mozillazine)] (see Hang at exit and Closing Firefox properly)
    #*[https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding Firefox is already running but is not responding]
    #Use Firefox Safe Mode to find a problem with an Extension or Plugin:
    #*Don't check anything when entering Safe Mode, just continue
    #*If the problem does not occur in Safe Mode it is probably and Extension or Plugin causing the problem
    #*See:
    #**[[Safe Mode]] and [http://kb.mozillazine.org/Safe_Mode Safe Mode (Mozillazine)]
    #**[http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    #**[http://support.mozilla.com/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    #**[http://support.mozilla.com/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • I see a small window displaying "Are you sure you want to shut down your computer now". How do I stop appearing this window

    I see a small window displaying "Are you sure you want to shut down your computer now". How do I stop appearing this window

    Is this after you've chosen to Shutdown from the Menu, or just on it's own?
    You can press the esc key to cancel, or Enter key to shutdown.
    Check your System Preferences>Energy Saver>Schedule & see if it's set to shutdown at a certain time.

  • How to get current displayed position of an item in listcontrol ?

    Hi,
    can anyone please help me to get current displayed position of an item in a listbox control in vc++ mfc. I am using CListCtrl class to manipulate.
    Thanks,
    saffiuddin 

    On 4/11/2015 3:45 AM, "David Lowndes [MVP]" wrote:
    can anyone please help me to get current displayed position of an item in a listbox control in vc++ mfc. I am using CListCtrl class to manipulate.
    Have you tried GetItemPosition?
    ... or GetItemRect (a bit more information).
    Igor Tandetnik

  • In Windows, display reads UNMOUNTABLE_BOOT_VOLUME and will not proceed and I can't get back to the OS 10 Mac side of my computer. Help!

    In Windows, display reads UNMOUNTABLE_BOOT_VOLUME and will not proceed and I can't get back to the OS 10 Mac side of my computer. Help!

    buttercup7 wrote:
    Wow, wonderful!  I'm back on the OS X side of my computer and that's a good thing, THANK YOU!!  My next question, if you can help, why did that happen the first place and what can I do to prevent it from happening again?  I would be grateful for any insight you might offer.
    I gave you the link to the Boot Camp documentation, read it carefully, mistakes in BC can have serious consequences.
    If you have not yet backed up your Mac, DO IT NOW.

  • Removing English IME while keeping Windows Displaying Language as English?

    Until Windows 7, Windows Displaying Language (WDL) and IMEs were independent. It was possible to set the WDL to English and use only Japanese IME. From Windows 8, they seem to be combined. If I set WDL to English, I cannot find a way to remove English
    IME.
    Many foreign IMEs contain "English" mode. For example, the Japanese IME has direct input mode, and the Korean IME has English mode. So, English IME is not necessary, if you are using those IMEs. Having English IME is annoying because it adds another
    complexity when you switch the IME using Shift+Alt or Windows + Space.
    Is there any hack to remove the English IME while keeping WDL as English?

    Hi,
    Yes, this is by design on Windows 8.1. Unless you add another input method for this language package, it cannot be removed. It would keep one input method for this language package at least.
    So far there is no any other method to remove IME and keep display language.
    Karen Hu
    TechNet Community Support

  • Unable to open X windows display

    hi
    I'm trying to transfer some very old PV-wave (visual numerics) routines into solaris 10 and I keep getting the following errors
    WTINIT: Unable to open X windows display.
    WwError: Unable to create top level shell.
    Now I know I haven't given much info here but I have a feeling that its simply that I haven't set some paths properly. Where does one normally call the X windows display from.
    Much thanks
    Anna
    Sunblade 1000 running solaris 10.

    Hi
    Are you logged in to the machine remotely or locally?
    If locally, then you shouldn't need to change anything.
    There are two things that normally control the X display: the DISPLAY environment variable and the X authority. DISPLAY is usually set to [hostname]:0.0 (unless you have more than one display or are using an X server that emulates mutliple displays).
    For X authority, you can either use xhost, which is simple but poses security issues, or xauth, less simple but more secure. If you are safely behind a firewall, and you trust your colleagues, then "xhost + [hostname]" is the quickest solution.
    Paul

  • Safari loads but no window displayed,

    Safari seems to load but no window displayed. New Window doesn't help. Loading from Application folder, no difference. Yesterday I loaded an application DataGuardian, thought that might be confilicting so I removed it, no difference. Have rebooted several times. Looked for changes to system by date, no clue. Need a solution that doesn't require a web browser. I'm sending this from a different machine. THanks.

    Welcome to Apple Discussions
    You may have a corrupted preference file. Move to your Desktop from your User Library/Preferences folder .com.apple.safari.plist and restart Safari. Any change? If you now get a browser window, then reset the Preferences to your custom settings. If not, move the above file back to its original location replacing the newly created file.
    If no change, does the same problem occur if you open Safari from another User Account (create one if necessary in System Preferences>Accounts).
    Post back with results.

  • Key Figures being displayed in Scientific Notation

    Hi GURU's,
    I have created a Analysis Process Designer (MultiCube to Flat File) and everything seems to be ok in that but the output for 2 of the key figures are in scientific notation (i.e. 10 decimal places) and this needs to be fixed up immediately.
    The value of the Key Figure is displayed as 1.72E04 instead of 1,7231810000000001E04
    How do I go about solving this issue.
    Thanks & Regards,
    Praveen Battula

    I think in floating point math adding 1 to 9999999999999899999999 is going to be a meaningless operation as by the time one converts 1 to a floating point of the scale & precision needed to represent 9999999999999899999999, it's going to lose any significance (ie: it's going to basically be represented as zero).
    You'll need to do a search on how to deal with numbers of very high precision & scale.  I don't have any code to hand.  Have you done any of your own investigation on how to deal with this?
    Adam

  • Linux window display size is small

    I installed oracle linux on my Laptop. The linux widow size display is small where as the windows XP window display is comming full screen.
    What can i do to make the linux window to ne displayed full screen?
    Can someone please provide me the solution?

    Hi,user583961
    Could you please try to change the screen resolution ?
    Login to X ,then system->perference->Screen resolution.
    Regards
    Jason

  • Font is shown very small when using IE Tab and Windows Display is selected to show larger fonts

    I'm on Windows 7 - 64 bit and I set my Windows display to show larger fonts (from Control Panel, Display, then choose Larger Fonts). Now all pages show bigger fonts, except when I use IE Tab.
    I use IE Tab so that I can open my Microsoft Dynamics CRM website on Firefox; however the fonts look way too small; it is even smaller than when the Display Setting was set to use normal size fonts.
    Tried to change to use smaller resolution, it didn't work. Zooming-in is very slow on Firefox, so it is not an option for working on the webpage. Tried changing the default fonts on Firefox, however the page is still always opened with the very small fonts.
    From Firefox I also unchecked the "Allow pages to choose their own fonts, instead of my selections above" (from Tools, Options, Content, Advanced), but it still doesn't fix it.
    Played around with my Firefox IE Tab setting, but no luck.
    I downgraded my Firefox to version 3.5.9 to use the older IE tab, but still not fixed yet.
    Is there a solution for this? Thanks in advanced for your help,
    -Elisabeth
    I use IE Tab so that I can open my Microsoft Dynamics CRM website on Firefox; however the fonts look way too small; it is even smaller than when the Display Setting was set to use normal size fonts. Tried to change to smaller resolution, it didn't work. Zooming in is very slow on Firefox, so it is not an option for working on the CRM. Tried changing the default fonts on Firefox, however the page is still always opened with the very small fonts.
    Initially I used Firefox 3.6.7 with IE Tab 2 Add-on. I
    == URL of affected sites ==
    http://Microsoft_Dynamics_CRM_Website

    Hi...
    Thanks for asking....
    As I put in my post before, I include template0 in my template1, as seen in template1 (AHM001):
    <af:pageTemplateDef var="attrs">
    *<af:pageTemplate viewId="/template/AHM000.jspx">*
    I use AHM000 inside AHM001. I use this approach to build many template based on one basic design.
    Actually, I don't think the problem is in page template usage because as I submitted paralel to Metalink, I've already not called template0 in template1 but I copy template0's contents to template1.
    Unfortunately, page designer show small view and below error messages still occured.
    *Jun 7, 2009 10:25:20 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: /AhmTestTemplate-ViewController1-context-root/template/AHM001.jspx/tag:xmlContent/id:null
    org.xml.sax.SAXParseException: <Line 115, Column 51>: XML-20100: (Fatal Error) Expected 'EOF'.
    Fortunately my application can be run already altough the error message still logged.
    Many thanks,
    Dominic C.

  • Windows 8.1 override for windows display language registry location

    Hi,
    I need to programmatically set the windows display language (control panel>language>advanced Settings) so that English (United States) is selected. Is there a registry key that I can set this to? I think it would be located here but not sure what to
    change :
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MUI\UILanguages
    Does any one know where or how to set this in the registry? Or maybe there is a command I can run? The goal is so that the user does not have to manually do this in the control panel.
    TIA

    Hi mkozz28,
    You can specify the default language, locale, and keyboard values during deployment or after Windows is installed. You can configure Windows international settings by using the Windows International PowerShell cmdlets, by using an answer file with Windows
    Setup, or by using Deployment Imaging Servicing and Management (DISM).
    In your case which is by using command prompt, we recommend using PowerShel depends on your needs.
    To sets the Windows user interface (UI) language override setting to en-US for the current user account:
    Set-WinUILanguageOverride en-US
    More information about International Settings Cmdlets in Windows PowerShell
    https://technet.microsoft.com/en-us/library/hh852115.aspx
    Regards

  • How to drag and drop a picture at run time in a window displaying pictures?

    How to drag and drop a picture at run time in a window displaying pictures on the front panel. The main thing is that the window is displaying frames continuously?

    vivman,
    So from your description you have a picture control where you've already created an image and you'd like to drag an image around inside of the picture control. This can be done although it is going to take a significant amount of research and programming on your behalf. You can use the drag event in the event handler to find out when the drag occurs and where the cursor is. Then edit the picture as you move your mouse so that when you drop the picture gets updated.
    The even structure is a somewhat advanced topic and the drag and drop feature is one of the more advanced uses of this structure. I would search the example finder (help>>find examples) for "event" and "drag" to see how to use these events. Also you'll want to look at the examples for the picture control.
    Sounds like a cool project! Check out Darren's Weekly Nugget 10/30/2006 this topic (http://forums.ni.com/ni/board/message?board.id=170&message.id=212920). It might prove useful.
    Good luck!
    Chris C
    Chris Cilino
    National Instruments
    LabVIEW Product Marketing Manager
    Certified LabVIEW Architect

Maybe you are looking for

  • Error when trying to upload an image

    Hi! I'm trying to upload an image to my container name "vhds" inside storage account "pruebasatfacr" but I'm getting the following error: [root@vmlbcatfl49 KVM]# azure storage blob upload -a pruebasatfacr -k "$base64string"  --container vhds info:   

  • If you deleted a  device off of find my iphone.how do you get the device to start back up agian and put it back on find my iphone?

    if you deleted a  device off of find my iphone.how do you get the device to start back up agian and put it back on find my iphone? becuase i have delted my dads iphone acedentily of find my iphone and it is nownot working. his phone is just staying a

  • Does ABAP have ISNULL functionality?

    Hello, I'm trying to use this select statement in ABAP: SELECT  AUFK.AUFNR, AUFK.KTEXT,  AUFK.USER3, AUFK.USER8, COEP.WTGBTR, ISNULL(MAKT.MAKTX, (SELECT TXZ01 FROM EKPO WHERE EKPO.EBELN = COEP.EBELN AND EKPO.EBELP = COEP.EBELP)) [DESCRIPTION], COEP.O

  • IOS 7.1 help?

    Ever since I updated my iPad Air to iOS 7.1, my home screen hotbar keeps showing up as a dirty grey color, when it used to be transparent. Also, when I go into "change pass code" in settings, the screen for a smaller phone shows up.

  • G_COBL_CORE001 error during MIGO

    Dear All, As part of our customising requirements, we had created a derivation strategy, using Storage Location field, by a development that stores the Storage Location into the USERTEMP1 field provided in FMDERIVE. Now, when we run a MIGO (with a "K