Display a running time...
Hi friends,
How to display a running time inside the application, like in the below link
https://apex.oracle.com/pls/apex/f?p=40323:8:2751185638053547_
that is with a day, month year and with a running time inside the application soon after login to the application.....
Thanks
Regards,
Mini..
pls go through: {message:id=9504135}
To get the exact same clock as that example, you could have just opened the source code of that page , it was directly there
<input type="text" onkeypress="return false;" size="46" style="font-weight: bold; color: rgb(85, 166, 22); font-size: 14pt; border: 0pt none;" id="clock">
<script language="JavaScript">
function runClock(){
theTime = window.setTimeout("runClock()", 1000);
var RightNow = new Date();
var hrNow = RightNow.getHours();
var mnNow = RightNow.getMinutes();
var scNow = RightNow.getSeconds();
var miNow = RightNow.getTime();
var mon = RightNow.getMonth() + 1;
var date = RightNow.getDate();
var year = RightNow.getFullYear();
var day = RightNow.getDay();
if(hrNow == 0) {hour = 12;var ap = " AM";}
else if(hrNow <= 11) {ap = " AM";hour = hrNow;}
else if(hrNow == 12) {ap = " PM";hour = 12;}
else if (hrNow >= 13) {hour = (hrNow - 12);ap = " PM";}
if(hrNow >= 13) {hour = hrNow - 12;}
if(mnNow <= 9) {min = "0" + mnNow;}
else{min = mnNow}
if (scNow <= 9) {secs = "0" + scNow;}
else {secs = scNow;}
var zday=new Array(7)
if (day==0) {zday="Sunday"};
if (day==1) {zday="Monday"};
if (day==2) {zday="Tuesday"};
if (day==3) {zday="Wednesday"};
if (day==4) {zday="Thursday"};
if (day==5) {zday="Friday"};
if (day==6) {zday="Saturday"};
var zmon = new Array(12)
if (mon==1) {zmon="January"};
if (mon==2) {zmon="February"};
if (mon==3) {zmon="March"};
if (mon==4) {zmon="April"};
if (mon==5) {zmon="May"};
if (mon==6) {zmon="June"};
if (mon==7) {zmon="July"};
if (mon==8) {zmon="August"};
if (mon==9) {zmon="September"};
if (mon==10) {zmon="October"};
if (mon==11) {zmon="November"};
if (mon==12) {zmon="December"};
$x('clock').value=""+zday+", "+zmon+" "+date+", "+year+" "+hour+":"+min+":"+secs+ap+"";
runClock();
</script>Add that code "as is" to the region in the page where you want the time displayed. If you want it in for all pages, add it to the page template(s).
Edited by: vee on Apr 15, 2011 3:01 AM
Similar Messages
-
ICO file not displaying at run time?
Hello Experts,
I an using fusion 11.1.2.1 32 bit. I have Copied the Icons as well as GIF files in C:\Oracle\Middleware\Oracle_FRHome1\forms\java folder.
At button property i set Iconic to yes
and file = addrow
Icon not display at run time.
but when i set file = abc.GIF
image is displaying at run time.
My doubt is that ICO file not displaying at run time while GIF file are displaying.
Do i need to change configuration ?
Please do the needful.
Thanks
YashHi Yash,
First Try this steps
To resolve this issue, follow these steps:
Double-click My Computer, and then click Options on the View menu.
Verify that the Icon file type appears on the File Types tab. If the Icon file type does not appear in the Registered File Types box, skip to step 10.
Click Icon in the Registered File Types box, and then click Edit.
Verify that the following settings exist, and then click OK:
The Description Of Type box contains Icon.
If there is a Confirm Open After Download check box, it should be selected.
If the settings do not appear exactly as listed in step 4, click Remove, click Yes, and then click OK. If the settings do appear as listed in step 4, skip to step 10.
Click New Type.
In the Description Of Type box, type Icon.
In the Associated Extension box, type ICO.
Click OK, and then click Close.
Use Registry Editor to view theHKEY_CLASSES_ROOT\.icokey, and then verify that the default string contains the following value:icofileIf the .ico key does not exist, create it, and then insert the value listed above. If any other values exist in the .ico key, delete them.
Use Registry Editor to view theHKEY_CLASSES_ROOT\icofilekey, and then verify that the default string contains the following value:iconIf the icofile key does not exist, create it, and then insert the value listed above. If any other values exist, delete them.
Create a new key in the icofile key called DefaultIcon , and type %1 as this key's default value.
Quit Registry Editor, and then restart your computer.
Second Try this
Simple way
Copy your images to:
1
c:\Oracle\Middleware\as_1\forms\java\
Notes:
- Icon files may not be supported.
- In case of a Java security issue when using gif images, you will need to create a jar file and sign it with oracles sign-tool (see below, point 6).
- In case you having trouble with oracle’s sign-tool, do it directly with java’s
Recommended way
1. Create a “icons” folder and place all your gifs in there
i.e. “c:\Oracle\Middleware\as_1\forms\java\<icons>”
2. From within icons folder make a jar file of all the gif images:
1
jar -cvf frmicons.jar *.gif
3. Copy this new jar into “c:\Oracle\Middleware\as_1\forms\java\”
4. Edit/update formsweb.cfg file:
path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\formsweb.cfg …to update/include:
1
2
3
4
5
6
7
8
9
# Forms applet parameter
codebase=/forms/java
# Forms applet parameter
imageBase=codebase
# Forms applet archive setting for other clients (Sun Java Plugin...etc)
archive=frmall.jar,frmicons.jar
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar,frmicons.jar
5. Edit/update Registry.dat file:
path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\forms\registry\oracle\forms\registry\Registry.dat
1
2
default.icons.iconpath=icons/
default.icons.iconextension=gif
At this point your icons should work normally, but if you get a security check of Java for gif files then proceed to the next step to fix this. TIP: May need to restart the weblogic/forms server for changes to take effect.
6. Sign your jar file with oracles sign_webutil.bat sign-tool.
path = c:\Oracle\Middleware\asinst_1\bin\sign_webutil.bat
Firstly, you need to edit the sign_webutil.bat as follows:
1
2
3
SET KEYSTORE_PASSWORD=my_password
SET JAR_KEY=webutil2 # will need to change for every run
SET JAR_KEY_PASSWORD=my_password
Secondly, set the environment path and finally run the command:
1
2
3
set path=c:\Oracle\Middleware\as_1\jdk\bin
cd c:\Oracle\Middleware\asinst_1\bin\
sign_webutil c:\Oracle\Middleware\as_1\forms\java\my_icons.jar
This will create your signed jar file. Once initialized from the web-app it should ask the user to “Trust” the certificate and never prompt again.
Other issues you may encounter and may need to edit/update the following files/registry entries as well:
formsweb.cfg
path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\formsweb.cfg
1
2
3
4
5
6
7
8
9
10
# Forms applet parameter
codebase=/forms/java
# Forms applet parameter
imageBase=codebase
# Forms applet archive setting for other clients (Sun Java Plugin, ...etc)
archive=frmall.jar, my_icons.jar
...or
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar, my_icons.jar
Registry.dat
path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\forms\registry\oracle\forms\registry\Registry.dat
1
2
default.icons.iconpath=/forms/java
default.icons.iconextension=gif
Registry entries:
1
2
UI_ICON:<path_to_icons_dir>
UI_ICON_EXTENSION: "gif": ".gif" "ico": ".ico"
Credits and further information can be tracked for icons issue here and for jar file creation here.
Hope this will help. -
Algebra CD keeps displaying "Script run-time error" when I try to open it
I have a CD that came with my Algebra book (I bought it used) for Technical School and it keeps displaying Scrip run-time error when I try to open it. I have updated Quick-time player, just in case that was the problem.
b noir wrote:
Is CoreGraphics.dll cited in the iTunes events?
Also check for error events happening a few seconds prior to the iTunes events. Open those events. Do they all cite the same .ttf file? If so, what's the precise spelling of the .ttf (font) file?
YES! There is a CoreGraphics.dll cited in the iTunes event. This is what exactly the window said
"Faulting application iTunes.exe, version 9.0.3.15, faulting module CoreGraphics.dll, version 1.0.60.0, fault address 0x00266560."
For the .ttf file, this is what it showed.
"Windows cannot access the file C:\WINDOWS\Fonts\ARIALUNI.TTF for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program ARIALUNI.TTF because of this error.
Program: ARIALUNI.TTF
File: C:\WINDOWS\Fonts\ARIALUNI.TTF"
I hope this will help. I still cant open iTunes. -
Display mp3 running time?
Hi - Is there a way to embed an mp3 (Quicktime by default) and get it to display the running time with a count-up timer?
Users of my site need to be able to reference particular parts of my audio file - e.g. "Go to 0:45".
Thanks...Welcome to the Apple Discussions. You'll have to use a flash player that displays the running time. Roddy's iWeb for Musicians site has a number of them on the Music Players page that might serve your purposes.
Another possibility would be to open the audio file with Quicktime Player and save a s movie file. Then add the file to the server and link to it as done in this demo page: Opening Item in a New, Precisely Sized Window. That will give you exactly what you want. This method is easier to implement than a flash player unless you use the jutebox for all the audio files. However it will require visitors to have Quicktime installed on their computer.
OT
Message was edited by: Old Toad -
How to set the number of records displayed at run time
Is it possible to set the number of records displayed block property at run time? The built-in 'GET_BLOCK_PROPERTY' can retrieve the number of RECORDS_DISPLAYED. But I can't find SET_BLOCK_PROPERTY to set this property. Is there anyway I can set this property programmatically? Thanks for any suggestions!
Bookmark Go to End
goal: How to vary the number of records displayed in a block
programmatically
fact: Oracle Forms Developer
fix:
Block property 'Number of Records Displayed' can not be changed during runtime
using SET_BLOCK_PROPERTY. However, it is still possible programmatically change
the visual appearance of the form so that it creates effect of changing this
property. To achieve such an effect follow these steps:
1. in Forms Builder, in the multirecord block define the new set of items.
The simplest way is to copy/paste the original item and rename created item.
2. set properties of these new items so that they are the same as the properties
of the original items. If these new items were copied from original items
then properties are already the same. Modify following properties
'Database item' on new items to value 'No'
'Synchronize with item' to the value of the original item
'Number of Items Displayed' to desired value.
'Visible' to 'No'
In other words, these new items are mirrors of original items.
3. code event, which is meant to trigger the change in block appearance.
This code should use SET_ITEM_PROPERTY built-in to set properties
like 'VISIBLE', 'ENABLED', 'NAVIGABLE', 'UPDATE_ALLOWED' and others
to desired value for items which are about to be displayed, then
move cursor to one of these just displayed items with GO_ITEM built-in
and then hide the previously displayed items.
Example:
Assume that the block is built on SCOTT.DEPT schema. Following will
change the set of displayed items
set_item_property('dept.mdeptno',visible,property_true);
set_item_property('dept.mdname',visible,property_true);
set_item_property('dept.mloc',visible,property_true);
set_item_property('dept.mdeptno',enabled,property_true);
set_item_property('dept.mdname',enabled,property_true);
set_item_property('dept.mloc',enabled,property_true);
set_item_property('dept.mdeptno',update_allowed,property_true);
set_item_property('dept.mdname',update_allowed,property_true);
set_item_property('dept.mloc',update_allowed,property_true);
set_item_property('dept.mdeptno',navigable,property_true);
set_item_property('dept.mdname',navigable,property_true);
set_item_property('dept.mloc',navigable,property_true);
go_item('dept.mdeptno');
set_item_property('dept.deptno',visible,property_false);
set_item_property('dept.dname',visible,property_false);
set_item_property('dept.loc',visible,property_false);
Regards,
Monica -
How we can display the running time as an output by writting abap report?
hi to all,
my name ahmed iam just abap fresher.i know java/j2ee very well.
i want to display the runing time as an output of abap report.Is it possible if possible how.Hi,
system field SY-UZEIT
WRITE : SY-UZEIT.
Regards,
V.Balaji
Reward if Usefull... -
Dear All,
During the transaction /n/sapapo/ccr (Reconsilation of transaction data) in client SCP 950, system displays the run time error which are attached herewith.
This is the activity a used to execute regularly (Daily) and first time i recieved this message - -
Runtime Errors ASSERTION_FAILED
Date and Time 13.07.2007 10:13:37
ShrtText
The ASSERT condition has been violated.
What happened?
In the current application program, the system recognized a situation
involving the ASSERT statement that should not occur. A runtime error
occurred, either because there was no activation ID entered or because
the ID of the activation mode used was set to "Cancel.
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
is especially useful if you want to keep a particular message.
Error analysis
The following activation ID was used: "No checkpoint group specified"
If the FIELDS addition was used with this ASSERT statement, the content
of the first 8 fields is as follows:
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
How to correct the error
Probably the only way to eliminate the error is to correct the program.
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"ASSERTION_FAILED" C
"/SAPAPO/SAPLTIMESTAMP" or "/SAPAPO/LTIMESTAMPU08"
"/SAPAPO/TIMESTAMP_DIFFERENCE"
If you cannot solve the problem yourself and you wish to send
an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
To obtain this, select in the current display "System->List->
Save->Local File (unconverted)".
2. A suitable printout of the system log
To obtain this, call the system log through transaction SM21.
Limit the time interval to 10 minutes before and 5 minutes
after the short dump. In the display, then select the function
"System->List->Save->Local File (unconverted)".
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, select the Editor function "Further Utilities->
Upload/Download->Download".
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "640"
Application server....... "scmprd"
Network address.......... "172.16.10.47"
Operating system......... "AIX"
Release.................. "5.3"
Hardware type............ "0002BFAAD700"
Character length......... 16 Bits
Pointer length........... 64 Bits
Work process number...... 0
Short dump setting....... "full"
Database server.......... "scmprd"
Database type............ "ORACLE"
Database name............ "SCP"
Database owner........... "SAPSCP"
Character set............ "C"
SAP kernel............... "640"
Created on............... "Jan 18 2006 20:47:39"
Created in............... "AIX 1 5 00538A4A4C00"
Database version......... "OCI_920 "
Patch level.............. "109"
Patch text............... " "
Supported environment....
Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
10.2.0.."
SAP database version..... "640"
Operating system......... "AIX 1 5, AIX 2 5, AIX 3 5"
Memory usage.............
Roll..................... 16192
EM....................... 196923232
Heap..................... 0
Page..................... 98304
MM Used.................. 186636840
MM Free.................. 1895288
SAP Release.............. "640"
User and Transaction
Client.............. 950
User................ "SCMATP"
Language key........ "E"
Transaction......... "/SAPAPO/CCR "
Program............. "/SAPAPO/SAPLTIMESTAMP"
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where terminated
The termination occurred in the ABAP program "/SAPAPO/SAPLTIMESTAMP" in
"/SAPAPO/TIMESTAMP_DIFFERENCE".
The main program was "/SAPAPO/CIF_DELTAREPORT3 ".
The termination occurred in line 61 of the source code of the (Include)
program "/SAPAPO/LTIMESTAMPU08"
of the source code of program "/SAPAPO/LTIMESTAMPU08" (when calling the editor
610).
Source Code Extract
Line SourceCde
31 lv_time_int_low TYPE i,
32 lv_timediff_int TYPE i,
33 lv_datediff_int TYPE i,
34 lv_time TYPE t,
35 ls_time TYPE tstr_timestr.
36
37 * check timestamp parameter
38 * ASSERT NOT iv_timestamp_high IS INITIAL.
39 * ASSERT NOT iv_timestamp_low IS INITIAL.
40 * ASSERT iv_timestamp_low <= iv_timestamp_high.
41 IF iv_timestamp_high IS INITIAL
42 OR iv_timestamp_low IS INITIAL.
43 RAISE invalid_parameter.
44 ENDIF.
45 IF iv_timestamp_high < iv_timestamp_low.
46 RAISE invalid_parameter.
47 ENDIF.
48
49 * prepare timestamps
50 * .. split into date and time integers
51 ls_timestamp_high = iv_timestamp_high.
52 lv_date_int_high = ls_timestamp_high-date.
53 lv_time_int_high = ls_timestamp_high-time.
54 ls_timestamp_low = iv_timestamp_low.
55 lv_date_int_low = ls_timestamp_low-date.
56 lv_time_int_low = ls_timestamp_low-time.
57
58 * .. calc date diff
59 * .. check against max. allowed integer difference
60 lv_datediff_int = lv_date_int_high - lv_date_int_low.
>>>>> ASSERT lv_datediff_int <= lc_datediff_intmax.
62
63 * calc time diff
64 lv_timediff_int = lv_time_int_high - lv_time_int_low.
65 IF lv_timediff_int < 0.
66 ADD 86400 TO lv_timediff_int.
67 SUBTRACT 1 FROM lv_datediff_int.
68 ENDIF.
69
70 * calc total duration
71 lv_duration_int = lv_datediff_int * 86400 + lv_timediff_int.
72 lv_time = lv_timediff_int.
73 ls_time = lv_time.
74 ls_duration-hours = lv_duration_int DIV 3600.
75 ls_duration-minutes = ls_time-minute.
76 ls_duration-seconds = ls_time-second.
77
78 ev_duration_packed = ls_duration.
79 ev_duration_integer = lv_duration_int.
80 ENDFUNCTION.
Contents of system fields
Name Val.
SY-SUBRC 0
SY-INDEX 0
SY-TABIX 1
SY-DBCNT 1
SY-FDPOS 6
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE CIF - Comparison/Reconciliation of Transaction Data
SY-MSGTY
SY-MSGID
SY-MSGNO 000
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
Active Calls/Events
No. Ty. Program Include Line
Name
5 FUNCTION /SAPAPO/SAPLTIMESTAMP /SAPAPO/LTIMESTAMPU08 61
/SAPAPO/TIMESTAMP_DIFFERENCE
4 FORM /SAPAPO/SAPLCIF_DELTA3 /SAPAPO/LCIF_DELTA3F17 349
COMPARE_ORDER_HEADER
3 FUNCTION /SAPAPO/SAPLCIF_DELTA3 /SAPAPO/LCIF_DELTA3U03 125
/SAPAPO/CIF_DELTA3_COMP_ORDER
2 FUNCTION /SAPAPO/SAPLCIF_DELTA3 /SAPAPO/LCIF_DELTA3U01 871
/SAPAPO/CIF_DELTA3_COMP
1 EVENT /SAPAPO/CIF_DELTAREPORT3 /SAPAPO/CIF_DELTAREPORT3 189
START-OF-SELECTION
Chosen variables
Name
Val.
No. 5 Ty. FUNCTION
Name /SAPAPO/TIMESTAMP_DIFFERENCE
IV_TIMESTAMP_HIGH
#q1###
02073899
2001125C
IV_TIMESTAMP_LOW
##q!####
00720899
2011125C
EV_DURATION_INTEGER
0
0000
0000
EV_DURATION_PACKED
000000
00000C
SYST-REPID
/SAPAPO/SAPLTIMESTAMP
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
2545454254545444554452222222222222222222
F31010FF310C49D5341D00000000000000000000
%_SPACE
0
0
2
0
LS_TIMESTAMP_HIGH
22000713182959
00000000000000
00000000000000
33333333333333
22000713182959
LV_DATE_INT_HIGH
803363
0042
0C23
LS_TIMESTAMP_HIGH-DATE
22000713
00000000
00000000
33333333
22000713
LV_TIME_INT_HIGH
66599
0002
0147
LS_TIMESTAMP_HIGH-TIME
182959
000000
000000
333333
182959
LS_TIMESTAMP_LOW
20071210182959
00000000000000
00000000000000
33333333333333
20071210182959
LV_DATE_INT_LOW
733021
0025
0BFD
LS_TIMESTAMP_LOW-DATE
20071210
00000000
00000000
33333333
20071210
LV_TIME_INT_LOW
66599
0002
0147
LS_TIMESTAMP_LOW-TIME
182959
000000
000000
333333
182959
SY-UNAME
SCMATP
000000000000
000000000000
544455222222
33D140000000
SCREEN-INPUT
1
0
0
3
1
LV_DATEDIFF_INT
70342
001C
0126
LV_TIMEDIFF_INT
0
0000
0000
SYST
#######################################Ō###############################################䵘 C#Ԁ##
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000
000000000000000000000000000000000000000100000000000000000000000000000000000000000000000D000500
0000000000000000000000000000000800000004000000000000000000000000000000000000010900000005240000
0000010200000000000001060100010C0000000C0000000002000000000000000000000000000B000001000803000C
SY-REPID
/SAPAPO/SAPLTIMESTAMP
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
2545454254545444554452222222222222222222
F31010FF310C49D5341D00000000000000000000
%_DUMMY$$
0000
0000
2222
0000
No. 4 Ty. FORM
Name COMPARE_ORDER_HEADER
SYST-REPID
/SAPAPO/SAPLCIF_DELTA3
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
2545454254544445444543222222222222222222
F31010FF310C396F45C413000000000000000000
GC_APPEND_MODE
3
0
0
3
3
LS_FIELDS_TO_COMPARE-DUEDATE
X
0
0
5
8
SYST
#######################################Ō###############################################䵘 C#Ԁ##
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000
000000000000000000000000000000000000000100000000000000000000000000000000000000000000000D000500
0000000000000000000000000000000800000004000000000000000000000000000000000000010900000005240000
0000010200000000000001060100010C0000000C0000000002000000000000000000000000000B000001000803000C
LS_APO_ORDER-ORDTYPE
5
0
0
3
5
GC_PLANNED_ORDER
5
0
0
3
5
LS_R3_ORDER-STATUSCNF
0
0
2
0
GC_ORDER_STATUS_NO_CONF
1
0
0
3
1
LS_APO_ORDER-STATUSCNF
0
0
2
0
GC_PRED_OUT_DEL
A
0
0
4
1
GC_TND_DELETE
CN
00
00
44
3EDear Sajit,
Go through the following OSS Notes:
<a href="https://websmp110.sap-ag.de/form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=901957&_NLANG=E">901957</a>, <a href="https://websmp110.sap-ag.de/form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1036880&_NLANG=E">1036880</a>, <a href="https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1067414&_NLANG=E">1067414</a>
Regards,
Naveen. -
Only first plot of waveform chart has run-time menu
Hello again all you helpful forum-goers!
My multi-plot waveform chart is working decently well, but now for some reason only the first plot in the plot legend displays a run-time customization menu when I click on it while the VI is running (allowing me to select the plot color, etc.). All the other plots do nothing when I click on them. I do not have any mouse-down events or filter events of any kind in my VI. I programmatically set the number of plots and the size of the plot legend, along with each plot's name, y index, and color. Any ideas as to what might be going on?
Thanks a bunch as always!
-Joe
Solved!
Go to Solution.Okay, hopefully this will help get some more thoughts / answers flowing. I've copied my strip chart from my actual VI into a test VI, and it still exhibits the problem. On the other hand, I have created a new strip chart from scratch, and it works fine. I have attached both VIs here for you to see. My guess is that some property of the first chart is set incorrectly or something, but I cannot figure out which one (and there are so many!).
Any assistance you can give would be appreciated. The challenge is to get the chart in the first VI working (plots other than the first responding to a mouse click to change their color or other attributes), via changing some attribute of the chart (and being able to tell me which one you changed!).
Thank you again for anyone who can look into this.
-Joe
Attachments:
Test StripChart color selection not working.vi 17 KB
Test StripChart color selection working.vi 12 KB -
Enter run time in hours / mins / secs on the front pannel
I am trying to get a pop up VI to run alongside my main program. While the measurment parts of my software run I want a VI to pop up and display the run time in hours / mins / secs. Once the main VI ends its sequence, I want the timer VI to close down again. It sounds easy and maybe it is, but can I get it to work ........... HELP !!
I have created an example program for you (in LV 6.0). Basically a time window will popup at the start and show the runtime (calculated, so starts at 0 hours), and when you stop the Main vi the time window will close. The time is updated at every loop of the Main vi. All of this is achieved through VI server as you will see.
I hope this helps you.
Kim
Attachments:
Runtime_indicator.llb 39 KB -
Building run-time command in Forms 5
How do I build a command syntax at run-time in Forms 5?
E.g., I want to call a stored procedure from a trigger in a
Form. But the name of the stored procedure has to be selected
from a table at run-time.
nullUse an errorpage which can print the stacktrace to the response.
Sha Liu wrote:
> I was annoyed but this weird message of weblogic for two days:
>
> From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
> 10.5.1 500 Internal Server Error
> The server encountered an unexpected condition which prevented it from
> fulfilling the request.
>
> And there's no exceptions or any error messages in the stack trace of server
> console.
> Then I tried to write a simple JSP to test if Weblogic will properly display
> some run-time exceptions.
> My JSP is like this:
>
> <% Integer i = null; System.out.println(i.toString()); %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <html>
> </script>
> <head>
> </head>
> <body>
> test
> </body>
> </html>
>
> And I found it fails!
> Is it a bug of weblogic or I need to configure something to enable the
> catching the run-time exceptions?
>
> My weblogic is 5.1 applied SP5.
>
> Sha Liu
Tom
| Thomas Preston |
| Vacation.com, Inc. |
| Engineering Department |
| 617.654.8432 |
| http://www.vacation.com |
-
How to avoid the run time error "java.lang.OutOfMemoryError"
hi
i have written a code to read a txt file ,i used FileReader to read a file . the code is working well for small txt files. but when i tried to read a large file(greater than 2MB), a run time error called "java.lang.OutofMemoryError" appeared .
plz suggest the methods to read txt files of large capacity(greater than 25MB) .if possible give an example.thanks for ur replies
i am new to java programming .i am a student persuing B.Tech final semester .i got struck in my project while reading a large txt file(greater than 3MB) . i am now giving a part of code that i had used in my project .it working fine with the txt files less than 3MB ,but when i am treing to read a file greater than 3MB , it is displaying a run time error "java.lang.outofmemoryerror"
i have tried using "java -Xmx" ,it is working , but is there any better option ??
here is the part of code:
FileReader fin;
al=new ArrayList();
try
fin=new FileReader(filename);
catch(FileNotFoundException e)
System.out.println("File not foumn");
return;
while((i=fin.read())!=-1)
al.add(new Character((char)i));
fin.close();
Object obj[]=al.toArray();plz help me
--santosh -
Displaying different sheets at run time based on value of the parameter
Hi,
I've a query regarding displaying two different sheets at run time in Oracle discoverer based on the value of the parameter that i give.
I've a parameter Summary_flag.
If the value of the parameter is 'Y',then it should display a sheet,say for example it should display Sheet1.
If the value is 'N',then it should display another sheet, say for example it should display Sheet2.
Is there any way in which i can accomplish this?
I went through the Format and Tools menus but couldnt find anything regarding this aspect.
Can you help me out?
Thanks,Having a Disco parameter dictate which worksheet is displayed is not an option that is available. There are a few workarounds, though:
1. Have a portlet (or some other web interface) accept your parameters, and then call the appropriate worksheet.
2. Have 2 worksheets, and have it devolve into a training issue (for a summary run this, for all the details run this).
3. Create calculations that will show or hide column data depending on the parameter selected - the columns will still be there, and you can fill them in with blanks, or a message like "N/A for Summary".
4. Create a report that will allow the users to drill between the summary and detail data - I'm not sure whether you could use a parameter to then say whether the report should open up summarized or expanded. -
Images are not displaying in the forms run time.
Hello All,
I am using forms 10.1.2.3.0 and database 11g in the windows XP platform.
I am not able to see the images in the buttons at the run time. I have done the following setup for the same but still I am not able to display images in the buttons. I have gone through all the previous threads for the same. Can any body suggest where I am doing the wrong?
1) Created one JAR file with the below command putting all the gif files in a folder (All the GIF files are in lower case). Kept this jar file in the forms/java folder. (When I am extracting the JAR file getting all the gif files and one more folder META-INF).
rem====
jar cvf icon.jar *.gif
rem=====
2) Modified the formsweb.cfg file as follows.
imageBase=codeBase
archive_jini=frmall_jinit.jar,icon.jar
3) In the buttons property Iconic = Yes and Iconicfile name = icon_print (gif file name).
4) Modified the Registry.dat file in the path "forms\java\oracle\forms\registry\Registry.dat" as follows.
default.icons.iconpath=forms/java
default.icons.iconextension=gif
Start the OC4J instance, and run the application, but still not able to see the images in the buttons. After I modified the regedit file I am able to see the images in the design time but not in the run time.
Any thing more needed to do the same. All the suggestions are welcome.
Thanks,
SUN
Edited by: User SUN@ on Nov 23, 2009 11:25 AMCreate a virtual directory icons in your /forms/server/forms.conf file
In the registry.dat file change
change
default.icons.iconpath=http://yourmachine:port/forms/icons/
Re: icons not displaying in oracle forms.
Re: Icon deploy issue in 10g forms
Re: cannot show icon images
Re: Step by step creation of iconic buttons -
How to disable the run-time popup menu in the sequence display on TestStand Operator Interface, that allow the use to skip the test?
Hello,
Regarding the skip/force pass/force fail options, when I set the ControlExecFlow to True in Teststand 3.1 and 3.5, in the Sequence Editor the menu options for skip/force pass/force fail are not active for Technician but, when I launch the Operator Interface logged with Technician the options are active. The problem is that if the technician sets one step to one of these options, and change the user to Operator, the test step remains skip/force pass.
Is there any possibility without modifying the Operator Interface (at programming level), to reload default values of the steps when changing the user to Operator?
Thank you,
Best regards,
paio -
Display Progress Indicator in the Run Time
Hi All,
How do display Progress Indicator in the Run Time for a JSF Page using ADF components?
Regards
SantoshI have similar problem.
Basically my page do search in the database which takes some time. so when search starts I would like to display the progress indicator or some thing which will show some processging is going on in background. Once it completes the background processing, the same page displays the result. At this time I want to hide the progress indicator.
Is there any way to do this. I am using EA17 with JDev.
Maybe you are looking for
-
Attachments not available on iPad
I've seen similar instances reported in this forum, but this one is slightly different. When I send an email and attachment from my MS Exchange email account to my wife's iPad, she cannot open the attachment, however if she reads the email on a Wind
-
My apple tv is not picking up my iTunes library?
I have my Apple tv all setup and working. it's connected to my wifi. However, it is not picking up my Itunes library. I have the right I.D. and password on. I've turned on home sharing on all my devices. I've reset my router and even turned of my fir
-
I was recently asked to help create a query at my company to search for date gaps in employment status history. My table data looks similar to this employee_id employment_status beg_date end_date 1 Active 1990-01-01
-
I have been messing around with the Flex 3 dashboard. I want to Make the View Stack move (or anything for that matter, left or right) I add the appropriate code from the docs and a few places online but it never seems to do anything. Has anyone else
-
All kinds of problems... can't enter bios, etc
Hey all, hoping you can help. I only have one system at home which is now not working, so pardon me if I'm a little slight on details. I got a K8T Neo m/b with an athlon 64 3000 and 1gb of Kingston RAM. It was all acquired as a bundle from Mwave.co