Scattergraph crash when refreshing scale the y-axis beyond a certain range programmatically

I have a subscription issue that I'm glued involving control scattergraph. I put my scattergraph to a fixed scale of 0-25 in the loading screen. When the graph is updated I check to see if the value of y is greater than the scale of the axis y. If and when it does update the scale fixed to range from 0 the previous litter, 25. So if it exceeded range 0-25, he was jumping at 0-50, if it exceeded 0-50, he was jumping to 0-75. The issue I'm having is well after the range 0-75 when he tries to change the scale of 0 to 100, the graph crashes and turns into a red x. I have no idea why it is doing at this point, so any help is appreciated. Here is my code to update the graph:

yAxisMax = YAxis1.Range.Maximum
If val1 > yAxisMax or val2 > yAxisMax then
ScatterGraph1.YAxes (0). Range = New NationalInstruments.UI.Range(0, yAxisMax + 25)
ScatterGraph1.YAxes (0). MajorDivisions.Interval += 5
ScatterGraph1.Refresh)
End If

Don't know if it's important but I'm updating simultaneously two clouds of points.

Hello

I made a simple app with a scattergraph and a button on a form. It works very well. There must be something wrong with your values of Y.

Public Class Form1

As Double Dim yVal

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Dim nowValue As Date
Dim convertedValue As Double = 0

Try
nowValue = Now()

convertedValue = CDbl (DataConverter.Convert (nowValue, GetType (Double)))
yVal = yVal + 5

ScatterPlot1.PlotXYAppend (convertedValue, Convert.ToDouble (yVal))

Catch ex As Exception

End Try

End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try

Me.XAxis1.MajorDivisions.LabelFormat = New NationalInstruments.UI.FormatString (NationalInstruments.UI.FormatStringMode.DateTime, "h:mm:ss tt")

Catch ex As Exception

End Try
End Sub
End Class

Curt

Tags: NI Software

