Dynamically build graph
hi guys ,
I am trying to update a 3d graph dynamically, now its easy to plot the 3d graph when all the values are know . In my case ,check the vi, i have three axis distance wavelength and power. The wave lenght and distance are fixed that is i am taking the wavelength from 1596,35 - 1596,95 and distance from 33572,649 - 34085,735 which in the vi are included as contants .. the power i am measuring from the txt filed which i have attached. Now i want to update the graph in the for loop when the values are being read from the txt file.
let me know if anyone has idea how to do this
Solved!
Go to Solution.
Attachments:
3d.vi 34 KB
power.txt 356 KB
Hi nolsqn86,
You wired an empty constant to the inner mesh plot helper.vi - so, the "3d mesh 2" didn't receive any data at all.
I tidied up your blockdiagram and wired the inner mesh plot helper.vi correctly as you did for the outer mesh plot helper.vi
Then I realized Labview is executing this vi so quickly so the "3d mesh 2" has no chance to update the GUI
So, I put in the wait until next ms multiple to give the "3d mesh 2" 100 ms to update. Know you should be able to see the 3d graph being updated as the for loop executes.
There's sometimes a time-lag from iteration to iteration; but mostly each iteration lasts 100 ms. Maybe a "timed loop" will be more accurate.
Alex
♜♖ LabView 8.6 - LabView 2014 ♖♜
Attachments:
2013-05-09_3d_rev2.vi 127 KB
Similar Messages
-
Free way to dynamically build a form that adobe reader can fill out?
It's 2008 and we don't have a open, free way to dynamically build a pdf form that adobe reader can populate with data? Why is Adobe charging for this sort of thing? Does this make sense to anybody?
> Why is Adobe charging for this sort of thing?
That seems to me the way economics works. People charge for things
that other people are prepared to pay for. It's no good trying to
charge for things that nobody will pay for.
>Does this make sense to anybody?
Adobe's shareholders, I would think, who will sack Adobe's management
if they do not make money.
By the way, the PDF specification is open. If you want something for
free, why not implement it and share it with the world, who will
surely be pleased. (You will not be able to implement a form that
Reader can save, however, this is based on trade secrets).
Aandi Inston -
Dynamically build parameter list
I'm after an easy way to dynamically build a list of ALL the defined parameters within the additional PL/SQL code section on a portal report. I then want to use p_arg_names / p_arg_values to retrieve and store the passed values in a table.
To clarify, the report may have 10 parameters of which say only 5 are passed on a particular run. I need to then populate 10 columns which includes nulls for the parameters not passed. This way parameter values will always be written to the same column.
I aiming to use this as generic code to apply to several other reports which will write to the same table.
RonIn case anyone else needs this I'll post the solution myself.
1. p_arg_names and p_arg_values (shows only the populated parameters / values)
2. l_arg_names and l_arg_values (shows all the parameters / values)
So in my case I needed to reference l_arg_names and l_arg_values. -
I am interested in adding a dynamic line graph to a form I have.
I attempted to use myChart with an array which pretty much went nowhere.
I have read a little on the subject which entails lots of script, which is ok, however I am lost and in need of some direction.
Can anyone point me in the right direction.Creating dynamic graphs in a PDF is an very complex and a very advanced scripting task. If you need such graphs in your file, then PDF might not be the right choice for you.
-
hi
I unable to cretae the dynamically outline for dynamaic cala and dynamic calc and store and rest data storage property.
in my datasource i dont have information regarding storage properties. how can i add the storage properties to rule file for dynamically building..............It depends on how you source data is set up. If level or gen ref and you want to make all upper level members dynamic calc, that wouldn't be too bad. Just add a column for Gen2 properties with text value 'X' and then set that column as the properties for Gen2. Repeat for other Gens as needed.
Now for Parent/Child it gets more messy. You could make a copy of your child member column in the load rule, then use Find/Replace to update the value to the storage property you want.
For example let's say you have a load file like
PARENT -- CHILD
Year -- Q1
Q1 -- Jan
Q2 -- Feb
Q3 -- Mar
You could duplicate the child column in your load rule
PARENT -- CHILD -- CHILD2
Year -- Q1 -- Q1
Q1 -- Jan -- Jan
Q2 -- Feb -- Feb
Q3 -- Mar -- Mar
You could then use Find/Replace on the new CHILD2 column
(Replace 'Q1' with 'X', Replace 'Jan' with '', Replace 'Feb' with '', Replace 'Mar' with '') your end result will look like
PARENT -- CHILD -- CHILD2
Year -- Q1 -- X
Q1 -- Jan -- NULL
Q2 -- Feb -- NULL
Q3 -- Mar -- NULL
Set new CHILD2 column as the property for CHILD column and you'll get your properties as needed. This obviously gets difficult if the dim is large.
In General I would not take this approach unless you just had to do one or two. You are better to manipulate your source before hand. -
Dynamically build a SAP Transaction menu?
Hi All,
We are connecting EP7 to an ECC backend to run SAP transactions.
Rather than building hundreds of roles in the portal, or uploading them, is it possible to have the portal dynamically build a detailed navigation menu for each user by reading a person roles in the backend ECC system?
I've heard that this can be done with a custom iView. It reads the User Menu from the backend and displays it in the portal. Is this iView available for downloading?
ThanksHi Anton,
If I understand you correctly then you have a webdynpro iView with 2 values and you want to access a transaction iView by sending these 2 values as input parameters.
You can achieve this using Portal Navigation. This document provides details:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62
API:
public void navigateAbsolute(java.lang.String navigationTarget,
WDPortalNavigationMode mode,
java.lang.String windowFeatures,
java.lang.String windowName,
WDPortalNavigationHistoryMode historyMode,
java.lang.String targetTitle,
java.lang.String contextUrl,
java.lang.String businessParameters,
java.lang.String applicationParameters,
boolean postParameters,
boolean useSAPLauncher)
API details:
http://help.sap.com/saphelp_nw70/helpdata/en/c3/235a428a1e9041e10000000a1550b0/content.htm
Best regards,
Sangeeta -
Need help dynamically building combo-boxes...
How can I dynamically build drop down lists?
I was thinking about using a dynamic page, with bind variables
set for sql statements inside <oracle></oracle> tags, or passing
the variable from the first selection to the second selection of
another page (or the same page?)...
Another thing I was thinking about would be to base a form on a
DB procedure, and pass the selections to the procedure, and re-
build the lists that way...
I need to avoid client side processing (javascript) because of
accessiblity concerns.
Any ideas would be greatly appreciated...
RyanAjay,
The following is an excerpt of the code I used. Because of a
lack of time, I haven't made the code generic. The code is used
to interface with Oracle Reports 6i & Oracle Configurator. The
configurator (config_hdr_id & config_rev_nbr) parameters are
selected by the user and passed into Oracle Reports using related
dynamic combo-boxes. Pay particular attention to the
wwpro_api_parameters.get_value function as well as the onChange
javascript. Hope you can take pieces of this for an example.
The following is the code for a Portal dynamic page:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Configurator Reports</title>
<SCRIPT LANGUAGE="JavaScript1.1">
<!-- Comment out script for old browsers
** this function will open a new URL for the Reports CGI
** executable to run the report
function runReport()
// semi-constants for JavaScript
var cgiexe = "runrep.sh";
var slash = "/";
var colon = ":";
var qmark = "?";
var paramsep = "&";
** URL parameter values
** We should check for nulls, http://, etc. but not for now
var dtlist = document.REPFORM.WEBHOST;
var WEBHOST = dtlist.options[dtlist.selectedIndex].value;
var WEBPORT = document.REPFORM.WEBPORT.value;
var dtlist = document.REPFORM.SERVER;
var SERVER = dtlist.options[dtlist.selectedIndex].value;
var dtlist = document.REPFORM.REPORT;
var REPORT = dtlist.options[dtlist.selectedIndex].value;
var dtlist = document.REPFORM.P_HEADER_ID;
var P_HDR_ID = dtlist.options[dtlist.selectedIndex].value;
var P_REV_NBR = document.REPFORM.P_REV_NBR.value;
var dtlist = document.REPFORM.USERID;
var USERID = dtlist.options[dtlist.selectedIndex].value;
var dtlist = document.REPFORM.DESTYPE;
var DESTYPE = dtlist.options[dtlist.selectedIndex].value;
var dflist = document.REPFORM.DESFORMAT;
var DESFORMAT = dflist.options[dflist.selectedIndex].value;
var dtlist = document.REPFORM.MIMETYPE;
var MIMETYPE = dtlist.options[dtlist.selectedIndex].value;
// construct the final URL given the parameters
var URL = "http://" + WEBHOST + colon + WEBPORT +
"/dev60cgi/"
+ cgiexe + qmark +
"server=" + SERVER + paramsep +
"report=" + REPORT + paramsep +
"p_header_id=" + P_HDR_ID + paramsep +
"p_rev_nbr=" + P_REV_NBR + paramsep +
"userid=" + USERID + paramsep +
"destype=" + DESTYPE + paramsep +
"desformat=" + DESFORMAT + paramsep +
"mimetype=" + MIMETYPE;
// alert("Opening a window with the following URL : \r\r" +
URL);
// open the new window with the constructed URL
//runWindow = window.open(URL);
//Point the current window to the URL to run the form
this.window.location.href=URL;
function getRevision(form)
var l_config_hdr_id =
form.P_HEADER_ID.options[form.P_HEADER_ID.selectedIndex].value;
window.location.href =
"/pls/portal30/!PORTAL30.wwpob_page_util.redirect?_pageid=61&_tab
string=&_portletmode=&_cache=1&cz.p_config_hdr_id="+l_config_hdr_
id;
return false;
//-->
</SCRIPT>
</head>
<body>
<form NAME="REPFORM" METHOD="GET" onSubmit="return false">
<table BORDER=0 CELLSPACING="5" valign="top" align="left">
<tr>
<td ALIGN=LEFT COLSPAN="2"><font face="arial" size="-1"><B>Enter
configuration data and click the button to submit the selected
report.</B></font></td>
</tr>
<TR><TD> </TD></TR>
<tr><td valign="top"><table BORDER=0 CELLSPACING="2">
<TR><TD COLSPAN="3" ALIGN="LEFT">
<FONT COLOR="#6666CC" FACE="arial,helvetica"
SIZE="-1"><NOBR><B>Report Parameters</B></NOBR></FONT>
</TD></TR>
<tr>
<td ALIGN=LEFT><font face="arial" size="-1">Report:</font></td>
<td><font face="arial" size="-1"><select NAME="REPORT">
<option SELECTED
VALUE="portal_test_report_6i.rdf">portal_test_report_6i.rdf
</select></font></td>
</tr>
<ORACLE>
-- Dynamically retrieving the Configurator Header ID's.
-- kreierso 8-oct-01
declare
v_config_hdr_id oc_config_ord_qte_lookup.config_hdr_id%type;
begin
v_config_hdr_id :=
to_number(portal30.wwpro_api_parameters.get_value('p_config_hdr_i
d','cz'));
htp.p('<TR><TD ALIGN="left"><font face="arial"
size="-1">Configuration Header ID:</font></TD>');
htp.p('<TD><font face="arial" size="-1"><SELECT
NAME="P_HEADER_ID" onchange="getRevision(this.form)">');
htp.p('<OPTION VALUE=" "> ');
for r_get_hdr_values in (
select cz.config_hdr_id, cz.config_rev_nbr
from cz_config_hdrs cz
order by cz.config_hdr_id desc
) loop
if v_config_hdr_id = r_get_hdr_values.config_hdr_id then
htp.p('<OPTION SELECTED
VALUE="'||r_get_hdr_values.config_hdr_id||'">'||r_get_hdr_values.
config_hdr_id);
else
htp.p('<OPTION
VALUE="'||r_get_hdr_values.config_hdr_id||'">'||r_get_hdr_values.
config_hdr_id);
end if;
end loop;
htp.p('</SELECT></font>');
htp.p('</TD></TR>');
htp.p('<TR><TD ALIGN="left"><font face="arial"
size="-1">Configuration Revision:</font></TD>');
htp.p('<TD><font face="arial" size="-1"><SELECT
NAME="P_REV_NBR">');
for r_get_rev_values in (
select cz.config_rev_nbr
from cz_config_hdrs cz
where cz.config_hdr_id = v_config_hdr_id
order by cz.config_rev_nbr desc
) loop
htp.p('<OPTION
VALUE="'||r_get_rev_values.config_rev_nbr||'">'||r_get_rev_values
.config_rev_nbr);
end loop;
htp.p('</SELECT></font></TD></TR>');
end;
</ORACLE>
<tr>
<td ALIGN=LEFT><font face="arial" size="-1">Format:</font></td>
<td><font face="arial" size="-1"><select NAME="DESFORMAT">
<option SELECTED VALUE="RTF">RTF
<option VALUE="PDF">PDF
<option VALUE="HTML">HTML</select></font></td>
</tr>
<tr><td> </td></tr>
<tr>
<td ALIGN=RIGHT><FONT face="arial" size="-1"><input TYPE="SUBMIT"
NAME="Runrep" VALUE="Run Report"
onClick="runReport();"></FONT></td>
<td ALIGN=RIGHT><FONT face="arial" size="-1"><input TYPE="RESET"
NAME="Reset" VALUE="Reset"></FONT></td>
</tr>
</table></td>
<td valign="top"><table BORDER=0 CELLSPACING="2">
<TR><TD COLSPAN="3" ALIGN="LEFT">
<FONT COLOR="#6666CC" FACE="arial,helvetica"
SIZE="-1"><NOBR><B>Report Paremeters (Hidden
Candidates)</B></NOBR></FONT>
</TD></TR>
<tr>
<td ALIGN=LEFT><font face="arial" size="-1">Userid:</font></td>
<td><font face="arial" size="-1"><select NAME="USERID">
<option SELECTED
VALUE="kreierso/password@DEV11">kreierso/password@DEV11
</select></font></td>
</tr>
<tr>
<td ALIGN=LEFT><font face="arial" size="-1">Type:</font></td>
<td><font face="arial" size="-1"><select NAME="DESTYPE">
<option SELECTED VALUE="cache">cache
<option VALUE="Printer">printer
<option VALUE="File">file
</select></font></td>
</tr>
<tr>
<td ALIGN=LEFT><font face="arial" size="-1">Mimetype:</font></td>
<td><font face="arial" size="-1"><select NAME="MIMETYPE">
<option SELECTED VALUE="application/msword">application/msword
</select></font></td>
</tr>
<tr>
<td ALIGN=LEFT><font face="arial" size="-1">Reports
Server:</font></td>
<td><font face="arial" size="-1"><select NAME="SERVER">
<option SELECTED
VALUE="Rep60_dev11_shane.dci.com">Rep60_dev11_shane.dci.com
</select></font></td>
</tr>
<tr>
<td ALIGN=LEFT><font face="arial" size="-1">Web Host:</font></td>
<td><font face="arial" size="-1"><select NAME="WEBHOST">
<option SELECTED VALUE="shane.dci.com">shane.dci.com
</select></font></td>
</tr>
<tr>
<td ALIGN=LEFT><font face="arial" size="-1">Web Port:</font></td>
<td><font face="arial" size="-1"><input type=hidden
NAME="WEBPORT" VALUE="7500">7500</font></td>
</tr>
</td></tr></table>
<TR><TD> </TD></TR>
<TR><TD ALIGN="CENTER" COLSPAN="2">
<font face="arial" size="+1" color="#000099">This is currently
being developed.... ~Thanks, Kirk.</font>
</TD></TR>
</table>
</form>
</body>
</html> -
Populating "Comments" field via Dynamic Build
Can anyone tell me whether it is possible to enter data in to the comments field under an individual members properties as part of a dynamic build? The help is fine for setting Consolidation and Data Storage settings but does not mention anything about the comments field. There doesn't seem to be an option in the load rule to set a field as Comments.Thanks,Ian
This was actually brought up some time ago - I did a check of Essbase 6.5.1 and you cannot update comments with a load rule.A couple of options - you could build an API program to do it, or you could take a look at ESSCMDQ - which is an unsupported utility that Hyperion has for download on Essbase.com. Supposedly they use it for testing the API - it might have a function to update member comments.Regards,Jade--------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]
-
Dynamically build URLS for dynamic navigation
hello all, I am trying to develop dynamic navigation for pl/sql portlets in oracle portal 10g. When admins place the portlets i develop on pages or tabs, etc, i would like to be able to query the database for there location(what page or tab its assigned to) dynamically so i can build links that would allow linking from portlet to portlet no matter where the admin placed them in the Portal. So my question is, what table or tables list the page_id or tab_id for portlets when they are added to a region on page or tab???
The Content Area Views describe the information that you can access from PL/SQL.
Peter -
Dynamically build VI using LabVIEW
I'm currently working on an application and I would like to be able to generate VI's using LabVIEW. I remember seeing something like this being used before, so I would like to know how one would go about accomplishing such a feat. The point is that I want to be able to use LabVIEW to generate LabVIEW VI's add some elements to those VI's (controls, functions, etc).
Thanks in advance,I can not comment on when, but it will become available, someday.
Vision Builder has been doing this for years.
The LV State Diagram Editor (which is wonderful by the way) can obviously edit diagrams and is apparently implemented as a VI!
THe SD Editor (which is great by the way, I love this thing, NO MORE PowerPoint to design) is an incredibly small add-on. This leads me to suspect much of this functionality (i.e. VI's to edit VI's) is already implmented in LV, we just do not have mechanisms to get at it (other than using the very restricted tools mentioned above).
I stongly agree with Wiebe in that this functionality will be rather challenging to master.
It will also be dificuly to support!
Imagine the type of code that would result. here
is one mind bogling possiblity.
Write three VI's
"A.VI" alternately calls "B" and "C".
"B.VI" Executes a "random VI" evaluates the reuslts and clones a modified version of itself as "C.VI" based its evaluation of the random code results and any prior experiments it has performed.
C.VI then duplicates the actions of B.
This could lead to a type of artificial intellegent code that is able to adapt it own algorithm.
What happens if the code after learning and growing decides it does not want to do math anymore and would rather just listen to the same albumn over and over again?
How does a support engineer address that?
The reason I present this extreme case was that this functionaly, when it comes, it will be limited at first (as we see in dynamic event registration).
I seem to remember Rolf Kalbermatter (on Info-LabVIEW) saying something like "Self modifying code is a bad idea and went out style years ago".
Just my thoughts,
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
I've looked through the forums and found a lot of previous posts regarding dynamic spreadsheets, but I don't think any of them worked quite like this (although I could be wrong).
I have a master table that lists a bunch of items and each item has several columns with information describing that item. For example: Row 1-Ball, Small, Blue, Smooth. Row 2-Cube, Medium, Red, Textured. And so on... This table is not complete and as time goes on I'll have more items to add to it.
Now here's the tricky part: I have other tables that I would like to have their contents build as I add items to the master table. So, when I add Row 3 for a Cylinder the other tables will automatically add the new item to themselves, perform the functions I have laid out, and sort accordingly.
Thank you for your help with this.dcifanatic05 wrote:
Perhaps I'm not properly understanding the solution, but I think mine differs from these examples. Both of these examples are looking for subsets of items from their master tables (only plants with these characteristics or only students from this group). I am looking to have additional tables that still list every single item (ball, cylinder, square), but not all of the fields.
At its most basic, using labels in the header cells of Table 1 for:
"Item" (Column B), "Size" (C), "Colour" (D), "Surface" (E),
the formulas for Table 2, showing only:
"Item" in column B and "Colour) in column C
B: =Table 1::B
C: =Table 1::D
In this form, Table 2 will shot the item name and colour in rows where such information has been entered in Table 1 and zeroes in rows where the data has not yet been entered.
This variation will suppress the zeroes, leaving blank cells in rows where there's no data in Table 1.
B: =IF(LEN(Table 1::B)>0,Table 1::B,"")
Items on Table 2 will be listed in the same order as on Table 1.
Regards,
Barry -
Dynamically build web GUI interface
Hi,
I am planning to build web GUI interface. Instead of desiginning statically, I want to store GUI meta data in a xml file and build web GUI from the meta data.
I would like to know if there any java tools available already to build web GUI from meta data.
THanks
RRHi,
I am planning to build web GUI interface. Instead of
desiginning statically, I want to store GUI meta data
in a xml file and build web GUI from the meta data.
I would like to know if there any java tools
available already to build web GUI from meta data.
THanks
RRWell, if you use Swing with a JApplet then you are dynamically creating the user interface. The components are added at runtime, not when you compile the programs. All you need to do is drive which controls to add by some stored data. The same is true for HTML if you generate your pages at runtime (i.e. not just static HTML files). -
Hello experts,
I'm searching for a possibility to build up dynamically a portal url like this:
http://<hostname>:<port>/irj/portal?NavigationTarget=navurl://dcaceb3f782aa37c63aedfdc8347c7b5&....
&CurrentWindowId=WIDDefaultExternal1250835714537&NavigationContext=navurl://39fccbe94b41d07fd15b942490ec5e9e
The goal is it to start the browser with the seached URL from an ABAP report. How to start the internet browser I allready now. Is there any ABAP class for building such urls with parameter support?
Thanks in advance.
Best Regards
Clemenshi,
this is one [WAY|http://help.sap.com/saphelp_nw04/helpdata/en/d3/ab0b5decd045e482d0deae9f9c90d5/frameset.htm]
let me know is that ok for u or ......
if u r using webdynpro for abap check for the manus Dua post
How to open URL IView with dynamic url parameter (navigate_absolute)
let me know u need more info
ravidndra -
Dynamically build onEnterframe function
Hi
I was wondering how to build dynamically onEnterframe
functions.
I want that my first onEnterframe() uses the values of the
first time the for loop runs, the second onEnterframe uses the
values build in the second time the for loop runs, the third time,
What my script does now is that is all my items eventualy
uses the last values that where build the last time the for loop
has ran?
I hope all this is clear enough for you guys.
Here's my scrip tI use:
function setNewImagePosition(){
for(i=0; i<_root.myArray12Length; i++){
speed = 4;
whichNumber = _root.myArray12
whichNumber = whichNumber.substr(1,1);
var p:Number = whichNumber;
trace("whichNumber: " + p);
myWidth = this["ImageMenuItem"+(p-1)]._width;
var E:Number = (80+myWidth+(i*20));
this["ImageMenuItem"+(p-1)].onEnterFrame = function(){
this._x += (E-this._x)/speed;Maybe one last question about all this.
How do I know if the last and only the last onEnterframe has
reached his goal?
Beacaus only then there' may take another action place.
Tx
Tom -
Building Graphs with JDeveloper
Hi there,
We have the choice of using Oracle 6i Graphics Builder or JDeveloper with BI Beans to create simple line graphs for a new system we are developing, using Oracle Forms Developer 6i.
I had a look at the Graphics Builder and it doesn't look very easy to use. It also requires a lot of parameter lists passed from Forms to Graphics Builder.
My question is, in my case, would you recommend using JDeveloper for creating the graphs (using data inputted from Forms Developer into into the database (10g)), or should I stay with the Graphics Builder? I am trying to slowly shift from Forms to JDeveloper, and this would be a good start I think.
Is it even possible in my case to do this?
Another question (less important); If I would use JDeveloper, I do not mind having graphs displayed on another page than the system. Or, would it be possible to integrate graphs made with JDeveloper into Forms?
Thanks for your time,
MichaelTry the OA Framework forum:
OA Framework
Maybe you are looking for
-
Hi all, We are facing the problem while taking the print out from VF02. We are using ZFORM designed by our ABAPer. While using standard form (LB_BIL_INVOICE) its working and while using ZFORM, we are able to see the print preview but not able to take
-
Hi Guru, Greeting from Sanjeev My client want to enter the old inquries/Quatation & Sales order in new system. after making the sales order we cannot make delivery as this SO are already invoiced!! we cannot create the Invoice.I want to close this SO
-
Why does Fiefox require me to click allow when opening a new page?
When I try to open a new page, Firefox requires that I click the "allow" button below the toolbar in order to proceed. This is new (within the last few weeks).
-
Having problems opening CS5 after upgrading to Yosemite, any suggestions?
Can not open CS% after upgrading to Yosemite... is there a fix anywhere?
-
How to embed Skype to my website?
Hallo guys how can i embend skype to my website I have tried every way in google but am unable please help Post transferred to create new topic; subject/title edited accordingly. Web Developer