A little help with arrays

Hi guyz

I have a problem with the reading and processing of element of an array. I have a "reference database generator" and for example I generate a sine wave. Can I use 'Get waveform components' to get the data for the chart, after that, I have a table 1 d of data (right?) at the exit of the "component of the waveform to Get' block.» I need to read everything, treat it and then send it as a value from a function entry. So, how can I get all the elements in this array and send it further?

I hope that I was clear with my problem.

It would be great if you could provide me with assistance.

Thank you very much

Andrei_L.

And just for completeness:

Tags: NI Software

Similar Questions

  • need a little help with time calculation

    Hello

    I tried to implement oauth2 and youtube api. I can connect and can recover the access_token and other oauth required as expires_in json values.

    What I'm trying to do is drive if my access token is valid or not before making another call to their api - youtube gives a value - expires_in that normally contains 3600, which I suppose is seconds. I'm trying to add this time now using clock_gettime(), but I don't get correct values for my calculation - nowTime + expiresInt.

    Anyone can point out the problem with my code please? It could be a bad way to do it, but I thought that I spent a few hours on this subject before asking for help.

    Thank you.

    token = c.value("access_token").toString().toStdString();
        refreshtoken = c.value("refresh_token").toString().toStdString();
        saveValueFor("access_token", QString::fromStdString(token));
        string expires = c.value("expires_in").toString().toStdString();
        saveValueFor("refresh_token", QString::fromStdString(refreshtoken));
        struct timespec* start;
        clock_gettime(CLOCK_REALTIME, start);
        int nowTime = start->tv_sec;
        std::stringstream str(expires);
        int expiresInt;
        str >> expiresInt;
        nowTime += expiresInt;
        stringstream nowTimeString;//create a stringstream
        nowTimeString << nowTime;//add number to the stream
    

    Now you install milliseconds and seconds.

  • So I need a little help with the Flash colors

    I always use the red, green and blue gradient colors Flash below for metal stuff, but how do I get the effect of this red color in different colors like yellow?color.png

    If you want to use predefined gradients, what you could do is the first color any field you want with one of them, and then select the fill and use the color Panel to replace the Red some other color you prefer.   If you have never worked with the degraded section of the color Panel, you will be probably it find a bettter tool to create and fine-tune transitions.

    You just doubleclick, this little red square in the lower left and it opens a color sample as you have demonstrated to select another color

  • need a little help with acs2

    Hi, I have box_mc and box2_mc, and I have an animation_mc (I've marked it Flash)

    I would if I drop box_mc box2_mc animation should play.

    My codes: to box1_mc

    onClipEvent (load) {}

    this.tabEnabled = false;

    This ._visible = false;

    orig_x = this ._x;

    orig_y = this ._y;

    }

    on {(press)

    this.startDrag ();

    }

    on (release) {}

    this.stopDrag ();

    This ._x = orig_x;

    This ._y = orig_y;

    If (eval (this._droptarget) == _level0.box2_mc) {}

    _level0.animation_mc. Play() //it does not work

    }

    }

    If you help me I will be happy (sorry for eng)

    There is nothing wrong with the code as show you if all three items are on the same main timeline.

    Use the function trace() to ensure that the conditional test is being satisfied and that the subject of animation_mc exist.

    on (release) {}

    this.stopDrag ();

    This ._x = orig_x;

    This ._y = orig_y;

    trace (Eval (this._droptarget));

    If (eval (this._droptarget) == _level0.box2_mc) {}

    trace (Eval (_level0.animation_mc));

    _level0.animation_mc. Play() //it does not work

    }

    }

  • Need a little help with a code

    Hello adobe community!

    I've been fiddling around with FLASH MX and made a game VERY slowly.

    I picked up a lot since the beginning and you have restarted the game MUCH MUCH time = D...

    But I have now a copy which is neat and clean and works great BUT I came in a bit of a problem.

    I have _global.goldenticket = 0;   on my first image as well as other variables and I had one place where we can acquire a "goldenticket.

    now, things are starting to confuse me... ive added a button inside a clip which, if you click on 'must' check if I have a golden ticket and then let me go to the specified image...

    {We (Release)}

    {if(goldenticket=="1")}

    money-= 50;

    Energy-= 50;

    _root.gotoAndPlay ("enter");

    } else {}

    This.Enabled = False;

    }

    }

    However the button doesn't seem to see my ticket (even tho Ive added a dynamic text box to keep track of how I, 1)

    Ive tried different ways to get around this, but I can't make it work...

    Please someone help me... relatively simple answers please =------im only a few days of learning flash and codeing. but im enjoying what im doing so im learn quickly.

    will have my face on the screen waiting = D

    Thanks to everyone who took a glance at my son!

    If it's a variable _global then send it as a...

    {if(_Global.goldenticket=="1")}

    Also, if it is a number you should not use quotation marks around it.

  • Need a little help with AE

    Hi all, I'm having a small problem with After Effects. I'm a Design student computer games of second year and I'm trying to wrap my different modules for the year.

    One of my modules 3D and animation, I made my last animation output as PNG. There are tired of running at 24 frames per second depending on the 22 second audio clip. When I put the images in After Effects as a sequence PNG sequence is only 18 seconds long and makes out in 18 seconds.

    I put the composition 22 seconds long and do speed 24 seconds when I started the comp. I have a layer of PNG (images you will see) and a second layer of PNG (a rendered 3D Studio Max Zdepth) to create a depth of field effect.

    How can I get these PNG to make out at the speed I want? They always make out too fast.

    This will probably turn out to be something really simple, I apologize if this is! I tried to look online for other people asking, but I have too much time in the next week and can't afford to spend time looking around. I would be very happy if someone could give me a helping hand.

    Thank you.

    Make sure that you are interpreting the film sequence of still images at a good rate. Read this page.

  • A little help with my first effort of 2 column liquid hybrid.

    Hi all:

    I'm trying my first hybrid liquid layout help "column 2 hybrid columns, header and footer to the left" of DW. layout and it's fine, but... I can't get rid of the black line just below the top box that contains two charts of the samle. In my view, there can be a lag between the div "topcontainer" and "container" div below. I just can't understand how to fix it.

    Here is a link to show you what I'm trying to accomplish. http://reynolds-marketing.com/twotest/atest.html

    Attached are the html and css files.

    Any suggestions would be much appreciated. TIA!

    Hello

    Try to remove the line that I have highlighted in your css file.

    {.twoColHybLtHdr #topcontainer}
    Width: 100%;  / * This will create one that contains 80% of the width of the browser * /.
    background: #FFFFFF;
    margin: 0 auto; / * margins (in conjunction with a width) auto Center the page * /.
    border: 1px solid #000000;
    text-align: left; / * This setting overrides the text-align: center on the body element. */
    }

    PZ

  • a little help with XMLTable?

    Hello

    I just read this thread (use of XML in Oracle
    and since I havn't used xmltable before I thought I would experiment a bit. (I thought that posting a new thread as this is perhaps another question.)

    I can't get this application to work:
    SQL> select * from v$version
      2  /
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE    10.2.0.5.0      Production
    TNS for Linux: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    
    SQL> select  id,
      2          archive
      3    from  XMLTable(
      4                   '/BSGDocs/Doc'
      5                   passing XMLType(Q'[<BSGDocs><Doc Id='562' Archive='1'></Doc><Doc Id='563' Arch
    ive='0'></Doc></BSGDocs>]')
      6                   columns
      7                     id varchar2(5) path '@Id',
      8                     archive varchar2(5) path '@Archive'
      9                  )
     10  / 
                     passing XMLType(Q'[<BSGDocs><Doc Id='562' Archive='1'></Doc><Doc Id='563' Archive='0'></Doc></BSG
                                                                                                        
    ERROR at line 5:
    ORA-01780: string literal required
    I looked at the documentation (http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb_xquery.htm#CBAJBBDD)

    but it did not much help, I still seem to get a syntax error any.

    I tried to simplify a bit down for my own purposes:
    SQL> create table xfoo as
      2  select xmltype(cursor(select * from dual)) x from dual ;
    
    Table created.
    
    SQL> select  dummy
      2    from xfoo,
      3        XMLTable('/ROWSET/ROW'
      4                   passing x
      5                   columns
      6                     dummy varchar2(5) path '/DUMMY'
      7                  );
                       dummy varchar2(5) path '/DUMMY'
                                                    *
    ERROR at line 6:
    ORA-01780: string literal required
    what I am doing wrong?

    What is this 1tran etc. ?

    You concatenated all the nodes in the data area: when you widen the column, you will see all of the text: 1transactioninteger999 etc...

    Basically, you were close: just avoid the attack:

    SQL> with xfoo as (
    select
    xmltype('
               
                  1
                  transaction_number
                  integer
                  999
               
              
                  1
                  first_name
                  varchar
                  Isaac
               
              
                  1
                  last_name
                  varchar
                  Newton
               
            ') x from dual
    )
    --
    --
    select id, name, datatype, value
      from xfoo,
          xmltable('/Data/DataField'
                     passing xfoo.x
                     columns
                       id   number      path 'id'
                      ,name varchar2(5) path 'name'
                      ,datatype varchar2(5) path 'datatype'
                      ,value varchar2(5) path 'value'
                    ) t
    /
                 ID NAME  DATATYPE VALUE
    --------------- ----- -------- -----
                  1 trans integ    999
                  1 first varch    Isaac
                  1 last_ varch    Newto
    
    3 rows selected.
    
  • Help with arrays

    I spend forever trying to figure out how to perform a simple action, so I hope someone can help me.

    I want to just use JavaScript to create a list of text comma separated values and then display one of the following values (depending on location). I know how to display when there is only one value in a variable - but I think that this requires a table.

    Example:

    var animal =

    the values are: cat, dog, snake

    and I want to

    '' animal '' setVariableValue to display the second value ('dog').

    I learned javascript, but is unable to adapt one of the examples to work for Captivate.

    Sorry for the basic question.  Thank you.

    Bill

    I had an error in the script, parens instead of braces in myArray [1]:

    var MonTableau = ["cat", "dog", "snake"];

    window.cpAPIInterface.setVariableValue ("animal", myArray [1]);

    It works for me in swf and html.

  • a little help with a modification form?

    Hi all:

    So, I tried to fold a rectangle shape with rounded corners with a radius of 30px using the anchor to add and convert tools... just don't have a lot of luck to al and so I'm looking for some advice.

    Here's what I'm trying to accomplish

    RSS temp 2.jpg

    Seems no matter how I go about it I am not close #2 so for those who master powerful Pen... I ask for pointers, you may have to offer

    Thank you!!

    The easy way would be to use Edit > transform path > Warp > Arc

  • Could use a little help with a predefined layout

    I use available fixed predefined CS3 with sidebar right, header and footer:

    1. in the css to Dreamweaver generated layout, listed is a .clearfloat class. Because it begins with a period (.) I expect it to appear in the list of styles in the properties panel view design as well as all the other classes, but it doesn't and I don't understand why not. I see it in the view code after the div container But my page has also 3 floating elements inside a wrapper (in the container div) and if I understand correctly, I must add this after the last of these 3 elements. Why it is in the css as a class first, if I can only enter it manually?

    2. in the same provision, float left and right (.fltrt and .fltlft) are listed in the css with the following comment: "this class can be used to float right to the item in your page. The floating element must precede the element it should be next to the page. ' That sounds backwards. It should not read the floating element be * after * the item should appear next? I mean, how can you float a right of the item before the item to the left it is has been placed?

    I would like some advice.

    #1 clearing floats is a common practice after the floats are no longer needed.

    In general, I put my .clearing class immediately after my period of float.

    #2 that he's not back. That's how work the floats.  The floating element comes first because a float is taken to the normal flow of content.  Float clearing resumes normal content stream.

    See float tutorials for more details:

    http://CSS.maxdesign.com.au/Floatutorial/

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • Little help with the EXR files if you could.

    Asked a simple Hue/Saturation effect an EXR file sequence in AFX CS5. The controls seem unpredictable. Brightness adjustment seems the effect of Saturation. Thank you

    And that is exactly? Sorry, it's far too vague. Provide a framework for inspection sequence or screenshots. In any case, I get this magic tingle in my left toe, who told me that files were rendered with incorrect parameters in your 3D, so exposure program and internal value chains are far away, resulting in the apparently faulty behavior. Either they are hopelessly over-exposed (all values greater than 1) or your lines are so small (shortly above zero, but never reached space of 0.5 to float maybe) that even small adjustments whack out them. There's certainly nothing wrong with the effect...

    Mylenium

  • Need a little help with a photo effect, examples on the inside.

    Hey everybody, I tried to reproduce this effect for some time without success.  I have attached a picture for example, if someone can help me I would really appreaciate, thanks a lot!

    http://S9.Photobucket.com/albums/A54/klubhead/?action=view & Current = l_3a18e6d1083b0f4ba7f01 58505d3aa4d.jpg

    If you have one of the newer versions of Photoshop, which includes the surface filter, there is a video tutorial to this call from the link "Dave Hill Photoshop effect tutorial" that shows how a similar effect using the native filters.

    http://www.graphictutorials.NET/Photoshop-tutorials/photo-effects/Dave-Hill-look-Photoshop - video tutorial.

    I also found a link to an article that uses the card Camera Raw to simulate the Lucis Art filter has a very heavy price. This article also includes parameters to simulate this effect if you use Lightroom.

    http://www.scottkelby.com/blog/2008/archives/1094

    A link to plug Lucis Art in the site:

    http://www.LucisArt.com/

  • I need a little help with the INSTR function

    Hello everyone,

    im still new to pl sql and experienced an issue with the INSTR function. I need to analyze some values of a CLOB containing the xml code and use INSTR to determine the beginning and end of the value, I would like to analyze.

    the data I need is in a <!-[CDATA [[Some Text]]]-> block. up to this point, I managed to take the start of the word, but I can't seem to capture the end of the CDATA block. I use this statement:

    POS: = INSTR (TO_CHAR (input_clob) [,'] ', pos2 + 6, 1);

    but it doesn't have the desired effect. [It seems to sort of go back to the length of the string, while the]-sign is actually in the xml file. my result would look to "Some Text]]--> < xmlxml >... < / xmlxml >...» ». [I tried to escape by writing ' \] "but if I do, the function returns zero and my parsed string is left blank.

    Unfortunately I can't use regular expressions, because I work with oracle 9.2i. Anyone know what I'm doing wrong?

    Thank you

    Edited by: user8719779 the 25.08.2009 02:23
    with my_tab as (select ''||chr(10)||
                           '  '||chr(10)||
                           '   '||chr(10)||
                           '  '||chr(10)||
                           '' col1 from dual)
    -- end of mimicking your data; USE SQL below:
    select substr(col1, instr(col1, '', 1, 1) - instr(col1, '