Similar Questions

  • Tecra M5 - crashes when you use the docking station - fan at full power but no start the thread

    Hi all

    As I say, I have intermittent problems where the machine crashes when you use the docking station. Sometimes at the beginning of the startup of windows then stalls and powers of fan at full power. If I take off the base of the machine, it works fine.

    I bought this machine because I had one in my previous job and he had found great. However, my only previous also had this problem sometimes when lashing...

    Any assistance received very warmly.

    Thank you!

    Hello

    Stand by. You have noticed this behavior when the laptop is OFF, connect to the docking station and after doing this you turn. Am wrong me or have I misunderstood something?

    Maybe's external screen connected to the docking station?

  • iMovie on El Capitan 10.11.2 crashes when opening, indicating the download of a project.

    iMovie on El Capitan 10.11.2 crashes when opening, indicating the download of a project. You have to force quit.

    It is possible that you have a corrupted project which will cause iMovie hang when it tries to load it.

    Hold down the Alt (option) key when you launch iMovie.  This will prevent that he tries to load all projects immediately and ask for a library to open it.

    Geoff.

  • Crash when you press the [...]

    I got various random crashes when you press the button [...] in the various 9.0.1, CVI function panels but I have not found a model so far.

    1. open Control Panel function for SetCtrlAttribute
    2. for "Attribute of control", press the button [...] and select the item of «Format"under «Format and precision...» "found under"control settings.
    3. press the button [...] to 'value of the attribute.  For me, he won every time CVI.

    Thanks in advance for any help!  If all goes well, there is a quick fix that I find this feature very useful.

    Hello

    It is a known issue with CVI 9.0.1.  This link should fix the problem for you.  Let me know if it does not work.

    NickB

    National Instruments

  • Dreamweaver CS5.5 mac crashes when you use the background color palette

    Dreamweaver CS5.5 mac crashes when you use the background color palette

    Mac OS 10.11.3 El Capitan

    Hi bibledoc

    You can try to reset the Dreamweaver preferences.

    Following the file and the folder are removed from your system:

    / Users / your User Name/Library/Application Support/Adobe/Dreamweaver

    Rename the folder of Dreamweaver preferences, for example, Dreamweaver CS5.5 Old_Dreamweaver CS5.5 folder.

    / Users / your user name/Library/Preferences

    Rename the folder of Dreamweaver preferences, for example, Dreamweaver CS5.5 Old_Dreamweaver CS5.5 folder.

    Restore preferences in Dreamweaver CS4 and CS5, CS5.5

    Access the hidden library files Mac OS

    When Dreamweaver starts, it creates a new preferences file and the folder.

    If it helps doesnot, maybe you can try to create a new admin user account and check. If this is useful, you can try to uninstall and reinstall in the new user account.

    OS X Yosemite: set up users on your Mac.

    Kind regards

    Nikhil Gupta

  • Anyone who has a problem with the system crashes when importing using the new interface to import

    Anyone who has a problem with the system crashes when importing using the new interface to import

    Can specify you what Adobe program you use so that we do that your post is in the right forum?

  • Photoshop crashes when I use the blur tool

    Photoshop crashes when I use the blur tool. I have Photoshop CS6 64-bit with Windows 7.

    Here are the accident report:

    The failing application name: Photoshop.exe, version: 13.0.0.0, time stamp: 0x4f61c045

    Name of the failed module: MMXCore.8BX, version: 13.0.0.0, time stamp: 0x4f61b92e

    Exception code: 0xc0000005.

    If anyone has an idea on how to solve this problem, I'd be really grateful the help!

    You may be interested in this thread

    Blur brush photoshop CS6 crashes

    Seems to be a known issue with the CS6.

    Terri

  • Photoshop CS 6 crashes when I call the print command.

    Photoshop CS6 crashes when I call the print command.  I have reset the default preferences.  I don't know if it's a computer problem or Photoshop.  Photoshop works in every other sense.  I can print from Lightroom.

    Try holding SHIFT keys when you start Photoshop. Try to hold the space bar when you click on print. What is information on your system?

    Benjamin

  • Illustrator CC 2015 constantly crashes when I use the Mop brush.

    Hello. I just started experimenting Illustrator CC 2015 and it constantly crashes when I use the brush palette of tips of brush Mop after a single gesture.

    I tried the same illustration with CS6 and it works fine. Everyone I have a problem, is there a workaround solution and are there seeds more with Illustrator CC?

    IMac 27 "2014 4 GHz retina

    Thanks in advance

    Hello

    We have published a 19.0.1 hotfix that resolves this problem in discussion on this topic. Please apply the patch to your creative cloud application. The creative cloud application checks the update once a day, so you may see the update immediately.  If you want to force the check for an update at the beginning please logout and log back into the creative Cloud application.

    Link to 19.0.1 release notes: https://helpx.adobe.com/illustrator/kb/illustrator-cc-2015-crash-bug-fixes-19-0-1.html

    Kind regards

    Ashutosh

    The name of the Illustrator team engineering

  • CC 2015 Illustrator crashes when you use the function "save for Web".

    CC 2015 Illustrator crashes when you use the function "save for Web".

    Hello

    We have published a 19.0.1 hotfix that resolves this problem in discussion on this topic. Please apply the patch to your creative cloud application. The creative cloud application checks the update once a day, so you may see the update immediately.  If you want to force the check for an update at the beginning please logout and log back into the creative Cloud application.

    Link to 19.0.1 release notes: https://helpx.adobe.com/illustrator/kb/illustrator-cc-2015-crash-bug-fixes-19-0-1.html

    Kind regards

    Ashutosh

    The name of the Illustrator team engineering

  • Adobe flash CS6 crashes when you use the text or Word of edition tool all the time... Please help!

    Adobe flash CS6 crashes when you use the text or Word of edition tool all the time... Please help!

    No one can tell you anything without the proper system or other technical details info. The standard answer with all the problems of text is quite simply, you have a "bad policy" on your system and need to get rid of him.

    Mylenium

  • Photoshop crashes when I use the tool of marquis.

    Photoshop crashes when I use the marquee selection tool. As soon as I make a selection, it blocks my computer (every time!) by either on black screen or sometimes white. I have to force close down and restart. I use MacBook Pro OS 10.6.8 with Photoshop CS6. I am not able to update OS at this time. Is that what I can do to work around this problem? It is extremely time consuming and annoying.

    Here is the crash report, if someone is able to give a sense of this, I'd appreciate it of course to know what the problem is.

    Interval since the last report of panic: 335913 sec

    Panic since the last report: 3

    Anonymous UUID: A9EE1760-D467-49BB-B2EC-A100E2095A2E

    Mon Dec 30 15:09 2013

    panic (cpu 0 0x9d4c9b appellant): NVRM [0 / 1:0:0]: Read Error 0x00000100: CFG 0xffffffff, 0xffffffff, 0xffffffff, BAR0 0xc0000000 0x7f494000 0x0a5480a2, D0, P3/4

    Backtrace (CPU 0), Frame: return address (4 potential args on stack)

    0x5c922188: 0x21b837 (0x5dd7fc 0x5c9221bc 0x223ce1 0x0)

    0x5c9221d8: 0x9d4c9b (0xbea28c 0xc5a800 0xbf8e60 0x0)

    0x5c922278: 0xaef608 (0x8f97c04 9338004 x 0 0 x 100 0xcb42b6)

    0x5c9222c8: 0xae6601 (0 x 9338004 0 x 100 0x5c9222f8 0x9c4778)

    0x5c9222f8: 0x16d49a6 (0 x 9338004 0 x 100 0x438004ee 0x5c922308)

    0x5c922438: 0xb0e2b5 (0 9338004 x 9337004 x 0 0 x 0 0 x 0)

    0x5c922478: 0x9dde7c (0 9338004 x 9337004 x 0 0 x 0 0 x 0)

    0x5c922518: 0x9da55b (0 x 0 0 x 9 0 x 0 0 x 0)

    0x5c9226c8: 0x9dc58f (0 x 0 0x600d600d 0x702b 0x5c9226f8)

    0x5c922798: 0xc9feae (0xc1d0004d 0xbfef0033 0xbfef0034 0x857c)

    0x5c922808: 0xcaf734 (0xa1a5a00 0x1473ec80 8 0 x 0 x 0)

    0x5c922828: 0xcd4322 (0x1473ec80 0xb 0x5c922848 0x89e0)

    0x5c922858: 0xcd4b3d (0x986c000 0 0 0x5c92287c x 0 x 0)

    0x5c922888: 0xcb4d79 (0x986c000 77890080 x 0 0 x 0 0 x 33)

    0x5c9228d8: 0xc76d0c (0x4651a000 0 x 0 0 x 0 0 x 3)

    0x5c922948: 0xc7640f (0x4651a000 0 x 0 0 x 2 0 x 3)

    0x5c922978: 0xc6c05f (0x4651a000 0 x 0 0 x 2 0 x 46255000)

    0x5c922ab8: 0xca55d8 (0 46255000 x 0 x 1 0x5c922bcc 0x5c922bc8)

    0x5c922b68: 0xc67fe1 (0 46255000 x 0 x 1 0x5c922bcc 0x5c922bc8)

    0x5c922be8: 0x56da06 (0 46255000 x 0 x 0 0x5c922e3c 0x5c922c74)

    0x5c922c38: 0x56e2a5 (0xcf6720 46255000 0x8981a88 x 0 0 x 1)

    0x5c922c88: 0x56eb59 (0 x 46255000 10 0x5c922cd0 0 x 0 x 0)

    0x5c922da8: 0 x 286638 (0 x 46255000 x 0 10 0x8981a88 0 x 1)

    0x5c923e58: 0x21dbe5 (0x8981a60 0x1103d5a0 0x1fd7e8 0x5d43)

    0x5c923e98: 0x210a86 (0x8981a00 0 x 0 0x954dc70 0x98d6620)

    0x5c923ef8: 0x216f84 (0x8981a00 0 x 0 0 x 0 0 x 0)

    0x5c923f78: 0x295c57 (0x8cc0188 0 x 0 0 x 0 0 x 0)

    0x5c923fc8: 0x2a256d (0x8cc0184 0 x 1 0 x 10 0 x 0)

    Extensions of kernel in trace (with dependencies):

    com.apple.GeForce (6.4.0) @0xc5c000-> 0xd12fff

    dependency: com.apple.NVDAResman (6.4.0) @0x96e000

    dependency: com.apple.iokit.IONDRVSupport 2.2.1 @0 x 961000

    dependency: com.apple.iokit.IOPCIFamily (2.6.5) @0 x 928000

    dependency: com.apple.iokit.IOGraphicsFamily 2.2.1 @0x93f000

    com Apple.NVIDIA.nv50hal (6.4.0) @0x159e000-> 0x19b2fff

    dependency: com.apple.NVDAResman (6.4.0) @0x96e000

    com.apple.NVDAResman (6.4.0) @0x96e000-> 0xc5bfff

    dependency: com.apple.iokit.IOPCIFamily (2.6.5) @0 x 928000

    dependency: com.apple.iokit.IONDRVSupport 2.2.1 @0 x 961000

    dependency: com.apple.iokit.IOGraphicsFamily 2.2.1 @0x93f000

    Corresponding to the current thread BSD process name: WindowServer

    Mac OS version:

    10K 549

    Kernel version:

    10.8.0 Darwin kernel version: kills Jun 7 16:33:36 PDT 2011; root:XNU-1504.15.3~1/RELEASE_I386

    Name of system model: MacBookPro6, 2 (Mac-F22586C8)

    Availability of the system in nanoseconds: 4671247742528

    discharged kexts:

    com.apple.driver.AppleUSBUHCI 4.2.0 (addr 0 x 1431000, 0 x 65536 size)-updated void 114471438805

    kexts responsible:

    com.apple.driver.AppleHWSensor 1.9.3d0 - last load 45127423025

    com.apple.driver.IOBluetoothA2DPAudioDriver 2.4.5f3

    com.apple.driver.AppleMikeyHIDDriver 1.2.0

    com.apple.driver.AGPM 100.12.31

    com.apple.driver.AppleHDA 2.0.5f14

    com.apple.driver.AppleUpstreamUserClient 3.5.7

    com.apple.driver.AppleMCCSControl 1.0.20

    com.apple.driver.AppleMikeyDriver 2.0.5f14

    com.apple.driver.AudioAUUC 1.57

    com.apple.driver.AppleIntelHDGraphics 6.4.0

    com.apple.driver.AppleIntelHDGraphicsFB 6.4.0

    com.apple.driver.SMCMotionSensor 3.0.1d2

    com.apple.Dont_Steal_Mac_OS_X 7.0.0

    com.apple.driver.AudioIPCDriver 1.1.6

    com.apple.driver.ACPI_SMC_PlatformPlugin 4.7.0a1

    com.apple.GeForce 6.4.0

    com.apple.driver.AppleGraphicsControl 2.10.6

    com.apple.driver.AppleLPC 1.5.1

    com.apple.kext.AppleSMCLMU 1.5.2d10

    com Apple.filesystems.autofs 2.1.0

    com.apple.driver.AppleUSBTCButtons 201,6

    com.apple.driver.AppleUSBCardReader 2.6.1

    com.apple.driver.AppleUSBTCKeyboard 201,6

    com.apple.driver.AppleIRController 303,8

    com.apple.iokit.SCSITaskUserClient 2.6.8

    com.apple.BootCache 31.1

    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1

    com.apple.iokit.IOAHCIBlockStorage 1.6.4

    com.apple.driver.AppleFWOHCI 4.7.3

    com.apple.driver.AppleUSBHub 4.2.4

    com.apple.driver.AppleEFINVRAM 1.4.0

    com.apple.driver.AppleSmartBatteryManager 160.0.0

    2.1.7 com.apple.driver.AppleAHCIPort

    com.apple.driver.AirPortBrcm43224 428.42.4

    com.apple.iokit.AppleBCM5701Ethernet 3.0.5b8

    com.apple.driver.AppleUSBEHCI 4.2.4

    com.apple.driver.AppleACPIButtons 1.3.6

    com.apple.driver.AppleRTC 1.3.1

    com.apple.driver.AppleHPET 1.5

    com.apple.driver.AppleSMBIOS 1.7

    com.apple.driver.AppleACPIEC 1.3.6

    com.apple.driver.AppleAPIC 1.4

    com.apple.driver.AppleIntelCPUPowerManagementClient 142.6.0

    com Apple.Security.sandbox 1

    com Apple.Security.Quarantine 0

    com 2.1.14 Apple.NKE.applicationfirewall

    com.apple.driver.AppleIntelCPUPowerManagement 142.6.0

    com.apple.driver.DspFuncLib 2.0.5f14

    com.apple.driver.AppleProfileReadCounterAction 17

    com.apple.driver.AppleProfileTimestampAction 10

    com.apple.driver.AppleProfileThreadInfoAction 14

    com.apple.driver.AppleProfileRegisterStateAction 10

    com.apple.driver.AppleProfileKEventAction 10

    com.apple.driver.AppleProfileCallstackAction 20

    com.apple.driver.AppleSMBusController 1.0.10d0

    com.apple.iokit.IOFireWireIP 2.0.3

    com.apple.iokit.IOSurface 74.2

    com.apple.iokit.IOBluetoothSerialManager 2.4.5f3

    com.apple.iokit.IOSerialFamily 10.0.3

    com.apple.iokit.IOAudioFamily 1.8.3fc2

    com.apple.kext.OSvKernDSPLib 1.3

    com.apple.driver.AppleHDAController 2.0.5f14

    com.apple.iokit.IOHDAFamily 2.0.5f14

    com.apple.iokit.AppleProfileFamily 41

    com.apple.driver.IOPlatformPluginFamily 4.7.0a1

    com.apple.driver.AppleSMBusPCI 1.0.10d0

    com.apple.driver.AppleBacklightExpert 1.0.1

    com.apple.driver.AppleSMC 3.1.0d5

    com Apple.NVIDIA.nv50hal 6.4.0

    com.apple.NVDAResman 6.4.0

    com.apple.iokit.IONDRVSupport 2.2.1

    com.apple.iokit.IOGraphicsFamily 2.2.1

    com.apple.driver.BroadcomUSBBluetoothHCIController 2.4.5f3

    com.apple.driver.AppleUSBBluetoothHCIController 2.4.5f3

    com.apple.iokit.IOBluetoothFamily 2.4.5f3

    com.apple.iokit.IOSCSIBlockCommandsDevice 2.6.8

    com.apple.iokit.IOUSBMassStorageClass 2.6.7

    com.apple.driver.AppleUSBMultitouch 207,7

    com.apple.iokit.IOUSBHIDDriver 4.2.0

    com.apple.driver.AppleUSBMergeNub 4.2.4

    com.apple.driver.AppleUSBComposite 3.9.0

    com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.8

    com.apple.iokit.IOBDStorageFamily 1.6

    com.apple.iokit.IODVDStorageFamily 1.6

    com.apple.iokit.IOCDStorageFamily 1.6.1

    com.apple.driver.XsanFilter 402.1

    com.apple.iokit.IOAHCISerialATAPI 1.2.6

    com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.8

    com.apple.iokit.IOFireWireFamily 4.2.6

    com.apple.iokit.IOUSBUserClient 4.2.4

    com.apple.iokit.IOAHCIFamily 2.0.6

    com.apple.iokit.IO80211Family 320.1

    com.apple.iokit.IONetworkingFamily 1.10

    com.apple.iokit.IOUSBFamily 4.2.4

    com.apple.driver.AppleEFIRuntime 1.4.0

    com.apple.iokit.IOHIDFamily 1.6.6

    com.apple.iokit.IOSMBusFamily 1.1

    com.apple.kext.AppleMatch 1.0.0d1

    com.apple.security.TMSafetyNet 6

    com.apple.driver.DiskImages 289

    com.apple.iokit.IOStorageFamily 1.6.3

    com.apple.driver.AppleACPIPlatform 1.3.6

    com.apple.iokit.IOPCIFamily 2.6.5

    com.apple.iokit.IOACPIFamily 1.3.0

    I would first try resetting the preferences of photoshop by down Cmd + Option + shift keys at startup cs6.

    Keep hold down the keys until you get a dialog box asking if you want to delete the adobe photoshop settings file and press Yes because you do.

    If this makes no difference, see if unchecking CPU graph using in the Adobe Photoshop > preferences > Preformance then by restarting photoshop cs6 works.

  • Flash 11.8 beta crashes when you exit the full screen

    Flash 11.8 beta plugin crashes when you exit the full screen.

    * The crash of the plugin that brings in ComodoDragon 26.2.2.0 and Firefox21.0

    * The accident occurs in Flash 11.8 beta only

    * Flash Player 11.7.700.202 not crushed.

    * The accident happens on Wndows7x64 and WndowsXPx32 as well

    Steps to reproduce:

    1. install the Flash Player 11.8.800.50

    2. run ComodoDragon 26.2.2.0 or Firefox21.0

    3 open http://www.youtube.com/watch?v=55s3T7VRQSc

    4. click on the icon at the bottom right of the video fullscreen

    -observe the Flash video becomes fullscreen mode

    5. press ESC to exit full screen

    -observe the Flash pluin crashes

    Actual results:

    The Flash plugin crashes

    Expected results:

    The Flash plugin should not fall down.

    The video should play continue.

    Hi, it is already known.

    https://Bugzilla.Mozilla.org/show_bug.cgi?id=869838 = adbe 3556886

    https://Bugzilla.Mozilla.org/show_bug.cgi?id=772097 = adbe 3550712

  • I'm new to Lr, can someone tell me if there is a limit of size PRACTICE to a Lightroom catalog file? Should I keep the file size within a certain range of size of GB and then create a new? Thank you I would be grateful of any advice.

    I'm new to Lr, can someone tell me if there is a limit of size PRACTICE to a Lightroom catalog file? Should I keep the file size within a certain range of size of GB and then create a new? Thank you I would be grateful of any advice.

    He has no such limit, and in fact some users in this domain and other forums report catalogues over 1/2 million pictures works well.

    The idea to create multiple catalogs because you don't want to get too big catalog file size is a bad idea that you should never think of it again.

  • Firefox crashes when I pressed the Browse button to upload files

    Windows 7 x 32 Firefox 10.02 the program crashes constantly when I press the Browse button (such as gmail attachments, virustotal programs and so on.)
    PS I've already eliminated the registry problems and attempted to delete MRU registry, such as mentioned in this topic: https://support.mozilla.org/ru/questions/754368#answer-105628

    Cor - el will no doubt come with suggestions. I will list the accident report Details incase they help someone. The accident occurred when a component associated Windows is in use. Have you ensured you have no background task running, and no unnecessary plugins Firefox are running.

    No reason to expect to be directly related, but a previous incident with the same signature took place when bookmarks were used, and the solution in this instance was:

    I found out that an option in Microsoft File Explorer caused the crash.
    To solve this:
    - Go to "Organize"
    - Choose "Folder and search options"
    - uncheck "Automatically expand to current folder"
    
     Now Firefox won't crash again!
    

    Your reports for s CrashID all have the same signature

Maybe you are looking for