Mapping vertical arrays versus horizontal arrays in HP exstream

Anyone with details on mapping vertical arrays versus horizontal arrays in HP Streak software please?

johnsold wrote:
Is this a bug (inconsistent behavior)? A feature? An unintended consequence of something else?
I agree, this looks inconsistent.
Ranjeet_Singh wrote:
Make the index of both the array 0 then run your program. 
Now horizontal array shows 4th element & vertical array shows 10th element. 
What are you trying to say here? You are just repeating the instruction #1 on the front panel of the posted VI, then repeating what the image above already shows.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How to map an array to fixed fields using Biztalk mapper

    I need to remap an array of objects like this:
        <Root>
          <ListOfObjs>
            <Obj>
              <Attr1>0000</Attr1>
              <Attr2>Hello!</Attr2>
            </Obj>
            <Obj>
              <Attr1>1111</Attr1>
              <Attr2>Hello1!</Attr2>
            </Obj>
          </ListOfObjs>
        </Root>
    in an output like this:
            <Root>
                <Obj1_Attr1>0000</Obj1_Attr1>
                <Obj1_Attr2>Hello!</Obj1_Attr2>
                <Obj2_Attr1>1111</Obj2_Attr1>
                <Obj2_Attr2>Hello1!</Obj2_Attr2>
            </Root>
    So in my XSD schema I have something like this:
    Schema Input
                               <xs:element name="Root">
                                <xs:complexType>
                                 <xs:sequence>
                                  <xs:element name="ListOfObjs">
                                   <xs:complexType>
                                    <xs:sequence>
                                     <xs:element name="Obj">
                                      <xs:complexType>
                                       <xs:sequence>
                                        <xs:element name="Attr1">
                                         <xs:simpleType>
                                          <xs:restriction base="xs:string">
                                           <xs:minLength value="1"/>
                                           <xs:maxLength value="50"/>
                                          </xs:restriction>
                                         </xs:simpleType>
                                        </xs:element>
                                       <xs:element name="Attr2">
                                        <xs:simpleType>
                                          <xs:restriction base="xs:string">
                                           <xs:minLength value="1"/>
                                           <xs:maxLength value="50"/>
                                          </xs:restriction>
                                         </xs:simpleType>
                                        </xs:element>
                                       </xs:sequence>
                                      </xs:complexType>
                                     </xs:element>
                                    </xs:sequence>
                                   </xs:complexType>
                                  </xs:element>
    Schema output
                                     <xs:element name="Root">
                                      <xs:complexType>
                                       <xs:sequence>
                                        <xs:element name="Obj1_Attr1">
                                         <xs:simpleType>
                                          <xs:restriction base="xs:string">
                                           <xs:minLength value="1"/>
                                           <xs:maxLength value="50"/>
                                          </xs:restriction>
                                         </xs:simpleType>
                                        </xs:element>
                                       <xs:element name="Obj1_Attr2">
                                        <xs:simpleType>
                                          <xs:restriction base="xs:string">
                                           <xs:minLength value="1"/>
                                           <xs:maxLength value="50"/>
                                          </xs:restriction>
                                         </xs:simpleType>
                                        </xs:element>
                                        <xs:element name="Obj2_Attr1">
                                        <xs:simpleType>
                                          <xs:restriction base="xs:string">
                                           <xs:minLength value="1"/>
                                           <xs:maxLength value="50"/>
                                          </xs:restriction>
                                         </xs:simpleType>
                                        </xs:element>
                                        <xs:element name="Obj2_Attr2">
                                        <xs:simpleType>
                                          <xs:restriction base="xs:string">
                                           <xs:minLength value="1"/>
                                           <xs:maxLength value="50"/>
                                          </xs:restriction>
                                         </xs:simpleType>
                                        </xs:element>
                                       </xs:sequence>
                                      </xs:complexType>
                                     </xs:element>
    In addiction I have to evaluate every single value because when I found some conditions (like if value=0000 output should be NULL).
    What would be the best way to do it? I'm thinking to develop a custom functoid but I'm not sure it would be the best way, probably it could be done even using XSLT inline transforms, can you point me in the best direction?
    Thank you

    Hi,
    You cannot directly map an array output to any single field in BizTalk mapper.
    Couple of options :
    1) create
    the Xslt or inline C# code
    Refer: 
    http://seroter.wordpress.com/2008/10/07/splitting-delimited-values-in-biztalk-maps/
    2) Shankycheil has
    provided a solution to similar requirement in the below link, u can also refer that.
    https://social.msdn.microsoft.com/Forums/en-US/55ec472d-4f34-4057-b1c6-0e50740f0f6e/how-to-itterate-string-array-values-in-biztalk-mapper?forum=biztalkgeneral
    Rachit
    Thank you, I already seen both posts, but I'm not sure they are what I need or I can't understand well how to use them.
    Speaking about the first solution, as I told before, in the example I should have an array already formed and delimited by a char (something like "obj1attr1-obj1attr2-ob2attr1-obj2attr2". In this situation probably this example could be a good
    point to start from, but how to transform my complex input object in a similar formatted string?
    About the second I don't understand well what is the working solution that they have adopted. Is the 4 steps solution suggested by  Shankycheil? If yes, how can I loop between all array elements and extract all their values?

  • Mapping Java Arrays

    I was given an object model generated by an apache product, Axis. The generated java files use the Java Array in the following fashion:
    Class Zoo {
    private ArrayOfAnimals animals;
    // … public get/set methods cut
    Class ArrayOfAnimals {
    private Animal animals[];
    // … public get/set methods cut
    Class Animal {
    private String name;
    // … public get/set methods cut
    I was tasked with mapping the one-to-many relationship between zoo and an array of animals using the Animal array. I can’t find a mapping in TopLink to do this type of association. I am NOT allowed to modify the generated source code. I may be able to extend the generated classes, and perhaps provide a different superclass.
    I am allowed to create the relational model for these domain classes. Can anyone help with this type of mapping?
    Thanks

    TopLink does not directly support arrays as the mapping type for a collection, only collection types that support the Collection and Map interfaces.
    In general it seems odd to use an array instead of a Java collection which would be much more efficient (in terms of adding and removing) and much more functional. I would definitely suggest changing the generated code, or the way the code is generated if at all possible.
    The easiest way to map the array in TopLink would be the use get/set methods for the 1-m mapping on the Zoo class that converted the array to/from a Collection.
    i.e. something like,
    public List getAnimalsList() {
    return new Arrays.asList(animals.animals);
    public void setAnimalsList(List list) {
    animals.animals = (Animal[]) list.toArray();
    In general TopLink uses its ContainerPolicy class to handle collections. It may also be possible (but advanced) to write a custom container policy for your 1-m mapping that handles arrays.

  • Mapping of Array Structucture

    I am trying to map SOAP response ( which is combination of an array and a separate String field) as Source Message . I need to map it to  Target Message with same structure.
    <b>Do I need to use user defined functions to map source array element to target array element?</b>
    Direct mapping ( 1-1) does not seem to do the job. It only displays and maps the string field which is not part of Array.
    Appreciate your prompt response

    Hi Prasad,
    If the source and target have the same structures then you don't need any user defined functions. Infact  you don't need any interface mapping program if it is the same  message type on both the sides while sending to the target. If these are two different message types of the similar field names then you can use the identity mapping in IR to map them.
    >>It only displays and maps the string field which is not part of Array.
    check the cardinality(occurance) of this field in the bothe structures. Also if your array field is a child element of the node then make sure that you map the parent nodes aswell.
    Check the context of the source field and you can use 'display queue' functionality while testing your mappings in IR.
    hope this helps..
    Anand

  • My phone no longer changes the view/picture/map when i go from vertical to the horizontal position is this some thing to do with the accelerometer

    my phone no longer changes the view/picture/map when i go from vertical to the horizontal position is this some thing to do with the accelerometer

    No, that would probably be the orientation lock. Check up by the battery icon and see if you have an icon with a small lock and a circular arrow. Either way, go to the Control Center, swiping up from the bottom of the screen. Look at the top row of icons and the orientation lock is the last one on the right. White is on, black is off. Just turn it off and you should be alright. Understand there are some apps that do not change into the landscape mode from portrait.

  • How to show PieChart Vertically instead of Horizontally?

    Hi,
    Like the title indicates, I hope that is there property or
    method or event allowing to show a PieChart Vertically instead of
    horizontally.
    Cheers,

    for example :
    my pie chart represents two values : 50% and 50%. How this
    values will be shown in PieChart? the answer is vertically the
    first 50% in the top and the second one in the bottom.
    What I want is to show the values horizontally that's mean in
    this example the first 50% in the right and the other one in the
    left.
    Thank you in advance :)

  • Can I merge two photos vertically instead of horizontally?

    Can I merge two photos vertically instead of horizontally?

    I don't understand the question. Please provide additional information as to just what you wish to do.
    For example, do you wish to display and print two portrait oriented photos side-by-side?

  • How to view magazines in differet direction, i can only view some vertical but not horizontal

    I am having trouble viewing my  sunset or other magazines in different direction in the ipad2, the screen doesn't move like other apps from vertical position to horizontal one, any help will be great.

    The app developer determines whether or not an app will rotate. It has been my observation that many magazines do not. Contact the developer to give your suggestion.

  • Export PS from Indesign, open in Preview - vertical instead of horizontal - cuts off part of the page.

    I tried to make my title as short as possible..
    In a nut shell, I am exporting a postscript file from the Print Booklet feature in Indesign.
    Why not export a straight PDF from Indesign you may be wondering? Because it is not paginated.... I don't need to print in logical order, 1,2,3,4,5... Rather the spreads with page numbers 36/1, 2/35, 34/3, etc... And the only way it seems to be able to do this (without me having to do it manually) is to print booklet and choose PostScript.
    All is fine and dandy until then, but when I proceed to open the saved PS file in Preview, it opens it vertically instead of horizontally chopping off 3.5 inches from the right side of the booklet. (my book is 11 x 8.5, folds to 5.5 x 8.5)....
    Anyway to remedy this?
    Thanks

    Typical!! - I solved the problem right after posting this.
    Works fine in Photoshop when "crop to crop box" is selected in  the menu options.

  • Map vertical scrollbar - FV60 - Withholding tax

    I have a problem in transaction FV60 (Park Vendor Invoice), I am doing batch input.
    Via withholding tax I can't map okcode vertical Scrollbar. Buttons Next page, Previous page, First Page and Last Page aren't configureted for this table control - screen 0120 in program SAPLFWTD.
    The values in this table control are fill automaticaly, than my unique possibilit is the map vertical scrollbar.
    I tried to use the BAPI's BAPI_ACC_DOCUMENT_POST and  BAPI_ACC_GL_POSTING_POST but i can't created park document.
    I need to use the transaction FV60 because I need simulation tax before post document.
    Thanks in advanced,

    Please use Transaction FBV1 for Batchinput technologie, because FV60 is a Enjoy-Transaction, which is not supported for Batchinput technology.
    Joachim

  • Text Direction ... headers vertical rather than horizontal

    I have a report with 20 columns...
    So to be able to show all on 1 page, I want to be able to put headers vertical rather than horizontal..
    Any Ideas how to do this?
    Thanks
    Dean

    michaels2
    I'm getting LPX-00601 when testing your code (10.2.0.4)
    SQL> select * from test_xml;
    NAME                        AGE   PASSPORT
    John                         26 1231232143
    Peter                        28  209381232
    Lisa                         24  120431474
    SQL> SELECT *
      2    FROM XMLTABLE ('ROWSET/ROW/*' PASSING xmltype (CURSOR (SELECT * from test_xml)));
    COLUMN_VALUE
    <NAME>John</NAME>
    <AGE>26</AGE>
    <PASSPORT>1231232143</PASSPORT>
    <NAME>Peter</NAME>
    <AGE>28</AGE>
    <PASSPORT>209381232</PASSPORT>
    <NAME>Lisa</NAME>
    <AGE>24</AGE>
    <PASSPORT>120431474</PASSPORT>
    SQL> SELECT *
      2    FROM XMLTABLE ('ROWSET/ROW/*' PASSING xmltype (CURSOR (SELECT * from test_xml))
      3  COLUMNS name VARCHAR2 (30) PATH 'node-name(.)',value  VARCHAR2 (30) PATH '.');
    COLUMNS name VARCHAR2 (30) PATH 'node-name(.)',value  VARCHAR2 (30) PATH '.')
    ERROR at line 3:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00601: Invalid token in: '/*/node-name(.)'any clue?
    Thanks

  • Mapping 1D array of sensor data to a 3D graphical model

    does anyone have any ideas how to approach this matter in LabVIEW.
    I have a measurement that is an array of 1D values.
    I would like to display that 1D array of values as points of specific color on a 3D model of some sort.
    What is the best software to create the 3D model, what is the easiest way to map my values to the points on that model.
    Thanks,
    Maciej

    You can use a wrl file with the 3D picture control. How you map your values is optional. I have used color coded sphere at the locations of interest.
    Have fun,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • SelectBooleanCheckbox in Map or Array?

    Hi guys,
    Anybody has example on putting selectBooleanCheckbox in a Map/Array in backing bean so that in JSP page we don't need to put it like 1 by 1. For example, if I got a list of 5 facilities for selectBooleanCheckbox, I don't need to do it like the following in JSP page:
    <h:selectBooleanCheckbox id="facility1" value="#{backingBean.facility1}"/>
    <h:selectBooleanCheckbox id="facility2" value="#{backingBean.facility2}"/>
    <h:selectBooleanCheckbox id="facility3" value="#{backingBean.facility3}"/>
    <h:selectBooleanCheckbox id="facility4" value="#{backingBean.facility4}"/>
    <h:selectBooleanCheckbox id="facility5" value="#{backingBean.facility5}"/>
    where I can just loop thru the boolean[] facility in backing bean will do.
    thanks !

    Try h:dataTable.
    <h:dataTable value="#{backingBean.facilities}" var="item">
    <h:column>
    <h:selectBooleanCheckbox id="check" value="#{item.facility}"/>
    </h:column>
    <h:column>
    <h:outputLabel for="check">
    <h:outputText value="#{item.name}"/>
    </h:outputLabel>
    </h:column>
    </h:dataTable>

  • Java - AS mapping for arrays

    I've got a basic Java -> AS mapping working where my
    server-side Java "Customer" class is serialized down to my
    client-side AS "Customer" object via my use of the RemoteClass
    attribute. But when my Java object returns a Customer[] or a List,
    the items inside the collection revert back to just "Object"'s
    instead of "Customer"'s. Any idea why?
    I'm using RemoteObject.

    Doh! Ok I solved my own problem. This might be a gotcha for
    others. Originally, I had code like this in the result handler for
    my remoteobject:
    var cust:Customer = Customer(event.result);
    But when I was testing returning an array of Customer
    objects, I changed my code to this just to see what was coming
    back:
    ObjectUtil.toString(event.result);
    When I did this, I removed any references to my Customer
    class so it did not get compiled. Once I added in a dummy reference
    to my Customer class, all worked well again.

  • DMA buffer mapping to array?

    Hi all!
    I'm working with a DMA capable camera that mapps images to a DMA buffer which is accessible from the native side. What I would like to do is to get access to the buffer from the Java side (e.g. as a byte array) without performing a copy operation. So to speak "point" the byte array to a specific memory adress containing the DMA buffer. Is this possible? If yes, how do I go about it?
    Currently I'm copying data from the DMA buffer to a byte array member variable at each read. But if possible it would be nice to remove the extra overhead this operation introduces.
    Thanks in advance,
    / Anders

    Hi Hervé,
    thank you for pointing to the UG section, indeed very powerful stuff!
    By using it I will be able to structure my data according to fit any external requirement.
    Attached is the test project where you can see that a (8 bit) data structure in SW memory
    is different from the generated HDL port structure (as described in my first post here).
    Looking at the HDL output I see that one part, the R member what is set to constant,
    is mapped 4 times to the lower side of the slv120 vector followed by the variable part.
    I do not understand this mapping, it prevent effective work as it forces the user to figure out
    how the actual mapping is applied and to remap this to the required structure.
    More critical, what if in further version of the tool this mapping schema changes ???
    Any idea how I can avoid the extra work?
    Thanks,
    Ric.
    d_o_TDATA &colon; OUT STD_LOGIC_VECTOR (95 downto 0);
    d_o_TDATA <= OUTPUT_STREAM_1_data_reg;
    -- OUTPUT_STREAM_1_data_reg assign process. --
    OUTPUT_STREAM_1_data_reg_assign_proc : process(ap_clk)
    begin
    if (ap_clk'event and ap_clk = '1') then
    if (ap_rst_n_inv = '1') then
    OUTPUT_STREAM_1_data_reg(0) <= '0'; -- .data.Pix[0].R
    OUTPUT_STREAM_1_data_reg(8) <= '0'; -- .data.Pix[1].R
    OUTPUT_STREAM_1_data_reg(16) <= '0';-- .data.Pix[2].R
    OUTPUT_STREAM_1_data_reg(24) <= '0';-- .data.Pix[3].R
    OUTPUT_STREAM_1_data_reg(32) <= '0';-- .data.Pix[0].G
    OUTPUT_STREAM_1_data_reg(33) <= '0';
    OUTPUT_STREAM_1_data_reg(34) <= '0';
    OUTPUT_STREAM_1_data_reg(94) <= '0';
    OUTPUT_STREAM_1_data_reg(95) <= '0';
     

Maybe you are looking for

  • I rented a movie using iTunes on my MacBook Pro, but it won't move to my first Generation Apple TV

    I justed downloaded a Rented Movie from iTunes on my MacBook Pro. I did it through United Airlines e-miles to get credits. Now, when I try to move it from the  Rented Movies to the On "Apple TV" box on my Apple TV box, it stays in it for no longer th

  • Function module for creation of Payment Advice (Trans: FBE1)

    Hi, I need to create payment advice using function module. Transaction code is FBE1. Is there any function module or BAPI for the same? Thanks in advance, Regards, Umesh

  • Why do we need retained earnings account in income statement?

    hi, as far as i am concerned we need a retained earnings account only in a balance sheet statement. however i dont understand why do we need a retained earnings account in the income statement. can someone explain?

  • Dynamic Proxy Client

    Hi all, iam trying to use the dynamic proxy client with the following lines String UrlString = "http://localhost:8080/ProxyHelloWorld.wsdl"; String nameSpaceUri = "http://proxy.org/wsdl"; String serviceName = "HelloWorld"; String portName = "HelloIFP

  • Where did my toolbar go!!!!

    Everything was fine last week. This wek I boot Freehand to find that I cannot get the toolbars to show up on my screen. I'm running Mac OSX 10.4.11. Freehand MXa 11.0.1. When I go to the Window menu and select Toolbars nothing is selected and trying