Property loader error

I have created a test for 50 measurements. This requires the property loader to read:
1 off StationGlobals.CurrentTestName
1 off StationGlobals.FailTarget
1 off StationGlobals.PassTarget
1 off Step.Comp
1 off Step.Limits.High
1 off Step.Limits.Low
Array 0f [0] to [49] of:
Step.Result.Measurement[*].Comp
Step.Result.Measurement[*].Limits.High
Step.Result.Measurement[*].Limits.Low
To test this a single block program was written. The above was entered into the property loader step. All variables pointing to the reference files and the file start and stop label are set up by local variables. The limits file was manual altered and trial values entered.
The program ran and loaded all limits successfully.
I have a large program under development that I could not get this function to work in. I copied the property loader step and limits string from the working files into the larger program. I have checked the correct variables are being passed to the property loader for the limits source file name and the Data Start and End Markers. Everything looks fine but when I run the program I get an error message saying:
Sequence File: 1065-32911_Block09_RDVS.seq
Property loader step failed to import or export properties.
153 property value(s) were found.
3 property value(s) were imported from 6 row(s) of data
I even tried copying the complete performance test across and the whole of the limits section for that performance test too. It still won’t work.
Also, what does the error message
3 property value(s) were imported from 6 row(s) of data
actually mean anyway?
I've attached a text file with the individual linits test text.
Attachments:
Multilim.txt ‏6 KB

BrianM,
It seems that the properties does not exist in your current context.
'Rows of data' means the number of lines in your text file within the data markers.
Is the error message you are providing complete?
Did you copy the message from the Run-Time error dialog?.
Make sure you have the same steps you had originally and that the steps contains tha same properties (measurements).
In this case you should aways have a step called 'Test Multiple Numeric' containing 50 measurements.
It is very importatnt that the step name is the same.
It seems to me that the step is only being able to import the station globals.
You can verify it by ignoring the error and checking the station globals values after the step executes.
Hope it helps.
If you have any question let me know.
Antonio Lie.
Message Edited by Antonio Lie (NI) on 04-12-2006 12:46 PM

