Problems with accessing my analog input from NIDAQ with MATLAB

matlan fail with the analoginput command : AI = analoginput('nidaq',1);
??? Error using ==> analoginput/analoginput
Error using ==> analoginput/analoginput
Failure to open requested data acquisition device. Classe non enregistrée
what i have to do ?

It is hard to determine exaclty what is causing that error with the information provided. Have you verified that your NI DAQ device is working properly on your machine, either through another program or through Measurement & Automation Explorer (MAX)? What version of NI-DAQ do you have installed on your machine? The following websites contain informatoin and links so that you can determine what version of NI-DAQ will work with Matlab and other issues that might be occurring:
http://digital.ni.com/public.nsf/websearch/1F8D330AA1DDC7448625699F000168D3?OpenDocument
http://digital.ni.com/public.nsf/websearch/158EAFCCFA09DFC286256B05000A423A?OpenDocument
You are probably using the MATLAB DAQ toolkit to perform these operations. The best bet is probably for you
to contact Mathworks to see if they have some example m files you can use or if they have documentation on exactly what is causing that error.

Similar Messages

  • I am getting a -50101 error when trying to get analog input from a compact rio

    I am just doing the initial setup of my compactRIO system and have been able to successfully add the cRio in Max and then into a new project.  I created a very simple VI with analog input that I am trying to read into an indicator, following one of teh tutorials.  The module I am reading the input from is a cRio-9201.  The input is voltage.  I have already added the module to teh project under the FPGA, which is under the RIO in the project tree.  Any ideas what I may be missing would be greatly appreciated!
    Thanks

    The 9201 C Series module needs to be created under the FPGA Target
    (cRIO-910x) in the LabVIEW Project. You can either discover the module
    or create it by type. In case you haven't created the FPGA Target
    (cRIO-910x) under the cRIO Controller (cRIO-900x), you must do that
    first. You also have the option of discovering the cRIO-910x or to
    create it by type. I suggest you do it through discovery, so you don't
    need to manually configure the addresses.
    As how to create the items, that's done through right-click on the
    cRIO-900x and select New>>Targets and Devices.... It will pop up
    a dialog in which you expand FPGA Target and it will discover the FPGA
    Target. Similar steps are followed to create the 9201 module.
    If you don't see the FPGA Target and C Series module options, then you
    need to make sure NI-RIO 2.0 is installed in you computer.
    JMota

  • Can I read more than 2 analog inputs from myDAQ?

    Hello, 
    I am trying to read 3 voltage values. However, the myDAQ only has 2 analog inputs.
    There are multi-meter ports in the myDAQ as well. Could I read the 3rd value via this port?
    How would I read these values via the DAQ assit on labVIEW?
    Thanks in advance. 
    Yzhi 

    Hello Yzhi,
    You can acquire from the DMM and the analog inputs using two parallel tasks. The simplest way is to configure one DAQ Assistant for the AI channels, and another DAQ Assistant for the DMM channel. Be aware that the DMM is a software-timed single-point measurement (no hardware waveform acquisition), so you can't tightly synchronize the DMM with the Analog Inputs.
    Here is a screenshot demonstrating how to acquire from all three channels. You could also run the DMM in a separate loop so it doesn't slow down AI.
    Good luck and let us know if you have any other questions.
    Charles Y.
    National Instruments
    Attachments:
    myDAQ acquire two AI and DMM.jpg ‏196 KB

  • Problems with matlab labview interface

    I wrote a code to check the interface of Matlab and LabView. I am reading a matrix from a file and created two 1D subarrays using index array out of it. I am passing the subarray as input in the matlab script to calculate its length. With subarray 2 in the vi I am getting the result I expect. When I choose the subarray 1  as input to the Matab script, LabView crashes.
    Is there any problem with my code?
     

    There is no need to host files somewhere else.  Feel free to upload them to the forums and attach them to your post.
    Minor comments first.  Why are you re-reading your config file every 2 seconds?  Do you expect it to change?  If not then read it once and don't read it again.
    I think it would be best if you stopped when an error occured, you can do this by wiring an error to the Or going into the stop condition, or use the compound arithmatic with Or.
    But I think the major issue you have is that your Arduino reference can be wipped out if you do things wrong.  If your equal comparision is false you go to the false case, where you aren't passing the arduino reference.  So when you go to close you won't close your reference, and your hardware will still be open, and trying to run again will result in an error.  Similarly if your for loop runs for 0 iterations your reference is lost.  Attached is an updated version which has some of these changes.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    Prueba 1 Hooovahh Edit2.vi ‏765 KB

  • Problem in accessing the media files from another server

    Currently I am working in a project with streaming video on demand and using FMS 4.5.
    Let’s say the FMS is installed on one machine say ‘121.123.35.34’ and there is another server ‘100.54.88.222’ where all the media files belong. Now we need to point to this third server to play videos from FMS.I have done the below changes:
    In the fms.ini file: set the VOD_DIR2 = \\100.54.88.222\myvideos
    In the application.xml: Added the stream: <Streams>/hr;${VOD_DIR2}</Streams>
    From my application accessing the path of flv as:source= “rtmp:// 121.123.35.34:1935/vod/hr/test” . Not able to access the video.
    Note: If I will point to say ‘C:hrvideos’ in VOD_DIR2, then I am able to access the videos using the same URL.
    I also tried mapping the shared path to the FMS machine and then given the mapped drive path in the VOD_DIR2, but this also doesn’t work.
    Please let me know:
    If we need to configure any other parameter to stream videos from another server.
    VOD_COMMON_DIR: I modified this similar TO VOD_DIR to location 'C:hrvideos', I am able to stream the videos using rtmp, but not abl eto stream with http.
              Please let me know  can we stream using http also as we need this to run f4m manifest file.
              http://121.123.35.34:8134/vod/hr/sample.mp4.
              http://121.123.35.34:8134/vod/hr/sample.f4m
    Thanks,
    Anjali

    Hi Shiven,
    I followed the steps suggested by you:
    1) Changed the stream:
    <Streams>/hr;${VOD_DIR2}</Streams> to<Streams>/;${VOD_DIR2}</Streams>
    But not able to access the video with rtmp:// 121.123.35.34:1935/vod/test
    2) For http streaming, changes the HttpStreamingContentPath in hds-vod in the httpd config file, and tried to stream the video like:
    http:// 121.123.35.34:8134/vod/test.mp4 or
    http:// 121.123.35.34:8134/hds-vod/test.mp4
    But not able to load the video.
    Please suggest?
    Thanks & Regards,
    Anjali Rawat

  • Acquiring Analog Input from Multiple Channels in Labview

    Hello,
    i am working on a VI where i need to acquire signals from multiple channels in Labview using NI-9129.Initially i want to acquire contineous input signals (voltage and current) and display it on the graph.
    Having looked at forum and Labview examples i tried to make an initail VI but i am not sure if the setup i made needs any modification to serve my purpose.I am fairly new to Labview software.
    All i want is
    1.To acquire conteneously current and voltage 
    2.Display current and voltage individually on the graph.
    3.Perform some basic calculations like MAXIMUM,MINIMUM and AVERAGE values of voltage and current.
    4.Log the data into  excel file
    I have attached the VI i made so far.i need abit of advice if i am moving in the right direction or not.
    Thank You for having a look at my question.
    Attachments:
    Voltage-Current VI.vi ‏81 KB

    Engr_tech wrote:
    i think i already have the tdms for  data logging.as far as the tdms data logging is concerned,when i enable the logging mode to "read and log" the data logged inside the excel sheet would be seperate for current and voltage.?
    Is it practically possible to acquire data from 4 different channels and plot them.if yes,then am i right to assume that all i need is to modify the current VI for four channels having all of them in parallel.
    Yes, you are logging directly to a TDMS file.  This is definately the best route for data logging from a DAQ.  The currents and voltages will show up as different channels in the same group.
    To add more channels, just add them to your DAQmx task.  The logging will handle it with no issue.  Your calculations will also a little work to add the extra channels.  Same for the graphs, since you are using seperate charts.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Problem in accessing a web service from a desktop client

    hello,
    i have deployed a webservice on JSAS 9.1 and i test it, its working fine.
    then i create a client by using netbeans IDE6.0. the client is a simple java class and i make it webservice client. then after compling i run the client it works fine.
    but when i try to run the .jar that the IDE has made after compling the client application, the program close on the statement where i made the Object of the service (i.e. CircleService service = new CircleService();)
    try{
    CircleService service = new CircleService();
    Circle port = service.getCirclePort();
    double r = 10.0;
    double arearesult = port.area(r);
    The webservice is properly deployed as i have tested it from the JSAS admin console.
    Can anybody tell me whats the problem? Is there any security issue or someother issue.
    null

    i have tried the stack trace in the catch but as i said on the statement where i made the object for the service the program just exits. it didn't return any exception or any output.
    thanx for refering me any answer.......

  • Problem in accessing the standard transaction from Portal through RFC

    Below is the error we are getting when we run RFC (which has P60) from the portal(JAVA webdynpro)  which inturn uses BDC to get the spool id from the standard p60(RPCEOYG0)..
    Msgid "00"
    Msgno "359"
    Msgtx "The transaction was terminated by the user".
    But if i keep the debugger inside the RFC after the call_transaction and if I press F8 then I am getting the correct output. Could some one tell me the reason behind this ?
    thanks,
    Prashanth J R

    Hi,
    It sounds to me like the BDC or some other component being called from your Z function module requires some sort of dialog interface (maybe an "Are you sure?" type message).
    When calling RFC from Web Dynpro, you should ensure that at no point in the call stack does it try to perform any dialog functions (messages, pop-up box, display screens).
    You mention that you BDC does a CALL TRANSACTION at some point, you should ensure that this isn't executed when you are calling by RFC from a Web Dynpro.
    Your Z function module should be able to execute from start to finish, returning the results without any dialog interaction.
    I might be wrong, but it sounds similar to a problem we  had a few years ago where someone had coded an "Are you sure?" message into a function module that was called from a stadard R/3 dialog screen as well as Web Dynpro in the Portal, and it broke the portal based stuff.
    Cheers,
    Chris

  • How to link an analog input to a controller implemented in PC(Labview) then feedback to the external system?

    Atten : Jeff or anyone =)
    I had discretized my controller onto labview. And would like to feed the analog input from external into the PC(that the controller is implemented in). I do hv a DAQ card. The problem is I do not know how to link the analog input -> ADC -> controller -> DAC -> system. And i really believe labview hv functions to do it. But really confuse how should i do it. Could anyone pls advise me. Thanks

    Darren,
    You have answered my question. I was wondering whether you were doing single point (non-buffered) analog input, or multipoint (buffered) acquisition. Seems you are doing the latter.
    I'll offer answers to both, however, and I'll start with single point. If you have a single point of data that you'd like to output on a DAC, use the Functions->Data Acquisition->Analog Output->AO Update Channel. You can wire your data right into this VI, and it will update the channel.
    If you have an array of data that you'd like to send out on the DAC, you can use the Functions->Data Acquisition->Analog Output->AO Generate Waveform. This VI is similar to the former, but you tell it the DAC you want to update, the update rate (samples per sec
    ond), and the array of samples you want it to update with.
    In LV5.X, the input is an array of samples; in LV6i, it's an array of waveforms. Therefore, you'll have to change your array to a waveform. Do this by selecting the Functions->Waveform->Build Waveform VI. Stretch the output down, and another input will show up (dt). Wire your array to the squiggly line input. Wire a 0 to the t0, and 1/scan rate into dt. Then wire this output to the AO Generate Waveform VI.
    Hope this helps.
    Mark

  • Analog input(sound) to SD card Module NI 9802 using cRIO 9023

    Hi,
    I am using cRIO 9023 ,NI 9802, NI 9215 and NI 9269 modules, I have acquired an analog input from the module and give it to the Analog output module, the output which I have taken is an audio signal(sound *.wav file) and want to save this output to the SD card module. I am unable to create the wav file in the RT cRIO and that's why I am facing problem in saving the data into the SD card.
    I have the followig queries:
      How can I convert the output to wav file which I have already acquired from the output module.
      How can I save the converted wav file into the SD card module.
    If anybody have already worked and have some knowledge kindly share with me.
    Regards,
    Ather

    Here is an example VI that ships with LabVIEW that may help.  You can change the Write to Text File to Write to Binary File.
    Applications Engineer
    National Instruments
    Attachments:
    9802.zip ‏5 KB

  • How to making smooth the analog input.

    I am trying to get an analog input from a device (torque meter). sending trough compactRIO and using NI 9025 analog module.
    can get the signal, but too noisy. so how to make it smooth.
    any suggestion what to use and what to do. please

    actually I am trying to get analog input from a torque meter, the input is voltage,
    and I am used the NI 9073 compact RIO with the NI 9025 analog module.
    I am able to get the signal, but too much noise.
    so, how to reduce that noise, just get torque signal,
    what should I used,
    any filter such band pass filter or what,
    any suggestion.
    I am still new with the compact RIO and labview, so hope any one expert can help me
    thank you
    regard
    MSyafiq
    Attachments:
    measuring torque.pdf ‏165 KB

  • Touchsmart Iq506t Windows 7, Unable to acess s-video input from windows media center.

    System: Hp Touchsmart IQ506T
                  Windows 7
                  Avermedia (A327) Hybrid mini Pcie Tv Tuner (NTSC/ATSC)
    I purchase this system used without an operating system. I installed windows 7 and downloaded the drivers from Hp. All drivers are installed properly and the Avermedia (A327) mini card driver can be seen in device manager.
    Yet, the A327 tv tuner will not give me access to the s-video input. I can get tv thru the rf connection but I want to use the s-video because it has a cleaner signal.
    Any information about the s-video port will be appreciated..
    Thank you..

    Hi Cnmarsh,
    I understand you are having an issue with the Touchsmart Iq506t with  Windows 7, unable to access s-video input from Windows Media Center.
    I read from your post that drivers are installed properly and the Aver media mini card drivers are seen in device manager.
    I was wondering if the any of the drivers in Device Manager have a Yellow caution?
    Also, is the Touchsmart Iq506t software all up to date?
    You could try to download and run HP PC Hardware Diagnostics tool with this link.
    http://www8.hp.com/us/en/campaigns/hpsupportassistant/pc-diags.html?jumpid=va_r602_us/en/any/pps/pl_...
    Looking forward to hearing from you.
    Thanks
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Quickplay won't record a VCR input from a USB Pinnacle TV stick.

    If I try to record a VCR movie (camcorder type) with Quickplay, it's says, "This content is protected and cannot be recorded". What I've noticed is it seems to only be the analog input from the Pinnacle device. Media Center can record it, but the bottom of the video is distorted. It looks good when played in Quickplay, but won't record. Anyone seen this or have any ideas? Thanks.

    maskeda wrote:
    I got it, some how it was a MIDI track and not an audio track.
    "Some How"?     as in:  user error? 

  • Problems with java after the last update

    Hi, yesterday I downloaded and install the last update available for Snow Leopard. After having installed the update, I had problems with Matlab (I use the version R2010a), and the error code is reported below. Do you think the error and the update are correlated? Do you have any idea of how to fix the problem?
    Many thanks, and cheers!
    Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: 90
    at java.lang.String.substring(String.java:1934)
    at com.mathworks.widgets.tokenmatch.TokenMatchSyntaxLabel$PaintedBasicLabelUI.pain tEnabledText(TokenMatchSyntaxLabel.java:460)
    at javax.swing.plaf.basic.BasicLabelUI.paint(BasicLabelUI.java:162)
    at javax.swing.plaf.ComponentUI.update(ComponentUI.java:153)
    at javax.swing.JComponent.paintComponent(JComponent.java:752)
    at javax.swing.JComponent.paint(JComponent.java:1029)
    at javax.swing.JComponent.paintChildren(JComponent.java:862)
    at javax.swing.JComponent.paint(JComponent.java:1038)
    at javax.swing.JComponent.paintChildren(JComponent.java:862)
    at javax.swing.JComponent.paint(JComponent.java:1038)
    at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
    at javax.swing.JComponent.paintChildren(JComponent.java:862)
    at javax.swing.JComponent.paint(JComponent.java:1038)
    at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:34)
    at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
    at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
    at java.awt.Container.paint(Container.java:1793)
    at java.awt.Window.paint(Window.java:3375)
    at sun.awt.RepaintArea.paintComponent(RepaintArea.java:276)
    at sun.awt.RepaintArea.paint(RepaintArea.java:241)
    at apple.awt.ComponentModel.handleEvent(ComponentModel.java:263)
    at apple.awt.CWindow.handleEvent(CWindow.java:525)
    at java.awt.Component.dispatchEventImpl(Component.java:4812)
    at java.awt.Container.dispatchEventImpl(Container.java:2143)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4566)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:680)
    at java.awt.EventQueue.access$000(EventQueue.java:86)
    at java.awt.EventQueue$1.run(EventQueue.java:639)
    at java.awt.EventQueue$1.run(EventQueue.java:637)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlConte xt.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlConte xt.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:653)
    at java.awt.EventQueue$2.run(EventQueue.java:651)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlConte xt.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:650)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:29 6)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:20 1)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: 90
    at java.lang.String.substring(String.java:1934)
    at com.mathworks.widgets.tokenmatch.TokenMatchSyntaxLabel$PaintedBasicLabelUI.pain tEnabledText(TokenMatchSyntaxLabel.java:460)
    at javax.swing.plaf.basic.BasicLabelUI.paint(BasicLabelUI.java:162)
    at javax.swing.plaf.ComponentUI.update(ComponentUI.java:153)
    at javax.swing.JComponent.paintComponent(JComponent.java:752)
    at javax.swing.JComponent.paint(JComponent.java:1029)
    at javax.swing.JComponent.paintChildren(JComponent.java:862)
    at javax.swing.JComponent.paint(JComponent.java:1038)
    at javax.swing.JComponent.paintChildren(JComponent.java:862)
    at javax.swing.JComponent.paint(JComponent.java:1038)
    at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
    at javax.swing.JComponent.paintChildren(JComponent.java:862)
    at javax.swing.JComponent.paint(JComponent.java:1038)
    at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:34)
    at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
    at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
    at java.awt.Container.paint(Container.java:1793)
    at java.awt.Window.paint(Window.java:3375)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:822)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueue Utilities.java:125)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:678)
    at java.awt.EventQueue.access$000(EventQueue.java:86)
    at java.awt.EventQueue$1.run(EventQueue.java:639)
    at java.awt.EventQueue$1.run(EventQueue.java:637)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlConte xt.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:648)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:29 6)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:20 1)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188

    Exception in thread "AWT-EventQueue-0" java.lang.NegativeArraySizeException
    at org.netbeans.editor.DrawGraphics$GraphicsDG.flush(DrawGraphics.java:655)
    at org.netbeans.editor.DrawGraphics$GraphicsDG.flush(DrawGraphics.java:522)
    at org.netbeans.editor.DrawGraphics$GraphicsDG.setBuffer(DrawGraphics.java:756)
    at org.netbeans.editor.DrawEngine.draw(DrawEngine.java:1116)
    at org.netbeans.editor.DrawEngineLineView.paint(DrawEngineLineView.java:233)
    at org.netbeans.lib.editor.view.GapBoxViewChildren.paintChildren(GapBoxViewChildre n.java:783)
    at org.netbeans.lib.editor.view.GapBoxView.paint(GapBoxView.java:1463)
    at org.netbeans.lib.editor.view.GapDocumentView.paint(GapDocumentView.java:231)
    at org.netbeans.editor.DrawEngineDocView.paint(DrawEngineDocView.java:314)
    at org.netbeans.editor.view.spi.LockView.paint(LockView.java:363)
    at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1423)
    at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:723)
    at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:870)
    at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:849)
    at javax.swing.JComponent.paintComponent(JComponent.java:752)
    at javax.swing.JComponent.paint(JComponent.java:1029)
    at javax.swing.JComponent.paintToOffscreen(JComponent.java:5146)
    at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java :1515)
    at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1446)
    at javax.swing.RepaintManager.paint(RepaintManager.java:1260)
    at javax.swing.JComponent.paintForceDoubleBuffered(JComponent.java:1065)
    at javax.swing.JViewport.blitDoubleBuffered(JViewport.java:1612)
    at javax.swing.JViewport.windowBlitPaint(JViewport.java:1573)
    at javax.swing.JViewport.setViewPosition(JViewport.java:1118)
    at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(BasicScrollPan eUI.java:1029)
    at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI .java:1018)
    at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel. java:348)
    at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeMode l.java:285)
    at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:151 )
    at javax.swing.JScrollBar.setValue(JScrollBar.java:446)
    at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.mouseWheelMoved(BasicScrollPan eUI.java:964)
    at javax.swing.plaf.basic.BasicScrollPaneUI$MouseWheelHandler.mouseWheelMoved(Basi cScrollPaneUI.java:525)
    at com.apple.laf.AquaScrollPaneUI$XYMouseWheelHandler.mouseWheelMoved(AquaScrollPa neUI.java:38)
    at java.awt.Component.processMouseWheelEvent(Component.java:6462)
    at java.awt.Component.processEvent(Component.java:6146)
    at java.awt.Container.processEvent(Container.java:2085)
    at java.awt.Component.dispatchEventImpl(Component.java:4736)
    at java.awt.Container.dispatchEventToSelf(Container.java:2167)
    at java.awt.Component.dispatchMouseWheelToAncestor(Component.java:4886)
    at java.awt.Component.dispatchEventImpl(Component.java:4622)
    at java.awt.Container.dispatchEventImpl(Container.java:2143)
    at java.awt.Component.dispatchEvent(Component.java:4566)
    at com.mathworks.mde.editor.codepad.Codepad$2.mouseWheelMoved(Codepad.java:209)
    at java.awt.Component.processMouseWheelEvent(Component.java:6462)
    at java.awt.Component.processEvent(Component.java:6146)
    at java.awt.Container.processEvent(Container.java:2085)
    at java.awt.Component.dispatchEventImpl(Component.java:4736)
    at java.awt.Container.dispatchEventImpl(Container.java:2143)
    at java.awt.Component.dispatchEvent(Component.java:4566)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4311)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
    at java.awt.Container.dispatchEventImpl(Container.java:2129)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4566)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:680)
    at java.awt.EventQueue.access$000(EventQueue.java:86)
    at java.awt.EventQueue$1.run(EventQueue.java:639)
    at java.awt.EventQueue$1.run(EventQueue.java:637)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlConte xt.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlConte xt.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:653)
    at java.awt.EventQueue$2.run(EventQueue.java:651)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlConte xt.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:650)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:29 6)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:20 1)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Exception in thread "AWT-EventQueue-0" java.lang.NegativeArraySizeException
    at org.netbeans.editor.DrawGraphics$GraphicsDG.flush(DrawGraphics.java:655)
    at org.netbeans.editor.DrawGraphics$GraphicsDG.flush(DrawGraphics.java:522)
    at org.netbeans.editor.DrawGraphics$GraphicsDG.setBuffer(DrawGraphics.java:756)
    at org.netbeans.editor.DrawEngine.draw(DrawEngine.java:1116)
    at org.netbeans.editor.DrawEngineLineView.paint(DrawEngineLineView.java:233)
    at org.netbeans.lib.editor.view.GapBoxViewChildren.paintChildren(GapBoxViewChildre n.java:783)
    at org.netbeans.lib.editor.view.GapBoxView.paint(GapBoxView.java:1463)
    at org.netbeans.lib.editor.view.GapDocumentView.paint(GapDocumentView.java:231)
    at org.netbeans.editor.DrawEngineDocView.paint(DrawEngineDocView.java:314)
    at org.netbeans.editor.view.spi.LockView.paint(LockView.java:363)
    at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1423)
    at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:723)
    at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:870)
    at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:849)
    at javax.swing.JComponent.paintComponent(JComponent.java:752)
    at javax.swing.JComponent.paint(JComponent.java:1029)
    at javax.swing.JComponent.paintToOffscreen(JComponent.java:5146)
    at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java :1515)
    at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1446)
    at javax.swing.RepaintManager.paint(RepaintManager.java:1260)
    at javax.swing.JComponent.paintForceDoubleBuffered(JComponent.java:1065)
    at javax.swing.JViewport.blitDoubleBuffered(JViewport.java:1612)
    at javax.swing.JViewport.windowBlitPaint(JViewport.java:1573)
    at javax.swing.JViewport.setViewPosition(JViewport.java:1118)
    at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(BasicScrollPan eUI.java:1029)
    at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI .java:1018)
    at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel. java:348)
    at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeMode l.java:285)
    at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:151 )
    at javax.swing.JScrollBar.setValue(JScrollBar.java:446)
    at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.mouseWheelMoved(BasicScrollPan eUI.java:964)
    at javax.swing.plaf.basic.BasicScrollPaneUI$MouseWheelHandler.mouseWheelMoved(Basi cScrollPaneUI.java:525)
    at com.apple.laf.AquaScrollPaneUI$XYMouseWheelHandler.mouseWheelMoved(AquaScrollPa neUI.java:38)
    at java.awt.Component.processMouseWheelEvent(Component.java:6462)
    at java.awt.Component.processEvent(Component.java:6146)
    at java.awt.Container.processEvent(Container.java:2085)
    at java.awt.Component.dispatchEventImpl(Component.java:4736)
    at java.awt.Container.dispatchEventToSelf(Container.java:2167)
    at java.awt.Component.dispatchMouseWheelToAncestor(Component.java:4886)
    at java.awt.Component.dispatchEventImpl(Component.java:4622)
    at java.awt.Container.dispatchEventImpl(Container.java:2143)
    at java.awt.Component.dispatchEvent(Component.java:4566)
    at com.mathworks.mde.editor.codepad.Codepad$2.mouseWheelMoved(Codepad.java:209)
    at java.awt.Component.processMouseWheelEvent(Component.java:6462)
    at java.awt.Component.processEvent(Component.java:6146)
    at java.awt.Container.processEvent(Container.java:2085)
    at java.awt.Component.dispatchEventImpl(Component.java:4736)
    at java.awt.Container.dispatchEventImpl(Container.java:2143)
    at java.awt.Component.dispatchEvent(Component.java:4566)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4311)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
    at java.awt.Container.dispatchEventImpl(Container.java:2129)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4566)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:680)
    at java.awt.EventQueue.access$000(EventQueue.java:86)
    at java.awt.EventQueue$1.run(EventQueue.java:639)
    at java.awt.EventQueue$1.run(EventQueue.java:637)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlConte xt.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlConte xt.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:653)
    at java.awt.EventQueue$2.run(EventQueue.java:651)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlConte xt.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:650)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:29 6)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:20 1)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

  • Cannot access my mail account from last 2-3 days

    I am having problem in  accessing my mail accounts from last 2-3 days

    ->Force Quit, select Mail

Maybe you are looking for