Problem with autoscaling after graphical zoom

Hello

I am struggling to find my error in reasoning, but so far has failed, and would be very grateful for the help.

My problem seems to be very basic: I have a graph of control with zoom option enabled, for example rectangle zoom or zoom for y. There is a playground on the graph, plot zoom in part of the works as expected.

Now I would like to restore the graph, that is, set it to full scale showing the complete route once again, using SetAxisScalingMode.

Stupid enough he not always seems to work, the shaft is not properly set, i.e. that the enlarged part of the plot is visible even after affecting the autoscale axis...? I don't remember what I'm missing here.

I have prepared a demonstration simple, based on the NOR sample userint\GraphAnnotations.cws, attached below.

In this example, I made two small changes: 1) I have added a "restore" button to set the x and axis Auto scale value. (2) in the IUR, I changed the style of graphical zoom to rectangle Zoom (Zoom or to y)

To reproduce the problem, press "Draw", zoom in on the graph so that the maximum and minimum of the plot are not displayed. Press the button restore, which will show the complete graph. Fine. But now zoom in again, press the button restore: now, it seems most do anything.

Thank you!

The problem is that when you set the mode to automatically scale the second time, it is already set to auto. Because no changes were made, the chart has no need to recalculate the scale. If you plotted instead of a new data point, you would see the autoscaling come back into force. A simple way to force it to recalculate the scale would be to scale to VAL_LOCK, then return to VAL_AUTOSCALE in the RestoreCallback. Because the value of the attribute is changing, a new drawing occurs which causes the Auto scale to recalculate.

                        SetAxisScalingMode (panel, PANEL_GRAPH, VAL_LEFT_YAXIS, VAL_LOCK, 0.0,
                                0.0);
            SetAxisScalingMode (panel, PANEL_GRAPH, VAL_BOTTOM_XAXIS, VAL_LOCK,
                                0.0, 0.0);
            SetAxisScalingMode (panel, PANEL_GRAPH, VAL_LEFT_YAXIS, VAL_AUTOSCALE,
                                0.0, 0.0);
            SetAxisScalingMode (panel, PANEL_GRAPH, VAL_BOTTOM_XAXIS,
                                VAL_AUTOSCALE, 0.0, 0.0);

Tags: NI Software