Similar Messages

  • Error while importing a big array with thr property loader

    Hello,
    the following problems occure: when I want to import a *.txt file with a array of more than arround 3300 members with the property loader, the following error meassage occures:
    property loader step failed to import or export properties
    x property values were found
    x-1 property values were imported from y rows
    Error code: -18, user defined error code.
    how can I solve this problem?
    I think sizes of arrays are limited somewhere in the source code of the property loader. is it possible to increase this size? And how?
    regards samuel

    Could you attach an example of your .txt file and your sequence?

  • Property loader in .csv Format : Error with list of Numbers

    Hi,
    I need to change property files from the .xls format to the .csv format so that I won't need to install Ms Office on the Test Station PC.
    Everything works is .csv format except for variales containing lists of numbers.  Here is an example.
    This variable contains the channel list to send to a Digital Multimeter.  A string containing all channel numbers seperated by comas (The DMM model is Agilent  34070A). 
    I create a variable named ChannelList of type string containing : "101,102,103,104,105"
    When exporting to property file (Using Tools-Import/Export properties), TestStand will write the following line is .csv format :
    ChannelList,"101,102,103,104,105"
    When trying to import this property value with a property loader I get the following error :
    Runtime Error Occured
    Error evaluating expression:Runstate.Sequence.locals.ChannelList = (""101")
    Unexpected Token: 101
    What puzzles me is that teststand is not even capable of reading its own exported property within a newly created file.
    Any ideas?
    TestStand 2013
    Thanks in advance
    Nien

    Nien,
    This is a known issue and we are looking into this issue in future version of TestStand.
    There are couple of approaches for fixing the problem:
    1. Use a different character for comma in the property loader file. After importing the data, replace the character with comma using TestStand expression in the sequence file.
    2. Use Tab Delimited Text format instead of CSV format.
    3. We can see that, property loader is using expression to update the value of the property (The exact expression is specified in the error message you have posted). In a text editor, update the csv file to have the value as
    ChannelList,101""+Chr(44)+""102""+Chr(44)+""103""+Chr(44)+""104""+Chr(44)+""105
    This will create the expression such that, the value of ChannelList property will become 101,102,103,104,105
    Note: This is just a workaround and you should use this approach with caution.
    Thanks,
    Shashidhar

  • Edit "Edit Property Loader..." cause an ActiveX Error

    Hello
    I have just make a fresh install of TS 3.1f1
    I have inserted a Property Loader step, and whenn I click on "Edit Property Loader..." button I get an ActiveX error:
    sCode = 0xffffbc66, Description: Unknow variable or property name 'SequenceFile'. Error accessing item 'SequenceFile'.
    Regards,
    Yannick Willener

    hi,
    Can you call the
    "\Examples\PropertyLoader\PropertyLoader.seq " and test this sequence? If you cann't run this sequence succsessfully may be you have to deinstall TS and install it again. If you run the sequence successfully than it seems that you have some problems with calling values through activeX. Check please the format of variables.
    Regards
    TN

  • How to use the property-loader?

    Hello,
    i´m using TS 3.5 and LV 8.0. Now i also want to use the built-in property-loader from Teststand.
    Is there somewhere a documentation for "beginners" how to use this property-loader? At the end i want to read parameters from an ascii-file which updates my input-parameters of the steps in the current-sequence.
    I know how to read and change parameters from teststand in labview via active-x, but i have no idea how to use this propertyloader-thing.
    Is there an easy help file somewhere in the net ( I havent found one yet)?
    Thanks for your help.

    Meanwhile i can use the propertyloader for Limits and Variables which are in a container of the teststep. What not worked was:
    1.) setting the properties of a "Messagebox". For example the property "Button1Label". Why is this not working?
    2.) The second thing what is not clear: Do i need for each sequence an own property-loader? I tested it with a sequence with one subsequence. Does the subsequence needs its own property-loader?
    Currently the import-csv-file looks like this:
    Start Marker,,,
    <Step Name>,Limits.Low,Limits.High,Cont.Voltage
    TestStep_1,1,2,4
    TestStep_2,8,16,32
    End Marker,,,
    When Teststep_1 and Teststep_2 are both in mainsequence then it works. When i copy Teststep_2 in a subsequence then i get an error (-18).
    Any ideas about my two questions?
    Thanks

  • Using WHERE command in property loader SQL query

    Hello All,
    Hopefully this will be a fairly straight forward question.
    I am attempting to use Property Loader to read in test limits from a SQL database. There are many types of models that need to be tested, each having a unique set of limits. I want to be able to retrieve the appropriate limits for the model of product under test.
    To do this I have the product model number available in a FileGlobal. The database contains a table with the test limit information with an identifying 'ModelNumber_Number' column.
    I have written the following SQL query achieve this:
    "SELECT *  FROM TESTLIMITS WHERE ModelNumber_Number=+ FileGlobals.ModelNumber"
    However, this is where I am confused. I'm not sure on the syntax for accessing a variable in the SQL command. I receive the following error:
    The multi-part identifier "FileGlobals.ModelNumber" could not be bound.
    Can someone please provide guidence on how to do this?
    Many thanks,
    Cam.
    Solved!
    Go to Solution.

    Thank you very much for your reply.
    Upon changing the query to as you suggest, I am presented with the following:
    Error In SQL Statement Expression. "SELECT *  FROM TESTLIMITS WHERE ModelNumber_Number = " + FileGlobals.ModelNumber
    Specified value does not have the expected type.
    The type of FileGlobals.ModelNumber is a numeric represented as a double precision 64 bit signed integer.
    The database column is also of type int 64.
    Can you suggest a solution?
    Many thanks.

  • Using Property Loader in a sub-sequence with multiple invocations

    I'm using the Property Loader to load a different set of limits for each invocation of a sub-sequence. In my example, I have a sequence to do tests all the tests on a given RF band. But I want the ability to specify different test limits for each band.
    It wasn't hard to come up with an expression based on Parameters.Band to specify different Start and End data markers in the Property Loader step. So far so good.
    I don't necessarily want to override the same limits in every band. For one band, I might be happy with a default limit from the sequence file itself. Trouble is, if I don't specify a limit in the limit-file for a given band, then the limit loaded by the previous invocation of the sub-sequ
    ence is still in effect. This was a surprising behaviour. There's a huge opportunity for errors to creep in here, because the limit files may be edited by "lusers", and it's hard to explain this pitfall.
    Is there an easy way to make the limits reset to the sequence-file defaults before I call the Property Loader? Or alternatively, to make the loaded limits affect only the present invocation of the subsequence (the same way loading Locals only affects the present invocation?)
    BTW, I'm not actually using the official TestStand Property Loader, which I find too unwieldy. We wrote our own Property Loader. But the problem is common to both. Changes to RunState.Sequence.Main... persist across invocations of the sequence.
    - Ron

    Here I go, answering my own question again. For the benefit of anyone else who ever runs up against this...
    The trick is in the Sequence Properties dialog. Turn off "Optimize Non-Reentrant Calls to This Sequence". The little comment there makes it pretty clear that this is what's needed. I tried it, and it works.
    - Ron

  • Can I use property loader in a main sequence to load properties in subsequence?

    Hi, I have been trying to use the property loader to load test limits and local variabels into subsequences from the main sequence.
    I can export all the properties for my main sequence and all the subsequences contained within by selecing <all sequences> in the export function.
    When I try to load the exported file back in using the property loader I get differant errors depending on the format I exported/imported it with.
    For text or csv files iget error -17100
    "The file format is incorrect near the section 'StationGlobals'.  Make sure that you are using start and end markers correctly."
    For an xl format I get error -18 
    "Property loader step failed to import or export properties.
    310 property value(s) were found.
    43 property value(s) were imported from 920 row(s) of data"
    There is no where near 920 rows of data or 320 properties in the exported file.
    If i use the property loader to load properties in just main it works fine, is there extra formating I need to do to the file before importing it or is it not possible to load properties into a subsequence from a property loader in main?
    Solved!
    Go to Solution.

    Hi,
    I have tried several sequences and building the propertyloader file using the export tool,
    Moving the End_Mainsequence to the bottem did not help.
    I can load values into a single sequence with no problem it is only when I try to load properties into a sub sequence from the main sequence that I have issues.
    Attached is a more simple example of what I am trying to acheive. 
    Kind regards,
    Hugo
    Attachments:
    Sequence File 2.seq ‏9 KB
    Test.csv ‏2 KB

  • Urgent: Servlets -- property change error

              I am new to Servlets and I have the following problem
              I installed web logic server 5.1 on win 98, the installation was successful and the web server is up and running.
              I wrote a small servlet and saved in the weblogic/myserver/servletclasses directory.
              I started the server console and tried to load the Servlet and got the following error:
              Property change error for property "Load"
              Unable to load servlet.
              Please help me resolving this issue.
              Please let me know if I need to set some properties.
              Thanks
              

    Basically how can I get the property change to run only after the app is visible?Add the PropertyChangeListener to the tabbed pane after the JFrame is visible.
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.

  • Property Loader won't Load FileGlobal variable values

    What am I doing wrong here?
    I've Exported three FileGlobal string variables into a tab delimited TEXT file and then cleared out the Values (values="") . The contents of that file is:
    Variable Value
    Variable Value
    FilteredInputValueTag "tag_AI_ENGINEERING_VALUE_FILTERED"
    FullDefaultTag "tag_SYS_FACTORY_DEFAULT"
    OutputValueTag "tag_SYS_OUTPUT_VALUE"
    Variable Value
    If I manually IMPORT the file, it works OK, and tells me that it has imported 3 Variables.
    However, I can't get the values to Import using the Property Loader at Runtime (Context of the FileGlobals remain at blank -""). I DO have the correct Path & Filename set (if I change one charact
    er and it gives me an Error Box.)
    Mike

    Hi Mike,
    I have attached a small TS2.0.1 example which I hope will help you sort your problem.
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    FileGlobalsExample.seq ‏31 KB
    FileGlobalsExample.txt ‏1 KB

  • Property Loader and Multiple Numeric Limits

    I’m using a Multiple Numeric Limits Step with 50 measurements. From these 50 measurements I would like to create a limits file. The problem I have is that when I export the properties to a tab delimited file text file it becomes unreadable. I have attached a file with an example of what I mean.
    Is there any way to format the limits file so that it is more readable?
    Regards
    Ray Farmer
    Attachments:
    example.txt ‏6 KB

    Hi Ray and Scott,
     This thread is closest to my challenge, so I wanted to reply
    instead of post a new thread.
    I may have four or five different (multiple num lim) steps
    with 10 – 25 measurements each. So there’s a lot of columns AND
    Result.Measurement[3].Comp might be power limits for some steps, jitter for
    another and OMA for yet another.
    I may also have two to five
    different custom steps that have 10 – 25 unique properties each.  This can stretch the top row colunn headings
    of a properties file out to 75 – 100 columns.
    What is a good or common approach to make property and
    limits files more readable/editable by humans? I’ve tried a custom file editor
    and a custom property loader, is one approach better, any other ideas? Should I
    make steps with many properties or results into subsequences? Thanks
    Sincerely,
    Chris C.
    more context:
    I find
    reading Ray’s example.txt file in excel better than notepad, but still
    more cumbersome than I’d like. I also have the same problem with custom
    step types that contain 10 – 25 properties to load at runtime, though this
    is a little better because the NAME of the property is used in the column
    headers. If I exported properties from a seq with four different steps
    with 20 props each, the top property file row stretches out to 80 columns.
    If I use Markers I think I can “stack” the column headers in excel and not
    have such a wide file.
    For
    the limits I’m going to need to see the measurement name in the file,
    Measurement[“Pave”].Comp instead of 
    Measurement[3].Comp. I tried changing this in the limits file and
    the Import tool but it wouldn’t work, is it possible?
    I
    built a limits and property file editor app (jpeg attached) for one
    project to make editing easier and less error prone, and also maintain the
    native TestStand file formats and property loader. The leftmost column
    retains the order of the sequence.
    I have
    experimented with my own property loader, however it is not based on the
    property loader code that comes with TestStand because I did it in
    LabVIEW. This produces a file that looks like the attached jpeg and is readable in
    Excel, a requirement (or was that a whine?) of my organization. (Can’t use
    a database.) However it seems a little dangerous to recreate TestStand
    components.
    Attachments:
    EditTSPropertyFileApp.jpg ‏150 KB

  • Using Property Loader with Renamed Steps

    If I have a test step in a loop where the step is renamed using RenamePreviousStep after each iteration, is there a simple way to use Property Loader to load test limits corresponding to the dynamically changing test name?
    The only way I have found to do this so far causes errors at runtime on the non-existent step names in the file which have to be ignored. Also it is not very slick to call PropertyLoader every time the loop iterates.
    Is there a more elegant way to load limits for steps which "don't yet exist"?

    How do you organise your limit file.
    Do you have a different Start/End Marker for each of your iterations
    so that you have the correctly named step(s) between the markers?
    You could try loading an array of limits into a local array(s) from
    your Limit File then index through the array as the datasource for your
    limits. Remember its a PropertyLoader, so its not limited to just
    limits. That way you only read it once and you are not tied to the Step
    name.
    I originally had all limits within a single Start-End marker pair. Having now given each limit set an individual Start-End marker and setting PropertiesListSource dynamically in the Loader Step in the loop, that works OK.  Perhaps not so elegant still as each iteration of the loop requires a Property Loader step instead of loading everything in one hit (I'm guessing there has to be some performance overhead in multiple property loader calls vs. a single load of all limits) but at least there are no errors on the loader step now I am only loading that test which exists after the loop rename.
    The alternative of loading data into arrays had ocurred to me and I may experiment with this if performance becomes an issue with the first approach.
    Thanks for your reply Ray, its much appreiated.

  • I"m having trouble using Teststand's " property loader step

    ",I tried using the Demo sequence given with Teststand Ver 1.03(which I"m using) under drive:Teststand\Exersices\Database, it works fine (Test passes) but there is no data in the Local Variables, I know that i got the columens right I might have problems selecting the rows, I tried using the Local's Variable name or step name but it didn't help, I"ll appericiate any idea's

    Hello Kitty -
    I am curious about your problem, have you placed breakpoints in your sequence before and after your property loader Database step to see that the values aren't being loaded? If the step isn't loading properly there is usually some sort of error especially when you have your database of properties set up on the same pattern as the demo. Are you seeing Step.Comp and the Limit values change but not your Local variables? This would be an interesting detail to note. Also, as far as selecting rows the demo goes by "STEPNAME" due to the nature of how the table is set up, if yours follows the same pattern, selecting the same row would be best.
    If you are seeing the changes at Run-time but not when your sequence completes then this is expected behavior and the t
    ool that you may want to use is the "Import/Export Properties..." (Located in the tool menu) to give you more permanent alterations to your sequence. As always, refer to the user manual for a discussion on differences between 'Property Loader', 'Limit Loader', and 'Import/Export Properties...'
    Regards,
    Elaine R.
    National Instruments
    http://www.ni.com/ask

  • Access of undefined property (loader)

    I am trying to run the simple code as following:
    <fx:Script>
    <![CDATA[
                                  import flash.display.*;
                                  import flash.net.URLRequest;
                                  Security.allowDomain("www.youtube.com");
                                  var url2:String = "image2.jpg";
                                  var urlRequest:URLRequest = new URLRequest(url2);   //problem code
                                  var loader:Loader = new Loader();     //problem code
                                  loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loader_complete);   //problem code
                                  loader.load(urlRequest);
                                  addChild(loader);
                                  function loader_complete(evt:Event):void {
                                            var target_mc:Loader = evt.currentTarget.loader as Loader;
                                            target_mc.x = (stage.stageWidth - target_mc.width) / 2;
                                            target_mc.y = (stage.stageHeight - target_mc.height) / 2;
                        ]]>
              </fx:Script>
    However, I got errors saying
        'access of undefined property 'loader_complete'
        'access of undefined property 'loader'
        'access of undefined property 'loader'
        'access of undefined property 'loader'
        'access of undefined property 'urlReguest'
    I haven't used Flash builder for a while and need some assistants. Any thoughts? Thanks for the help.

    I am just testing some codes for youtube api. It seems like that I can't use the Loader Class properties. Not sure why.
    I copied some code from the example in this website.
    https://developers.google.com/youtube/flash_api_reference

  • Property loading an empty array

    I have an array that I want to initialize from text file using a property loader step.  I want the number of elements of the initialized array to be equal to the number of elements in  the array in the text file.  I tried to accomplish this by defining the TestStand array empty and importing all properties from the text file.  This resulted in an error message for each property in the array - here's a snippet of the error messages:
    Error evaluating expression:FileGlobals.Arinc629.Limits.Label[0].Address = (0xE90)
    Property does not exist.
    The text file I'm loading the properties from is attached.  The properties are loaded successfully if I define the TestStand array with a size bigger or equal to the number of elements in the text file.  But I want to have the text file to dictate how many elements are in the TestStand array.  Is there a good way to do that?
    Thanks,
    Hans
    Message Edited by hans17 on 11-05-2008 06:28 PM

    Hans,
    What version of TestStand are you using?
    Starting with TestStand 3.1 you can import/export arrays and containers as XML strings.
    If
    you want to be able to set the array bounds in the text file all you
    have to do is to modify the LBound and HBound attributes in the
    corresponding XML Prop tag and add the Value tags corresponding to the
    elements you want to add.
    For example.
    Let's assume I have an numeric array local variable named MyArray (Locals.MyArray).
    The first thing I would do is to use the Import/Export Properties tool to generate my text file.
    1. Make sure that the Locals.MyArray variable is not empty (In my case Lower Bound =0 and Upper Bound= 9)
    2.  Go to Tools>>Import/Export Properties
    3. Go to the Source/Destination tab and  specify your text file location
    4.  Go to the properties tab and add Locals.MyArray to the selected properties list
    5. Click the Export  button
    6. Open your text file and verify it looks as follows:
    <Step Name>
    <Locals>    Variable Value
    MyArray   
    <Prop Name='MyArray' Type='Array' LBound='[0]' HBound='[9]'
    ElementType='Number'><Value ID='[0]'>0</Value><Value
    ID='[1]'>0</Value><Value
    ID='[2]'>0</Value><Value
    ID='[3]'>0</Value><Value
    ID='[4]'>0</Value><Value
    ID='[5]'>0</Value><Value
    ID='[6]'>0</Value><Value
    ID='[7]'>0</Value><Value
    ID='[8]'>0</Value><Value
    ID='[9]'>0</Value></Prop>
    <FileGlobals>    Variable Value
    <StationGlobals>    Variable Value
    7. In my case I only exported the Locals.MyArray variable
    8. Notice that the Value of the Locals.MyArray variable is a XML string that contains a Value tag for each element in the array.
    9. 
    If I want to change the number of elements in the array next time I
    import the text file, I only have tp modify the LBound and HBound
    attributes and add or remove the value tags for the array elements.
    10.
    Let's say that I want my array to have only one element, then I need to
    set the value of HBound to 0 and get rid of the Value tags
    corresponding to the rest of the elements.
     <Step Name>
    <Locals>    Variable Value
    MyArray  
     <Prop Name='MyArray' Type='Array' LBound='[0]' HBound='[0]'
    ElementType='Number'><Value
    ID='[0]'>0</Value></Prop>
    <FileGlobals>    Variable Value
    <StationGlobals>    Variable Value
    11.  Modify your text file and use the Import/Export Properties tool or the property loader step to import the text file
    12 . Verify that the array bounds are modified
    You could use this technique to initialize an empty array using the property loader.
    Hope it helps.
     Regards.

Maybe you are looking for

  • Dunning costs and Dunning letters

    Hi to All, Any body can help me out, In this regard.,     In the report of Dunning cost(Sendiing Dunning letters to customers)., Customers are showing but company code was not showing.How can i get the company code for those customers.     And one mo

  • How do add column to a Crystal report 8.5

    Post Author: Jsantos CA Forum: Data Connectivity and SQL Hi guys, I would like some help. I have  a VB Form in VB 6 that call a report made in Crystal report 8.5 and I want add a column of a SQL Server 2000's table inside this report called reportSal

  • HOW TO PRINT THE SCRIPT DIRECTLY

    hi , i want to print the script directly by skiping the prini preview screen can any one help me.. regards, siva

  • Is it possible to record FaceTime HD video in 30 fps?

    I need to record in at least 1280 x 720, 30 fps, 44000hz 24 bit audio from the built-in camera in my iMac Retina. Is this possible to do in iMovie, and if so, how? I don't see where to adjust the audio/video settings for FaceTime HD recordings.

  • How to use views in abap

    hi , please help me.