Loading multi numeric

I'm having a problem loading properties from an access database for a multi-numeric type test. The loading works fine for single numerics and strings but I can't seem to figure out how to configure the database and the multinumeric test to play together.
I have a multi numeric test step named T1.01 which accesses sequence local variables for their results. There are three tests (within the step) to load properties for(ie High Limit, Low Limit, Units ...). The property loader uses the step name (T1.01) to load properties.
Should the database have multiple entries called T1.01?
How should the limits embedded in the step itself be configured?
As I said, I have no problems witn NON-MultiNumeric types.
Thanks for the help.

Hi Maz,
I understand the problem you are having. TestStand uses Step.Limits.High(or Low) to store the limits of a numeric limit test, but uses Step.Result.Measurement[i].Limits.High(or Low) to store the limits in a multiple numeric limit test. The i is the index of each measurements in your step.
You don't need to have more that one record in your database for a multiple numberic limit test, instead, you need to have more columns in your table so that you can store the limits for every measurement in your test. I know it doesn't sound like the best design, but that's the way it is. Your table needs to have columns called for example Result_1_Limits_High_N, Result_2_Limits_Low_N, etc.
Now, how do you confgure this in Teststand? When you select th
e properties you want to import in your property loader, make sure you include Step.Result.Measurement[i].Limits.High(and Low) and map the property to the columns in your table.
Something you can do, is use the property loader from the tools menu in teststand. Select your database, make the SQL statement something like: "SELECT Table1.* FROM Table1". Make sure the properties are selected and click on create columns. This will create columns in your database table.
I hope this helps, good luck.
Marcela.

