Displaying dynamic data on load

Hello,
Being a newb, I am trying to figure all this out. I am trying to figure out how to make my dynamic data display. I am close but it still is not working the way it needs to. As you can see in the code I am trying to create a dynamic radio group, to load data when the page loads, but as it is it loads one radio button with a lable of "[object Operation]" and it should be creating 6 radio buttons. You can also see where I have commented out a button, now, if I uncomment it and run the page, pressing the button will populate the radio controls. What I need to do is get it so that when the page loads the data will load without having to press a button. This is taken from examples on the web and modifying to fit my needs. TIA.
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" width="554" height="400">
<mx:Script>
      <![CDATA[
            import mx.controls.Alert;
            import mx.rpc.events.FaultEvent;
            import mx.rpc.Fault;
            import mx.rpc.events.ResultEvent;
            import mx.controls.RadioButton;
            private function result(evt:ResultEvent):void { 
                  productsRepeater.dataProvider = evt.result;
            private function fault(evt:FaultEvent):void {
                  Alert.show(evt.fault.message);                
      ]]>
</mx:Script>
<mx:RemoteObject id="mycfc" destination="ColdFusion" showBusyCursor="true" source="flexdemo.src.DemoCFC" result="result(event)" fault="fault(event)">
</mx:RemoteObject>    
       <!--  <mx:Button label="Button" click="mycfc.GetData()"/> -->
      <mx:HRule/>
      <mx:Repeater id="productsRepeater" dataProvider="{mycfc}">
      <mx:RadioButton id="buttonsArray"
          label="{productsRepeater.currentItem.affiliatetype}"
          data="{productsRepeater.currentItem}"/>
    </mx:Repeater>
</mx:Application>

You are getting close to having this correct - there just needs to be a few changes.
First, the reason that you are getting the [Operation operation] is that you have the dataProvider for the repeater bound to the RemoteObject.  In this case, what you want to do is bind it to the data the RemoteObject returns.  For this example, the first thing you need to do is create a variable that will serve as the dataProvider.  For example, if you have an ArrayCollection (not sure what format your data will be in), our <mx:Script> block would change to be as follows:
<mx:Script>
      <![CDATA[
            import mx.controls.Alert;
            import mx.rpc.events.FaultEvent;
            import mx.rpc.Fault;
            import mx.rpc.events.ResultEvent;
            import mx.controls.RadioButton;
            [Bindable]
            public var returnedData:ArrayCollection;
            private function result(evt:ResultEvent):void { 
               // This assumes that an array is being returned by the service
               // You first tell Flex that this is an array and then use that to create a new ArrayCollection
               returnedData = new ArrayCollection( evt.result as Array ); 
               returnedData = evt.result;
            private function fault(evt:FaultEvent):void {
                  Alert.show(evt.fault.message);                
      ]]>
</mx:Script>
With that in place, you can now bind the repeater to the correct data.
<mx:Repeater id="productsRepeater" dataProvider="{ returnedData }">
Finally, if you want this to happen when the application loads, you need to listen for the creationComplete method of the application.  When this event is dispatched, you want to tell your remote object to go and grab the data.  Now your opening <mx:Application> tag will look like this:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" width="554" height="400" creationComplete="mycfc.getData()">
With those items in place, it should work.

Similar Messages

  • How to display dynamic datas and double datas (chart)

    Hi all !
    I would like to display dynamic datas and double datas by using charts.
    However, it doesn't work and I don't understand why.
    Can you help me to fix that ?
    Best regards,
    - John
    Attachments:
    double_dynamics_data.vi ‏54 KB

    Hi John,
    the sine looks like it should look with your VI!
    You convert the DDT to a scalar DBL. That conversion will only use the first sample of the generated sine waveform - usually this is always the same (offset) value when you generate full periods… Or to put it in a mathematical expression: sin(0°)+4 = 4!
    When you want to display waveform you should work with waveforms!
    Actually, I have used Dynamic data type in order to simulate an signal.
    Well, I also simulated a signal in my example VI. I didn't use any ExpressVI to do so…
    In a few weeks, I will receive a sensor. I will use in LabView 'DAQ Assistant' whose the ouput is a Dynamic Data.
    Nobody forces you to use the DAQAssistent ExpressVI. There are nice DAQmx functions available and LabVIEW comes with a lot of ready-to-use example VIs…
    That's why, I used in first place, the 'Simulate signal'. So I think I should keep Dynamic Data Type
    I do think you don't need to use the DDT. I think it's better to understand what is going on in your VI. And I think the DDT will be no help for you…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Displaying dynamic data on every page of standard text

    Hi All,
    I m using standard text (created in SO10) in smartform . I want to display dynamic data on the top of every page of standard text.
    Displaying the dynamic data is not the problem, but how would i know where is page finished(or started) as Preview in SO10 may not look the same as smartform output.
    I dont want to do this manually by adjusting the size of window. Is there any other way to do the same??
    Vanita.

    Try to create a text in your SF and write the dynamic data.
    To know in which page use &SFSY-PAGE&
    this system fields may also be helpful for dynamic text on each page
    &SFSY-COPYCOUNT0&   "COPY COUNTER( 0 = ORIGINAL, 1 = 1st COPY)
    &SFSY-COPYCOUNT&   "COPY COUNTER( 1 = ORIGINAL,  2 = 1st COPY)
    Still you can called DYNAMIC text through your standard text.. but place your conditions.
    Regards,
    SaiRam
    Message was edited by:
            Sai Ram Reddy Neelapu
    Message was edited by:
            Sai Ram Reddy Neelapu

  • Alternatives to dynamic tables for displaying dynamic data

    What methods are available for displaying data from MySQL
    with PHP on a web page? Is there any alternative to a dynamic table
    when the the quantity of data will vary? anything CSS based?
    Many Thanks

    On 27 May 2006 in macromedia.dreamweaver, Pingus mum wrote:
    > so i could just output to a div for example?
    Or a paragraph, or an <h4>, or an unordered list, or
    any other container
    tag, or the src attribute on an <img> tag, or any
    combination of the
    above. Consider the case where the database consists of press
    releases -
    date, headline, body. You could, say, make the repeat region
    like this:
    <h1>Press Releases</h1>
    <!-- start of repeat region -->
    <h2><& headlineFromDatabase &></h2>
    <p><& dateFromDatabase &> - <&
    bodyFromDatabase &></p>
    <!-- end of repeat region -->
    <address>Contact Information</address>
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/email.php

  • How to pass the userid to a page and have the page display dynamic data specific to user?

    I am developing a web app and can create a user ID log in page.  The app has a login page, view data page, and a post data page.  I want the user to be able to login and view the data unique to them they have posted.  Also from the view data page is a link to a post data page where they can post more data to be viewed.
    I have 2 tables in the database: one for "people" with a column for email.  ID and email are primary key.  The other table is "datapost" with a column name for email.  Id is primary key and email is a foreign key that references the 'person' table.
    After the user logs in they should go to view data and see their data, the page is going to view data, but it is not pulling up their specific data.  Below is the code for the pages:
    Can anyone point me to a resource where I can view some example code?  ( I tried to paste what I had in this messagae but it wouldn't paste and pages are on server yet to view.)  I have read ALMOST ALL of the Adobe tutorials and tech notes but no answer.

    I am using PHP and MySQL.  I'm using sessions.
    PHP from the login page:
    <?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_statuserlogin = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_statuserlogin = $_SESSION['MM_Username'];
    mysql_select_db($database_statprogram, $statprogram);
    $query_statuserlogin = sprintf("SELECT email, password FROM people WHERE
    email = %s", GetSQLValueString($colname_statuserlogin, "text"));
    $statuserlogin = mysql_query($query_statuserlogin, $statprogram) or
    die(mysql_error());
    $row_statuserlogin = mysql_fetch_assoc($statuserlogin);
    $totalRows_statuserlogin = mysql_num_rows($statuserlogin);
    $colname_statuserlogin = "-1";
    if (isset($_SERVER['email'])) {
      $colname_statuserlogin = $_SERVER['email'];
    mysql_select_db($database_statprogram, $statprogram);
    $query_statuserlogin = sprintf("SELECT email, password FROM people WHERE
    email = %s", GetSQLValueString($colname_statuserlogin, "text"));
    $statuserlogin = mysql_query($query_statuserlogin, $statprogram) or
    die(mysql_error());
    $row_statuserlogin = mysql_fetch_assoc($statuserlogin);
    mysql_select_db($database_statprogram, $statprogram);
    $query_statuserlogin = "SELECT * FROM datapost";
    $statuserlogin = mysql_query($query_statuserlogin, $statprogram) or
    die(mysql_error());
    $row_statuserlogin = mysql_fetch_assoc($statuserlogin);
    $totalRows_statuserlogin = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $totalRows_statuserlogin = $_SESSION['MM_Username'];
    $colname_statuserlogin = "-1";
    if (isset()) {
      $colname_statuserlogin = ;
    mysql_select_db($database_statprogram, $statprogram);
    $query_statuserlogin = sprintf("SELECT * FROM datapost WHERE email = %s",
    GetSQLValueString($colname_statuserlogin, "text"));
    $statuserlogin = mysql_query($query_statuserlogin, $statprogram) or
    die(mysql_error());
    $row_statuserlogin = mysql_fetch_assoc($statuserlogin);
    $query_statuserlogin = "SELECT email, password FROM people";
    $statuserlogin = mysql_query($query_statuserlogin, $statprogram) or
    die(mysql_error());
    $row_statuserlogin = mysql_fetch_assoc($statuserlogin);
    $totalRows_statuserlogin = mysql_num_rows($statuserlogin);
    ?>
    <?php
    // *** Validate request to login to this site.
    if (!isset($_SESSION)) {
      session_start();
    $loginFormAction = $_SERVER['PHP_SELF'];
    if (isset($_GET['accesscheck'])) {
      $_SESSION['PrevUrl'] = $_GET['accesscheck'];
    if (isset($_POST['email'])) {
      $loginUsername=$_POST['email'];
      $password=$_POST['password'];
      $MM_fldUserAuthorization = "email";
      $MM_redirectLoginSuccess = "statfatviewdata.php";
      $MM_redirectLoginFailed = "statfatuserlogin.php";
      $MM_redirecttoReferrer = true;
      mysql_select_db($database_statprogram, $statprogram);
      $LoginRS__query=sprintf("SELECT email, password, email FROM people WHERE
    email=%s AND password=%s",
      GetSQLValueString($loginUsername, "text"), GetSQLValueString($password,
    "text"));
      $LoginRS = mysql_query($LoginRS__query, $statprogram) or
    die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      if ($loginFoundUser) {
        $loginStrGroup  = mysql_result($LoginRS,0,'email');
        //declare two session variables and assign them
        $_SESSION['MM_Username'] = $loginUsername;
        $_SESSION['MM_UserGroup'] = $loginStrGroup;
        if (isset($_SESSION['PrevUrl']) && true) {
          $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
        header("Location: " . $MM_redirectLoginSuccess );
      else {
        header("Location: ". $MM_redirectLoginFailed );
    ?>
    PHP from the view data page:
    <?php
    //initialize the session
    if (!isset($_SESSION)) {
      session_start();
    // ** 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 = "statfatthankyou.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 = "statfatuserlogin.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($QUERY_STRING) && strlen($QUERY_STRING) > 0)
      $MM_referrer .= "?" . $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;
    }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;
    $currentPage = $_SERVER["PHP_SELF"];
    $maxRows_statviewdata = 1;
    $pageNum_statviewdata = 0;
    if (isset($_GET['pageNum_statviewdata'])) {
      $pageNum_statviewdata = $_GET['pageNum_statviewdata'];
    $startRow_statviewdata = $pageNum_statviewdata * $maxRows_statviewdata;
    $colname_statviewdata = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_statviewdata = $_SESSION['MM_Username'];
    mysql_select_db($database_statprogram, $statprogram);
    $query_statviewdata = sprintf("SELECT * FROM datapost WHERE email = %s",
    GetSQLValueString($colname_statviewdata, "text"));
    $query_limit_statviewdata = sprintf("%s LIMIT %d, %d", $query_statviewdata,
    $startRow_statviewdata, $maxRows_statviewdata);
    $statviewdata = mysql_query($query_limit_statviewdata, $statprogram) or
    die(mysql_error());
    $row_statviewdata = mysql_fetch_assoc($statviewdata);
    if (isset($_GET['totalRows_statviewdata'])) {
      $totalRows_statviewdata = $_GET['totalRows_statviewdata'];
    } else {
      $all_statviewdata = mysql_query($query_statviewdata);
      $totalRows_statviewdata = mysql_num_rows($all_statviewdata);
    $totalPages_statviewdata =
    ceil($totalRows_statviewdata/$maxRows_statviewdata)-1;
    $pageNum_statviewdata = 0;
    if (isset($_GET['pageNum_statviewdata'])) {
      $pageNum_statviewdata = $_GET['pageNum_statviewdata'];
    $startRow_statviewdata = $pageNum_statviewdata * $maxRows_statviewdata;
    $maxRows_statfatstats = 10;
    $pageNum_statfatstats = 0;
    if (isset($_GET['pageNum_statfatstats'])) {
      $pageNum_statfatstats = $_GET['pageNum_statfatstats'];
    $startRow_statfatstats = $pageNum_statfatstats * $maxRows_statfatstats;
    $colname_statfatstats = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_statfatstats = $_SESSION['MM_Username'];
    mysql_select_db($database_statprogram, $statprogram);
    $query_statfatstats = sprintf("SELECT * FROM datapost WHERE email = %s",
    GetSQLValueString($colname_statfatstats, "text"));
    $query_limit_statfatstats = sprintf("%s LIMIT %d, %d", $query_statfatstats,
    $startRow_statfatstats, $maxRows_statfatstats);
    $statfatstats = mysql_query($query_limit_statfatstats, $statprogram) or
    die(mysql_error());
    $row_statfatstats = mysql_fetch_assoc($statfatstats);
    if (isset($_GET['totalRows_statfatstats'])) {
      $totalRows_statfatstats = $_GET['totalRows_statfatstats'];
    } else {
      $all_statfatstats = mysql_query($query_statfatstats);
      $totalRows_statfatstats = mysql_num_rows($all_statfatstats);
    $totalPages_statfatstats =
    ceil($totalRows_statfatstats/$maxRows_statfatstats)-1;
    $maxRows_stattotallost = 10;
    $pageNum_stattotallost = 0;
    if (isset($_GET['pageNum_stattotallost'])) {
      $pageNum_stattotallost = $_GET['pageNum_stattotallost'];
    $startRow_stattotallost = $pageNum_stattotallost * $maxRows_stattotallost;
    $colname_stattotallost = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_stattotallost = $_SESSION['MM_Username'];
    mysql_select_db($database_statprogram, $statprogram);
    $query_stattotallost = sprintf("SELECT totalincheslost, totalwtlost FROM
    datapost WHERE email = %s", GetSQLValueString($colname_stattotallost,
    "text"));
    $query_limit_stattotallost = sprintf("%s LIMIT %d, %d",
    $query_stattotallost, $startRow_stattotallost, $maxRows_stattotallost);
    $stattotallost = mysql_query($query_limit_stattotallost, $statprogram) or
    die(mysql_error());
    $row_stattotallost = mysql_fetch_assoc($stattotallost);
    if (isset($_GET['totalRows_stattotallost'])) {
      $totalRows_stattotallost = $_GET['totalRows_stattotallost'];
    } else {
      $all_stattotallost = mysql_query($query_stattotallost);
      $totalRows_stattotallost = mysql_num_rows($all_stattotallost);
    $totalPages_stattotallost =
    ceil($totalRows_stattotallost/$maxRows_stattotallost)-1;
    $queryString_statfatstats = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_statfatstats") == false &&
            stristr($param, "totalRows_statfatstats") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_statfatstats = "&" . htmlentities(implode("&",
    $newParams));
    $queryString_statfatstats = sprintf("&totalRows_statfatstats=%d%s",
    $totalRows_statfatstats, $queryString_statfatstats);
    ?>
    Thank you!

  • Problem displaying dynamically loaded text in Flash CS3

    I created a Flash CS3 application that does not display
    dynamically loaded text (from internal AS3 scripts) on 3/6 of my
    client's computers. All computers run IE 6 and Flash Player 9. I
    cannot replicate the problem on any computer in my department. The
    problem seems to be related to Flash Player 9 or a browser
    setting/IT restriction. Has anyone encountered this? If so, have
    you found a solution?
    If I cannot find a solution, then I will need to almost
    completely redo the application.
    One slightly insane idea I have considered is to, if
    possible, convert dynamically loaded text to an image real-time. Is
    that possible?
    Btw, I have created a font in my library. Should I try
    manually embedding the font from the Properties menu and selecting
    all characters?
    Thanks in advance.

    yes, even though you may be using a font from the library,
    you still have to specify that each text field that uses that font
    embeds the font, and you'll need to select all characters(well not
    all, unless you require all the different scripts of the world -
    upper-case, lower-case, numerals and punctuation usual suffices).
    I bet if you checked, the computers where the font did not
    appear did not have the font on their system.
    Good luck
    Craig

  • How to display the Data labels in Chartobject Dynamically?

    Hi
    i am using Crystal Report Server XI R2 -  ReportClientDocument to generate reports dynamically.
    i want to display the data labels on the chart object in runtime. how it is possible?
    is there any way to achieve this? since it is possible in designer, i hope that there must be WAY.....
    Regards,
    Padmanaban V

    The chart analyzer is a third party tool that Crystal is licensed to use in the designer. That means in the Crystal Designer you have a lot of chart functionality, but at runtime the chart exists as part of the report object and the analyzer is not present. Therefore you have a few formatting options but not as many as in the designer.
    For details of what options you have with the chart at runtime, see these links:
    [1|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crlrfCrystalDecisionsCrystalReportsEngineChartObject_MembersTopic.htm]
    [2|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crlrfCrystalDecisionsCrystalReportsEngineChartObject_PropertiesTopic.htm]
    [3|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crlrfCrystalDecisionsCrystalReportsEngineChartObjectClassTopic.htm]
    Ludek

  • PC gets loaded when trying to display large data in graph

    PC gets loaded when i try to display large data in the graph, the shift register holding the data eats up all my virtual memory ,so my pc gets hangs,any ways to refresh the virtual memory using labview. The chart also cannot be replaced.

    Bharani wrote:
    The data size is appox 200 MB or more. The data is acquired in I32 format and store in file. During the playback , the file is read according to the sampling rate, converted to ascii ,send to Daqmx write and Graph simultaneously. In graph portion, the array holds(using shift register)  all the data in the graph.This holding the data loads the PC.Is there any way to refresh the virtual memory using labview.
    Is there really a good reason to send 200MB worth of I32 data to a graph? NO! Your graph most likely does not have more than about 1000 pixels across!
    Most likely, you have multiple copies if the data in memory. Do you convert the entire 200MB data to ASCII or each data point as needed? Have you done some profiling? What is the memory usage in "VI properties..Memor Usage"? Do you use local variables?
    Your best bet would be to analyse you code to optimize memory usage, avoid data copies, etc. Please attach you code so we can give some advice.
    LabVIEW Champion . Do more with less code and in less time .

  • Dynamic date display as a heading in module pool

    Dynamic date display as a heading in module pool from a ztable
    the ZTABLE contain the date from which the date value is to be printed as a heading like
    "BILLING FOR THE MONTH OF MAY 2010 WILL BE CLOSED ON 26/05/2010"
    thanks,
    Sree

    Hi Sreekanth,
    Simply follow below steps:
    1. Create a Input/Output field in screen layout.
    2. Double click on it and 'Attributes' window will get opened.
    3. Give a 'Name' to it (Ex: Text) and under 'Display' tab, tick 2D display and As label on left
    4. Save and Activate.
    5. In PBO, use below code,
    MODULE status_2000 OUTPUT.
      SET PF-STATUS 'DEMO'.        " PF status
      DATA: l_f_date TYPE sy-datum.
      SELECT SINGLE zdate FROM ztable  INTO l_f_date.         " Select Date from ur ZTABLE
      text = 'BILLING FOR THE MONTH OF MAY 2010 WILL BE CLOSED ON'.
      CONCATENATE text l_f_date INTO text SEPARATED BY spce.
    ENDMODULE.                 " STATUS_2000  OUTPUT
    6. In TOP include,
    DATA:  TEXT type string.     " Same name given to  Input/Output field in screen layout.
    7. Save & Activate.
    Thanks..

  • How to call javascript function with dynamic data in display tag

    Hi,
    Iam new to pagination concept. Iam using display tag to display rows in jsp by strtus.
    I have a problem when calling the javascript function using ahref in attribute in display tag.
    <bean:define name="form1" property="EditDetails.List" id="ListDisplay"/>
    <display:table name="pageScope.ListDisplay" cellpadding="0" cellspacing="1" pagesize="10" partialList="false" size="listSize" requestURI="">
    <display:column property="poNo" href='javascript:searchEditDetails("./submitOrder.do? actionID=getMISLoadEdit&poNumberSel=<%=((com.po.bean.EditDetails)poListDisplay).getNo()%>&statusIdSelected=<%=((com.po.bean.EditDetails)ListDisplay).getStatusId()%>")'
    title="Number"/>                         
    <display:column property="strDate"title="Date" />
    <display:column property="orderValue"title="Order Value(INR)"/>
    <display:column property="stringRequestedDeliveryDate"title="Suggested Delivery Date"/>
    <display:column property="statusDescription" title="Status" />
    </display:table>
    The above code display the data in row format is working fine when I click the No It thow javascript error and its not redirecting to the other page.
    When I try this with ordinary struts its working fine the code is:
    <logic:iterate id="polist" name="Form1" property="EditDetails.List" indexId="i" type="com.bean.EditDetails">
    <tr>
    <td ><a href="javascript:searchEditDetails("./submitOrder.do?actionID=getMISLoadEdit&NumberSel=<%=((com.bean.EditDetails)polist).getNo()%>&statusIdSelected=<%=((com.bean.EditDetails)polist).getStatusId()%>")"><html:hidden name="polist" property="No" write="true" /></a>     </td>
    <td><html:hidden name="polist" property="strDate" write="true" /></td>
    <td><html:hidden name="polist" property="orderValue" write="true" /></td>
    <td><html:hidden name="polist" property="stringRequestedDeliveryDate" write="true" />     </td>
    <td><html:hidden name="polist" property="statusDescription" write="true" /></td>
    </tr>
    </logic:iterate>
    Please help me how to call javascript with dynamic data.
    Thanks in advance

    The ADF Mobile Container Utilities API may be used from JavaScript or Java.
    Application Container APIs - 11g Release 2 (11.1.2.4.0)

  • Can't get a dynamic data type and wire (waveform double) to both display on a waveform graph

    Hi,
    I'm teaching myself LabVIEW. I wish to delay a wave form and display it with the non delayed wave form. I used a delay from the examples. The output of the delay is wire (waveform double). The Simulate signal output is dynamic data. My conversion from wire (waveform double) to dynamic does not display on the waveform graph. The VI is attached. Can anyone offer any comment.
    Solved!
    Go to Solution.
    Attachments:
    Three input graph.vi ‏92 KB

    It is displaying just fine.  The display is hidden behind the display of the second signal. Expand the Plot Legend to show all three plots. Then toggle the plot visible property of the second and third plots.
    Lynn

  • Problem in displaying dynamic japanese data in JSP

    Hi all,
    I am trying to display japanese data (address) fetched from RDBMS database but only ???????? getting displayed. First the data is fetched from database then populated in xml. From xml databean is created .
    Steps taken
    I have put chartset =shift-jis in jsp response header .
    I made sure the encoding for XML file is UTF-8 for parsing. I am using documentbuilder object for parsing for xml.
    I am not sure what needs to be done to display japnese text properly.
    I appreciate if i get solution as i am struck with this for long time
    Regards,
    prasad

    Your JSP pages need to contain a JSP directive that specifices the encoding for the pages (one that supports Japanese).
    I use:
    <%@ page contentType="text/html;charset=UTF-8" %>
    You could also use:
    <%@ page contentType="text/html;charset=SHIFT-JIS" %>
    When you view with your browser also remember to set the page encdoing and ensure your OS has the proper fonts installed.

  • Can I display XY Graph data as Dynamic Data?

    Hi all,
    I have an application that treats XY Data, i.e. data with the X axis
    gaps not constant (because the trigger is external and it has the
    interval not constant), and I would like to use some of the utilities
    related to Dynamic Data. I don't know if that's possible but I suspect
    that Dynamic Data must have constant X axis gaps. Can anyone confirm
    that point? Or the possibility of transforming that data? How could I
    do that?

    If you already have the data as two separate arrays (an x array, and a y array), then just use the XY Graph and a bundle node to plot it. If you want to use the Dynamic Data type that was introduced in LV 7, then just use the To DDT conversion bullet. You can also use an interpolate routine to "shift" the x values around, but it doesn't sound like you want to do that.
    J

  • Dynamic Date Display

    Hi everyone,
    We got a report using two dates as a query filter (getting records between date_1 and date_2). Now we'd like to display the two dates in the report, for example, include it in the title part to indicate which period we are looking at. Thought something like free standing cell would work but couldn't find a way to extract the dates in query filter.
    I wonder if there is any way I could achieve that? Thank you very much!
    Regards,
    Russo

    hi
    try to use function
    =UserResponse()
    for eg =UserResponse("date_1") it will display which date you had selected at the run time of the webi
    Note
    =UserResponse("provide a exact prompt text")
    as per above example
    =UserResponse("Enter Fiscal year:")

  • How do i convert dynamic data for TCP transmission?

    I am doing a university reaseach project which will gather field data in a remote location (with a phone line), and i want to transmit this data back to the lab for recording and analysis. I have loaded the simple data server and client vi's, but cannot get my data into a suitable form for transmission. The data is aquired through a daq pad and displays on a waveform graph as well as writing to file. The output from the daq pad is dynamic data, and this is what i want to transmit...... any ideas. thanks Jack

    Hi Jack,
    try it in this way.
    Mike
    Attachments:
    Unbenannt.PNG ‏13 KB

Maybe you are looking for