Kiethly 2400 Error 113 "Undefined Header"

Hello,
   I am currently using a Keithley 2400 both as a current source and as a measuring device.  The program I am running is based on the Keithly 24xx drivers  (http://sine.ni.com/apps/utf8/niid_web_display.dow​nload_page?p_id_guid=25B255F3AA83660EE0440003BA7CC​D71). 
The program works perfectly for about 30 seconds of data collection, then shows Error 113 Undefined Header, then begins to work again after a brief interruption.  The error will then appear randomly after that.  Does anyone know what is causing this error and how to stop it?  My code can be found attached to the message
I ran NI SPY and the following was highlighted red: >
697.  viWaitOnEvent (GPIB0::16::INSTR (0x02D08828), IO_COMPLETION, 0, 0, 0x00000000)
> Process ID: 0x00000874         Thread ID: 0x00000D10
> Start Time: 15:31:10.343       Call Duration 00:00:00.000
> Status: 0xBFFF0015 (VI_ERROR_TMO)
from 697 to 708
The lines before it were:
695.  VISA Write ("GPIB0::16::INSTR", ":ARM:COUN 1;:TRIG:COU...")
Process ID: 0x00000874         Thread ID: 0x00000FA4
Start Time: 15:31:10.328       Call Duration 00:00:00.000
Status: 0 (VI_SUCCESS)
 696.  VISA Write ("GPIB0::16::INSTR", "ARMOUR IMM;:ARM:TIM...")
Process ID: 0x00000874         Thread ID: 0x00000FA4
Start Time: 15:31:10.328       Call Duration 00:00:00.015
Status: 0 (VI_SUCCESS)
the lines after it were:
 709.  viWaitOnEvent (GPIB0::16::INSTR (0x02D08828), IO_COMPLETION, 0, IO_COMPLETION, 0x02DA2878)
Process ID: 0x00000874         Thread ID: 0x00000D10
Start Time: 15:31:10.343       Call Duration 00:00:00.000
Status: 0 (VI_SUCCESS)
710.  Completing viWriteAsync (GPIB0::16::INSTR (0x02D08828), 0x04045CD1, "ARMOUR IMM;:ARM:TIM...", 65)
Process ID: 0x00000874         Thread ID: 0x00000D10
Start Time: 15:31:10.343       Call Duration 00:00:00.000
Status: 0 (VI_SUCCESS)
Attachments:
Source_Current_Meas_Volt_Single_Read.vi ‏68 KB

The error occurs when the VI code is at the "read single" point of the VI. When I watch the sub VI's, the progression is that under the read single VI, it occurs at the read multiple points VI, and under that VI with error 1073807339 at the Fetch Measurements VI, and under that VI it occurs, with the same error code 1073807339 at the VISA Read and the Property Node.  I have attached the spy file with just my program open, and with the Fetch program open. 
Attachments:
Capture.spy ‏265 KB
capture with fetch subvi runnning.spy ‏265 KB

Similar Messages

  • Keithley 2400 errors

    Hi ,
    I want to do sweep measurement using keithley 2400 with labview 2010. Here are the errors I came across.
    error running read single.vi
    Error -1074000000 occurred at Keithley 24XX.lvlib:Error Query.vi
    Possible reason(s):
    Instrument reports:
    -113,"Undefined header"
    -230,"Data corrupt or stale"
    -420,"Query UNTERMINATED"
    0,"No error"
    Complete call chain:
         Keithley 24XX.lvlib:Error Query.vi
         Keithley 24XX.lvlib:Read (Multiple Points).vi
         Keithley 24XX.lvlib:Read (Single Point).vi
         Keithley 24XX Read Single.vi
    running error query.vi from keithley24xx lib----
    code
    d-1073807346
    VISA Write in Keithley 24XX.lvlib:Error Query.vi
    I downloaded keithley 2400 driver in NI website.
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=25B255F3AA83660EE0440003BA7CCD...
    I am very new to labview and keithley 2400. Kindly help me in this regard. Please give a detailed reply.

    Thanks for your reply. I have posted the VI and a screen print of MAX communication.
    Attachments:
    Keithley 24XX Sweep and Acquire Measurements.vi ‏26 KB
    NI- MAX.JPG ‏111 KB

  • Undefined header

    Hello,
    I have probelm with running my program. I work with DSA hp35670A. When I run the program I receive the error of HB-IB error -113 undefined error "RST", "AVOF", "HANN". Can anyone tell me what these commands or functions are? i have already checke other forums and I figured out that there is a chance that these commands are not defined for the device I'm working with. So Im wondering if someone can help me figuing out what these commands are and how I can replace them. Hann is used in string concatenation block, AVOF is used in VISA write and etc. There are other commands as well  (i.e, RST;SNGL;MAG;VSLG;LOG but I have no clue what they do and how i can change them.
    Thanks.
    Farzin 

    I'm guessing that you don't have the programming manual for this instrument. A search of the manual turns up *RST, so that command may be being sent with a syntax error, doesn't turn up AVOF or HANN. The first is a command to turn off AVG at least on the earlier HP3562 DSA, HANN is selecting Hanning filtering. So it may be that you don't have the options installed for this instrument. Since it is giving you error HP-IB error messages it would appear that it is an older instrument, they moved from being called HP to Agilent a decade ago, apparently started calling the interface the GPIB one around then (HP had insisted on refering to it as the HPIB, since they invented it).
    What drivers are you using, not sure how Hann is "used in string concatenation block", etc. It also may be that the instrument is old enough that it is using commands from before the industry standard SCPI ones were defined.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Error: document.getElementsByTagName("head")[0] is undefined

    javascript crash
    Error: document.getElementsByTagName("head")[0] is undefined
    How can ı solve this problem

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    *Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Increase UDP sending size over 64k bytes and get error -113,sending buffer not enough

    Dear all,
    I have a case that I must send a data over 64k bytes in a socket with UDP . I got a error-113 shows "A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram was smaller than the datagram itself.".I searched for this issue and got the closest answer as below:
    http://digital.ni.com/public.nsf/allkb/D5AC7E8AE545322D8625730100604F2D?OpenDocument
    It said I have to change buffer size with Wsock.dll. I used the same mathod to increaes the send buffer to 131072 bytes by choice optionname to so_sndbuf (x1001) and give it value with 131072 and it worked fine without error. However I still got an error 113 while sending data with " UDP Write.vi ". It seems UDP write.vi reset the buffer size? Are there any other things cause the error?
    I attached example code. In UDP Sender.vi you can see I change send buffer size to 131072 and send date included a 65536 bytes data.There is also a UDP receiver.vi and there is some missing VI which you can get from the LINK. But it's not necessary.
    Attachments:
    UDP Sender.vi ‏14 KB
    UDP Receiver.vi ‏16 KB
    UDP_set_send_buffer.vi ‏16 KB

    The header for a UDP packet includes a 16 bit field that defines the size of the UDP message (HEADER AND DATA)
    16 bits limits you to a total size of 65635 bytes, minus the header sizes; a minimum of 20 bytes are required to define an IP packet and 8 bytes for UDP leaving an effective data payload of 65507
     bytes.
    LabVIEW is not the issue...
    http://en.wikipedia.org/wiki/User_Datagram_Protocol#Packet_structure
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Agilent 2000 3000 x-series waveform generator.vi "undefined header"

    I am trying to run the example vi "agilent 2000 3000 x-series waveform generator.vi" with LabView 13 but I get "undefined header" error. The example vi "Agilent 2000 3000 X-series Acquire Waveform Continuously.vi" works fine, so I"m comunicating with the DSO-X 3054 scope but unable to control the waveform generator. Any advice will be greatly appreciated. Thanks.
    Solved!
    Go to Solution.

    Hi wtoso,
    The "undefined header" error is typically due to an incorrect GPIB command or value. Please make sure you are providing the device with the correct command. Details on GPIB commands for Agilent scopes can be found on the company website, in the programmer's manual.
    Regards,
    Kristen

  • Conversion configuration error Unknown structure Header found in document

    Hi,
    we are having the following target structure according to that we need to generate a file.
    Output file sample format:
    ACODESXXXX0001581012011-03-2209.12.42WARRANTY CAUSE CODES FILE
    ACODESXXXX000158102CCCORROSION INSPECTION
    ACODESXXXX00015810255CAVITY, PINHOLE
    ACODESXXXX00015810256BAD MACHINING
    BCODESXXXX0001581012011-03-2209.12.42WARRANTY COMPLAINTS CODES FILE
    BCODESXXXX000158102NCNO CUSTOMER COMPLAINT
    BCODESXXXX000158102XPCONSIDERATION
    BCODESXXXX00015810299OTHER
    BCODESXXXX000158199000000131
    CCODESXXXX0001581012011-03-2209.12.42WARRANTY CIRCUMSTANCE CODES FILE
    CCODESXXXX000158102 BLANK
    CCODESXXXX000158102AAT ENGINE START
    CCODESXXXX000158102BWHEN WARMING-UP
    Target  Record Structure:
    DT_Codes
              Record
                        ACodes      
                               Header
                               Details
                               Trailer
                         Bcodes
                               Header
                               Details
                               Trailer
                         Ccodes
                               Header
                               Details
                               Trailer
                         TWRNTY
                               Header
                               Details
                               Trailer
    In receiver file adapter we have given following content conversion parameters
    Content conversion Parameters :
    Recordset Structure*: A_Code.Header,A_Code.Detail,A_Code.Trailer,B_Code.Header,B_Code.Detail,B_Code.Trailer,C_Code.Header,C_Code.Detail,C_Code.Trailer,
    Name                                                                                value
    A_Code.Header.filedFixedLengths               4,5,7,8,2,3,4
    A_Code.Detail.filedFixedLengths               4,5,2,8,9,3,2,7,8,9,3
    A_Code.Trailer.filedFixedLengths                  4,5,2,2,3,3,4
    B_Code.Header.filedFixedLengths               4,5,7,8,2,3,4
    B_Code.Detail.filedFixedLengths               4,5,2,8,9,3,2,7,8,9,10
    B_Code.Trailer.filedFixedLengths                  4,5,2,2,3,3,4
    C_Code.Header.filedFixedLengths               4,5,7,8,2,3,4
    C_Code.Detail.filedFixedLengths               4,5,2,8,9,3,2,7,8,9,10
    C_Code.Trailer.filedFixedLengths                  4,5,2,2,3,3,4
    Now we are getting error "Conversion configuration error Unknown structure Header found in document"
    Please suggest solution for the error.
    thank you,
    Praveen.

    your content conversion parameters seem to be wrong.
    Do refer;
    /people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

  • Hi.  I purchased Adobe Acrobat Xi Pro from a store (card).  I submitted the number (under the scratch area on the card) on the adobe website, with my personal details etc.  When I submitted the form, I got an error message:  413 header length too large (a

    Hi.  I purchased Adobe Acrobat Xi Pro from a store (card).  I submitted the number (under the scratch area on the card) on the adobe website, with my personal details etc.  When I submitted the form, I got an error message:  413 header length too large (and on top the page reads JRun Servelet Error).  What does this mean? What should I do next?

    Hi.  I purchased Adobe Acrobat Xi Pro from a store (card).  I submitted the number (under the scratch area on the card) on the adobe website, with my personal details etc.  When I submitted the form, I got an error message:  413 header length too large (and on top the page reads JRun Servelet Error).  What does this mean? What should I do next?

  • Error message, "undefined is not an object" when exporting book to Digital Editions

    I have created a book file complete with a TOC and but cannot export to Digital Editions. I keep getting the error message, "undefined is not an object." I've attempted to create new book files in several different ways, but continue to get the same error. Any help would be greatly appreciated.
    Tricia

    HI!
    I'm getting the same message error with reference to the check on TOC just before exporting in digital editions. Yes I tried in many ways but I'm working on a MAC and I cannot change the computer because of fonts. Is there anyway to clean the cash memory of InDesign? Thanks!!!

  • In Adobe Creative Cloud, I go to Apps and I get the error message undefined and I cannot download anything, I am using windows 7 64 bit.

    I am using Adobe Creative Cloud, I go into Apps and I get the error message undefined.  I cannot download anything.  I try to refresh application, nothing.  I can even see what I downloaded previously.  I am using windows 7, 64 bit. 
    This worked fine for me for until this morning. 

    I am on an hp experiencing a similar issue e.g., Creative cloud download error 'undefined'. On an hp. screengrab attached.

  • Java.rmi.UnmarshalException: Error unmarshaling return header

    Hi,
    We are running an RMI server instance to serve data ( from memory) to clients. It works fine if fewer number of inquiries goes in. But when the number of inquiries are larger, I am getting some exceptions at the client side. The server crashes without throwing any exceptions. Following are the exceptions received at client side:
    java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
         java.net.SocketException: Connection reset
         at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
         at com.emf1.dataserver.KeyFrequencyKeeper_Stub.getDUNSCounts(Unknown Source)
         at com..match.KeyFrequencyKeeperProxy.getKeyKQSs(KeyFrequencyKeeperProxy.java:307)
         at com.emf1.match.KeyGenerator.generateKeys(KeyGenerator.java:453)
         at com.emf1.match.InquiryProcessor.run(InquiryProcessor.java:870)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
         at java.io.DataInputStream.readByte(DataInputStream.java:331)
         at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189)
         ... 6 more
    The period of time, the server keeps on running (before it crashes) is also not the same. Sometimes it works fine without any problem. But most of the time the server crashes after processing some records.
    I don't know why this is happening.
    Please help...
    Thanks in advance..

    I have this error too when I running my rmi server site program.
    I am running it in Linux Environment.
    Anyone got any idea about this?

  • Error message "print head failure"

    My photosmart 7520 has suddenly shown error message "print head failure", I have followed the cleaning instructions on the hp website, pulled the tabs out on each cartridge & made sure they clicked in correctly. The printer is only about 8 months old. Help!

    Hello Effi,
    Welcome to the HP Forums.
    I see that you are having an issue with the error  "print head failure".
    I realize that you have already stated that you did some cleaning advised from a document that you used from the HP web site.
    I do however have a few other steps that I suggest we try in the attempt to troubleshoot this issue.
    First off, please make sure that you have the printer power cable connected directly to a wall outlet and not a power bar/strip. Here is a document that uses a LaserJet printer as an example but it is meant for HP products in general. Please click on the following link that explains the Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector.
    I have also located a document that deals with the following error 'Problem with Printhead,' 'Printer Failure,' 'Ink System Failure,' or a '0x...' or a 'C2...' Error M....
    If the troubleshooting does not help resolve your issue, I would then suggest calling HP's Technical Support to see about further options for you. If you are calling within North America, the number is 1-800-474-6836 and for all other regions, click here: click here.
    Thanks for your time.
    Cheers,  
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Error Occurred: PDF header signature not found.

    Receiving error on 2 different computers when trying to open pdf documents to print. One computer has Adobe Acrobat X and the other has Adobe Reader XL 11.0.05,
    Following is the error:
         Error Occurred: PDF header signature not found.
    What is causing the error and what changes need to be made to allow the documents selected to be opened?
    Thanks in advance,

    What software is issuing the warning or error?
    Is this form created in LiveCycle?
    That is the Adobe product that creates an XML form.

  • Error 1180 : undefined method stop and gotoAndStop

    Error 1180 : undefined method stop and gotoAndStop
    i don't know why
    Here ,, it's my code is file [.as] and i use as3
    package {
              import flash.display.*;
              import flash.events.*;
              import flash.text.*;
              import flash.utils.Timer;
              import flash.media.Sound;
        import flash.media.SoundChannel;
              import flash.net.URLRequest;
              public class MemoryGame extends Sprite {
                        static const numLights:uint = 5;
                        private var lights:Array; // list of light objects
                        private var playOrder:Array; // growing sequence
                        private var repeatOrder:Array;
                        // timers
                        private var lightTimer:Timer;
                        private var offTimer:Timer;
                        var gameMode:String; // play or replay
                        var currentSelection:MovieClip = null;
                        var soundList:Array = new Array(); // hold sounds
                        public function MemoryGame() {
                                  //soundBG.load(new URLRequest("soundBG.mp3"));
                                  //soundBG.addEventListener(Event.COMPLETE,loadSoungBgComplete);
                                  stop();
                                  StartBtn.addEventListener(MouseEvent.CLICK, clickStart);
                                  function clickStart(e:MouseEvent){
                                            gotoAndStop("startPage");
                                  // load the sounds
                                  soundList = new Array();
                                  for(var i:uint=1;i<=5;i++) {
                                            var thisSound:Sound = new Sound();
                                            var req:URLRequest = new URLRequest("note"+i+".mp3");
                                            thisSound.load(req);
                                            soundList.push(thisSound);
                                  // make lights
                                  lights = new Array();
                                  for(i=0;i<numLights;i++) {
                                            var thisLight:Light = new Light();
                                            thisLight.lightColors.gotoAndStop(i+1); // show proper frame
                                            thisLight.x = i*90+100; // position
                                            thisLight.y = 175;
                                            thisLight.lightNum = i; // remember light number
                                            lights.push(thisLight); // add to array of lights
                                            addChild(thisLight); // add to screen
                                            thisLight.addEventListener(MouseEvent.CLICK,clickLight); // listen for clicks
                                            thisLight.buttonMode = true;
                                  // reset sequence, do first turn
                                  playOrder = new Array();
                                  gameMode = "play";
                                  nextTurn();
                        // add one to the sequence and start
                        public function nextTurn() {
                                  // add new light to sequence
                                  var r:uint = Math.floor(Math.random()*numLights);
                                  playOrder.push(r);
                                  // show text
                                  textMessage.text = "Watch and Listen.";
                                  textScore.text = "Sequence Length: "+playOrder.length;
                                  // set up timers to show sequence
                                  lightTimer = new Timer(1000,playOrder.length+1);
                                  lightTimer.addEventListener(TimerEvent.TIMER,lightSequence);
                                  // start timer
                                  lightTimer.start();
                        // play next in sequence
                        public function lightSequence(event:TimerEvent) {
                                  // where are we in the sequence
                                  var playStep:uint = event.currentTarget.currentCount-1;
                                  if (playStep < playOrder.length) { // not last time
                                            lightOn(playOrder[playStep]);
                                  } else { // sequence over
                                            startPlayerRepeat();
                        // start player repetion
                        public function startPlayerRepeat() {
                                  currentSelection = null;
                                  textMessage.text = "Repeat.";
                                  gameMode = "replay";
                                  repeatOrder = playOrder.concat();
                        // turn on light and set timer to turn it off
                        public function lightOn(newLight) {
                                  soundList[newLight].play(); // play sound
                                  currentSelection = lights[newLight];
                                  currentSelection.gotoAndStop(2); // turn on light
                                  offTimer = new Timer(500,1); // remember to turn it off
                                  offTimer.addEventListener(TimerEvent.TIMER_COMPLETE,lightOff);
                                  offTimer.start();
                        // turn off light if it is still on
                        public function lightOff(event:TimerEvent) {
                                  if (currentSelection != null) {
                                            currentSelection.gotoAndStop(1);
                                            currentSelection = null;
                                            offTimer.stop();
                        // receive mouse clicks on lights
                        public function clickLight(event:MouseEvent) {
                                  // prevent mouse clicks while showing sequence
                                  if (gameMode != "replay") return;
                                  // turn off light if it hasn't gone off by itself
                                  lightOff(null);
                                  // correct match
                                  if (event.currentTarget.lightNum == repeatOrder.shift()) {
                                            lightOn(event.currentTarget.lightNum);
                                            // check to see if sequence is over
                                            if (repeatOrder.length == 0) {
                                                      nextTurn();
                                  // got it wrong
                                  } else {
                                            textMessage.text = "Game Over!";
                                            gameMode = "gameover";
    and i don't push any code
    at fla file
    why i got that help me plss
    that is my homework and i must send it today TT

    can you write how to use ?
    i write
    "import the flash.display.MovieClip; "
    still error ahhh
    i try to change extends MovieClip instead Spirt
    and not error stop(); and gotoAndStop Already
    but
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at MemoryGame/nextTurn()
              at MemoryGame/clickStart()
    i got thissssssss TT
    import flash.display.Sprite;
    import flash.events.*;
    import flash.text.*;
    import flash.utils.Timer;
    import flash.media.Sound;
    import flash.media.SoundChannel;
    import flash.net.URLRequest;
    import flash.display.MovieClip;
    that i import

  • Failed to read the table scslmthresh: error = 113

    I'm continously getting the above error (Failed to read the table scslmthresh: error = 113) on a new sun cluster 3.2 on two T5240s with a 2540 as their storage. I've searched for this error but I cannot find any information on it. Anyone know what this is??
    java[1935]: [ID 513556 daemon.warning] Failed to read the table scslmthresh: error = 113
    I do have the cluster telemetry services running and a few storage resources, but nothing big yet. This error happens about every 2 hours, but the timing is not exaclty consistent.
    thanks for any insight.

    I figured out that this error definitely has to do with reading/writing information to the telemetry resource/data service, so I removed mine completely and re-installed it using the clsetup (option 8, then option 2). That seems to have removed the error. I'm guessing a Java patch changed something that the telemetry service didn't like.

Maybe you are looking for