Create cell of the array in ActionScript

Hi all. Having a small problem hope that someone has already solved.

So I have 2 ArrayCollections with the same format but different data:

public var santiagoPast:ArrayCollection = new ArrayCollection([)

{Month: "Ene", fresh: 1000, Kiosco:10, Web: 256, Movil:87, No_detectado:6, Sin_informacion:10},

........

{Month: "Dic", fresh: 195, Kiosco:320, Web: 100, Movil:33, No_detectado:5, Sin_informacion:5}

]);

public var santiagoNow:ArrayCollection = new ArrayCollection([)

{Month: "Ene", fresh: 800, Kiosco:10, Web: 256, Movil:87, No_detectado:6, Sin_informacion:10},

......

{Month: "Apr", fresh: 600, Kiosco:78, Web: 234, Movil:78, No_detectado:32, Sin_informacion:8}

]);

So, with them, I create a data graphic Multi via ActionScript. The first data: "santiagoPast" will be LineSeries and the second: "santiagoNow" will be ColumnSeries.

So, also via ActionScript I create a checkbox for each series. In this way, the user can check or uncheck the box to show or hide this series in the chart.

Im trying not to create a box for the ColumnSerie, but the only way that works of the ir is when I create a checkbox for all series. The code where I created the box is as follows:

private function crearcheckbox (): void {}

for each {(var serie:Series in linechart.series)

combo: var checkbox = new CheckBox();

combo. Data = series;

combo.ID = serie.id;

combo.Label = combo.data.yField;

combo.addEventListener (Event.CHANGE, cambio);

comboboxes.addChild (combo);

}

}

And I tried to change for each (var serie:Series in linechart.series) for each (var serie:LineSeries in linechart.series) but does not work.

Any ideas?

Thanks for your time!

He solved adding:

for each {(var serie:Series in linechart.series)

If (series ColumnSeries) {}

.............

}

}

simple but didn t know that

Tags: Flex

