GetURL(varLink01, "_self"); variable not passing???

i'm passing varLink01 from PHP to a flash file no problem (it
loads into a dynamic text field fine).
but when i try and load this variable to the getURL command
the link is not working, the flash takes me to a "page not found."
here is my code:
DECLARE VAR
var passed:String = varLink01;
(different layer, same frame)
ACTION SCRIPT
on (release) {
getURL(varLink01, "_self");
i've put hours into this.... any help???
Thanks, Joe

i'm getting this in my Output Panel:
"One or more breakpoints have been removed because they are
not on valid lines of code." this is weird since the SWF file runs
perfectly other than this issue.
i updated my code to be sure my vars are declared and
defined--
var varImage01:String = "
http://www.liquidmilitia.com/gallery2/d/2966-1/01.jpg";
var varLink01:String = "
http://www.yahoo.com";
var passed:String = varImage01;
i01load.contentPath = varImage01;
var passed:String = varLink01;
BUT-
i'm using Actionscript 2.0. if i can RUN and DISPLAY the
value of varLink01 in a dynamic text box like
i am in the SWF file -- doesn't this confirm that the
variable is succifiently declared and defined?
I'm really sorry if i'm missing something here...

Similar Messages

  • Hierarchy variable not passed over to universe

    Hierarchy variable is not passed to the universe from the query, note 1007048 is not applicable to our system.
    Any ideas on what other config to check and change ?

    Hi,
    - does the query work without any issues in transaction RSRT ?
    - do you see the variable as filter in the Universe ?
    Ingo

  • Session variable not passing between pages

    Hi, I've got a form that calculates checkbox values and puts them in a total field called txtTotal. When the user clicks send, I need to pass the total to a payment page.  The form page has PHP
    session_start();
    $_SESSION['sessTotal'] = $_POST['txtTotal'];
    and the payment page has
    session_start(); at the top of the page and <?php echo $_SESSION['sessTotal']; ?> where I want the total to display. The total does not carry over to the payment page and I can't work out why.
    Here is all the PHP from the form page as I'm pretty new to PHP and not sure if there's a conflict (should session_start appear more than once?)  Thanks guys
    <?php require_once('Connections/df.php'); ?>
    <?php
    //initialize the session
    if (!isset($_SESSION)) {
    session_start();
    $_SESSION['sessTotal'] = $_POST['txtTotal'];
    // ** Logout the current user. **
    $logoutAction = $_SERVER['PHP_SELF']."?doLogout=true";
    if ((isset($_SERVER['QUERY_STRING'])) && ($_SERVER['QUERY_STRING'] != "")){
      $logoutAction .="&". htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){
      //to fully log out a visitor we need to clear the session varialbles
      $_SESSION['MM_Username'] = NULL;
      $_SESSION['MM_UserGroup'] = NULL;
      $_SESSION['PrevUrl'] = NULL;
      unset($_SESSION['MM_Username']);
      unset($_SESSION['MM_UserGroup']);
      unset($_SESSION['PrevUrl']);
      $logoutGoTo = "index.php";
      if ($logoutGoTo) {
        header("Location: $logoutGoTo");
        exit;
    ?>
    <?php
    if (!isset($_SESSION)) {
      session_start();
    $MM_authorizedUsers = "";
    $MM_donotCheckaccess = "true";
    // *** Restrict Access To Page: Grant or deny access to this page
    function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
      // For security, start by assuming the visitor is NOT authorized.
      $isValid = False;
      // When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
      // Therefore, we know that a user is NOT logged in if that Session variable is blank.
      if (!empty($UserName)) {
        // Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
        // Parse the strings into arrays.
        $arrUsers = Explode(",", $strUsers);
        $arrGroups = Explode(",", $strGroups);
        if (in_array($UserName, $arrUsers)) {
          $isValid = true;
        // Or, you may restrict access to only certain users based on their username.
        if (in_array($UserGroup, $arrGroups)) {
          $isValid = true;
        if (($strUsers == "") && true) {
          $isValid = true;
      return $isValid;
    $MM_restrictGoTo = "index.php";
    if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {  
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)
      $MM_referrer .= "?" . $_SERVER['QUERY_STRING'];
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $colname_userDets = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_userDets = $_SESSION['MM_Username'];
    mysql_select_db($database_df, $df);
    $query_userDets = sprintf("SELECT usersId, userName, password, name FROM users WHERE userName = %s", GetSQLValueString($colname_userDets, "text"));
    $userDets = mysql_query($query_userDets, $df) or die(mysql_error());
    $row_userDets = mysql_fetch_assoc($userDets);
    $totalRows_userDets = mysql_num_rows($userDets);
    ?>

    OK I got it.  I needed 
    session_start();
    $_SESSION['sessTotal'] = $_POST['txtTotal'];
    on the payments page as well, not just session_start();

  • Environment variables not passed through to player in flexunit 4.1.0-beta3

    fyi, to get flexunit-4.1.0-beta3 FlexUnit4AntTasks invocation of flashplayer to not be rejected by the vncserver, i needed to modify the FlexUnitLauncher to pass through the environment variables to the command environment.
    the reason this is required, i think, is the use of Runtime.exec() directly in CustomPlayerCommand -- in flexunit-4.0.0, the same function was accomplished using the ant executor, which does passthrough by default.
    anyway, curious if anyone else has seen this issue, or if i'm doing something dumb.
    --- flexunit/flexunit-4.1.0-beta3/flexunit-flexunit-da29198/FlexUnit4AntTasks/src/org/flexuni t/ant/launcher/FlexUnitLauncher.java    (revision 7250)
    +++ flexunit/flexunit-4.1.0-beta3/flexunit-flexunit-da29198/FlexUnit4AntTasks/src/org/flexuni t/ant/launcher/FlexUnitLauncher.java    (revision 7251)
    @@ -79,7 +82,13 @@
           command.setSwf(swf);
           if (runHeadless())
    -         command.setEnvironment(new String[]{ "DISPLAY=:" + xvncStart.getCurrentDisplay() });
    +         Map<String, String> env = System.getenv();
    +         List<String> envArgs = new ArrayList<String>();
    +         for (Map.Entry<String, String> entry : env.entrySet()) {
    +            envArgs.add(entry.getKey() + "=" + entry.getValue());
    +         }
    +         envArgs.add("DISPLAY=:"+xvncStart.getCurrentDisplay());
    +         command.setEnvironment(envArgs.toArray(new String[0]));
              LoggingUtil.log("Setting DISPLAY=:" + xvncStart.getCurrentDisplay());

    ok. i went looking for a JIRA link somewhere around here and couldn't find it.  do you have a URL handy?
    there are a couple of other things too:
    you probably want trustDirectory.mkdirs() rather than mkdir() in TrustFile.java
    you probably want CustomPlayerCommand.setLocalTrusted() -- my player command isn't in the machine's path, but i still want to be able to touch the trust file.  So I copied the trustFile.add() stuff from FlashPlayerCommand.launch() into CustomPlayerCommand.launch().  probably a better solution would be refactoring CustomPlayerCommand to be more like FlashPlayerCommand.
    anyway, if you want patches, tell me where to put them and i'll post some.

  • Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type a

    Dear Team,
    Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type. Could you please do needful. Thank you

    Hello,
    most recent patches for IGS and kernel installed. Now it works.

  • Shared variables not updating in exe

    Hi,
    I've created a project with 2 vi's, they share data via Networked Shared Variables, one vi writes while the other reads.
    The data is passed between the 2 vi's whilst running in the Labview 2009 SP1 development environment, but when I create an exe, the screen values in the reader vi do not update at all.
    In the build specification I've tried both including the vi's which reference the shared variables and the
    option to list the shared variable libaries for deployment at run time, as methods to overcome the problem.
    Please, any clues why the exe should fail to allow shared variables to pass data ?
     thanks,
    Gary. 

    Hey Gary,
    I've just created a project to replicate the issue you are having and indeed when I built the application, the Shared Variables were no longer working. This is because I hadn't deployed the Shared Variables in code; which I think may be the problem that you're having at the moment. When create a Network Published Shared Variable library in LabVIEW, it auto-deploys itself for the development environment; but this is definitely not the case for when you build an executable. Instead, you must deploy the library yourself in code.
    In the attached zip folder, please follow the following instructions and hopefully you'll be able to fix your VI:
    Unzip the folder and extract the files.
    Open up the project.
    Look at the project layout. Notice the SharedVariableLibrary.lvlib and inspect the Shared_Double variable.
    Look at how the Reader.vi and the Writer.vi interact with the variable.
    Go into the Main.vi. See that I make an Open Application Reference VI and Invoke Node to manually deploy the library in code. You'll have to change the path to this library to match the directory structure of your own computer, so just make sure it navigates to the library in the extracted folder.
    Check out the Build Specifications. I've done nothing here except ensure I only include the Main VI. Finally build the VI and run the executable. 
    You should see that this will give you a working Shared Variable setup. The Machine Name input for the Open Application Reference is blank because you only want to communicate with the localhost i.e. Your computer. Therefore by explicitly deploying all libraries you require, your VIs should be able to communicate effectively.
    Does this solve your problem?
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)
    Attachments:
    GlobalVariableProject Folder LabVIEW 9_0SP1.zip ‏26 KB

  • Variable not set (error 91)/Error during import (error 102)/execut bat file

    We are on BO 11.5.0.0 and using the COM SDK with Visual Basic to run multiple reports (sometimes multiple flavors of the same report) through a bat file.
    If we run the reports single-threaded through the bat file, the reports run fine.  However, if multiple versions of the bat file start at approximately the same time, we get one of two errors:
    91 Object variable or With block variable not set
    102 Error during import document -
    Here's the part of the code with the problem:
    Dim BOapp As busobj.Application
    Dim receiveDoc As busobj.Document
    Set BOapp = New busobj.Application
    BOapp.Interactive = False
    BOapp.Logon strUser, strPass, strFromSystem, "Enterprise", False, False
    BOapp.Visible = False
    Set receiveDoc = BOapp.Documents.OpenFromEnterprise(strFromRep, strFromFolder, boFolder)
    receiveDoc.SaveAs (strDocumentPath & strFromRep & ".REP")
    Values for the following variables are passed in from the bat file:
    strUser
    strPass
    strFromSystem
    strFromRep
    strFromFolder
    strDocumentPath
    If it fails on the OpenFromEnterprise statement, we get the 102 error.
    If it fails on the SaveAs statement, we get the 91 error.
    Running it through debug hasn't helped, since we are running only one report.
    Any thoughts on what could be going wrong?
    Thanks in advance

    I have tried this running the VB code on my desktop (outside of the bat file) and nothing out of the ordinary occurs.  The VB code runs fine with only one occurrence.
    I had seen on other posts "ThisDocument" and didn't know if it would be applicable in this situation.  I also wasn't sure how it should be used based on the rest of my code.  Would "ThisDocument" make a difference?
    Thanks again

  • Variable not getting set?

    'elo!
    I have a slight problem when it comes to setting a variable. I guess it's some kind of variable-not-being-global-or-something-else-I-can't-figure-out-problem.
    Anyway. What I have are two classes.
    The first one is an extended JFrame that holds my GUI and some variables that I wanted to make sure every class could access. And that's what I thought I did.
    Variable outside constructor, so that other methods can access it:
         String characterName = "";Methods modifying that variable.
         // Set char name
         public void setCharName(String name) {
              String characterName = name;
              System.out.println("Char. name: " + characterName);
         public String getCharName() {
              System.out.println("Char. name: " + characterName);
              return characterName;
         }When this class creates an instance of the other class a reference to the JFrame is passed to what is actually an extend JPanel. In that JPanel is a JTextField. When enter is pushed getText() grabs the text and sends it to pf.setCharName() (pf = parent frame). That works, the print gives me a correct result in the console. However when I do pf.getCharName() I only get the "Char. name: " output. The variable characterName is empty. (and it doesnt't return anything.)
    So what am I doing wrong here? I'm stuck!
    /Simon

       String characterName = "";The 'characterName' String has already been defined in the object
            // Set char name
         public void setCharName(String name) {
              String characterName = name;
              System.out.println("Char. name: " + characterName);
         }.In the 'setCharName' method, you are declaring another String 'characterName' again. This is considered as a local variable in the 'setCharName' method. That is the reason why it is not getting reflected in the getCharName method.
    So, try this:
            // Set char name
         public void setCharName(String name) {
              this.characterName = name;
              System.out.println("Char. name: " + characterName);
         }Now, since characterName is no longer a local variable in the 'setCharName' method, it should get reflected in the getCharName method.

  • Value not passing urgent

    data:l_lotno like /JJVC/ERR851-master_lot_num,
            l_batno like mchb-charg.
    loop at i_inv_data into wa_inv_data.
        l_batno = wa_inv_data-charg+0(1).
        if l_batno ca SY-ABCDE.
          translate l_batno to upper case.
          l_lotno = wa_inv_data-charg.
          perform f_idoc_851.
          perform f_idoc_52 .
          perform f_idoc850.
        else.
          if wa_inv_data-charg na SY-ABCDE
            and wa_inv_data-werks eq c_us11.
            l_lotno = wa_inv_data-charg+0(6).
            perform f_idoc_851.
            perform f_idoc_52 .
            perform f_idoc850.
          endif.
        endif.
      endloop.
    data:l_lotno like /JJVC/ERR851-master_lot_num,
           l_batno like mchb-charg.
    IF p_werks EQ c_us11.
        SELECT   a~docnum    "doc number
                 b~credat    "creation date
                 b~status    "status of idoc
                 b~statxt    "last error message
                 FROM /jjvc/err851 AS a INNER JOIN edids AS b
                 ON adocnum = bdocnum
                 INTO TABLE i_idoc_error
                 WHERE a~master_lot_num eq l_lotno
                 AND werks EQ p_werks.
        IF sy-subrc <> 0.
        ENDIF.
    the data in l_lotno and l_batno is not passing from the above if condition to the select statement can any one help me in this.

    You have to declare the l_lotno and l_batno as global variables.
    here they are local variables and their scope is withing the block in which they are defined.
    Declare them outside the blocks(Performs etc)
    Regards,
    Ravi

  • Mini-Calendar not passing proper ID's

    Hello;
    I have posted about this little calendar before. But then, I didn't have anything really working, now, I actually have it passing the proper dates from the db and making links in the day an event falls on.... BUT it passes the same ID to all the days in the month instead of the ID or the record it is pulling from.Can anyone help me figure out what I need to add to this to make it separate out the proper ID to link to another dynamic page? I believe it is either my query, or I need to make a cfset that makes the day eq ID or something. I'm not sure and not sure how to write that.
    Here is my code:
    <cfoutput>
    <table border="1" width="100%" cellpadding="0" cellspacing="0">
      <tr>
      <cfloop index="x" from="1" to="7">
            <!--- Change the days of the week to be shorter--->
                <td><FONT face="Arial, Helvetica, sans-serif" color="##000000" size="2">#DateFormat(x, "ddd")#</FONT></td>
            </cfloop>
            </tr>
    </cfoutput>
    <cfset firstOfTheMonth = createDate(year(now()), month(now()), 1)>
    <!--- Add new variable for the end of the month--->
    <cfset endOfTheMonth = createdatetime(year(now()), month(now()), #daysinmonth(firstOfTheMonth)#, 23, 59, 59)>
    <!--- Query the database and search between the start and end--->
    <CFQUERY datasource="#APPLICATION.dataSource#" Name="get_dates">
        Select ID, eventDate, Day(eventDate) AS dd
        From events
    Where eventDate Between #firstOfTheMonth# and #endOfTheMonth#
    </CFQUERY>
    <!--- set the day from the list in the db--->
    <cfset day = ValueList(get_dates.dd)>
    <!---<cfoutput>#day#</cfoutput>--->
    <cfset dow = dayofWeek(firstOfTheMonth)>
    <cfset pad = dow - 1>
    <cfoutput>
        <tr>
    </cfoutput>
    <cfif pad gt 0>
        <cfoutput>
            <td colspan="#pad#"> </td>
        </cfoutput>
    </cfif>
    <cfset days = daysInMonth(now())>
    <cfset counter = pad + 1>
    <cfloop index="x" from="1" to="#days#">
        <cfif x is day(now())>
            <cfoutput><td bgcolor="##f1f09c"></cfoutput>
        <cfelse>
            <cfoutput><td></cfoutput>
        </cfif>
        <cfoutput>
        <!--- Here we compare the day list to the days being outputed if there is a match we link it.--->
        <cfif x is day(now())>
            <cfif listFind(day,x)>
                <a href="/detail.cfm?dd=#get_dates.ID#" class="dateNav"><b>[#x#]</b></a>
      <cfelse>
       <FONT face="Arial, Helvetica, sans-serif" color="##000000" size="2"><b>#x#</b></FONT>
      </cfif>
        <cfelse>
            <cfif listFind(day,x)>
                <a href="/detail.cfm?dd=#get_dates.ID#" class="dateNav"><b>[#x#]</b></a>
            <cfelse>
                <FONT face="Arial, Helvetica, sans-serif" color="##000000" size="2">#x#</FONT>
            </cfif>
        </cfif>
        </td>
    </cfoutput>
    <cfset counter = counter + 1>
    <cfif counter is 8>
        <cfoutput></tr></cfoutput>
        <cfif x lt days>
            <cfset counter = 1>
            <cfoutput>
                <tr>
            </cfoutput>
        </cfif>
    </cfif>
    </cfloop>
    <cfif counter is not 8>
        <cfset endPad = 8 - counter>
        <cfoutput>
            <td colspan="#endPad#"> </td>
        </cfoutput>
    </cfif>
    <cfoutput>
    </table>
    </cfoutput>
    I know this is a lot of code. The problem is from my query down. Really everything before that is working, it is just not passing proper ID's to the proper records. They all have the same ID.
    Can anyone help me?
    Thank you
    CFmonger

    This is the code doing the wrong thing:
    <cfset firstOfTheMonth = createDate(year(now()), month(now()), 1)>
    <!--- Add new variable for the end of the month--->
    <cfset endOfTheMonth = createdatetime(year(now()), month(now()), #daysinmonth(firstOfTheMonth)#, 23, 59, 59)>
    <!--- Query the database and search between the start and end--->
    <CFQUERY datasource="#APPLICATION.dataSource#" Name="get_dates">
        Select ID, eventDate, Day(eventDate) AS dd
        From events
    Where eventDate Between #firstOfTheMonth# and #endOfTheMonth#
    </CFQUERY>
    <!--- set the day from the list in the db--->
    <cfset day = ValueList(get_dates.dd)>
    <cfoutput>
        <!--- Here we compare the day list to the days being outputed if there is a match we link it.--->
        <cfif x is day(now())>
            <cfif listFind(day,x)>
                <a href="/detail.cfm?ID=#get_dates.ID#" class="dateNav"><b>[#x#]</b></a>
      <cfelse>
       <FONT face="Arial, Helvetica, sans-serif" color="##000000" size="2"><b>#x#</b></FONT>
      </cfif>
        <cfelse>
            <cfif listFind(day,x)>
                <a href="/detail.cfm?ID=#get_dates.ID#" class="dateNav"><b>[#x#]</b></a>
            <cfelse>
                <FONT face="Arial, Helvetica, sans-serif" color="##000000" size="2">#x#</FONT>
            </cfif>
        </cfif>
        </td>
    </cfoutput>
    Like I said, it is passing the proper day of the month, because it makes a link on the proper date, it is not passing the proper id to go with the record for the respective date.
    CFmonger

  • Java.sql.BatchUpdateException: ORA-01027: bind variables not allowed for da

    Hi guys, I m facing a problem while executing below query .Query is working fine in toad i don't know what is the issue with the code
    <code>
    String url3 = "CREATE OR REPLACE VIEW Table2(PERIOD, YEARS, COST_CENTRE, S_DIR_PERM, S_DIR_CONT, S_INDIR_PERM, S_INDIR_CONT, O_DIR_PERM, O_DIR_CONT, O_INDIR_PERM, O_INDIR_CONT)AS select period, year, cost_center, sum(s_dir_perm), sum(s_dir_cont), sum(s_indir_perm), sum(s_indir_cont), sum(o_dir_perm), sum(o_dir_cont), sum(o_indir_perm), sum(o_indir_cont) from ( select b.period, b.year, a.cost_center, sum(a.perm_dir_hc) as s_dir_perm, sum(a.contract_dir_hc) as s_dir_cont, sum(a.perm_indir_hc) as s_indir_perm, sum(a.contract_indir_hc) as s_indir_cont, 0 as o_dir_perm, 0 as o_dir_cont, 0 as o_indir_perm, 0 as o_indir_cont from ZVHR_ACT_HC_ASOF_FISPRD a, pertable b where to_char(as_of_date, 'mm/dd/yyyy') = b.ENDPERIOD and shift not in ('G','N','O2','O7') and b.endperiod = ? group by b.period, b.year, a.cost_center union select b.period, b.year, a.cost_center, 0 as s_dir_perm, 0 as s_dir_cont, 0 as s_indir_perm, 0 as s_indir_cont, sum(a.perm_dir_hc) as o_dir_perm, sum(a.contract_dir_hc) as o_dir_cont, sum(a.perm_indir_hc) as o_indir_perm, sum(a.contract_indir_hc) as o_indir_cont from ZVHR_ACT_HC_ASOF_FISPRD a, pertable b where to_char(as_of_date, 'mm/dd/yyyy') = b.ENDPERIOD and shift in ('G','N','O2','O7') and b.endperiod = ? group by b.period, b.year, a.cost_center) group by period, year, cost_center";
    PreparedStatement statement3 = connection.prepareStatement(url3);
    statement3.setString(1, "12/10/2008");
    statement3.setString(2, "12/10/2008");
    statement3.addBatch();
    statement3.executeBatch();
    </code>
    i m getting the following error
    java.sql.BatchUpdateException: ORA-01027: bind variables not allowed for data definition operations
    can any1 help me with this.

    Can you explain what you are trying to do from a business perspective?
    If you are creating a view, it doesn't make sense to pass bind variables to that DDL statement. The view definition itself is going to have to end up with hard coded date values there. So what possible benefit is there to using bind variables?
    As an aside, if you are using bind variables and you have DATE columns, you really want to pass in the proper data type (i.e. setDate or setTimestamp rather than setString). Otherwise, Oracle has to do implicit string to date conversion, which depends on the session's NLS settings, which is likely to be different on different client machines and lead to all sorts of odd errors and behaviors down the line.
    Are you trying to build a view that takes parameters? If so, there are a few options for that sort of thing.
    Justin

  • 1424 does not pass diagnostic​s after running program

    Hello, we are using the PCI-1424 card with a Dalsa linescan camera, and are having trouble trying to do ring acquisitions with different buffer sizes. The camera either times out or always returns the number of lines that it is first set to, ie; if the original number of lines is 100, and the number of lines is then set to 1000 (and confirmed using imgGetAttribute(DisplaySid, IMG_ATTR_ACQWINDOW_HEIGHT, &nBufSize).
    I've noticed that the 1424 board does not pass 2 of the diagnostic tests in MAX. The details it returns are:
    Advanced Control Circuitry failed
    Configuration could not be written to when Confwren bit was set. [F1.5]
    Timing Circuitry failed
    Counter configuration could not be loaded. [T1.0
    Is this a programming error on my part? I am closing the session and the interface, which in my opinion should be all that is needed to reset the board to the default settings. This does not work, even the snap acquisition in MAX fails.

    I'm not surprised at the behavior that you are seeing. When the acquisition is started the board is programmed with the acquisition size and when you change that it has to reprogram the board while it is acquiring, so either it will timeout or it just won't do it and you will only see the first size. I'm not sure why the diagnostics are failing but it sounds like you can reboot and that resolves the issue. I would recommend looking into a couple of alternatives. Variable Height Acquistion uses a hardware signal to indicate how many lines should be in an image. If you didn't have a signal you could generate one with a DAQ card or you could programmatically assert
    and deassert one of the trigger lines on the 1424 but that would not be the most accurate depending on your line rate. The other alternative would be to set the image size to the largest size and then just crop the images.
    Regards,
    JR A.
    Application Engineer
    National Instruments

  • Variable not  transfer the value to planning function

    Hi,
    I am facing a problem while executing the planning sequence.
    In my workbook I have a button, behind that button one planning sequence is attached ( it copy the quantity from one scenario to other scenario) along with two varaible. Value for variable is pass behind the button.
    Both variable are multiple single value type.
    CMD                                                1         EXECUTE_PLANNING_SEQUENCE (copy)
    PLANNING_SEQUENCE_NAME        1        YNDPP59_A_SQ046
    VAR_NAME_1                                1        YQUXN_YN_SCENAR_007(from scenario)
    VAR_VALUE_EXT_1                        1         F25
    VAR_NAME_2                                1        YQUXO_YN_SCENAR_001(to scenario)
    VAR_VALUE_EXT_2                        1         F50
    Now, I have other buttons in my workbook. They used to  copy from one scenario to other but variable for scenario use is same for all.
    Example Scenario :-
    Button 1:- copy demand to photo demand
    Button 2:- copy confirmed demand to demand
    Before Image
    Basin   Subfamily  Quarter    KF1(Demand)   KF2(Photo Demand)  KF3(Confirmend Demand)
    100           70        20083         100 To                 0 To                       200 To
    First time:
    When I used button 1(copy demand to photo demand) it's works fine.
    Basin   Subfamily  Quarter    KF1(Demand)   KF2(Photo Demand)  KF3(Confirmend Demand)
    100           70        20083         100 To                 100 To                       200 To
    I do the manual changes in Key figure(demand)
    Basin   Subfamily  Quarter    KF1(Demand)   KF2(Photo Demand)  KF3(Confirmend Demand)
    100           70        20083         150 To                 100 To                       200 To
    then use button2 (copy confirmed demand to demand) it works fine
    Basin   Subfamily  Quarter    KF1(Demand)   KF2(Photo Demand)  KF3(Confirmend Demand)
    100           70        20083         200 To                 100 To                       200 To
    Second time:
    When I used button 1(copy demand to photo demand) it's works fine.
    Basin   Subfamily  Quarter    KF1(Demand)   KF2(Photo Demand)  KF3(Confirmend Demand)
    100           70        20083         200 To                 200 To                       200 To
    I do the manual changes in Key figure(demand)
    Basin   Subfamily  Quarter    KF1(Demand)   KF2(Photo Demand)  KF3(Confirmend Demand)
    100           70        20083         150 To                 200 To                       200 To
    then use button2 (copy confirmed demand to demand )it didn't work fine
    Basin   Subfamily  Quarter    KF1(Demand)   KF2(Photo Demand)  KF3(Confirmend Demand)
    100           70        20083         150 To                 150 To                       200 To
    it executed the planning sequence running behind button 1
    So, problem is my variable keep the last values. Please, help me to solve this problem.
    Thanks and regards,
    Deepak Singh

    Hi,
    Your post is little bit confusing ;
    What i understood is that your planning function is not running with proper value of variables ;
    Two things can be the reasons :
    1. the data set that you are running for second time may be improper which can be when the data is not saved in cube
    2. The variable value is wrong ; please check in debug what value of variable it is taking; if for the first time the value of variable is proper than there shouldn't be any error for second time;
    Post your questions in little simpler way that will be easy to understand;
    Thanks
    Pratyush

  • Declare variables vs passing parameters

    Hi,
    I'm just curious about it. What is the difference in declaring an variable (static or not) and having your methods use that (get/set) and declaring a method variable and passing that along other methods that you call?
    Some people have said that variables that have to be used by more than 1 method should declare an instance variable.
    Can anyone enlighten me?
    Thanks.
    Desmond

    Are you asking about the pourpose of inspectors (the get methods)?
    You have to understand whats the pourpose of a defined Object by a programmer.
    public class Sum {
         private int num1 = 0;//this private variables belongs to the Object Sum, and normally they are
         private int num2 = 0;//ALWAYS PRIVATE
         public Sum(int num1, int num2){//this is the constructor, its where u initialize ur private variables
              this.num1 = num1;
              this.num2 = num2;
         public int getNum1() {//this is an inspector, it gets the num1 of the private variable num1
              return num1;
         public int getNum2() {//this is another inspector but this time for num2
              return num2;
          * Whats the pourpose of the inspectors? Why not make the private variables public?
          * Heres the answer..If u make those private variables public, you risk on having
          * more mistakes in ur program, you always should restrict variables as much as possible
          * so the chances on making mistakes decreases
         public int result() {//this isnt an inspector, but a method that returns the sum of both num1 and num2
              return num1 + num2;
          * Now how to use this Object to ur needs
         public static void main(String[] args){
              Sum add = new Sum(12, 10);
              System.out.println("Add");
              System.out.println("Num1: " + add.getNum1() + "\n" +
                                  "Num2: " + add.getNum2() + "\n" +
                                  "Result: " + add.result());
               * You can make more Sum's if u like but each of them have their own variables
              Sum another_add = new Sum(20, 15);
              System.out.println("Another add");
              System.out.println("Num1: " + another_add.getNum1() + "\n" +
                        "Num2: " + another_add.getNum2() + "\n" +
                        "Result: " + another_add.result());
               * Now that whe have both results we can compare them
              System.out.println("Result in add: " + add.result() + "\n" +
                                  "Result in another_add: " + another_add.result());
    }

  • Parameter not passed in error

    I have Flex 3.0.214193 and CF 8,0,0,176276 and Oracle
    10.2.0.3.
    I've been search for several days for an answer to this one.
    There is very little out there about this type of error, but then
    there is very little about any problems with Flex and ColdFusion.
    In Flex, I have two comment fields. the .cfc has two update
    functions that update the comments, because they are in two
    different tables. The first update works like a champ. The second
    one consistantly shows this error in the CF application log: The
    NEWENGREMARK parameter to the updateEng function is required but
    was not passed in. I've used to Alert.Show to verify that Flex does
    have a value in that variable when it calls the .cfc. I've even
    tried passing the first variable that worked in the first update,
    and then a litteral value. Everything yields the same cryptic error
    message. I must be looking at the wrong thing.
    The only things I've found on the web about this, say the
    variables should have a scope (is that a scope in Flex or in the
    .cfc) and the column names should be in upper case (because it's
    Oracle).
    Here's the .cfc code (is that where the error is, or is it in
    Flex?). The UpdateDescription function works, but the UpdateEng
    doesn't.
    Thanks for any help, or spelling errors you can point out.
    Scott

    BKBK,
    That is part of my thrashing about, trying to either make it
    work or get a real error message. I changed the Flex and .cfc to
    pass the previously missing parameter to the descriptionUpdate
    function. If I pass the newENGRemark variable to the first update
    function, everything is fine; if I pass it to the second update
    function, it is missing.
    I changed the Flex and .cfc be all upper case and all lower
    case, but there was no difference.
    I created a .cfm page to cfinvoke the same .cfc; then I
    passed some hardwired literals to the .cfc - everything was fine.
    I put the Flex code back to only pass two parameter to each
    update function, but in the .cfc, in the second update, I added the
    default option to both of the parameters. That worked; it went
    ahead and updated the record with the defaults. (That's not really
    what I wanted to do for production) . I changed the .cfc so the
    newENGRemark was not required. Then it said the second parameter
    was missing. In the Flex code, you can see that I am passing a
    litteral, 925001, to the .cfc. The parameter exists in Flex, but
    when it gets to the .cfc, it doesn't exist.
    This problem has been beating me for too long. I think I
    will restructure the database so that I can do what I need to with
    one update function call. The initial test seems to show this will
    work.
    Basically I am floored by this problem. Everything I've
    tried to get around it or get a real error hasn't worked. Could it
    be something to do with Oracle CLOB data type? Because I was able
    to make it work by using a .cfm to cfinvoke the .cfc, it seems that
    the problem would have to be in Flex. But the Flex only seems to
    have a problem with the second update, UpdateEng. So I deleted the
    second update, copied the first, and changed the the minimum to
    make it work, but it didn't. Then I switched the order in the Flex
    and .cfc to have the second update first - same difference. Then I
    even took out the descriptionUpdate altogether, but it still gave
    that same error.
    Does anyone know of some diagnostic tool that can catch what
    is being passed on the AMF channel? Can you do a dump or a debug of
    a .cfc that is called by Flex?
    Scott

Maybe you are looking for

  • Acrobat 8 and Windows 7 Don't Work

    I just loaded Windows 7, now my Adobe Acrobat 8 doesn't create or combine pdfs.  Reloaded Acrobat 8 and still doesn't work.  Is there a patch to work with windows 7? Thanks, Steve

  • Integration with OCR

    Hi Friends, We have specific requirement. We will be receiving invoices from client. We need to check them and store them. While processing we need to study the Invoice no. on the documents and duplicates to be rejected. I am thinking of OCR. Thru OC

  • Flash Player (11.4.402.278) not working on Windows 7, 64bit, IE9.

    I can install and uninstall Flash, but I cannot locate it or use it once on my PC. Help appreciated, thanks.

  • Strange calender calculatio​n error

    I just found a very strange error. A friend of mine is born on 1st of January 1950. So, when I set this in her Address book, if shows correct. And as soon as I safe it and look, it says 6th of February 2086 (no joke). When I change the date to the 2n

  • How to cut the clips in Timeline ?

    I have placed a clip into the Timeline. I have keyframed on the 2nd last frame instead of the last frame. So, I double-click the clip on the timeline & placed the playhead on the 2nd last frame on the clip (in the timeline). Then I use the blade tool