Adding a Terminal Variable

Hello,
I want to count the number of times an event occurs, and using that count I will derive the data I need. That is, the counter serves as an 'intermediary' variable.
How do I add and intialize a variable without having to add a front-panel item?
Thank you
MCU
Solved!
Go to Solution.

Don't think in terms of variables.  Think in terms of wires.  The wire is the variable.
The wire will feed from on side of your while loop to the other.  Shift registers allow the updated value to be carried to the next loop iteration.
Message Edited by Ravens Fan on 02-05-2009 05:22 PM
Attachments:
Example_VI_BD.png ‏3 KB

Similar Messages

  • How do I update the colors on a 2d pie chart after adding 3 new variables

    I have added 3 additional items to a 2d pie chart.  Unfortunately, when the data is displayed the recently added items are displayed with the SAME colors as the first 3 items in the chart.  I need all variables to display in distinctly DIFFERENT colors.

    Hi tarheel,
    You can click on the color you want to change and go to the style tab:
    You can do it there. I have also changed colors after clicking the data tab from within edit data references.
    quinn

  • Adding a new variable to Org Chart

    Good Day Experts,
    I am a begineer on Nakisa and have referenced the Nakisa OrgChart Administrator Guide. I have a requirement to modify the Org Chart, with the default view for Manager. The users want to see the Cost Centre as well along with the current details already displayed i.e. Org Unit Name, Manager Name and Manager Position. The current view template used is OU_Manager_4L. We need to add cost centre to the display along with existing fields. The standard data element already has cost centre available.
    Is changeing the style sheet the only requirement to add the new field. We have done that for groupou_manager_c4f0c2cd93064be and it is placed in the delta folder. We have also modified the XSL to change the window length and width which now works. However the cost centre field is not visible. The issue i have is there is no mapping available for the Cost Centre field when i look at the view mapping. There are 2 questions which i am not sure of
    1. The template has only display for 4 fields, does that mean the template needs to be modified to add a new field for display.
    2. Is there anyother option to add an additional display field and would that be a correct approach given that the view designer wont show the mapping option for the field.
    Also if there is any reference available where a template is modified, if anyone can share the same it would help.

    Hi Stephen,
    Thanks for the response, i believe we have tried that. The XSL has been modified to both add cost center and change the box length/width. The cost centre bit has been adapted from the cost center xsl as you mentioned. The file has been deployed in the .delta folder.
    We can see the change in the box width/length but no cost center information is displayed, the cost center is dispayed however in the details section, which proves it has a value. I have amended the CC to external variable, variable mapping section and displayNonMultiManagerOu template which gets called from icons-display for HTML display and flex-display template sections. Not sure if i have missed anything.
    The only reason why i thought this was a template issues, was because i mapped the Cost centre data on the view configuration to manager position field on the template and it showed up the cost centre. So i would assume that the mapping has more of a role to play here, correct me if i am wrong. 

  • Adding description in variable screen of Bex query

    Hi All,
    I have restricted one variable ( let us say abc)
    these variable have value P, A.
    when user select this value in the variable screen (let us say 'P') then the description field also shows 'P' .
    I want user to select the value as 'P' but in description field it should come as "Pending' .
    Please suggest how to do that
    regards

    1. If u want the description in the variable screen,  the variable should be created on MD in which the text should maintain on this.
    2.  In the Multiprovider, go to that infoobject -> Provider Specific properties -> make this as key and text.
    If you dont get the description, finally go to that infoobject, in Business explorer tab -> general settings - give key and text for Display.
    hope this would help u.

  • Crystal Report Server XI, adding a custom variable destination

    Hello and thanks for any help on this.
    I am relatively new to CR Server and have a need to create and use a custom variable in a scheduled report.  Basically I want to place this variable in the report destination email body.
    It looks like there are some pre-built variables to choose from like:
    %SI_STARTTIME%
    %SI_USERFULLNAME%
    Is it possible to create new variables and use them on the report destination section?
    Thanks again,
    Eric

    You may visit this URL for reference:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    Go to BusinessObjects Enterprise SDK >> Java developer guide>> Viewing Reports and Documents using URLs
    Thanks

  • XCode 3 environment variables

    Hi everybody,
    Working on a Mavericks with XCode 3.2.6 (for legacy reasons), I'm currently meeting a compilation issue. Years ago, I added an environment variable to the XCode source tree (in preferences). Later, I have removed it and added it somewhere else (say environment.plist).
    Today, I need to change the value of this variable, so I changed it in my environment.plist. But when I now launch an XCode build, the old value of the variable is still used, instead of the new one! Just to be sure, I removed this variable from my environment.plist, and checked in a terminal this variable was not set anymore. A echo $MYVAR command prints an empty line in my terminal, so I'm sure this variable is not set.
    When I launch my XCode build, I can see in the env (printed by xcodebuild) that this variable is still in use during the compilation phase, with the old value.
    I tried an experiment: redeclare this var in my XCode source tree with a new value, and launch the build. The new value is used. I then remove this variable, and the new value remains present in the compilation env!
    I tried looking at xcodebuild.plist, com.apple.XCode.plist and com.apple.dt.XCode.plist, where I still could find it (strangely!), but removing these references from these files didn't change anything.
    So my question is: How could I get rid of this old variable? Is there somewhere else this variable could still be referenced? Where could I look for it?
    And in bonus: Why this variable remains with its old value once I removed it from XCode source tree?
    Thanks for any contributor.

    When you make changes to plilst files, at a minimum you need to restart the app using the files and now with the way Mavericks manages apps and memory you usually need to log out and back in.
    In extreme cases a reboot of the system could be needed to force the files to be reread but usually just loving out and in will work.

  • Defining Environment Variables

    Hi, I've been trying to define environment variables on Mac.
    1) I tried creating the following directory ~/.MacOSX/environment.plist and adding the environment variables but it didn't work. I got input/output error when I tried creating .MacOSX!
    2)I tried to set them using export varname=value, didn't work.
    Can someone help me please.

    Who needs the environment variables? If it is a Terminal session, then creating $HOME/.bash_profile is the way to go.
    If it is an application that you launch from within your login session, then the ~/.MacOSX/environment.plist will do that (after you logout and login again).
    I like to use RCEnvironment for maintaining the ~/.MacOSX/environment.plist file.
    <http://www.versiontracker.com/dyn/moreinfo/macosx/15073>
    If you need this for some daemon that starts at boot time, or is run via launchd, or maybe cron, then the above does not apply.

  • Not able to get SSL related CGI Environment Variables?

    We are currently using APEX 3.2.0.x, OHS 10.1.3.x, and 11gR1 on linux. The APEX application we've been developing will be accessed via SSL and x509 certificates such that a client certificate is passed from a user's browser to the OHS, the information will be read from the certificate, and if the user's cert information exists in a user table associated with the application, they will have the role they've been assigned as an existing user within the application. Otherwise, the user will be a guest and have a minimum role accessing the application.
    We are certainly not guru's when it has come to setting up and configuring SSL and certs, but we have gotten to the point where we have all of the required certs created and installed, and the client cert passes it's information successfully to the OHS to get to the "home" page of the application via the Rewrite statement in the httpd.conf/ssl.conf that points to the appropriate https url. We are now at the point where we need the APEX application page to read the cert information, and this is where we are having problems.
    We have created an "On Load - Before Header" process and temporary item on the "home" page to display CGI environment variables to see what we're getting. It's a PLSQL Anonymous block like this:
    DECLARE
    lUserName VARCHAR2(100);
    BEGIN
    SELECT NVL(owa_util.get_cgi_env('REMOTE_USER'),'NOT POPULATED') INTO lUserName FROM DUAL;
    :P1_REMOTE_USERNAME := lUserName;
    END;
    We can grab any of the cgi environment variables that are listed in the OHS mod_plsql User's Guide. We cannot seem to be able to get any of the SSL CGI environment variables though. We are adding the SSL variables to the dads.conf via the PlsqlCGIEnvironmentList parameter (ex: PlsqlCGIEnvironmentList SSL_CLIENT_S_DN_CN) and bouncing the OHS as needed. Unfortunately, we have not been successful in getting any of them to show up in the item on the APEX page.
    As far as we can tell, we have the SSL/OHS/Certs configured, but may be there is another SSL directive or some other configuration item that we've missed that needs to be set in order for SSL CGI environment variables to be available to the owa_util.get_cgi_env function. If anyone can tell us what we may have missed, it would be appreciated.
    thanks
    bob

    Hey John,
    what we have found that we were not sure of is that we need to use Rewrite rules and conditions in the ssl.conf to grab the ssl cgi environment variables and "put" them into the request header to hold them like this:
    RewriteCond %{SSL:SSL_SERVER_S_DN} (.*)
    RewriteRule .* - [E=SSLS_DN:%1]
    RequestHeader add X-SSL-SERVER-S-DN %{SSLS_DN}e
    Then in the dads.conf put the request header reference in there with the plsqlcgienvironmentlist parameter like this:
    PlsqlCGIEnvironmentList HTTP_X_SSL_SERVER_S_DN
    Restart the OHS, and then grab the HTTP_X_SSL_SERVER_S_DN variable(s) via the owa_util.get_cgi_env in the APEX page to pull the value out with an anonymous block in an On Load - Before Header process like this:
    DECLARE
    lUserName VARCHAR2(100);
    BEGIN
    SELECT NVL(owa_util.get_cgi_env('HTTP_X_SSL_SERVER_S_DN'),'NOTHING HERE') INTO lUserName FROM DUAL;
    END;
    It's the Rewrite rules and putting them into the request header that we were not totally sure about as far as how and where you put the environment variables to make them accessible to the dads.conf with the PlsqlCGIEnvironmentList parameter that in turn makes them accessible to APEX. We're still not 100% sure this is the correct method, but it's working. We don't recall reading in any of the APEX docs, APEX forum threads, or other documentation about needing Rewrite rules and conditions to put the cgi environment variables into the request header to make them accessible to APEX. So, that seems to be our missing piece of the puzzle here.
    Anyway, I think we're okay for the moment, and may be this thread will help someone else out in the future. Thanks for your help John, and will give you a helpful plug on the forum for this thread. BTW, I do have your book, so it was nice to see someone as advanced with APEX as yourself reply to the posting.
    Thanks
    Bob

  • Warning while adding new ECC

    Hi ,
    I am getting error while adding new ECC variable in ICM. PFB the error message.
    " The Maximum size of all Expanded Call Variable in the Computer Telephony Integeration Server is 2500 bytes. Saving these schanges would require 2795 bytes.
    will this hamper the performance of the system..?

    Hi, no, it will not work at all, so no worries about system performance.
    Why are you adding a new ECC variable when the system tells you it wont fit?
    G.
    Sent from Cisco Technical Support Android App

  • Passing variables from web server to HTML5 Captivate File

    I am publishing a Captivate quiz as HTML5 and hosting them on a website. I would like to know how I can pass data from my site to the HTML5 based Captivate quiz.
    So far I have had success getting data out of captivate by having the file POST the results of a finished quiz to a RESTful route. However, I have not had success putting data into the file. I would like to pass information such as User ids and quiz ids, maybe even current slide position so that I can associate the quiz information with my database. I am not specifically looking for a solution to user ids, quiz ids, etc. because I can get creative in that regard, I just want to know if others have been able to set variables on Captivate file load.
    I have tried a setting variables in a couple ways:
    - Declaring the variables with javascript, then ajax loading the page into a div. This caused dependency issues since the captivate file uses relative paths for its assets folder.
    - Modifying the published html file by adding the javascript variables, this returned an error message saying I cannot override the existing captivate variables
    - Adding the js variables into the init function, this had no effect.

    To simply pass the username and an id I used the following.
    Note the URL has query string parameters that match the captivate variables
    http://mywebsite/Course/index.html?cpQuizInfoStudentID=IDHere&cpQuizInfoStudentName=Studen tNameHere
    Another way to do this to use JavaScript to read the query string, and the assign variable in CP to the query string values. I remember reading some more detail, but cant remember where.
    Hope it helps
    Luke

  • Loading an External Variable

    Hello all,
    I am having a little difficulty loading an external variable
    into my flash movie.
    The principle of the movie is to load some XML data and
    display expected data in loop. This all works fine and as it
    should.
    My problem starts when I remove the internal variable used
    for testing and try and insert the same variable externally, as
    this will be changing depending upon the teams displays. I have
    tried adding in the variable like
    <param name="flashVars" value="teamName=teamA" />
    and
    <param name="movie"
    value="flash/plasma.swf?teamName=teamA" />
    And then tried using a variety of methods in AS3 to display
    the name. Just getting it to trace "teamA" would be all I need, but
    it is having none of it.
    Any help would be greatly appreciated.
    Kind Regards
    Tim

    Thanks 7johnson,
    I have tried that very method once already and unfortunetely
    nothing seems to work when I do it. I must be doing something
    wrong... I am quite new to AS3 and it is beating me into the
    ground... :o)
    On my HTML
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    width="1024" height="768" title="Flash Plasma Display">
    <param name="movie" value="flash/plasma.swf" />
    <param name="quality" value="high" />
    <param name="flashVars" value="teamName=teamA" />
    <embed src="flash/plasma.swf" flashVars="teamName=teamA"
    quality="high" pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="1024"
    height="768"></embed>
    </object>
    FLASH
    var team = root.loaderInfo.parameters.teamName;
    Does it look wrong to you.
    Cheers for the speedy response.
    Regards
    Tim

  • Can't see 'Local Variables' while debugging in Sun Studio 11

    I am debugging a C/C++ application built with Sun Studio 11 running on Solaris 10. I load the application as always, set a breakpoint and run. The debugger stops at the assigned breakpoint as expected.
    The issue is that at this point there are no local variables displayed in the local variables pane.
    I have tried restarting SS11, rebuilding, etc...
    This is the first time I have seen this happen.
    Does anyone else have an idea what is wrong?

    Does adding a particular variable to Watch view help? (it can be done by typing "display <variable>" in dbx command line).
    You can also try erasing (or better moving to a temporary location) all Sun Studio settings like this:
    mv -f ~/.sunstudio /tmpand start debugging session again.

  • How to pass Presentation Variable Value from Main Report to Detail Report

    Hello,
    I've 2 reports that is attached to each other. In my main report i've several report prompts and i am using i"s prompted" on my detail report to attach them.
    But 2 of my report prompts are presentation variables(Names : FIRST, SECOND). Both are in date format. I've a filter in my main report like;
    "ASSIGNMENTS_F"."EFFECTIVE_START_DATE" BETWEEN @{FIRST} AND {SECOND}
    It works fine when i run the main report. But when i click on the numbers, i see that i can not filter my detail report with the chosen values for 2 presentation variables. It just shows all the dates.
    I've tried adding both presentation variables in both reports as columns and adding 'is prompted' filter to them. But did not work either.
    I just cant pass the written values for presentation variable prompts to detail report..
    Please help :)

    Hi,
    What you can try is refer the filte condition in the main report to the detailed report with the option--> Filter based on another request.
    Or you try creating another intermediate report which will refer the main report filters and pass the filters to the detailed report.
    Hope this helps.
    Regards
    MuRam

  • Best way to iterate through multiple variables?

    I need to iterate through three different variables (arrays), and was wondering what the best way to do this would be? I am more familiar with C than I am with LabVIEW at this point, but am getting up to speed on LabVIEW pretty quickly. Normally in C, I would just create three nested loops, but I am wondering if this is the best method in LabVIEW or not. I could use a state machine I think, which would give me some flexibility in re-arranging the order of iteration or adding or subtracting variables easier than working with nested loops I think...anyway, I'm open to suggestions.

    R.Gibson wrote:
    I need to iterate through three different variables (arrays), and was wondering what the best way to do this would be?
    Arrays are not "variables". can you be a bit more specific.
    R.Gibson wrote:
    I could use a state machine I think, which would give me some flexibility in re-arranging the order of iteration or adding or subtracting variables easier than working with nested loops.
     Why does the order matter? Rearranging in what way? If you do autoindexing, it will just iterate over all elements until it runs out of elements.
    ... And again, what do you mean by "variables"?
    It would help if you could show us a VI containing some typical input data in controls (make current value default, save) and explain what kind of output you expect.
    LabVIEW Champion . Do more with less code and in less time .

  • Order of Variables in selection criteria involving multiple queries

    Hello,
    I've a query Q1 which has one of it's variables defined with replacement qry Q2. The query Q2 has a variable defined with replacement qry Q3. When i put qry Q1 in a application designer template and run the report, The selection criteria has the variables in the order of Q3, Q1 instead of Q1, Q3.
    How can i control this order of variables appearing in sel criteria.
    (i've observed that if there are 2 queries in the report the order is correct i.e Q1, Q2).
    The second problem is, in the report i've added a
    'Text Element' object. In the webitem tab, for property
    'List of Text Elements', i've added all the variables
    of the Query, The variable of qry Q1 are populated in the report output, but the variable of qry Q3 are not, How do i display this variable.
    For the  variables where no criteria is given, the report shows the text as 'Empty Demarcation'. How can this be made blank.
    Regards,
    Nagendra.

    Hi Nagendra,
    For removing the Empty Demarcation, in SE38 > SAPLRRSV > look at Text Element 301 and blank it out.
    Hope this helps...

Maybe you are looking for