"-17005 - System Level Exception" when adding extra results

Hi,
I can't find an answer to the following problem:
I defined a complex data type and used it in custom step. Further on I configured TestStand to add to results the previously defined parameters.
When running this step the execution is abnormally aborted.
The attached sequence file reproduces the error.
The environment used is TestStand 3.0 under WindowsXP.
Debugging with MSVC++ 6.0 I can see an Access Violation in TSTOBJ2.DLL, which I suspect is not handled.
Please help me out here solving this problem.
Thank you,
Silvius
Silvius Iancu
Attachments:
Error.seq ‏33 KB

Silvius -
I remember a problem that was fixed in TestStand 3.1 and it had to do with multiple levels of types causing the problem. I tried your sequence file on TestStand 3.0 and it occurred. I tried it on TestStand 3.1 and the problem did not.
I suspect that if you do not use three levels of types and instead use two or one large type only, the problem will not occur in TestStand 3.0.
Scott Richardson (NI)
Scott Richardson
National Instruments

Similar Messages

  • System Level Exception, error -17502 when running VI with RunTime Engine

    My sequence conains a single Labview VI.  The sequence functions correctly with the Labview RunTime engine NOT selected in the "Advanced Setttings" tab.  When I enable the check box to always run the VI with the Runtime Engine, TestStand generates the following error "System Level Exception, error -17502.  My teststand version is 3.5, with LV 8.2.
    Thanks
    Peter V.

    Hi,
    Are you sure you have LV 8.2 RTE on your system?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • 17502 System Level Exception

    Hi Everyone,
    I've done the searches and read all the posts related to the"-17502; System Level Exception" error message.
    I've quadruple checked the CVI function and the function call in TestStand to make sure the data types matched and that pointers were indeed pointers and not passed by value.
    Since the error stayed, I decided to do a mock code where I removed the parameters in the CVI function to the point where the only parameter is now the CAObjHandle thisContext, as shown in the image below.
    Even with a single parameter, I continue to get that error.  And yes, the error is related to the function 'MemTest'.
    Since I narrowed the list of parameters to this single one, is there something I'm over-seeing with the CVI function and the way it is called by TestStand?  (I am rusty at TestStand..  I didn't think I was that rusty )
    It does not make it inside the function since the first step is a message saying that it got in (kinda like Hello World).
    -  sigh  -
    R
    Message Edited by Ray.R on 09-24-2009 03:10 PM
    Attachments:
    what-the.PNG ‏14 KB

    Hi RayF,
    I knew I could count on you... 
    I get the error when I run the sequence.  I had a fully working sequence and added this one additional step, which is a new test.
    The Adaptor should be okay as it has not changed from the original code.  I can check, but ut should be fine.  As a matter of fact, if I choose continue instead of terminate, the program continues happily afterwards.  So I think I did something stupid which is small and should be easy to fix..  It just evades me at the moment.
    I'm "old school".  I created the function prototype from within LW-CVI from scratch.  I didn't think of using the Create Code button.  I will try that. 
    I will also try removing everything else from within the function and simply have an "Hello World" message popup. 
    Thanks RayF,
    RayR

  • Gets error "-17502; System Level Exception" while running the custom Step in NI TestStnad 2010

    I have a custom teststand step which works like For loop in TestStand. Previously I was using LV 2009 and NI TestStand 4.2.1 and this step was working fine. Recently I upgraded my system to LV 2010 and TestStand 2010, since that it is not working.
    When I run the step it gives error "-17502; System Level Exception". I have attached error screenshot.
    I am using NIFlowControl.dll in this step.
    Please do the needful.
    Attachments:
    System Levle Exception error.JPG ‏25 KB

    The source code for NIFlowControl.dll ships with TestStand. Did you perhaps
    1) modify the code and rebuild this dll in teststand 4.2.1, but did not move your changes into the 2010 version and recompile the 2010 version?
    Or
    2) Move your 4.2.1 version of this dll to 2010 in which case it might be missing important code that exists only in the 2010 version. It's best to redo your code changes to the 2010 version and recompile that if needed.
    Also ideally your modified version of NIFlowControl.dll should be located in the teststand public directory rather than the program files directory.
    -Doug

  • Level change when adding audio keyframes

    Hi all,
    I've been in Avid Land for the last few months and just came back and noticed something that was getting on my nerves when I left (I don't recall seeing this before FCP 6). When I add keyframes to my audio levels with the pen tool, I get a keyframe, but at the same time, it lowers my level as if I had added a keyframe and then dragged it down. As far as I can tell it does this every time.
    Does anyone know what this is about?
    Thanks,
    Matt

    I was having this problem, so just before I composed this reply I did some tests. It could well be 'sloppy mouse work' but I don't think so. This time the audio level went up by 1 db but before it was dropping by 1 db when adding a keyframe. During the test, no matter how accurate I was the audio level changed when adding a keyframe. The track I was working on was enlarge somewhat and the problem didn't happen on standard sized tracks. I feel that this has to be some sort of bug.
    I have always found FCP a little bit on the 'accurate' side. You have to be very precise when clicking on items otherwise you will miss. Some buttons are way too small and I think Apple could improve the FCP workflow by enlarging some buttons and allowing more space around clickable items.
    A good example of this is the 3 way colour corrector. The left and right buttons for blacks/mids/whites are very hard to hit and I quite often hit the maximum by mistake.
    I have worked on many non-linear systems and FCP is the only one where mouse accuracy is so important.
    I am, to some extent used to this now and I suppose it is a minor inconvenience in comparison to the benefits of using FCP but, in the interests of improvement and ease of use it would be good if Apple could take this onboard.
    Weenie.

  • System Level Exception. Error code -17502

    Hi,
    I have an initialize test step which is written in LabWindows/CVI and I call
    that step from TestStand.
    In that test step I initialize one dll, first I load DLL (the handle goes to
    the global variable) and finally I get the function pointers. When this step
    ends, I go back to the TestStand and I got this error. Do you know what is
    wrong and how should I do this dll loading because I need this handle later?
    TIA,
    -Harri

    I think something must be happening in either the DLL_PROCESS_ATTACH: of DLL main in the loaded dll. It might be trying to do something which can be causing the system level exception.
    System level exception can also be caused because you are calling a dll function incorrectly ie passing a I16 instead of a I32 in the parameters.
    I might also be trying to call/release a function reference which is not valid.
    I would suggest you to step into your code and make sure that all your reference are valid if and when you call/release them.
    You might want to try to trap the 17502 error by following the Knowledge Base link given below
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/a92cf6b69941b35d862568d900693df5?OpenDocument
    Anand Jain
    Applications Eng
    ineer
    National Instruments
    http://www.ni.com/ask

  • System level exception -17502

    Hello,
    I get the following error, when I want to execute a labwindows dll step in testsystand 3.1:
    "system level exception -17502"
    The strange thing is that on 2 other PCs this step is working with same version of teststand and LabWindows
    what could be the problem?
    regards samuel

    That is strange..  The other PC's do not have this error although they have the same dll's...
    My experience with that error code has been "array or buffer out of bound".  The buffer size was not sufficient to hold the data that was passed to it.  Interesting, indeed...    hummm.... 

  • TestStand 4: 17502 System Level Exception

    I attempted to run an TestStand 3.1 Sequence file on my new computer in TestStand 4. And I had a 17502; system level expection run time error for a particular function call. The sequence access the function or module from a .dll that was developed in LabWindows/CVI 7. However, this code module works on my other station that runs TestStand 3.1. I also attached the example of the code that's causing this run-time error in TestStand 4.
    KE2
    Attachments:
    Scope Module.txt ‏4 KB

    I did step through the code to see which function call was causing error. However, when I save the sequence file at a TestStand 4.0 sequence file and executed the sequence this system level exception error did not occur again.

  • RUN TIME error - Error code: system level exception -17502

    1. During running of my sequence in a TestStand Operator Interface   i got following run-time error:
        Details: Error executing substep 'Post'.Parameter 'Input cluster 6 [OUT]': System Level Exception.
        Location: Step 'sequence 'SequenceFilePostStep' in 'Sequence X.seq'
        In my SequenceFilePostStep i transfer some information between the LabVIEW 8.0 and TestStand 3.5.
        In my xxx.vi I have 6 clusters and every cluster from 14 to 20 variables.
       The  cluster #6 has 70 variables.
       Perhaps, the error that i got is from cluster #6 due to 70 variables? is it to much for cluster?
    2. What can i check? How i can fix it?
    Please ask questions if you do not understand something, i am want to resolve it!
       Thank you to all!
    Message Edited by Yuri_IL on 07-30-2006 10:54 AM
    Thank you & Best Regards
    *I use LabVIEW 8.X & TestStand 3.5/4.0.1 versions only

    Thank you Sam R,
    I think that error caused due the overflowing of some string that i have in my cluster.
    Because i also get I/O open file error and the name of that file i hold at my cluster.
    Do you think that the incorrect string can caused to that system level exception error?
    p.s. screenshot is attached
    Thank you & Best Regards
    *I use LabVIEW 8.X & TestStand 3.5/4.0.1 versions only
    Attachments:
    io_error.JPG ‏11 KB

  • Intermittent -17502; System Level Exception

    Running Test Stand 4.2.1, Labview 2009
    In my test stand sequence I launch a Labview VI.  Usually it works just fine, but occasionally I get a -17502; System Level Exception error.  Once it happens it keeps occuring until I open the Labview Vi, re-save it, and then reload it in Test Stand.  I don't change anything about the VI or the Test Stand step, I just open the VI, save and close it.
    Any ideas what is happening?

    ~jiggawax~ wrote:
    What drivers are you calling in your VI?  What is your VI doing? Can it potentially take different paths through the VI different times that it is called?  Can you consistently reproduce the issue?
    Here is a link that might be useful: http://forums.ni.com/t5/NI-TestStand/17502-System-Level-Exception-in-Run-Time/td-p/1892207
    Can you reproduce it with other VIs?  Or is it just this one VI?
    Regards,
    The VI is using OPC via serial to talk to another device.  It just reads a variable for its current status and compares it to an expected value.  There are a couple different paths it can take depending on if an error is present, the value read is the same as the expected value, etc.  but all the paths do very similar things.  The error only occurs with this VI and cannot be reproduced consistantly. 

  • Diagram Disable produces "-17502 System Level Exception" with TS 4.2 + LVRTE 8.6.1

    I had a labview VI that had a diagram disable structure on it.  TestStand loaded it all right, but threw a -17502; System Level Exception at runtime.
    TS 4.2, using labview 8.6.1 RTEW adapter.

    Jed -
    Could you please attach files that reproduce this behavior?
    Manooch H.
    National Instruments

  • System Level Exception -1702 with TestStand2.0

    Hi everyone,
    I usually use Labwindows/CVI and TestStand product.
    On a new PC I have just installed Measurement Studio 6.0 and after TestStand 2.0
    To check if all install are OK, I tried to run the example ..\examples\demo\c\auto.seq and the error System Level Exception Error Code : -1702 appears randomly, It's exactly the same with my sequence application
    I don't understand why ? Could Help me
    PC configuration :
    Windows XP Pro version 2002, service pack 1
    Penium(R) 4 CPU 2.8 GHz
    RAM 512 Mo
    Software installed
    Measurement Studio 6.0 with LabWindows/CVI
    TestStand 2.0
    Thanks a lot in advance.
    Glou.

    Hi,
    this link may help
    http://digital.ni.com/public.nsf/allkb/901B5E1C33A102A18625671C007C501F
    Is your teststand version 2.0 or 2.01f1?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • PSE 10 system slows down when adding files to catalog

    I recently switched from PSE 3 to PSE10 and had issues converting the catalog.  I never did resolve those so I decided to start with creating a new catalog in PSE 10.  My first session of adding photos worked fine.  When I restarted the task the next day, I was asked in participating in making the product better by sharing information about my use with Adobe.  I agreed to participate and very quickly noticed that my computer slowed considerably when adding photos from my hard drive.  The process still worked but I experienced a dramatic increase in the time it took for photos to be added (e.g. the cursor spins for a couple of minutes while the task is working).  I went under my account preferences and opted out of the product participation program but the problem has persisted.  I rebooted the computer to see if that would help but it has not.  I have turned off all media analysis and both optimized and repaired my catalog and while this has provided some improvement, there are still instances where the system slows down.  Now it seems that every other folder's worth of pictures (does not matter how many photos) I add causes this delay.
    I appreciate any help anyone can provide in determining why this slow down keeps occuring. 
    FYI, I am running a new Windows 7, 64-bit system with 8GB DDR-3-1066MHz, and 2 TB hard drive.

    Have you also edited the Preferences (Performance) to increase the amount of RAM that PSE can use?
    Do you have many background processes running?  Having a single HDD means that everything running on your computer has to wait in the queue for disk access.
    How many photos are you importing?
    What file types are the photos?
    How large are the photos?
    Ken

  • Null Pointer Exception When Adding New Row on Table

    Hello JheadStart Team
    I have used detail group with table layout , when I am clicking on AddRow button on detail table , I encounter NulllPointer Exception . I have traced the code and fount that in JhsCollectionModel when adding new row following
    condition occurs :
    DCIteratorBinding ib = getRangeBinding().getIteratorBinding();
    int rangeSize = ib.getRangeSize();
    int rowsInRange = ib.getAllRowsInRange().length;
    because getAllRowsInRange is Null then the error raise.
    My JheadStart ver is 10.1.3.3.85 .
    Detail Group with table layout setting is :
    Use Table range=true
    Show New Row at top=true
    New Rows:empty
    Show Add New Row Button :true
    Regards

    Given the build you are using, I assume you are an Oracle employee.
    Is this correct? if so, please post your question to the [email protected] mailing list.
    Steven Davelaar,
    JHeadstart team.

  • Form Validation using Javascript error when adding extra fields

    Hi,
    I have a form (with a few fields which require validation) which works just fine.  I have added extra fields to the form and require them to validate too.  My problem is that they are not showing via the behaviours/validation box and I can't figure out how to sort it!  They are contained within the form element.  I have tried to delate the original validation and start again but to no avail.
    Please can someone help me?
    Code below.
    Many thanks
    function MM_validateForm() { //v4.0
      var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
      for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
        if (val) { nm=val.name; if ((val=val.value)!="") {
          if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
            if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
          } else if (test!='R') { num = parseFloat(val);
            if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
            if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
              min=test.substring(8,p); max=test.substring(p+1);
              if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
        } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
      } if (errors) alert('The following error(s) occurred:\n'+errors);
      document.MM_returnValue = (errors == '');
    //-->
    <form action="contact_us.asp" method="post" name="contact" target="_parent" class="contentText" id="contact">
          <table width="100%" border="0" cellspacing="5" cellpadding="0">
            <tr>
              <td width="54%" class="subHeader">Full Name* </td>
              <td width="46%" class="subHeader"><input name="FullName" type="text" id="FullName" /></td>
            </tr>
            <tr>
              <td class="subHeader">Company Name </td>
              <td class="subHeader"><input name="CompanyName" type="text" id="CompanyName" /></td>
            </tr>
            <tr>
              <td class="subHeader">Address</td>
              <td class="subHeader"><input name="Address1" type="text" id="Address1" /></td>
            </tr>
            <tr>
              <td class="subHeader"> </td>
              <td class="subHeader"><input name="Address2" type="text" id="Address2" /></td>
            </tr>
            <tr>
              <td class="subHeader"> </td>
              <td class="subHeader"><input name="Address3" type="text" id="Address3" /></td>
            </tr>
            <tr>
              <td class="subHeader">Postcode</td>
              <td class="subHeader"><input name="Postcode" type="text" id="Postcode" /></td>
            </tr>
            <tr>
              <td class="subHeader">Telephone Number* </td>
              <td class="subHeader"><input name="Telephone" type="text" id="Telephone" /></td>
            </tr>
            <tr>
              <td class="subHeader">Mobile Number </td>
              <td class="subHeader"><input name="Mobile" type="text" id="Mobile" /></td>
            </tr>
            <tr>
              <td height="25" class="subHeader">Email Address* </td>
              <td class="subHeader"><input name="Email" type="text" id="Email" /></td>
            </tr>
            <tr>
              <td height="30" class="subHeader">Status*</td>
              <td class="subHeader"><select name="StatusClass" id="StatusClass">
                <option selected="selected">Please Choose</option>
                <option>Architect</option>
                <option>Interior Designer</option>
                <option>Private Client</option>
                <option>Student</option>
                <option>Trade Enquiry</option>
              </select>          </td>
            </tr>
            <tr>
              <td height="23" class="subHeader">Project*</td>
              <td class="subHeader"><select name="Project" size="1" id="Project">
                <option selected="selected">Please Choose</option>
                <option>Planning Stages</option>
                <option>New Build</option>
                <option>Refurbishment</option>
                <option>Barn Conversion</option>
                <option>No project - information only</option>
              </select>          </td>
            </tr>
            <tr>
              <td height="37" class="subHeader">How did you hear about us?*</td>
              <td class="subHeader"><select name="CameFrom" size="1" id="CameFrom">
                <option selected="selected">Please Choose</option>
                <option>Web Search</option>
                <option>Grand Designs</option>
                <option>Living Etc</option>
                <option>Home Building &amp; Renovation</option>
                <option>Architect</option>
                <option>Friend/Family</option>
                <option>Magazine/Editorial</option>
                <option>Newspaper Article</option>
                <option>Trade Show/Exhibition</option>
                <option>Other</option>
              </select></td>
            </tr>
            <tr>
              <td height="24" class="subHeader">Brochure Request </td>
              <td class="subHeader"><input name="Brochure" type="checkbox" id="Brochure" value="checkbox" /></td>
            </tr>
            <tr>
              <td class="subHeader">Message</td>
              <td class="subHeader"><span class="style4">
                <textarea name="Message" id="Message"></textarea>
              </span></td>
            </tr>
            <tr>
              <td class="subHeader"> </td>
              <td class="subHeader"><input name="Submit" type="submit" value="Submit" /></td>
            </tr>
            <tr>
              <td colspan="2" class="subHeader"><em>* Required fields</em></td>
            </tr>
          </table>
          </form>

    whoops..... forgot to post this line of code which was a bit further down the page...
    "MM_validateForm('name','','R','number','','RisNum');return document.MM_returnValue">

Maybe you are looking for

  • Remote Access VPN Problem with ASA 5505

    After about ~1 year of having the Cisco VPN Client connecting to a ASA 5505 without any problems, suddenly one day it stops working. The client is able to get a connection to the ASA and browse the local network for only about 30 seconds after connec

  • MHDDK with Visa: event when DMA transfer complete?

    We are using devices like PXIe-6363, PCIe-6321 depending on requirements and these are dealt with using the MHDDK with Visa backend on Windows (I hope that is the correct terminology). All I/O, both analog and digital simultaneously, is done using DM

  • How do I change the password for an email account that is defunct?

    I have two different apple accounts because the original one I no longer have access to the email address.  For a long time I was able to continue to update my apps because I knew the password.  However now it keeps telling me that the password is wr

  • Creating a PDF in Labview

    I am trying to open up this zip file, and I am able to get to open all the way, to the point of inserting a "test" .txt file to turn into a PDF, but when it asks for the PDF Path, I am unsure of what to put in. Seems like everything I try I get the e

  • Customer Master Price List

    Does anyone know if I can run a SAP transaction code that I can get a customer master price list report?  I need to see the customer, item #/SKU# and list price for all items sold to the cusomter.  Any help would be appreciated.  Thanks