Similar Questions

  • My window 7 showing message "a problem with the NVIDIA Graphic driver", but I can't download the solution

    My Windows 7 PC at home keep crashing and I keep losting my screen when I played the game on the last 6 months.  After I restart my PC, it says that there was a screen.   I had since a few Update window update driver and try the NVIDIA drivers with no will.  There were a few times he were message indicating the "resolve a problem with the NVIDIA graphics driver" on the taskbar.  When I click on the message and try to download.  It gives me the message that "your computer was not able to download the solution at this time.  Make sure that your computer is connected to the internet, and then try to download again"that had happen all the time, and of course, I had access to the internet all the time!  I'm getting nowhere for solve this problem.  Can anyone help?  I want to know if there is something I need to know the video driver as usual outside the upgrade.

    PS I tried a lot of stuff, running the troubleshooter from the performance.  I had an i7 with plenty of RAM, running only a few program, hard disk error not... etc.  It seems related to the video driver. I update my window.

    Hello Lewie,

    Thanks for posting your query in Microsoft Community Forum.

    1. What is brand and model your computer?
    2. You did it any significant hardware or change software on the computer before this problem?

    I understand that you lose your screen when you play a game. This happens usually if the installed graphics driver has corrupted or unstable. Therefore, I suggest trying the following methods and check if the problem persists.

    Method 1: Run the tool material and devices

    Try running the next fixit and check whether the problem is resolved.

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Method 2: Update your graphics card

    1 open Device Manager by clicking the Start button, click Control Panel, click System and Security, and then, under System, click the Managerof peripheral . If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    2. in the list of hardware categories, find the display adapters and select the device driver you want to update, and then double-click the device name.

    3. Click tab driver , click Update driver, and then follow the instructions. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    For more information, visit the below mentioned link:
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    If you are not able to update the device driver via windows update, you can visit your computer or graphics card manufacturer (NVIDIA) Web site and download & install the latest driver. Or contact the manufacturer of your system to do.

    For reference, you can also consult the following Web page. Click on continue to this site Web (not recommended) if you are prompted for any error of certification.

    A problem of NVIDIA graphic driver

    Hope this information is useful. If the problem still persists, please post back for further assistance, we will be happy to help you.

  • seems I'm not the only one having problems with safari after update 9.3 cannot follow the links. Safari blocks. hope it gets fixed quickly. jaa shooting allows to follow the link, but the Web page is not out of good old days. any oher ideas?

    seems I'm not the only one having problems with safari after update 9.3 cannot follow the links. Safari blocks. hope it gets fixed quickly. jaa shooting allows to follow the link, but the Web page is not out of good old days. any oher ideas?

    The 'list' of relevant articles that I know, they are now

    -You can read about the problems in the present statutes and possibly find workaround solutions, particularly in the last

    If you are unable to activate your iPhone, iPad or iPod touch after installing an update - Apple Support

    Apple iOS suspension 9.3 updates for older devices, work on activation fix | IVous

    Apple launches new version of iOS for iPad users 9.3 2 affected by bricking bug | 9to5Mac

    GSM of unfixed addresses Apple iPad 2 Bug with revised Activation iOS 9.3, but the larger question remains - Mac rumors

    If you are unable to activate your iPad 2 (GSM model) update to iOS 9.3 - Apple Support

    9.3 iOS update issues

    Leave a post by: ChitlinsCC

  • Problems with WiFi after put 10.11.2 up-to-date.

    Mid 2011 iMac.  Problems with WiFi after put 10.11.2 up-to-date.  No associated network.  Everything was fine before the update. All the pre 10.11.2 device works fine.  Anyone else having issues?  I have to disconnect and reconnect manually.  WiFi drops every 5 to 10 minutes.  Nothing has changed on the machine something of the update.

    Please do not comment on the age of the system.  Achieve a Mid 2011 arrived at a possible replacement point.  I have many other new Mac at home.  The Mid 2011 is spec'd with 16 GB of RAM, i7 and SSD.  It's always very fast.

    Thank you in advance for the answer...

    Hi Captainsniz

    There are a few things to try. Keep doing this until the problem disappears.

    First of all, if you have not already, shut down the computer completely, wait about 1 minute, then restart.

    Disconnect the wifi network either via system preferences, either by pressing the "Option" key and clicking on the wifi menu bar icon.

    Reset the DHCP lease by going to system preferences > network and show Advanced Options, and then click the button to "Renew the DHCP lease" TCP/IP tab.

    You can delete the wifi network of system preferences > network > network name... then close system preferences. Then reopen and add the network in.

    You can also restart your wifi router, it erases the old connections. Most of the routers you just turn off and wait a few minutes, then restart. You can also reset your ISP modem if you have a.

    Finally, you can try to reset the PRAM and SMC on your Mac. I'll get this info here on Apple Support KBs for your particular Mac.

    Be sure to back up your computer.

    Hope this helps, Greg

  • I click on "Fix a problem with the NVIDIA graphics driver" and he says: "this solution could not be downloaded.

    I click on solve PC problems (the flag) and it says address a problem with the NVIDIA graphics driver. I click it and it says:

    This solution could not be downloaded

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

    The most likely causes:
    Your computer was unable to download the solution at this time. Make sure that your computer is connected to the Internet and then try to download the solution later.

    --------------------------------------------------------------------------------
     
    I am connected to internet, and the works, works etc of web browsing of windows update. Why it is not downloading the solution?

    Download and install the latest driver for your graphics card nVidia.

  • Problem with Standard VGA graphics card

    Hello everyone!

    I have problem with Standard VGA Graphics Adapter.

    State of the device: this device cannot start (code 10)

    My specs are:

    AMD Radeon HD 6470M

    Intel Core i3 - 3110 M CPU @ 2.40 GHz 2.40 GHz

    RAM: 4.00 GB (2.41 GB usable)

    Type of system: operating system Windows 7 32-bit

    Can someone help me with this problem! I can't start my games!

    Please, I beg you! Everyone!

    Hello:

    When you see the label adapter VGA Standard, this means that the graphics driver is not installed or improperly installed.

    Go to the page of the driver and support for your laptop and install the graphics driver from AMD W7 32 bit.

  • Problems with mail after switching to macOS Sierra

    Hey all

    After having recently upgraded to macOS Sierra, I am unable to read my mail.

    I get the following error every time I check on "Get Mail".

    There may be a problem with the mail server or the network. Check the account settings "*" or try again.

    The server returned the error: Mail could not connect to the server 'pop1.tribcsp.com' using SSL on the default ports. Verify that this server supports SSL and that your account settings are correct.

    What does this error message mean and how can I solve this problem.

    Thank you

    Hi Michael,

    I see your message that you get an error in the mail indicating that there is a problem with the mail server or the network.  To help get this problem resolved, I suggest that you follow the steps below:

    If mail refers to a problem with the mail server, or the network

    Mail will say that it is impossible to connect due to a problem with the mail server or the network. For example, the message may refer to a connection that has expired, or too many simultaneous connections:

    If you are connected to the Internet, but the connection has expired, your email provider might be affected by a discontinuance of service. Contact them or see their status Web page to ensure that their e-mail service is online. Examples of status pages:

    If the message indicates the number of simultaneous connections, too many of your devices is check your e-mail account at the same time. Quit Mail on one or more of your other devices.

    If you are still unable to send or receive e-mails

    1. Make sure that you have installed latest version of the Mac software updates, especially if the problem occurred immediately after the installation of a previous update.
    2. In OS X El Capitan or later version, you can see a status icon and the short error message in the upper right of the Mail window, under the search box. The message may indicate 'Network offline' or 'Connection failed', for example. Click the message to see more details on the issue.
    3. Check your connection to the Mail connection doctor. It might be able to say more on the issue.

    If you cannot send or receive e-mail on your Mac.

    Take care.

  • Problems with scrolling after update

    IM currently using the BlueJ ide and after updating to the new system / update (macOS Sierra) there is significant lag / jitter when scrolling. This problem only occurs when you use the scrolling with two fingers with the touch pad. When I use a mouse / or click the scroll bar on the side, it seems to go well. Not sure if there is a problem with BlueJ or the new OS. Would be very interested for some suggestions on how to fix this very annoying problem. (Using a Macbook pro 13, 2015).

    Thanks a lot to all the answers

    The obvious question would be if you see the problem of scrolling in Mac OS standard applications such as Mail, Notes and Safari.

    If this isn't the case, it is likely BlueJ.

  • Big problems with fonts after upgrade to Yosemite

    Hello

    I upgraded my macbook pro to Yosemite for more than six months and since then, I have serious problems with application of fonts in browsers and many software I use. I googled the problem over and over again and nothing seems to help.

    In general, these are the main symptoms of the problem with screenshots:

    1 system ads are gibberished, or better yet, appearing with something like that, instead of letters:

    2. bold letters does not at all (when I use gmail, for example) or leads to an illegible font change:

    3. hyperlinks symbols on Web sites or webmail applications simply appear as empty squares and there is no way of knowing what you click on.

    Bottom line: before turning to the last option and the resettlement of Yosemite, if someone could help, I'd be more than grateful.

    < image edited by host to remove the serial number >

    You probably have a lot of fonts installed garbage. Follow these steps to recover your Mac for only the fonts installed in OS X.

    (1) open the book fonts and choose restore fonts Standard menu. All third-party fonts will be moved out of the system and root of the fonts in the library files in a new folder next to each named (deleted) Fonts.

    2) click on the desktop so Finder is the name of the app next to the Apple logo in the upper left corner. Hold down the Option key and choose go > library. This will open your user account's library folder. Create a new empty folder on the desktop. Open the folder fonts in your user account. If there is something in it, move them to the new folder on the desktop.

    3) restart in Mode safe mode by rebooting and hold down the SHIFT key. When you reach the office (you need to log in Mode without failure), restart normally. Among other things, this erases all the cache files on the account of the user logged in Mode safe mode and resets the database of book of fonts for this account.

    (4) clear all remaining the system font cache files. Close all the running applications. From an administrator account, open the Terminal application and enter the following command. You can also copy and paste from here in the Terminal window:

    sudo atsutil databases - remove

    Terminal will then ask your admin password. When you type, it will not show anything, so make sure you enter it correctly.

    This command removes all the font cache files. To the system and the current connected to the user account. After you run the command, close Terminal and immediately restart your Mac.

    Now test. With only fonts available provided OS and all data policies implemented cache and other such parameters cleared and reset, fonts should appear correctly in the system.

  • Satellite L70-A-118 - problems with WiFi after Windows 8 to 8.1 Win update

    Dear Sir/Madam,

    After that update of Windows 8 for Windows 8.1 WiFi disconnects regularly and if there is a connection
    the connection is limited.

    I followed the update instructions I downloaded with the Windows 8.1 drivers.

    The WiFi LAN adapter settings are intact on DHCP.

    Waiting for assistance to help me a stable wifi connection.

    Kind regards

    Low van Leeuwen

    Two weeks ago I've updated my Satellite U940-103 and everything went well. There is no problem with WLAN. I use it all the time.

    What model of laptop do you have?
    Have you installed the driver for the Toshiba download page or driver provided by Windows update (sometimes classified as important update)?

  • Problem with Safari, after update

    I use a MacBook Pro, OS X Yosemite, 10.10.5 - and after the last update, I have problems with Safari (version 9.1). Some Web pages I visit every day is more responsible (I get the message that the page needs to be recharged because she failed the first time, but this does not work then either). This problem started just after the last update. Does anyone else have this problem? What I have to go back to the previous version or can I fix this problem?

    If you have problems to open Web pages, take a look at these techniques proposed by Apple of troubleshooting.

    https://support.Apple.com/en-us/HT204098

    Go to the Safari menu (at the top right of your screen next to the Apple icon), choose 'Quit Safari'

    Press the "Shift" key and while holding this button on your unique keyboard, click the icon of Safari on your Dock.

    Open Safari - Preferences - Privacy - data to remove any Web site.

    Open the menu to go with the Option (Alt) key - library - key locate Safari folder and place it on your desktop. Restart your Mac, open Safari and delete the file from your desktop.

    Also, try the following steps:

    Restart your Mac.

    Try to start:

    -Stop your Mac

    -Wait until your computer turns off and after that press the power button

    -Just after you hear the startup tone, press in and hold the SHIFT key

    -Release the SHIFT key when you see a gray Apple sign and the progress under this sign bar

    -Once your Mac boot, restart dhcpd as you usually do.

    If this does not help, follow the instructions below:

    -Stop your Mac

    -Wait until your computer turns off and after that press the power button

    -Just after you hear the startup tone, press in and hold the SHIFT key

    -Release the SHIFT key when you see a gray Apple sign and the progress under this sign bar

    -Once you see office, start a scan Disk Utility to detect and repair file system errors (remember to choose your primary hard drive)

    -Click on the disc to check, then, if requested to solve the problems on the repair disk

    -After that click on verify disk permissions, and then click Repair disk permissions

    -Once the process is complete, stop your Mac and turn it on again after 30 seconds

    I hope this helps!

  • HP laptop - 15-r150nm: problem with wifi after update realtek adapter

    Hello! I've updated some drivers of HP customer service and then restarted computer. When it is on I couldn't use wifi. When I select the problems, it says: 1) "" Realtek 802.11B/G/N WIFI adapter RTL8723BE has some problems to the program control or hardware. "" (it is Croatian, so I tried to translate it for you)

    (2) "a network cable is not plugged in correctly or may be broken.

    What should I do, I have only this laptop and internet wifi, write this work? Thank you!

    Hi @frane53nja,

    Welcome to the HP Forums!

    This is a wonderful place to find answers and advice!

    You have the best experience in the HP forum, I would like to draw your attention to the Guide of the HP Forums.

    Learn how to post and more

    I understand that your laptop works OK and after updating drivers on reboot HP customer service, you have lost your wireless network. When you run the Windows troubleshooting tool, you received a message that there was a problem with the NIC due to recent hardware or software changes.

    Here is a link to HP PC - troubleshooting wireless network and Internet (Windows 8) that should help you.

    Before you perform a restore, as shown in the above troubleshooting steps, you can try this option.

    Go to the nursery of the device

    Click the network tab to expand the list.

    Right-click on the wireless network adapter and select roll back driver.

    Repeat this process for all types of adapters listed.

    While on this screen please check this definition also.

    Right click on the wireless adapter and choose Properties.

    Click the power management tab.  If "allow the computer to turn off this device to save power" is checked, please remove and click OK. Repeat this operation for all types of adapters listed.

    Please let me know the results.

    Thank you for your participation in the Forums of HP! We want to help you as well as others who may encounter a similar problem as you. Please consider tagging the post in order to solve your problem as "accept as Solution" to help other members of the community!

    To show recognition for my efforts please click the Thumbs Up below.

  • problems with sound after installing windows 7

    My sound/audio does not work on my HP Pavilion dv2023tu notebook after a clean installation of windows XP.

    The convenience store said there is a problem with the driver, but I can't find a new driver through windows update, and HP does not either for my model. The device installed on my laptop is called high definition Audio Device. Can anyone help, if not, where can I download the drivers from. It is better to buy driver update software to help locate the right driver?

    Hello

    A lot of Vista for Windows 7 drivers, so try the following.

    Download the Audio driver from the link below and save it to your desktop.

    FTP://ftp.HP.com/pub/SoftPaq/sp34001-34500/sp34387.exe

    Once the download is complete, right-click on the Setup program and select "Run as Administrator" to launch the installation.  If the driver installs successfully, restart the computer and check your audio files.

    Kind regards

    DP - K

  • Pavilion p256ur: problems with Wifi after waking up (only)

    I have a problem with my new laptop Pavilion p256ur. After he wakes up (only) the wifi (Broadcom BCM 43142) adapter does not. turned on in device management, it can not find any network. WiFi button (in the system settings menu and status bar) don't respond - it seems that the wifi is turned off. I try to:

    1 power off and power on this card in Device Manager

    2. turn off power off (to save energy) option in the settings of the adapter

    3 (default) old uninstal and install the most recent drivers

    4. install the latest driver for chipset

    5 control wlansvc service-, she strives to after wake up

    but his do not solve the problem.

    If I try to reinstall the drivers wifi after last stride upward of his works, but until the next morning to the top.

    In an event list management device devices there is a message:

    Bcmwl64.inf_amd64_0f3430bbd776c163\bcmwl64.inf installation driver for device with ID PCI\VEN_14E4 & DEV_4365 & REV_01\0000E2FFFFCDD85D00 & SUBSYS_2230103C, supplemented by the following condition: 0x0.

    After the system restart wifi works correctly, so if I want to use the wlan I must not sleep notebok. but restart it every time (or reinstall the drivers) is not comfortably. can you help me please?

    Hi @Medvejo,

    Thank you for visiting the HP Forums! A place where you can find solutions for your problems with the help of the community!

    I stumbled upon your post on the laptop and wanted to help you! I looked in your question about your 15-p256ur HP Pavilion Notebook and Wifi problems after wake up. I see that if you change the balanced power plan options option in the book will help. Here is a link that will help you. Go to your power options. Select balance, then click on change plan settings. Click on change advanced power settings. Click on choose what the power button. Figure: 13 choose what the power buttons. -Uncheck allow the computer to turn off this device to save power under the management of the power supply of the wireless adapter.

    Please let me know how it goes.

    You can say thanks for trying to help by clicking on the Thumbs Up below! .

    Thank you.

  • Problems with Vista after disk cleanup

    I have problems with my computer. I have Windows Home Basic Edition. I decided to do a disk cleanup on the computer to speed up some. After disk cleanup, all icons on the desktop disappeared. I tried to open the word processor in the start menu, but got a message saying that he had either been moved or was not valid, and the shortcut would be deleted. At this point, I have advanced and restarted my computer. Only, it wouldn't start at all. I got the Windows installation disc and crossed to repair your computer option. It took forever for a kind of diagnosis, but the started computer. My desktop background was black and a folder with my files was missing. I have received a message that my activation code is not authentic or valid. I tried to restore the computer to an earlier time, but that would take forever and doesn't not work even in safe mode. What can I do now?  I barely understand anything in this area. Thank you!

    I was finally able to do a system restore and validate windows. However, all my files, including photos and important documents have been removed. Is it possible to restore these? And is there anything else I should do to prevent it happening again?

Maybe you are looking for

  • Satellite A500: Low resolution using Win 7

    Hello I have looked around the forum and have found no real solution to my problem so...I recently bought a Satellite A500 and did a clean installation of Windows 7 Professional on this subject. Apparently, I had to just update to keep the drivers, b

  • Satellite Pro A40 - cannot connect WIFI tstablish

    Hi guys I have a Satellite Pro Model: PSA45E - 0184H - EN Problem is I can not establish a wireless connection, the laptop can not be set automatically detect wireless networks? Any help would be appreciated. Thank you.

  • Cannot delete print job

    Original title: when I delete a print job, it doesn't delete deleted printing spool it is said, but I have to restart the computer to remove so I can print another job

  • key Ctrl, alt and right click on the keyboard won't respond or work

    I work on Window Vista Ultimate (HP Pavilion tx2500 Notebook PC) and my ctrl, unresponsive keys alt and right click. So I can't use ctrl + c ctrl + v (or others) on any of my programs (such as Word or Firefox). I can either use ctr + alt + delete. An

  • Dynamic class loader during execution

    Hello 1 as far I understand J2ME does not support the loader class API, and so the only way to dynamically load a class when running is to call Class.forName (). Is this correct? Is there another way around this? 2 suppose I created a valid class fil