Similar Questions

  • Images to load a xml - can I chance the array in actionscript?

    I have a flash file that loads the images from an xml file. Is there a way to make the images load randomly? I would like a different image to start whenever it loads. Unfortunately, I do not know actionscript so that any help would be greatly appreciated.

    This is where the XML is pulled in the...

    var myXML2:XML = new XML();
    myXML2.ignoreWhite = true;
    myXML2.load ("gallery.xml");
    var thumbPath:Array = Array();
    var picPath:Array = Array();
    var link: Array = Array();
    var desc:Array = Array();
    _root.gapH = 17;
    horizontal space
    myXML2.onLoad = {function (success)}
    displayPage();
    };

    Here is where the first image has begun...

    mc_thumbnail.img._visible = false;
    load the first large image
    showLargeImage (picPath [0], [0] link, desc [0]);
    _root.currentImage = 0;
    _root.currentThumb = 0;
    showClickedThumbnail();
    If (_root.slideShow.toUpperCase () == 'ON') {}
    playSlide();
    }

    }

    I tried a few things in two places with similar examples, but I'm just not getting anything to work. If anyone can help with code? Should what changes I make where? Please... any help would be greatly appreciated.

    Here's an approach I think works.  First create a new feature called shuffle().  This will serve to randomize the elements of an array.  The elements of this array will be indexes from the tables that contain the information of the image.  If the code will eventually sequencing of images in random order of these iindexes... (Yes, it's a potential brain twister, but I hope you catch).  I'm posting added/modified code in red. and the «...» "just to save space and shows all the code for the displayPage() function.  I don't think that most of that function must be reviewed than what I show, but I could be wrong

    This new feature is to randomize the index for images

    function shuffle (a) {}
    var len is. Length-1;
    for (i = len; I > = 0; i--) {}
    var percent = Math.floor (Math.random () *(i+1));
    var t = [i];
    a [i] = a [p];
    a [p] = t;
    }
    return a;
    }

    function displayPage() {}
    ....
    ....

    _root.numberOfThumbs = _root.numberOfItems;

    Declare an array of indexes

    var randomIndexes:Array = new Array();

    Load it with values 0 through numberOfItems
    for (var j = 0; j)<_root.numberOfItems;>

    randomIndexes.push (j);
    }

    randimize table of index
    randomIndexes = shuffle (randomIndexes);

    for (var i = 0; i)<_root.numberOfItems; i++)="">
    thumbPath [i] = xml.childNodes [randomIndexes [i]] Sublst.ChildNodes(1).ChildNodes(0) [0] Sublst.ChildNodes(1).ChildNodes(0) [0] .nodeValue;
    picPath [i] = xml.childNodes [randomIndexes [i]] Sublst.ChildNodes(1).ChildNodes(0) [1] Sublst.ChildNodes(1).ChildNodes(0) [0] .nodeValue;
    link [i] = xml.childNodes [randomIndexes [i]] Sublst.ChildNodes(1).ChildNodes(0) [2] Sublst.ChildNodes(1).ChildNodes(0) [0] .nodeValue;
    DESC [i] = xml.childNodes [randomIndexes [i]] Sublst.ChildNodes(1).ChildNodes(0) [3] Sublst.ChildNodes(1).ChildNodes(0) [0] .nodeValue;
     
    ....
    ....
    }

  • A different function is created instead of the expected (table Index instead of initialize array) Labview - a 8.5

    Hey all,.

    I have a really strange behavior here. I'm using LabView 8.5. I open a white VI and try to use the function "initialize the array.

    No matter where and how I find (using search functions, or by accessing the 7.x-> table-> table initialize function), when I drag and drop it off at my VI, what I get is "Array Index" instead!

    Even when I hover over the icon table inside the palette is initialized, with aid switched on (Ctrl + H), what I see is the help page for table of Index. It's as if somehow the index table replaced function Initialize array entirely, with the exception of the simple icon in the palette...

    I tried to restart Labview and my computer nothing works.

    Someone at - he never experience a similar problem? that means, one different function other than for being created. I have attached a screenshot.

    Thank you

    -Anne Marie

    Thanks for your replies.

    My palette is screwed a bit isn't it? Most likely because the installation I chose a bunch of older versions in favor... and I regret it now.

    Funny enough, during the search in the functions that it only brings me version 7.x of functions of table etc... but I can manually find the standard in my palette, and of course, version 8.5 standard functions seem to work...

    I need to finally do an install of cean, but for now, it's all good!

    Thank you

    Anne Marie

  • Create the XML element for the cell in the chart CC2015

    Hello world

    I am currently working with the xml element.

    And I want to create xml, table cell element.

    For now, I can create xml for the graphic cell by select graphic image of that cell, and then call the AutoTag() function.

    But I want to create an xml element of a chart without selected cell.

    I found the function () Utils < IXMLElementCommands >-> CreateElement()

    but it doesn't seem to work with a graphic table cell structure.

    Does anyone know how to do?

    Thanks in advance.

    Try,

    InterfacePtr cellContent (tableModel-> QueryCellContentBoss (gridAddress));

    if(cellContent == Nil) {}

    break;

    }

    InterfacePtr cellXMLReferenceData (cellContent, UseDefaultIID());

    {if(!cellXMLReferenceData)}

    break;

    }

    XMLReference cellXMLRef is cellXMLReferenceData-> GetReference();.

  • How can I select all the cells in an AdvancedDataGrid with ActionScript?

    How can I select all the cells in an AdvancedDataGrid with ActionScript? I selectionMode = "multipleCells" and designViewDataType = "flat".
    Basically, I have a contextmenu and want to add a "select all" option.

    Thank you

    Yes you can do in actionscript as well.
    If selectionMode is set to multipleCells then:
    Section A Code attached

    If selectedMode is set to multipleRows, then there are two ways to do it.
    1 - the solution is given by Bryan Dresselhaus in his last message.
    2-section B in the attached Code

  • How to pass the content with in the cell in the table of rules xml

    Hi all the Scripting Guys,.

    I created a table using rules xml with 3 numbers of the cells where first cell contains some data and so on, but following the cell first line may of does contain all the data so in that cell of second data line moved to the first cell and thired data line moved to the second cell that is very worried about me since the second cell in each row must be in the second cell only.

    For Instance -: Required to output

    Title NUMPAGE Topic
    Title46The subject
    50Another topic
    54Object
    Title60Another topic
    64The subject

    I get script - put it:

    Title NUMPAGE Topic
    Title46The subject
    50Another topic
    54Object
    Title60Another topic
    64The subject

    myRuleSet = new Array ( new ProcessSec,
               new ProcessPara,
               new ProcessSecHead,
               new ProcessArt,
               new ProcessPG,
               );
    with(myDocument){
        var elements = xmlElements;
         __processRuleSet(elements.item(0), myRuleSet);
          } 
    
    function ProcessSecHead(myXPath){
        this.name = "ProcessSecHead";
        this.xpath = myXPath; 
        this.apply = function(myElement, myRuleProcessor){
       with(myElement){
                __skipChildren(myRuleProcessor);
                  var myNewElement = myContainerElement.xmlElements.item(-1).xmlElements.add(app.documents.item(0).xmlTags.item("Cell"));
         myElement.move(LocationOptions.atBeginning, myContainerElement.xmlElements.item(-1).xmlElements.item(-1));
         }
        return true;
        }  
    }
    function ProcessPara(){
        this.name = "ProcessPara";
        this.xpath = "//para"; 
        this.apply = function(myElement, myRuleProcessor){
                var myNewElement = myContainerElement.xmlElements.add(app.documents.item(0).xmlTags.item("Row"));
            return true;
        }  
    }
    
    function ProcessArt(){
        this.name = "ProcessArt";
        this.xpath = "//para/aug"; 
        this.apply = function(myElement, myRuleProcessor){
            with(myElement){
                __processChildren(myRuleProcessor);
                var myNewElement = myContainerElement.xmlElements.item(-1).xmlElements.add(app.documents.item(0).xmlTags.item("Cell"));
                myElement.move(LocationOptions.atBeginning, myNewElement);   
            }
            return true;
        }  
    }
    function ProcessPG(myXPath){
        this.name = "ProcessPG";
        this.xpath = myXPath; 
        this.apply = function(myElement, myRuleProcessor){
            with(myElement){
                __skipChildren(myRuleProcessor);
                var myNewElement = myContainerElement.xmlElements.item(-1).xmlElements.add(app.documents.item(0).xmlTags.item("Cell"));
                myElement.move(LocationOptions.atBeginning, myNewElement);
            }
            return true;
        }  
    }
    

    All would be greatly appreciated

    Mac

    Oops, I apologize. I misunderstood the requirement.

    And this example shows us why the rules XML in InDesign is not the most practical approach...

    Beforehand, for each , we went to the top parent and found a and copied in.

    But we did only want to do this for the first .

    But convert us all the , , and

    the knots in the table cells later, we therefore need to insert a space reserved for this place to avoid having a problem. (If not, we could hardcode the number of the column for and the
    lymph and prepopulate the nodes of the table...).

    So I'll offer several changes to the fragmentary manuscript, thus you can intergrate them and learn what is happening:

    First of all, let's change these helper functions to return a null value in the event that they do not find a child node, rather than return the node parent. This means that it is easier now to test their return values in case of not finding something, that is a case that we know today:

    // Handy subtree functions
    function firstChildTag(node, tag) {
        var i, e = node.xmlElements;
    
        for (i=0; i=0; i--) {
            if (e[i].markupTag === tag) {
                return e[i];
            }
        }
        return null;
    }
    

    Then, we must be able to copy nodes in particular places. Before we used it copied copyFromToChild() who always has nodes in the context node. But we need to be more general, copy the tags. We'll create a version that allows us to specify the destination:

    // Apply from() to the context node to get
    // a source node. Apply to() to the
    // context node to get a destination node.
    // Copy the source node in the specified
    // location (how) to the destination node.
    var copyFromTo = makeRule("copyFromTo",
    function (element, ruleProcessor, from, how, to) {
        var copy;
    
        // __processChildren(ruleProcessor);
        copy = from(element).duplicate();
        copy.move(how, to(element));
        __skipChildren(ruleProcessor);
        return XMLmm.stopProcessing;
    });
    

    It must also be able to add an empty tag in the other nodes in . Maybe in hindsight I should have just made a new node outside the subtree us work and then copied that every time with the function copyFromTo() above. But instead, I expanded addNode() (which is currently used to create rows in the table) to not take a fixed destination, but rather a function that returns a destination, so that the destination can then be compared to the context node:

    // Create a new node at parent. Doesn't do
    // anything with the XPath context node.
    var addNode = makeRule("addNode",
    function(element, ruleProcessor, where, tag) {
        var parent = where(element);
    
        if (parent) {
            parent.xmlElements.add(tag);
        }
        return XMLmm.continueProcessing;
    });
    

    Now, we can replace the first transformation rule (which allows to copy into all the s) article by another who works on each and copy to the beginning of the first brother according to . Note that the XPath specifier is "//section/section-head" rather than "/ / section" because we do not want to operate on the copy that we have inside the tree. Otherwise, we get double nodes.

    // For each , that it is a direct child of a 
    , // copy it inside the first child. // Next, move each
    node to the end of the , // placing it after the node. __processRuleSet(root, [ copyFromTo( "//section/section-head", function(n) { return n; }, LocationOptions.AT_BEGINNING, function(n) { return firstChildTag(n.parent,tags["para"]); }), moveFromTo( "//para", function(n) { return firstChildTag(n, tags.article); }, LocationOptions.AT_END, // This is more general than we need to be; we're moving // to "the end", but the end of WHAT? It need not be the // , it could be some other node. function(n) { return n; }) );

    Now, we need to deal with the other s that have no in them. I'm not proud of it, we could probably do better. And would certainly be easier without XML rules. Or if we had the position() XPath function:

    // This is kind of gross.
    // For each , if it does not contain a ,
    // add a  to it. This adds it to the *end*
    // of the 's chilld list.
    __processRuleSet(root, [
          addNode("//para", function(n) {
              if (!firstChildTag(n, tags["section-head"])) {
                 return n;
             } else {
                 return null;
             }
          }, tags["section-head"]),
          moveFromTo(
              "//para",
              function(n) { return firstChildTag(n, tags["section-head"]); },
              LocationOptions.AT_BEGINNING,
              function(n) { return n; })]);
    

    Oh, and finally, we have changed the way that worked addNode(), so adjust the another call to addNode for a function instead of an explicit node:

    So in the latest set of rules, change to:

    addNode("//para", function() { return table; }, tags.tr),
    

    It works for you?

  • How can I use an itemrenderer with array of actionscript?

    I am eager to fill a list control with multiple Checkbox controls, I understand how to use the itemrenderer, but all the examples I found complete the table outside the actionscript dataprovider, I want to know how to create my table inside action script and switch to the list box. When I was playing with this I could get listbox to populate with box, but not so it would be the label of the elements, I think that I don't pick the right information in the table.

    Change your code as shown below, and it works. Use an instead of a one line external rendering engine.


    http://ns.Adobe.com/MXML/2009.
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx".
    creationComplete = "init ()" > "
       
           
       

       
       
            Import mx.collections.ArrayList;
    public var myarray:ArrayList;
    public var returnedarray:Array = ['a', 'b', 'c', ', 'e', 'f', 'g', 'h'];
    public var key: String = "label".
    public void init (): void {}
    myArray = new ArrayList();
    for (var i: int = 0; i<=(returnedarray.length-1);>
    var myobj:Object = {};
    myObj [key] is [i] returnedarray m:System.NET.SocketAddress.ToString ();.
    myarray.addItem (myobj);
    }
    FileList.dataProvider = myarray;
    }
    ]]>
       

       
       
       
       
           
       

    then create "myItemRenderer" in the same folder...


    http://ns.Adobe.com/MXML/2009.
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx".
    autoDrawBackground = "true" >
       
       

    I hope it's what you expected.

    Kind regards

    Select this option.

  • Flex Builder detects more errors against the definition of the Array class.

    Hello

    I don't know if this is the right forum to post this problem, but here goes.

    I've been developing an application using Flex Builder 3. Today, I met a strange problem. When I use a table variable in an Actionscript class, the compiler detects more errors against the class definition. I have only encountur this behavior with the Array class. Other classes of higher level, seem to work. F.i. I can insert the following text in a function:

    var a: Array = [1, 2, 3];

    var i: a.Len;

    After construction, I get no error. When I run the application, the variable I is set to 0.

    I tried to clean up the existing project. I created a new project in flex from scratch. The problem remains.

    I did not have any updates lately, f.i. flash player, java,... the development environment has not changed as far as I know.

    Can someone give some advice about this problem? Thank you.

    Kind regards

    Wim.

    The table is a dynamic class, as an object, which means that it is perfeclty happy to return values for properties that have never put. These values will be "undefined", which, when converted to an integer, turn into 0. This is the kind of unfortunate behavior, but there is no way to get around.

  • First HP: Change the background color of a cell in the spreadsheet app (program)

    I created a very simple program to change the background color of two cells in the speradsheet application:

    First version of HP 2015 6 17. 8151 Rev

    1. EXPORT BGCOLORCHANGE()

    2. START TO

    3 STARTAPP("Spreadsheet");    Application of the open worksheet

    4 STARTVIEW (2,3);    in the symbolic view

    5 Cell (1,1,7): = RGB (0,255,0);    cell A1 green paint

    6 cell (1,2,7): = 31744;    red paint A2 cell

    7. END;

    PROBLEM: instruction 6 works, but section 5 only. Why?

    Thank you!

    The background color of worksheet uses 5 bits per color channel, then the function RGB() expects 8 bits per channel.

    The background color of worksheet can be calculated by: R * 32 ^ 2 + G * 32 + B where R, G and B are between 0 and 31 inclusive.

  • What is READ the array returned by the DAQmx meter? How can I know the two functions DAQmx READ data stream in the same WHILE loop?

    I have a question about the order of execution.  In the WHILE loop, I have two things to measure, period and tension using the DAQmx READ functions for voltage and the meter.  In the end, I want to collect these data as points almost simultaneously as possible, as a pair and then send them together to another piece of code (not shown here) which them will result in some sort of command for an engine.  It would be run, and then I want to perceive the tension and the period at a time later and do the same thing.

    (1.) I'm a little confused on what the meter of the READ function is back because it's a table.  What is a picture of?  I thought that it was up to the value of the individual periods between rising edges.  The output of the counter 1 DBL d's a table. How many elements in this table, and what determines the size of this table?  Are the elements of the array the individual delays between the edges?  How many values are stored in the array by executing?   We take the AVERAGE of the last 15 items, but do not know if we are throwing some of the data or what.  How to understand the composition of this painting?  How can I change the composition of this painting?  Is it possible to measure only one period at a time, for example the time between TWO edges?

    2.) Will this WHILE loop execute as it gathers tension and a "period table ' (remains to be understood by me) by TIME running in a loop?  In particular, we want that the value of the tension associated with the value of the AVERAGE of the period "array", so we can use two data items to create orders of next control every time that the two values are reported.  The structure for the delivery of vi will be attached data in pairs like this?  I understand that one of the READING functions run not before the other function of READING in the WHILE loop.  I want that the period "means" and "strain (Volt) collected at the same pace. This vi will he?

    Thank you

    Dave

    Hi David,

    I suggest including the DAQmx Start Task function. If it does not start before the loop, it starts the loop and work very well, but it is not as fast and efficient. In the model of task status, task wiill go to run the checked each iteration of the loop and then back the time checked running when it restarts.

    The status of the task model: http://zone.ni.com/reference/en-XX/help/370466V-01/mxcncpts/taskstatemodel/

    Kind regards

    Jason D

    Technical sales engineer

    National Instruments

  • Reference to the array of Clusters with an array element

    Hello

    I have an array of clusters of CONTROL (qualifying as "upper-tier cluster table") with one of the items is an array of cluster cluster (see attached).

    I intend to "reference" of this cluster of high level at different screws (as add item VI, insert item VI, delete the item VI etc.) and access (add/edit delete) the elements of this array.

    In my code, how I cataloged the array element (cluster) on the cluster internal (as shown on the figure)?

    I use LV RT on PXI.

    Hello smercurio_fc,

    Thank you for your example! Just a question: actually, with shift registers, is an example of creating a local copy of the full range? Even if the value of the lowest level cluster is changed, is the complete table is updated at the end (registry value to offset the full picture at the right end is updated using the reference node and property)? This VI will be slow when the size of the array becomes great?

    Comment of nicely.

  • 'Replace the element of the array' replaces not only indexed items

    Hey masters LabView,.

    Fairly new to Labview and I'm trying to sort out how to create a table of images. I know that the total number of images I want in my 'stamp' (not the buffer of LabView), so I'm the initialization of an array of this size. Can I bring this table in a loop For with a shift register, and I want to capture images and write them in the table of the buffe continuously (a comment: I do a circular buffer, but I don't want to implement in LabView, because there a lot of things that I don't need and I will eventually have to the process to be as thin as possible).

    Here's the problem (I assume an implementation, that does not decompose LabView):

    I expect:

    AN element of the array, in the position indicated by the index of the loop [i], is replaced by the image newly caught

    I get:

    All THE elements of the array becomes the image newly caught.

    (I can tell because I taste under the table, grabbing a single image from a constant "Check Array" index - may 7, for example.) But my index of the loop [i] value is 13, and the subsample becomes again the image newly caught.

    What a ridiculous thing I am doing wrong?

    Any help would be greatly appreciated.

    Ah, I just noticed something.  Initialize you an array of references at the beginning of your program, but it is a complete picture OF THE SAME REFERENCE: you must call the IMAQ Create in a loop so that you actually get unique references in your table.  You must have a different NAME for each image.

  • Remove the array without the local Variable element

    I am wanting to know if you can remove an element of an array, the index of the removed part.

    and update the value in the array to not include the deleted part of a more direct way than the following:

    Or, in my program, the table is initialized with some clues that makes the task of removing an element of

    table, the part removed from indexing and updating the table includes only not the deleted part similar to the following:

    (a) is there a way to do this without having to use local Variables?

    (b) I would be so concerned to rid my program of all local Variables? (even those who don't create race conditions)

    Keep the table in a feedback node initialized in the world. Do not imply not objects of façade.

  • Type a table defined clusters to hold configuration data - definition of default values for each element of the array

    Hello

    I was wondering if I could get some information and opinions on the use of an array of type defined clusters to store configuration data.  I am creating a program to test several EHR and wanted to have a control of type defined for each HAD with the information needed to create the DAQmx tasks for all signals for it must HAVE.  I am eager to do so that the data are encoded in hard and not in a file that the user might spoil.

    Controls of type def are then put into a Subvi who chooses as appropriate, one based on the enumeration of Type DUT connected to a case structure.

    I have problems with the control of the defined type.  I see issues when you try to save a configuration unique to each element of the array in the array of clusters.  Somehow, it worked at first, but now by clicking on "Operations on the data--> default font of the current value ' on individual elements of the cluster or the entire cluster (array element) does not save data when I re - open the command def.  What I am doing wrong?  I'm trying to do something with the berries of the clusters that I shouldn't do?

    I enclose one of the defined reference type controls.  I tried to change it bare to see if that helped, but no luck.

    To reproduce, change the resource string for the element 0 of the array and do the new value by default.  Then close the def of type, and then reopen it.  The old value is always present in this element.  The VI is saved in LabVIEW 2012.

    The values of a typedef are not proprigated to the instances of the control. They get if created WHEN data values have changed. They will be not updated with the changes to come. You must create a VI specifically to hardcode your values or to implement a file based initialization. The base file would be much better and more flexible. If you don't want users to change the data simply encryption. There is a wedding blowfish library that you can download.

  • Get the array of unknown size of the CVI code module

    I'm creating a type custom for my client, and I've encountered a problem that I'm not sure how to solve.

    Here's the situation:

    We have a custom step in which the main code is executed within a step after step. The code acquires samples of an instrument, but it is unclear how many samples will be returned. The CVI function has a table, the size of this table and an output parameter that indicates how many samples have been returned as parameters.

    void AcquireSamples (double* samples, int samplesBufferSize, int *numSamplesRetrieved)
    

    The goal is to have the array returned by the size of the number of samples taken.

    I tried several ways, none of which works completely. The problem is that, as described here, TestStand creates a temporary table to move to the code module. but it does not resize the TestStand array property. So I need to manually resize the properties of the table, and I did not understand an elegant way to do it.

    It would be easy if I had to create just a not, because I could use expressions after. I'm creating a type but I don't have that luxury (my code should allow the customer to enter expressions of post, but I run the risk of my client, removing any expression after default I get home).

    First question:

    I noticed when I was creating a stage with a CVI code module, that additional results allowed me to specify logging in both settings [in] and [out]. This I extrapolated that the parameter expression was evaluated before calling the function both again after the call to the function. I did some tests, and it doesn't seem to work that way.

    (1) this is expected behavior? I don't see it documented anywhere, if can I rely on it remains the same in future versions of TestStand?

    I used this behavior to my advantage to create an expression that does what I need an an step code module. But it does not work for a module of code to a later stage.

    I did a small test DLL file and sequence illustrates my problem. I tried to document the file in sequence to show where I'm stuck. You will need to put the DLL in one of your directories to search for the type of custom work.

    Any help would be greatly appreciated!

    I think the problem is that the C programming language does not provide enough information for a caller to know the size of an output table in any kind of standard. I recommend again, you pass a CAObjHandle which is the variable of array instead and set the table directly using CA_Array1DToSafeArray() to create a safearray and SetValVariant on the propertyobject which is the property of the table to set the table. Don't forget to free the array (using CA_SafeArrayDestroy()) that you created with CA_Array1DToSafeArray after that SetValVariant call to avoid leaks.

    Hope this helps,

    -Doug

Maybe you are looking for

  • iCloud drive app is empty

    Can someone tell me why my iCloud on my iPhone app doesn't show all files when in fact I have 10 GB of files and/or images in my iCloud?  I tried to disable the iCloud reactivate and I also got turned on the app iCloud and turning several times

  • Will my iphone 6 bought a piece of apple in New Zealand store?  I have a contract with Verizon.

    I received different answers to this question.  Some say that I'll be able to use it as long as I haven't bought the phone from Verizon.

  • Need new compatible battery for Satellite C650-129

    * URGENT *: Hello. Y at - there anyone out there who can give information me on replacing the battery for satellite C650. (model No.: PSC14E-002001AR), with the battery model number: PA3816U-1BRS, PABAS227? I can't find the battery exactly by this mo

  • What is an exception in DisplayRunMap.runMap?

    I have a HP Pavilion (processor AMD Athlon XP) with both a DVD-RW/CD-RW DVD writer/CD writer combo & a player of CD-ROM I tried to do a test of the dvd - rom drive and when she started I received the following message. "Message from the Web page: Exc

  • Can't burn/wont burn?

    Hello, I have an IBM Thinkpad R51, who plays the CD but does not burn my pictures to them. Just repeat me disk insertion.  I use correct discs, not that this model does not have the ability to burn, anyone know? Thank you.