Similar Messages

  • Count number of Multi Numeric Steps

    Hi, I tried searching and did not find anything on this topic.  Maybe I am not searching correctly so if this topic is already posted please point me in the right direction, thanks.
    I am pretty new to TestStand so I am still fumbling my way around.  Currently I am using TestStand 2014 32 bit on a PC running Windows 7.  I have a sequence file that contains a number of multi-numeric tests.  I want to be able to count the total number of multi-numeric steps in the sequence file and the total number of multi-numeric steps that will get executed (in debug mode).  I have a custome report that gets generated in Excel taking the results from the multi-numeric tests.  The total number of pages in my report depends on how many tests are executed.  I am trying to write to the report something like page 1 of 3, so if I know the numer of tests that will run than I can calculate the number of pages.

    Hi Jigg,
    You are right and I thought about going back at the end of the run and re-numbering, but the code was originally done by someone else and there is a mixture of both summary and graphs in the report, each graph is unfortunately a chart object in a sheet.  I would have to seperate the sheets that are not neccessary (plots for reference) from the summary sheets which might make this a bit messy.  You are right, the multi-numeric steps would be used multiple times base on configuration and temperature profiles, but that I can easily figure out base on variables already in place.  I think either way will work, but this way I get a chance to increase my knowledge of TestStand and for that I thank you for the information.

  • Remote loading Multi-versioned application & ApplicationDomains & communication

    Hello,
    let's have an application A that loads application B using SWFLoader. Is it possible to have A and B compiled with different Flex SDKs and have the applications in the same ApplicationDomain?
    I want to communicate between the applications, for example add some event listener to SystemManager of B. If I use loadForCompatibility=true, I get coercion error (of course - ApplicationDomains are different and we have two SystemManagers, so flex has no idea which one to use).
    Any ideas how to achive the communication?

    I would be lovely if Adobe created some demo for remote loading multi-versioned application using runtime shared library, with some event communication between applications

  • SQL Loader and numeric types

    I'm using SQL Loader to import data from a file, but I'm having trouble with numeric types.
    I'm trying to import an amount into a table. The amount field in the table is of type NUMBER(11,2).
    I suppose that Double is the correct type to use in the ctl-file definition. How do I use this type?
    I've tried to use:
    AMOUNT DOUBLE TERMINATED BY ";" NULLIF BELOP=BLANKS,
    but the I get an error message because I'm using terminated by
    I've also tried using:
    BELOP DOUBLE NULLIF BELOP=BLANKS,
    but then it isn't able to find the delimiter.
    I've tried to search the net for examples using Double, but I haven't found anything of current interest yet.
    So, my question is:
    1. Is Double the correct type to use in this case?
    2. How do I use Double?

    I hardly ever specify a data type in a SQL*Loader control file; I just let Oracle handle it. If it is not the correct datatype for the column Oracle will reject it anyway. The main exception is DATE columns, but even then only because most flat files don't have dates in the default format so the data type specifcation is essentially just a format mask.
    Regards,
    Steve Rooney

  • SQL LOADER. Numeric values loaded as Varchar2 characters

    Dear all,
    please I need your help in this little problem . I am loading using SQL Loader a data file where a field X has a numeric value, and in the Control file it is defined as numeric value as well in the database table but the strange thing is that its values are loaded with the character "E15" at the end of each value.
    The data files are extacted from AS400 , cobol system and loaded using SQL LOADER in he Oracle database 10g.
    What could be the reason?
    I appreciate your help very much , regards

    We can not guess as to what you data looks like nor can we guess as to what your control file indicates.
    Post sufficient information for someone to help you.
    PS: 10g is not a database version ... post the operating system and version information too:
    SELECT * FROM v$version;

  • Is it possible to load multi applet whose version is different ?

    Is it possible to load on same browser multi applet whose version of
    JRE is different (1.3.1 and 1.4.2) at same time?
    These applets are loaded <OBJECT> tag.
    If Not, is there documentation written above things are specification.
    Thank you for advance.

    Thanks for your help.
    I've changed the classes totally...
    Now I don't have that problem anymore...
    The problem was that every time I've clicked the play button,
    it created a new instance of SoundPlayer class.
    Now I have only one instance of the SoundPlayer class, and
    then I'm just calling its methods like play, pause, stop, volume,
    pan, etc...
    But here is the new problem:
    Error #2037: Functions called in incorrect sequence, or
    earlier call was unsuccessful.
    I heard somewhere that Sound Object can have only one song in
    it, for every other it needs a new instance of Sound object...
    EDIT:
    I've found that in Flash docs:
    Once load() is called on a Sound object, you can't later load
    a different sound file into that Sound object. To load a different
    sound file, create a new Sound object.
    mloncaric

  • SQL*Loader: How to load multi-line report data?

    Hi,
    is it possible to use SQL*Loader to load data from a hierarchical structured fixed column ASCII file like this
    001 scott
    New York 01.01.2002 1234
    Chicago 15.10.2001 9876
    002 smith
    Los Angeles 24.12.1999 5678
    Washington 01.12.1999 0000
    Chicago 01.01.2000 1111
    into one database table:
    id name city day code
    001 scott New York 01.01.2002 1234
    001 scott Chicago 15.10.2001 9876
    002 smith Los Angeles 24.12.1999 5678
    002 smith Washington 01.12.1999 0000
    002 smith Chicago 01.01.2000 1111
    The number of lines per name is unlimited, the next line starts after a separating ---- line.
    We cannot change the format of the text file to import.
    There is an example in the documentation that shows how to load a structure like the following via insert triggers:
    001 scott New York 01.01.2002 1234
    Chicago 15.10.2001 9876
    002 smith Los Angeles 24.12.1999 5678
    Washington 01.12.1999 0000
    Chicago 01.01.2000 1111
    But we have the name information on a separate header line, so I don't know if we can use a similar technique here.
    regards
    Sven

    Try enclosing your strings with e.g. a double-quote. To do so, the control file needs the following (example):
    LOAD DATA
    REPLACE
    INTO TABLE test          
    FIELDS TERMINATED BY '|' OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    id1,
    id2,
    id3,
    id4,
    )of course this does mean that your data must change...
    L.

  • Load / unload numerous images in air application (memory leak?)

    Hi,
    after struggling for a few days with this, I realized I need help!
    I am trying to make an application load and display A LOT (hundreds) of images thumbnails at various position in a big area. The problem is that when I try to unload and reload images, I end up with an increasing memory, that does not get collected by the garbage collector.
    My first challenge was to load images from anywhere in the computer (I am quite new to flex), which I solved by using a File reference and a Loader using the url extracted from the file:
                   private function createImage():void {
                             var img_:String = "1905_a_mondrian.jpg";
                             var imageFile:File = new File();
                             imageFile.nativePath = imagesPath + "/" + img_;
                             var imageLoader:Loader = new Loader();
                             // useWeakReference permits the GC to collect the memory when the eventListener is dropped
                             imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded, false, 0, true);
                             imageLoader.load(new URLRequest(imageFile.url));
                             imageFile = null;
    I make sure I remove the eventListener in the loaded method:
         e.target.content.removeEventListener(Event.COMPLETE, loaded);
    And then Populate an external component:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
              xmlns:s="library://ns.adobe.com/flex/spark"
              xmlns:mx="library://ns.adobe.com/flex/halo"
              x="-100" y="-100"  width="200" height="200" >
         <!-- The trick is right above this line: offset the anchor point to center the component around -->
         <fx:Script>
              <![CDATA[
                   import mx.controls.Image;
                   [Bindable]
                   public var image:Image;
              ]]>
         </fx:Script>
         <fx:Declarations>
              <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
         <mx:Image id="img_" source="{image}" horizontalCenter="0" verticalCenter="0" autoLoad="true" />
         <!-- impair width and height results in problems for centering the ellipse (e.g. for rotation) -->
         <s:Ellipse height="4" width="4"  horizontalCenter="0" verticalCenter="0" >
              <s:fill>
                   <s:SolidColor color="0x00FF00"/>
              </s:fill>
         </s:Ellipse>
    </s:Group>
    I populate a Dictionary to keep a track of all the component created. Finally I nullify all that I can to hint the garbage collector.
    Now I have a function to empty the Dictionary (componentBag below) when we want to unload the images:
                   protected function button1_clickHandler(event:MouseEvent):void
                             for each ( var g : Group in componentBag )
                                       ((ImgPanel)(g.getChildAt(0))).img_.unloadAndStop(false);
                                       ((ImgPanel)(g.getChildAt(0))).image = null;
                                       delete componentBag[g.uid];
                                       g.removeElementAt(0);
                                       this.removeElement(g);
                                       g = null;
         triggerGC();
    PROBLEM: using profiler, the loading/unloading works once or twice and after the memory keeps increasing... And if I launch the application, wait for a while and do a load/unload, the garbage collection only recovers a few megabytes, far from what was allocated for displaying the images.
    What am I missing? Is there a problem with loading a lot of images? Has anyone done this?
    In attachment is the full test code, the ImgPanel goes inside a 'views' package

    Thanks to Anton_AL, I finally solved this problem by using an URLLoader AND a plain Loader:
    var loader: URLLoader = new URLLoader( );
    loader.dataFormat = URLLoaderDataFormat.BINARY;
    loader.addEventListener(Event.COMPLETE, onLoadingComplete );
    loader.load( new URLRequest(file.url) );
    private function onLoadingComplete( e: Event ):void
         var loader: Loader = new Loader( );
         loader.contentLoaderInfo.addEventListener( Event.COMPLETE, onParsingComplete );
         loader.loadBytes( e.target.data );
    private function onParsingComplete( e: Event ):void
         var img: BitmapImage = new BitmapImage( );
         img.source = (e.target.content as Bitmap).bitmapData;
         _images.push( img );
    private function onImageLoaded( e:Event ):void
         var img: Image = e.target as Image;
         img.removeEventListener( Event.COMPLETE, onImageLoaded );
         _images.push( img );
    See Anton's thread here: http://forums.adobe.com/message/2358653#2358653

  • How to batch load multi data files  to several tables

    Hi,
    One customer have such data structure and have large number of data(arround 10 Million). I think it's proper to convert them to data that SQL loader can recognize and then insert into Oracle 8 or 9. The question is how to convert?
    Or maybe to insert them one by one is simpler?
    1: Component of Data
    The data file consists of nameplate and some records.
    1.1 Structure of nameplate
    ID datatype length(byte) comments
    1 char 4
    2 char 19
    3 char 2
    4 char 6 records in this file
    5 char 8
    1.2 structure of each record
    ID datatype length(byte)
    1 char 21
    2 char 18
    3 char 30
    4 char 1
    5 char 8
    6 char 2
    7 char 6
    8 char 70
    9 char 30
    10 char 8
    11 char 8
    12 char 1
    13 char 1
    14 char 1
    15 char 30
    16 char 20
    17 char 6
    18 char 70
    19 char 5
    24 bin(blob) 1024
    25 bin(blob) defined in ID19
    2: data file and table spaces in database
    dataID 1-13 of each record insert to table1,
    14-18 to table2, and 19,24,25 to table3
    Is there a method to convert them to some data that SQL loader can input and then at a whole load into Oracle 8 or 9?
    I've check the Oracle Utilities docs, but did not find a way to load so many data files at a batch action.
    In my view the solution consist in two ways:
    1, Load each of them individualy individually to different tables by some programme. But the speed may be problem because the uninterrupted db connections and close.
    2, Convert them to one or three files then use SQL loader.
    But either isn't much easy, I wonder if there's a better method to handle.
    Many thanks!

    My coworker tried that, but it dragged down portal.
    How about to update WWDOC_DOCUMENT$ table, then use WWSBR_API.add_item_post_upload to update folder information etc.?
    If possible, is there any sample code?

  • SQL* Loader - Multi-line record problem

    Hi all,
    I've been given a ver dirty source file. One that has records of more than 1 line. The only record terminator that is available is that the first columns should always be in number in 7 digits (0000000-9999999). Is it possible to create a control file that checks if the current record is actually a new record or if it is just a continuation of the previous record?
    I've been checking on some parameters like the CONTINUEIF and the "str terminator_string".
    I tried both but neither fully satisfies the requirements.
    I tried using CONTINUEIF by adding CONTINUEIF THIS (1) = '0' to check if it only creates records that has a column value starting with '0'. Unfortunately it still adds those that doesn't start with '0'.
    Also tried the INFILE 'mydata.dat' "str '\r\n0'". This works for those who starts with 0 only but unfortunately it trims out the first zero (0) from that column.
    Can someone suggest any other approach?
    Thanks.
    Allen

    hi,
    thanks for the suggestion. i did try it. it works ok but i also found a way to use sql loader since this is better performance wise. i used
    CONTINUEIF NEXT PRESERVE (8) <> X'09'.
    basically, what this does is check if the character on the 8th position is a tab. if it is, then it's a new line. i used this since the first column in my text file uses a 7 digit number. it's not perfect but loads fast. although i'm still looking for some other ways and means.
    thanks again.

  • Loading multi MC's into SP

    Can I use contentPath to attach multiple instances of a
    movieclip?
    At the moment, I can attach
    without using contentPath
    but this does not help me at all. If I cannot use
    contentPath the scrollPane is useless - meaning none of the
    features of the scroll pane work - hence a static, unscrollable
    box.
    I know some of you hate components but I do not have another
    option.

    Sorry, excuse me. The displacement was becuase I cut and pasted the and I've just seen x = 100.
    Anyway, the game still doesn't work.
    Also, even if mcs are imprted and have different sizes than the container, can't they fill the container anyway - with fullscreen or something.

  • Multi Numeric Limit Test define Array Size of Limits from LabView

    Hello,
    i have a new problem. I want to change the array size of numericarray and Step.Result.Measurement from LabView.
    I want to do the same thing i can do when i use Edit Limits and press the button Add or Remove.
    When i only give them a define array from Labview it doesn't work.
    Thank you
    best reguards

    Dear Tumbler
    I think the following thread should answer your question:
    http://forums.ni.com/ni/board/message?board.id=330​&message.id=2826&requireLogin=False.
    Best regards
    Philipp Roessler

  • How to store numeric format data in a database

    In order to properly format a report generated from data stored in a database using a TestStand schema,
    I would like to add formating information for numeric values to the database.
    My intent was to store the numeric format string data in a separate column in the MEAS_NUMERICLIMIT table in the database.
    By using this format string I can then format the numeric values in my report.
    I have successfully retrieved the numeric format string by calling the 'NI TestStand API 3.0', using the ActiveX/COM adapter.
    In the 'PropertyObject' class there is an action called 'Get Property'.
    This action can retrive the 'NumericFormat' property for a given object reference.
    The problem is that I don´t know HOW to do this in the dat
    abase logging schema.
    Can I use this method in the API to retrive and store the numeric format string in the database??
    Or is there any other way of achieving this functionality?
    All ideas for solutions are appreciated.
    Thanks in advance!

    Yes you can. I think it would be helpful if you explain in more detail what you are trying to do.
    >>>> Basically I am trying to reproduce the data sheet created by test stand by using the data in the database.
    Are you using an NI default schema or have you already customized it?
    >>>> I already have a custom schema that I created many years ago, But if I have to start with a 'newer' default schema it wouldn't be to much of a problem to incorporate my changes into it. (I had added Model number and Comment to UUT result table and provided support for custom step types, the custom step types are based on the default NumericLimit step type )
    If default, what about the schema is insufficient for what you want to do?
    >>>> In order to generate a datasheet from the data in the database that replicates the datasheet produced by teststand, I need the Formatted values for the test results and the test limits. So I'm thinking it would be easier for me to query the database for the formatted numbers (as strings) instead of having to query the database for the 'numeric value' and the 'format string' and then creating the string for my datasheet.
    Is the data and limits that you are trying to log custom properties or or is this for the NI numeric or multi-numeric step type?
    >>>> No using custom properties, just dealing with 'NumericLimit' step types
    I had looked at how the 'SequentialModel.Seq' calls the modelsupport2.dll to  to produce the data sheet entries.
         ProcessModelPostResultListEntry >
         Process Step Result >
         Get Step Result Body (Sequence) >
         Add Flagged Values >
         modelsupport2.dll >
         GetFlaggedValuesForReport_Html
    But, alas, I don't understanding the whole traversing concept.

  • Passing multi-value parameter to a transaction iView

    Hi all,
    Here is my problem, I try to feed a selection-option (multi value) from the "DynamicParameter" section of the url.
    For example I use this URL, to feed the select-options with A, B and C:
    http://XXX:51000/irj/portal/test?DynamicParameter=S_opt-LOW=A;S_opt-LOW=B;S_opt-LOW=C
    But I only get the last value.
    Is it possible to load multi values in a selection option from the url ?
    How?
    Let me know.
    Thanks.
    Judicael

    Hi Judicael,
    The dynamic parameter must be URL encoded.
    http://XXX:51000/irj/portal/test?DynamicParameter=S_opt-LOW%3DA%26S_opt-LOW%3DB%26S_opt-LOW%3DC
    %3D is the URL-encoding for "=" and %26 is the encoding for "&"
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/be65751c743959e10000000a1553f6/content.htm
    Regards,
    Min

  • 3.1 Multi-assign Value Formatting

    I'm using "|" as my multi-assign delimiter. In my LoadData graph, I merge multiple values using this delimiter. I have code in a loop like this:
         ResourceInfo = ResourceInfo + "|"
    In my Bulk Load, I set the multi-assign delimiter to "|".  In 3.0, when I display this multi-assign field in a Results List, each value is separated by a line feed, like this:
    Project Resources:Karen James-Project Worker
                                Ryan Bookout-Project Worker
                                Steven Davis-Project Worker
    But in 3.1, each value is separated by a comma with no line feed, like this:
    Project Resources: Karen James-Project Worker, Ryan Bookout-Project Worker, Steven Davis-Project Worker
    Is there a way in 3.1 to have multi-assign values display with a line feed like it did in 3.0?

    Lily,
    Here is what the doc says about it, in the topic Processing multi-value data.
    The doc does not explicity state that line feed is supported as a delimiter, but suggests to use dashes. It might mean that line feed is not a supported option for a delimiter.
    Quoting:
    Two options are available for loading multi-value attributes:
    If the multi-value field is string data, you can specify the delimiter character used to separate the values. This option is the recommended approach, especially when loading multi-value data from flat files (such as .csv files) or from database input.
    Multi-value data can be converted to a list container. This option is recommended when loading multi-value data from complex input (such as JSON or XML) or if you need to process the individual values in the multi-value
    To convert the input data to a list data type, use a Transform component. Within the Transform component, use the split() CTL function to convert the input of a multi-value field into a list data type. This function takes two parameters: the input string to be converted to a list, and a regular expression. The input is split whenever a match is found.
    For example, support the value of the DimEmployee_DepartmentName field is multi-value, and uses dashes as the value separator. To generate a list data type for this input, you might use the following CTL expression: split($in.0.DimEmployee_DepartmentName, "-").
    The configuration of new attributes defaults to single-assign. You should configure attributes to support multi-assign prior to loading data.
    Julia

Maybe you are looking for