How can I monitor status of a task over time
I have a application which contains a Tree control and a Button control.
The Tree is used for representing a XML file content, and the Button is used for buliding XML
files. the brief work flow is like below:
I click the Button to invoke a Java function to build XML files to a certain directory on my disk using RemoteObject, while this operation usually takes some time to complete. and I don't know how much time it will cost, when the job finishes.
Meanwhile, the application is trying to read those XML files just built as DataProvider for the Tree.
So the problem is when I try to read those XML files after I click the Button, those XML files may not exist yet in the directory.
I am thinking of using a progressBar to show the progress of building XML files, then to read those XML files after build work complete.But I am not sure if it works.
thank you for any helps.
Sorry about my long story, your suggestion is quite helpful, I figured it out now.
while I have another question about determine if some files are exist in a directory?
I will post it as a new topic.
Similar Messages
-
How can I monitor Status word From the other side of the GPIB bus
I develop Thermal system control that should be operate thru the GPIB IEE 488.2 bus , my instrument application already written in Visual Basic ,The system knowes to do basic operation such as SETPOINT ,AIRDUT , BEGIN , STOP and more but I have do a problem , any time that I capture command from the controller the status word stuck at listener mode and I can not send another command again because my loop is waiting for the other side (the controller ) to tallk by monitor the IBSTA word .
There is anyway to reset ,clear ,initialize STATUS word again to his default value ?
Note : I am using VB 6 , the Samples that you have here for Non-controller is good so far if I want to send and recive data manualy (c
omputer to computer)
What if I have A system that work and always waiting for capture command and do somthing ?
I will be very greatful if anyone can help me , send me sample code for Status checking loop.
MIKI-AVIHello Miki-Avi,
I'm having a little bit of trouble understanding what you're trying to do. It seems that you have an instrument application that you have written and works in some instances but gets into an infinite loop in other cases. I think that your loop is waiting for something in the Status byte to change, and you're wondering how you can get it to change.
I'm not sure what bit you're waiting for, but I would assume that it is the LACS bit 2. You do not want to simply reset the IBSTA byte because this byte tells you what is happening on the GPIB interface. So, if you're waiting for the LACS bit to change, then you are waiting for the board to be addressed as a listener. Your controller would address the non-controller as a listener once you sent it da
ta with an IBDEV and an IBWRT call.
If you are looking for code for a status checking loop, check the following resources. Remember that you must call ibwait 0 to update your IBSTA byte. The 488.2 Function Reference is very useful in figuring out what you need to do.
http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3EF8D56A4E034080020E74861&p_node=DZ52353&p_submitted=N&p_rank=&p_answer=&p_source=Internal
http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/9cc0939663f1c5de862565d70082e89e?OpenDocument
Please let me know if you need more assistance.
Scott B.
National Instruments
Applications Engineer -
How can we see status of all Requests at a time using any tables?
How can we see status of all Requests at a time in the Info cube or ODS using any tables? what I am facing was while I run a Process Chain in some data targets red requests remains and due to this all other requests doesnot available for reporting.
Now is there any T-Code or Table to view all requests in a single shot.
Thanks in advance,
RajHi Go for RSMONICDP give timestamp and u'll have it.
Please assign points if useful
Edited by: Aadil on Jan 21, 2008 7:43 AM -
In Standard Report Of ALV How Can Set PF Status.
In Standard Report Of ALV How Can Set PF Status.
Thanking in anticipation.in the call function module, you pass the PF status parameter.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = pgm
<i> <u> i_callback_pf_status_set = 'SET_PF_STATUS'</u></i>
it_fieldcat = fieldcat
is_variant = disvariant
is_layout = layout
is_print = print
i_save = 'A'
it_events = eventcat
it_sort = sortcat
i_callback_user_command = 'USER_COMMAND'
TABLES
t_outtab = a_output
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDFORM. "LIST_DISPLAY
FORM SET_PF_STATUS *
FORM set_pf_status USING extab TYPE slis_t_extab.
SET PF-STATUS 'ZZSTD'.
ENDFORM. "set_pf_status
Here double Click on ZZSTD. IT will take you to a different screen and you have to set it.
Ster. -
My 10 yr old wants to text from his iPod touch. We have 1 family Apple ID. How can I monitor his texts without receiving all of his friends messages? Do I need a separate Apple ID or can I link a new email address to the same Apple ID?
Just an email address
MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime -
How can I sync my Microsoft Outlook tasks with my Ipad reminders? I dont want to use Icloud or an exchange
Plug it into your computer. Tell it to sync with "this computer" instead of iCloud. You shouldn't have to remove any apps. Otherwise, you can save the app data by using i-FunBox ( http://www.i-funbox.com/ ) just go to the "devices" tab and select 'user applications' and select all of your apps and tell iFunBox to "copy to pc" you're done! You have them all backed up.
-
How can I monitor my monthly data usage for all 3 computers in my house? I have an Airport base station and it seems there should be software to monitor it from that point rather than monitoring the usage for each computer and then adding it up.
The following example was one of dozens that showed up on a simple Google search of.....
monitor Internet data use on a Mac
Watch your Internet usage with NetUse Monitor | Macworld
Most service providers have an application for their users as well. -
How can I monitor number of bytes downloaded so I don't go over my plan limit?
I have a limited number of bytes I can download per day. How can I monitor this on a daily usuage?
I think that is exactly what i need. I have downloaded and restarted firefox. I entered the user name and password I use to sign on to the internet and get a red x next to the icon and it is not working. any suggestions?
-
How can I monitor application errors?
hi,
How can i monitor and where in one place both the technical errors and application errors.
for example , if i have File -> XI -> RFC
and the RFC has errors where can i see this errors in one place?Hi Udi,
The report RSALERTPROC does not need to run to deliver RWB alerts. These alerts are pushed directly to the receiver. Only if you want escalation processes or if you want to forward CCMS alerts to the Alert Mgmt. you need to schedule RSALERTPROC.
From SP 14 on PMI-free alerting was introduced. That means before SP 14 one has to configure and activate the End-to-End Monitoring, and to schedule the report SXMSALERT_PROCESS_DATA_GET in order to extract the alerts from the PMI data. For SP 14 and higher, that's not longer necessary.
If no alerts are being delivered, please check if "Suppress multiple alerts of this rule" is checked for your rule.
For SP 14 and higher you could also have a look at the report sxmsalert_logreader. This report shows some information about alerts being created or not.
You'll find more information about trouble shooting the alerting in SAP Note 913858.
Also go thru these links:
Alerts not getting triggered from Adapter Framework
Alert Configs...
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Regards,
Abhy -
How can I monitor line in audio on iMac?
How can I monitor line in audio on iMac?
Depends on what you are doing with it. Recording applications usually have some way of monitoring what is being recorded.
What app are you using? -
How can I monitoring the usage of an index in oracle 8i
Dear Gurus,
I known the Oracle 9i have this new feature "Identifying Unused Indexes" via ALTER INDEX MONITORING USAGE, but how can I monitoring the index usage in the Oracle 8i?
RegarsYou can't in 8i. However you can look at the SQL Text in the SGA looking for anything that matches the table name that the index is for and then look at the explain plan for the selects and updates. Pain in the xxx to do but it should give you the information.
-
Please Help. How can you monitor a directory using jndi connection to a ldap server?
How can you monitor a directory using jndi connection to a ldap server? I
want the ldap server to monitor the content change in a file system
directory on another computer on the network. Can someone please help.
Thanks
FredHi,
Why do you want to use LDAP for Hard disk monitoring..???
U can do this by creating a MD5 checksum for all the files existing in some
perticular
directory and every hour or any configurable period u can recalculate the
checksum
to find out the change in the content.
I guess all u need is to get the code for "updatedb" utility of Linux and
instrument it for ur needs..
Hope it helps...
-aseem
mr wrote:
How can you monitor a directory using jndi connection to a ldap server? I
want the ldap server to monitor the content change in a file system
directory on another computer on the network. Can someone please help.
Thanks
Fred -
How can I sync ical To Do Tasks? About time?
any ideas on How can I sync ical To Do Tasks? ideally I'd like to sync to my ipad too
I currently have Outlook 2011 syncing its tasks to ical nicely, just now need to put them onto my iphone then it would be perfect!
I'm guessing there might be some apps that do this, but would love some suggestions if anyone has any?
thanks in advance?Unfortunately this is far from easy. It used to be possible with MobileMe, but the process requires a CalDAV server, which very few website hosting services are.
The first step is that you can't do this with an iCloud calendar: it has to be listed under 'On My Mac'. Control-click the calendar and choose 'Publish'. Set 'publish on' to 'A private server' (I'm looking at this on Snow Leopard, where the default is 'MobileMe', which obviously won't work - I don't know if Mountain Lion is different). What I see is this:
You will want to check 'Publish changes automatically'.
Unfortunately it now gets difficult. If you publish to an ordinary website hosting server, all you will get is a text file. MobileMe had the facility to take the published file and turn it into a structured web page. I'm afraid you may have a lot of difficulty in finding a server to do this - I did see a reference to one which claimed to be able to do this, but people were complaining that it didn't work and unfortunately I can't remember the name. iCal's instructions rather assume that you will be running your own server, which I would assume you don't want to get into - I wouldn't.
The easier alternative is to publish publicly from an iCloud calendar - please see http://help.apple.com/icloud/#mm6b1a9479 and expand 'Share a public calendar' - but recipients will need a CalDAV client to open it: iCal is of course one, and Google Calendars another (though I've seen complaints of it being flaky). -
How can I monitor Oracle StoredProcedure Running Progress
How can I monitor Oracle StoredProcedure Running Progress ?
Because My stored Procedure run a long time ,
How can I do by calling (parent) program?
To monitor the StoredProcedure run step ??
Thanks !
nullFranco Lin (guest) wrote:
: How can I monitor Oracle StoredProcedure Running Progress ?
: Because My stored Procedure run a long time ,
: How can I do by calling (parent) program?
: To monitor the StoredProcedure run step ??
: Thanks !
my approge
create pl proc
CREATE OR REPLACE PROCEDURE ASIDENTL(
P_NAME VARCHAR2 ,
P_ACTION VARCHAR2 )
IS
-- @(#) klema 99/06/22 init
/* Hint
as sys
grant select on sys.v_$session to public;
kot <user> app
grant execute on ASIDENTL to <user> ;
begin
sys.dbms_application_info.set_module( P_NAME, P_ACTION);
end asidentl;
snip for long run-code
for cc in c loop
n := n + 1;
asidentl( 'myProc'
, to_char( n ) -
HT204135 How can I set up a daily task to perform a nozzle check on my printer?
How can I set up a daily task to perform a nozzle check on my Epson printer from my MacPro?
Your iMac with ARD... this is the bona fide, ($300/$500) "Remote Desktop.app" admin install, or do you mean that you have ARD "Remote Management" access enabled or have tried to control Vista with Microsoft's similarly-named "[Remote Desktop Connection|http://www.microsoft.com/mac/products/remote-desktop/default.mspx]" app? (Just making sure—it would be a very different conversation otherwise.)
Remote Desktop does lots of fancy stuff, but for the Observe and Control mechanisms it behaves as a plain-jane VNC client. It can connect to any standards-compliant VNC server. You should, for example, be able to run a different VNC client on your Mac and have a similar success/failure experience; perhaps the excelent [Chicken of the VNC|http://sourceforge.net/projects/cotvnc>. If you have the same failures, we'll still help, but ARD is obviously not the culprit. In any case, the usual suspects for windows VNC servers include UltraVNC, realVNC \[paid ver. required for vista\], and TightVNC. They all have caviats, but they're fairly well documented. Vista itself throws VNC under the bus "in favor of security" but again, you'll find lots of users in the same boat; unable to get the VNC server working on the Vista side. Your statement that you "couldn't even see the machines connected to it to get the IP" was bit confusing though, as devices don't need to be running a VNC server to at least show up in a scan (IP printers should appear, for example). Are you sure they're on the same subnet of the same lan/being otherwise scanned for correctly; or if remote, are you sure the remote Vista laptop is directly addressable with NAT from the web?
Let us know. Good luck. Joel
Maybe you are looking for
-
Problem in the game bomberman with the position of the icon bomb
hi in this code the player move with arrows in any where and when u press the space button bomb appear but the bomb not appear in the position where the player stay and the player go to anthor place please test my code to understande my problem impor
-
Unity GUSI ver 2.0.3
I downloaded GUSI 2.0.3 today to troubleshoot Bug ID CSCti70702. The MAPI CDO version does not seem to be reported in this version of GUSI. Does anyone know what happened to it?
-
ICalbirthdays, an automator application won't install in my iMac
I downloaded the icalbirthdays automator application from: http://www.apple.com/downloads/macosx/automator/index.html Executed the install program,got a message that the installation was successful , But then the program was nowhere to be found. Is i
-
The superdrive seems to be only for Air and Mini. Any suggestions on a portable DVD drive so I don't have to bring my computer to the store? Thanks!
-
[Announcement] OC4J WS forum will be closed in June
Hello OC4J WS users, As more and more OC4J customers are upgrading to WebLogic, this forum will be closed in June. You can start posting OC4J web service related questions on "OC4J" forum at OC4J OC4J forum has a bigger audience who are actively moni