Start Task and Event Loops
I have a Window with an Event Loop that looks like this:
Event Loop
when StartButton.click do
SO.EventLoop;
when StopButton.click do
post SO.Z;
End Event;
I have ServiceObject (SO) that has an EventLoop that looks like this:
Event Loop
when X do
start task Y();
when Z do
exit;
End Event;
The Event Loop on my SO is not catching Z until Y finishes processing.
Does anyone know why? Is there another way do this so I can catch Z
before Y finishes?
Paul Monax
Consultant
Sage It Partners
303.779.3309 x204
[email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
Paul
Could it be that the StopButton.Click() event is not being trapped? That is, the window's event loop is waiting for the SO to complete, as it is a synchronous task. Therefore, use:
when StartButton.Click() do
start task SO.EventLoop();
Anyway, I would think that a better way to do it would be to have the SO's EventLoop running initially. That is, start it (as a separate task) elsewhere (perhaps when the window is opened). Then, when you get the StartButton.Click() event, do:
when StartButton.Click() do
post SO.X; -- This will cause task Y to begin
Hope this helps...
Regards
Sam Keall
[email protected] on 11/08/98 02:42:00
To: [email protected]
cc: (bcc: Sam Keall/GB/ABNAMRO/NL)
Subject: Start Task and Event Loops
I have a Window with an Event Loop that looks like this:
Event Loop
when StartButton.click do
SO.EventLoop;
when StopButton.click do
post SO.Z;
End Event;
I have ServiceObject (SO) that has an EventLoop that looks like this:
Event Loop
when X do
start task Y();
when Z do
exit;
End Event;
The Event Loop on my SO is not catching Z until Y finishes processing.
Does anyone know why? Is there another way do this so I can catch Z
before Y finishes?
Paul Monax
Consultant
Sage It Partners
303.779.3309 x204
[email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
Similar Messages
-
Difference between automation task and event in OSM
Hi,
What is the difference between automation task and event in OSM anyhow both are having the automation plugin. Under what condition we will use these different things
Regards,
MenakaYou can attach automators to different OSM entities.
The most natural in a certain way is the task, since that is the main building block of processes.
But you have also notification (wich different subtypes) and order state events.
Notifications could be:
jeopardy (order or task duration exceeds a certain threshold)
task transition (e.g. into accepted or into a custom defined state)
process transition (from position A to position B)
data change (certain order template element updated / created / deleted)
Order events mean global order state changes (e.g. from in progress to suspended)
Viktor -
Powershell schedule task and infnity loop
Hello guys,
Plase help me resolve why my infinity loop "While ($true)" stops after couple days of work. Task scheduler shows envent - Task scheduler sucessfully end up job "\audit" ,instance "{d6156b36-0168-4b0c-8ac7-9d45aa0941dd}" , C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE"
with return code 1.$adid = 5136..5139 + 5141
$userid = 4722..4726 + 4780..4781 + 5376..5377 + 4720 + 4738 + 4740 + 4767 + 4794
$cpuid = 4741..4743
$secgrpid = (4727..4735) + 4737 + (4754..4758) + 4764
$distgrpid = (4744..4753) + (4759..4763)
$ids = $userid + $cpuid + $secgrpid + $distgrpid
if (Test-Path C:\LastRecordID.txt)
$idx = Get-Content C:\LastRecordID.txt
else
$idx = (Get-WinEvent -LogName Security -max 1).RecordID
while ($true)
start-sleep -Seconds 1
$idx2 = (Get-WinEvent -LogName Security -max 1).RecordId
if ($idx2 -gt $idx)
$events = Get-WinEvent -LogName Security -MaxEvents ($idx2 - $idx) | sort recordid | where {$userid + $cpuid + $secgrpid + $distgrpid -contains $_.id}
foreach ($event in $events)
Send-MailMessage -Encoding UTF8 -SmtpServer ex1.domain.local -From [email protected] -To [email protected] `
-Subject "Аудит" -Body "Время создания: $($event.TimeCreated) Сервер: $Env:COMPUTERNAME `nНомер события: $($event.RecordID) `nEventID: $($event.ID) `nСообщение:
$($event.Message)"
$idx = $idx2
$idx | Out-File C:\LastRecordID.txt -
HIViewSetNeedsDisplayInRect/[setNeedsDisplayInRect:] and event loop
I am new to OS X. I am porting code from windows/linux to os x.
I try to use HIViewSetNeedsDisplayInRect/[setNeedsDisplayInRect:] to invalidate part of the view/window (as in MS windows). But I found redraw does not happen after this. Until some event happens (for example, mouse move or key input), it redraws. My program has multi-threads. The thread of calling HIViewSetNeedsDisplayInRect/[setNeedsDisplayInRect:] is different from main thread which handles event. Actually, the call to HIViewSetNeedsDisplayInRect/[setNeedsDisplayInRect:] is driven by BSD timer. It seems that after I call HIViewSetNeedsDisplayInRect/[setNeedsDisplayInRect:], only some dirty bit is set but event queue is empty, so redraw does not happen.
I want to know if there is any simple solution to resolve the issue? Maybe I have not fund the root cause of it?
xyangI found a ugly workaround for this. I defined a runloop timer, in the timer I check if redraw is needed or not, then set HIViewSetNeedsDisplayInRect/[setNeedsDisplayInRect:]. That works.
But if I call HIViewSetNeedsDisplayInRect/[setNeedsDisplayInRect:] in another thread, it is ignored.
Anybody has better solution? -
Problem using local variable in event loop
I have a state machine from which I want to monitor various controls, including "Start" and "Stop" buttons. Not every state needs to monitor the controls. At present, most states run timed loops. In the first state that reads the front panel, I have an Event structure (inside a While loop) that monitors the various controls' Change Value events. For numeric controls, I update variables (in shift registers) as needed. The "Start" button is used to end the While loop controlling the Event structure, allowing the State to exit to the next state.
My problem comes in subsequent states that employ this same idea. Here, I put a Local Variable bound to the Start button and use the same code, but it frequently happens that when I enter this particular state, I cannot "turn on" the control -- I push the button, but it stays off. Curiously, if it was On when I enter, I can turn it off, but then I'm stuck not being able to turn it on.
I mocked up a very simply routine that illustrates this. There are two sequences (corresponding to the two states). Both use an Event loop with a local variable bound to my Stop button (really this is an LED control with custom colors). I've deliberately moved the "initialization" (the declaration of the control in the block diagram) out of the Event loops -- putting it inside the first loop modifies the behavior in another strange way.
Here's my thinking on how I would expect this to work: The code outside Event Loop 1 should have little effect. Assume the Stop button is initially Off. You will "sit" in Event Loop 1 until you push the Stop button, changing its value to True; this value will be passed out of the Event case and cause the first While loop to exit. You now enter the second sequence. As I understand the Exit tunnel, it defaults to "False", so I'd expect to stay in the second Event loop until I turn the Stop button from On to Off, which will pass out a False, and keep me in the While for one more button push. However, this doesn't happen -- I immediately exit, as though the "True" value of the Stop local variable is being seen and recognized by the Event loop (even though it hasn't changed, at least not in the context of this second loop).
An even more curious thing occurs if I start this routine with the Stop button turned on. Now I start in my Event loop waiting for a change, but this time the change will be from On to Off, which won't cause an exit from the frame. This will be reflected by having the While loop count increment. We should now be in the state of the example above, i.e. in an Event loop waiting for the control to be pushed again, and turned On. However, clicking the control has no effect -- I cannot get it to "turn on".
Where am I going astray in my thinking? What is it about this method of doing things that violates the Labview paradigm? As far as I can tell, what I'm doing is "legal", and I don't see the flaw in my reasoning, above (of course not -- otherwise I'd have fixed it myself!). Note that because I'm using local variables inside Event loops (and I'm doing this because there are two places in my code where I want to do such testing), the Stop control is not latching (as required). Is there something that gets triggered/set when one reads a latched control? Do I need to do this "manually" using my local variable?
I'll try to attach the simple VI that illustrates this behavior.
Bob Schor
Attachments:
Simple Stop Conundrum.vi 14 KBaltenbach wrote:
Ravens Fan wrote:
NEVER have multiple event structures that share the same events.
Actually, that's OK. NOT OK is having multiple event structures in the same sequence structure.
See also: http://forums.ni.com/ni/board/message?board.id=170&message.id=278981#M278981
That's interesting. I had always thought I read more messages discouraging such a thing rather than saying it was okay. Your link lead me to another thread with this message. http://forums.ni.com/ni/board/message?board.id=170&message.id=245793#M245793. Now that thread was mainly concentrating on registered user events which would be a different, but related animal.
So if you have 2 event structures they each have their own event queue? So if you have a common event, one structure pulls it off its event queue and it does not affect the other structure's event queue? I guess the inherent problem with this particular VI was that the second event structure locked the front panel. Since the code never got to that 2nd event structure because the first loop never stopped because the change was from true to false. After reading your post and the others, I did some experimentation and turned off the Lock front panel on the 2nd structure, and that prevented the lockup of the program.
Overall, the example VI still shows problems with the architecture and I think your answer should put the original poster on the right track. I think as a rule I would probably never put the same event in multiple structures, I feel there are better ways to communicate the same event between different parts of a program, but I learned something by reading your reply and about how the event structures work in the background. Thanks. -
ICal shows delegates task and appointments in the small number in the dock
Hi,
I've just started using iCal with exchange. I've been using iCal for a while with google with no problem at all. But now that i use i with the Exchange server it has made something really funny. I'm getting the small number in the dock with the numbers of everybody appointments and tasks. This makes my very busy and i always has something to do even when that's not the case. Is it possible to have iCal to show only the numbers of upcoming tasks and event for myself? I've tried looking around i all the option and preferences with no luck.I have just turned off time zone support and that fixed the problem. It's always been on, though, I I haven't had a problem before. I have just switched from mobile me to icloud so that may be the root of it, However, iCal has been correct on my iphone and Air.
-
CDAQmax Start Task Error -200022
Hello,
I've been working with labview for a couple of months and I was asked to add new data measurements to an old program. The problem is that whenever I add the new code for the new measurements I get error -200022. It says that it is located in the cDAQmx Start Task and the possible reason is that the channels for the new measurements have already been reserved by a different task. However, I have checked and made sure that the channels for the new code were not being used for the old program.
The old program is quite big and complex. I've been working on trying to understand every part of it, but its not easy and my supervisors asked me to complete this project in about two weeks. Is there a way that I can add my new code using without having to change anything from the old program?
Attached is an image of the error message that I'm getting.
Looking forward for any help,
Thanks.
Jose
Attachments:
Error -200022.png 184 KBHello Jose,
I am David, an Applications Engineer at National Instruments UK
Without seeing the program that you are trying to run it is hard for me to make many comments on anything that could be causing the error. I have searched our resources here and have founf the following article that explains the reasons for getting this error message:
http://ae.natinst.com/public.nsf/web/searchinternal/5664c009da244727862571e900046775?OpenDocument
If you read this article it should guide you so that you can see the changes that are needed so that your program will run as desired. If this does not help then feel free to contact me again on this post and possibly attach the VI or a screenshot/ snippet of it so that I can have a go at debugging.
Good luck and let me know how it goes.
Regards
David B
Applications Engineer
National Instruments UK -
Hi, All Forte Experts
I have 2 questions:
1. Would any one tell me where can I put the event loop block in a
Service Object?
I tried to put it in the Init to get a timer.tick event, but the SO
hanged to wait there.
How can I do this to let the SO do something at certain time?
2. I have SO doing failover. Can one sleeping SO get any kind of
information when it becomes alive
after the running SO dies?
Thanks a lot for your help.
Alex
Carpe Diem, Seize the Day !
Alex Lee (Li Zhongling)
Forte, Java/CORBA Group
International Business Corporation
Bangalore 560010, India
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hi,
Thank you all a lot for your help.
For the second question, I explain the situation here. I have a failover
LockManager SO which contains a LockList. When the first running SO dies, I
want the second one to become alive and restore the state of the first one( I
mean the LockList should not be lost). Then I tried to do it in this way:
1. As Daniel Nguyen suggested in Re:Retaining state on failover of SO
(Jan.19,1999), I put one shared object holding one Locklist on the Router
partition. Let the running SO always refresh its contents.
2. I make the SO Transactionaln with Transaction Dialog Duration. On the
client, every time I start a transaction to add or remove lock through SO, I
try to catch the exception "AbortException" (which means the SO dies). To
handle the exception, I use Releaseconnection, then force the backup SO get the
locklist from the shared object on Router partition. In this way, the backup SO
becomes alive and also restore the state.
I think this works. I will also try your suggestion ASAP. However, would you
please tell me how to control the secondary SO not to start and later to start
it? Every time I try to run the app, all the partition will start. And I guess,
I can not new it.
Thanks.
Rds
Alex
Alex,
1) as Arpad mentioned in his posting, you can start task a method which
contains your event loop from the init method.
as for
2), what I've done in the past is to start both primary and secondary SOs,
where the primary SO's event loop begins at start up, but the secondary SO
is dormant.. I created a "monitoring" SO which listens for remote access
exceptions (or distributed access exceptions) and on the death of the first
SO, the second SO's event loop is started. The other option is to not start
the secondary SO until the primary one fails, but there is a lag time for
the SO to come up.
j
Carpe Diem, Seize the Day !
Alex Lee (Li Zhongling)
Forte, Java/CORBA Group
International Business Corporation
Bangalore 560010, India
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Issue with Task Control Call back and Event Choice in WLI BPM 8.1
Hi,
I am using a Task Control Factory to create Task Control Instances in a loop
and then
create tasks and assign them to a predefined group. I have an event choice
for two events
waiting for the onTaskCompleted and onTaskAborted event call backs.
I have two such operations (of task creation) in the same loop. For
simplicity I have used two separate task factory controls for each of the
tasks (because I even had worse problems using a single control factory for
both tasks in the same loop).
When I instantiate the process, through work list I am able to claim, start
and complete the first task. When I try the same procedure (claim, start and
complete) on the second task, the the event choice for the corresponding
task receives 2 event call backs. First it receives the onTaskCompleted as
expected, but then it also received another call back of the same type which
displays the error on the server log as:
<Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <on process
completion, 1 undelivered messages to
'sampleRequestTaskFactoryCtrl_onTaskCompleted'>
<Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <ejbLoad:
Conversation 1064411008439:null not found>
<Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <A message was unable
to be delivered from a WLW Message Queue. Attempting to deliver the
onAsyncFailure event>
<Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <ejbLoad:
Conversation 1064411008439:null not found>
Does anybody know why two events are fired for the same work list action?
Thanks in advance.
Henry MHenry,
Please post this question on the weblogic.developer.interest.integration
newsgroup.
Regards,
Raj Alagumalai
Backline Workshop Support
"Henry Mugasha" <[email protected]> wrote in message
news:[email protected]..
Hi,
I am using a Task Control Factory to create Task Control Instances in aloop
and then
create tasks and assign them to a predefined group. I have an event choice
for two events
waiting for the onTaskCompleted and onTaskAborted event call backs.
I have two such operations (of task creation) in the same loop. For
simplicity I have used two separate task factory controls for each of the
tasks (because I even had worse problems using a single control factoryfor
both tasks in the same loop).
When I instantiate the process, through work list I am able to claim,start
and complete the first task. When I try the same procedure (claim, startand
complete) on the second task, the the event choice for the corresponding
task receives 2 event call backs. First it receives the onTaskCompleted as
expected, but then it also received another call back of the same typewhich
displays the error on the server log as:
<Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <on process
completion, 1 undelivered messages to
'sampleRequestTaskFactoryCtrl_onTaskCompleted'>
<Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <ejbLoad:
Conversation 1064411008439:null not found>
<Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <A message wasunable
to be delivered from a WLW Message Queue. Attempting to deliver the
onAsyncFailure event>
<Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <ejbLoad:
Conversation 1064411008439:null not found>
Does anybody know why two events are fired for the same work list action?
Thanks in advance.
Henry M -
Time loop and events (again)
Good morning,
I still have problems with time loops and events.
I have an event structure based on run time menu (two buttons: start stop).
When I push start, an automatic sequence is started made of a state machine (so a while loop).
I want to stop the process by means of presing stop in the run time menu. The problem is that the system doesn't respond when I press the button (it's not locked since I unchecked the option to stop front panel acitivity in the event structure configuration). I see that the pression of the stop command is made, but the code inside the event structure is not executed.
How can I avoid this?
Thank you,
FedeEvents don't react to changes in local and global varables, and that's usually a good thing.
To trigger an event programmatically, you should write to a signaling property of the control assigned to the event, and the event will fire (even if the value does not actually change).
Attached is a simple modification of my example that forces a stop of any ongoing measurments every 10 seconds using the above method.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
Prova Loop MenuIII.zip 15 KB -
Start/Stop Buttons and infinite loop exit
I am trying to make a GUI with a Start/Stop and an Exit button. Initially the button will have the label "Start". When i push it, its label should become "Stop" and an infinite loop function will begin. I want the loop to run until i press the Stop or Exit button.
The problem is that when the loop starts i can't press neither of the buttons. The "Start" button changes its label into "Stop" only if i make the loop finite and it ends.
Here is the source:
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class StartStopButtons extends JFrame{
Component visualComponent = null;
JPanel panel = null;
JLabel statusBar = null;
public StartStopButtons() {
setSize(160, 70);
getContentPane().setLayout(new BorderLayout());
panel = new JPanel();
panel.setLayout(new BorderLayout());
getContentPane().add(panel, BorderLayout.CENTER);
final JPanel panel_1 = new JPanel();
panel.add(panel_1, BorderLayout.CENTER);
final JButton startButton = new JButton();
startButton.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent e) {
String action = e.getActionCommand();
if (action.equals("Start")) {
System.out.println("Start Loop");
startButton.setText("Stop");
myLoop ();
if (action.equals("Stop")) {
System.out.println("Stop Loop");
System.exit(0);
startButton.setText("Start");
panel_1.add(startButton);
final JButton exitButton = new JButton();
exitButton.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent e) {
String action = e.getActionCommand();
if (action.equals("Exit")) {
System.exit(0);
panel_1.add(exitButton);
exitButton.setText("Exit");
public void myLoop() {
for (int i = 0; ; i++)
System.out.println(i);
public static void main(String[] args) {
StartStopButtons ssB = new StartStopButtons();
ssB.setVisible(true);
}I works just fine. Here is the source and thanks for the help.
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.UIManager;
public class StartStopButtons extends JFrame implements ActionListener, Runnable{
Component visualComponent = null;
JPanel panel = null;
JLabel statusBar = null;
Thread thread;
JButton startButton;
public StartStopButtons() {
try {
UIManager.setLookAndFeel(
UIManager.getSystemLookAndFeelClassName());
} catch(Exception e) {}
setSize(160, 70);
getContentPane().setLayout(new BorderLayout());
panel = new JPanel();
panel.setLayout(new BorderLayout());
getContentPane().add(panel, BorderLayout.CENTER);
final JPanel panel_1 = new JPanel();
panel.add(panel_1, BorderLayout.CENTER);
startButton = new JButton();
startButton.addActionListener(this);
startButton.setText("Start");
panel_1.add(startButton);
final JButton exitButton = new JButton();
exitButton.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent e) {
String action = e.getActionCommand();
if (action.equals("Exit")) {
System.exit(0);
panel_1.add(exitButton);
exitButton.setText("Exit");
public void actionPerformed(ActionEvent e) {
String action = e.getActionCommand();
if (action.equals("Start")) {
startButton.setText("Stop");
thread = new Thread( this );
thread.start();
if (action.equals("Stop")) {
System.exit(0);
public void run() {
myLoop();
public void myLoop() {
for (int i = 0; ; i++)
System.out.println(i);
public static void main(String[] args) {
StartStopButtons ssB = new StartStopButtons();
ssB.setVisible(true);
} -
Probook 4540s loops between start screen and windows 8.1 logo screen
So my laptop is loop between mentioned two screens. I ran two diagnostic tests - start up and run in. Both passed. I took it to my university tech support and they tried to install a start up repair via flash drive. An application error popped up, x00007 something. So upset. HELP!!! Is it an hardrive issue or because of the update it tried to do before I shut it down manually?
@snmeesala
Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
If you are unfamiliar with the Forum's private messaging please click here to learn more.
Thank you,
Omar
I Work for HP -
Start, stop and restart while loops
Hi, my qustion is i have 2 example a and example b. Example b lets u start counting up in seconds when u want to. as long as the toggle switchs are in correct position. it also lets u start, stop and restart if need be. i want to be able to that with example a, but for some reason the while loop always sets of running independent of what position the the toggle switch. Any help greatly appreciated.
Thanks Stuart
Attachments:
examplealib.llb 202 KB
exampleb.vi 25 KBAn example as the attachment.
Attachments:
switch.vi 23 KB -
Hi,
After a sudden power failure, I guess vista file system is corrupt. I am able to start vista in normal mode, but it seems there are errors like Event Log service unable to start itself, when I start IE, it closes automatically ,
Norton antivirus does not start itself. and so on.
After Bing search, I went to safe mode and executed sfc /scannow and it reported error as below.
"Windows resource protection found corrupt files but was unable to fix some of them"
Unfortunately I am unable to upload log file, so I am pasting CBS.log content here.... Please advice.
Some parts of logs are removed due to limit of 60000 characters.
Please advice.
Regards
2014-07-07 14:55:57, Info CBS Loaded Servicing Stack v6.0.6002.18005 with Core: C:\Windows\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.0.6002.18005_none_0b4ada54c46c45b0\cbscore.dll
2014-07-07 14:55:58, Info CSI
00000001@2014/7/7:09:25:58.062 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x6e9c8a50 @0x7147854e @0x714563a1 @0x341392 @0x341ed4 @0x3417cb)
2014-07-07 14:55:58, Info CSI
00000002@2014/7/7:09:25:58.156 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x6e9c8a50 @0x714ae7b6 @0x71490f93 @0x341392 @0x341ed4 @0x3417cb)
2014-07-07 14:55:58, Info CSI
00000003@2014/7/7:09:25:58.187 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x6e9c8a50 @0x73981a0d @0x73981794 @0x34360b @0x342be3 @0x3417cb)
2014-07-07 14:55:58, Info CBS NonStart: Checking to ensure startup processing was not required.
2014-07-07 14:55:58, Info CBS NonStart: Windows is in Safe Mode.
2014-07-07 14:55:58, Info CSI 00000004 IAdvancedInstallerAwareStore_ResolvePendingTransactions (call 1) (flags = 00000004, progress = NULL,
phase = 0, pdwDisposition = @0x2dfe70
2014-07-07 14:55:58, Info CBS NonStart: Success, startup processing not required as expected.
2014-07-07 14:55:58, Info CSI 00000005 CSI Store 4780952 (0x0048f398) initialized
2014-07-07 14:56:03, Info CSI 00000006 [SR] Verifying 100 (0x00000064) components
2014-07-07 14:56:03, Info CSI 00000007 [SR] Beginning Verify and Repair transaction
2014-07-07 14:56:10, Info CSI 00000008 Repair results created:
POQ 0 starts:
0: Move File: Source = [l:192{96}]"\SystemRoot\WinSxS\Temp\PendingRenames\ca20037dc599cf01650000007806a403._0000000000000000.cdf-ms", Destination = [l:104{52}]"\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms"
1: Move File: Source = [l:218{109}]"\SystemRoot\WinSxS\Temp\PendingRenames\aa070f7dc599cf01660000007806a403.program_files_ffd0cbfc813cc4f1.cdf-ms", Destination = [l:130{65}]"\SystemRoot\WinSxS\FileMaps\program_files_ffd0cbfc813cc4f1.cdf-ms"
2: Move File: Source = [l:244{122}]"\SystemRoot\WinSxS\Temp\PendingRenames\6aca137dc599cf01670000007806a403.program_files_common_files_d7a65bb2f0e854e7.cdf-ms", Destination = [l:156{78}]"\SystemRoot\WinSxS\FileMaps\program_files_common_files_d7a65bb2f0e854e7.cdf-ms"
3: Move File: Source = [l:278{139}]"\SystemRoot\WinSxS\Temp\PendingRenames\2a8d187dc599cf01680000007806a403.program_files_common_files_microsoft_shared_818c5a0e45020fba.cdf-ms", Destination = [l:190{95}]"\SystemRoot\WinSxS\FileMaps\program_files_common_files_microsoft_shared_818c5a0e45020fba.cdf-ms"
4: Move File: Source = [l:286{143}]"\SystemRoot\WinSxS\Temp\PendingRenames\4ab11f7dc599cf01690000007806a403.program_files_common_files_microsoft_shared_ink_3c86e3db0b3b254c.cdf-ms", Destination = [l:198{99}]"\SystemRoot\WinSxS\FileMaps\program_files_common_files_microsoft_shared_ink_3c86e3db0b3b254c.cdf-ms"
5: Move File: Source = [l:292{146}]"\SystemRoot\WinSxS\Temp\PendingRenames\aa12227dc599cf016a0000007806a403.program_files_common_files_microsoft_shared_ink_en_7a951cedcb9a5105.cdf-ms", Destination = [l:204{102}]"\SystemRoot\WinSxS\FileMaps\program_files_common_files_microsoft_shared_ink_en_7a951cedcb9a5105.cdf-ms"
6: Move File: Source = [l:162{81}]"\SystemRoot\WinSxS\Temp\PendingRenames\aa28487dc599cf016b0000007806a403.$$.cdf-ms", Destination = [l:74{37}]"\SystemRoot\WinSxS\FileMaps\$$.cdf-ms"
7: Move File: Source = [l:208{104}]"\SystemRoot\WinSxS\Temp\PendingRenames\6aeb4c7dc599cf016c0000007806a403.$$_ehome_40103e2da1d
2014-07-07 14:56:10, Info CSI 121de.cdf-ms", Destination = [l:120{60}]"\SystemRoot\WinSxS\FileMaps\$$_ehome_40103e2da1d121de.cdf-ms"
POQ 0 ends.
2014-07-07 14:56:10, Info CSI 00000009 [SR] Verify complete
2014-07-07 14:56:11, Info CSI 0000000a [SR] Verifying 100 (0x00000064) components
2014-07-07 14:56:11, Info CSI 0000000b [SR] Beginning Verify and Repair transaction
2014-07-07 14:56:19, Info CSI 0000000c Repair results created:
POQ 1 starts:
POQ 42 ends.
2014-07-07 14:58:29, Info CSI 000000b1 [SR] Verify complete
2014-07-07 14:58:30, Info CSI 000000b2 [SR] Verifying 100 (0x00000064) components
2014-07-07 14:58:30, Info CSI 000000b3 [SR] Beginning Verify and Repair transaction
2014-07-07 14:58:38, Info CSI 000000b4 Repair results created:
POQ 43 starts:
0: Move File: Source = [l:192{96}]"\SystemRoot\WinSxS\Temp\PendingRenames\4a5ad3d4c599cf01391100007806a403._0000000000000000.cdf-ms", Destination = [l:104{52}]"\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms"
1: Move File: Source = [l:162{81}]"\SystemRoot\WinSxS\Temp\PendingRenames\4a5ad3d4c599cf013a1100007806a403.$$.cdf-ms", Destination = [l:74{37}]"\SystemRoot\WinSxS\FileMaps\$$.cdf-ms"
2: Move File: Source = [l:234{117}]"\SystemRoot\WinSxS\Temp\PendingRenames\cadfdcd4c599cf013b1100007806a403.$$_help_windows_en-us_b594929e73669c5e.cdf-ms", Destination = [l:146{73}]"\SystemRoot\WinSxS\FileMaps\$$_help_windows_en-us_b594929e73669c5e.cdf-ms"
3: Move File: Source = [l:228{114}]"\SystemRoot\WinSxS\Temp\PendingRenames\2a41dfd4c599cf013c1100007806a403.$$_help_help_en-us_91e6e7979a9bf9c6.cdf-ms", Destination = [l:140{70}]"\SystemRoot\WinSxS\FileMaps\$$_help_help_en-us_91e6e7979a9bf9c6.cdf-ms"
4: Move File: Source = [l:214{107}]"\SystemRoot\WinSxS\Temp\PendingRenames\ea0ef7d4c599cf013d1100007806a403.$$_apppatch_1143992cbbbebcab.cdf-ms", Destination = [l:126{63}]"\SystemRoot\WinSxS\FileMaps\$$_apppatch_1143992cbbbebcab.cdf-ms"
5: Move File: Source = [l:218{109}]"\SystemRoot\WinSxS\Temp\PendingRenames\ea241dd5c599cf013e1100007806a403.program_files_ffd0cbfc813cc4f1.cdf-ms", Destination = [l:130{65}]"\SystemRoot\WinSxS\FileMaps\program_files_ffd0cbfc813cc4f1.cdf-ms"
6: Create Directory: Directory = [l:48{24}]"\??\C:\Program Files\MSN", Attributes = 00000080
POQ 43 ends.
2014-07-07 14:58:38, Info CSI 000000b5 [SR] Verify complete
2014-07-07 14:58:38, Info CSI 000000b6 [SR] Verifying 100 (0x00000064) components
2014-07-07 14:58:38, Info CSI 000000b7 [SR] Beginning Verify and Repair transaction
2014-07-07 14:58:43, Info CSI 000000b8 Repair results created:
POQ 44 starts:
0: Move File: Source = [l:192{96}]"\SystemRoot\WinSxS\Temp\PendingRenames\eac6f0d7c599cf01a31100007806a403._0000000000000000.cdf-ms", Destination = [l:104{52}]"\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms"
1: Move File: Source = [l:162{81}]"\SystemRoot\WinSxS\Temp\PendingRenames\aa89f5d7c599cf01a41100007806a403.$$.cdf-ms", Destination = [l:74{37}]"\SystemRoot\WinSxS\FileMaps\$$.cdf-ms"
2: Move File: Source = [l:216{108}]"\SystemRoot\WinSxS\Temp\PendingRenames\6a4cfad7c599cf01a51100007806a403.$$_resources_fbee56ab048ab239.cdf-ms", Destination = [l:128{64}]"\SystemRoot\WinSxS\FileMaps\$$_resources_fbee56ab048ab239.cdf-ms"
3: Move File: Source = [l:230{115}]"\SystemRoot\WinSxS\Temp\PendingRenames\caadfcd7c599cf01a61100007806a403.$$_resources_themes_4d0d4910e83c2273.cdf-ms", Destination = [l:142{71}]"\SystemRoot\WinSxS\FileMaps\$$_resources_themes_4d0d4910e83c2273.cdf-ms"
4: Move File: Source = [l:240{120}]"\SystemRoot\WinSxS\Temp\PendingRenames\caadfcd7c599cf01a71100007806a403.$$_resources_themes_aero_3fd78bf4cb5fa2c4.cdf-ms", Destination = [l:152{76}]"\SystemRoot\WinSxS\FileMaps\$$_resources_themes_aero_3fd78bf4cb5fa2c4.cdf-ms"
5: Move File: Source = [l:252{126}]"\SystemRoot\WinSxS\Temp\PendingRenames\8a7001d8c599cf01a81100007806a403.$$_resources_themes_aero_shell_a91dfa5124b343c4.cdf-ms", Destination = [l:164{82}]"\SystemRoot\WinSxS\FileMaps\$$_resources_themes_aero_shell_a91dfa5124b343c4.cdf-ms"
6: Move File: Source = [l:276{138}]"\SystemRoot\WinSxS\Temp\PendingRenames\aa9408d8c599cf01a91100007806a403.$$_resources_themes_aero_shell_normalcolor_10be8ec981b35fb6.cdf-ms", Destination = [l:188{94}]"\SystemRoot\WinSxS\FileMaps\$$_resources_themes_aero_shell_normalcolor_10be8ec981b35fb6.cdf-ms"
7: Move File: Source = [l:214{107}]"\SystemRoot\WinSxS\Temp\PendingRenames\cab80fd8c599cf01aa1100007806a403.$$_schcache_f995a5d4decb8cc0.cdf-ms", Destination = [l:126{63}]"\SystemRoot\WinSxS\FileMaps\$$_schcache_f995a5d4decb8cc0.cdf
2014-07-07 14:58:43, Info CSI -ms"
8: Move File: Source = [l:212{106}]"\SystemRoot\WinSxS\Temp\PendingRenames\cad948d8c599cf01ab1100007806a403.$$_msagent_be90584645cb9b95.cdf-ms", Destination = [l:124{62}]"\SystemRoot\WinSxS\FileMaps\$$_msagent_be90584645cb9b95.cdf-ms"
9: Move File: Source = [l:214{107}]"\SystemRoot\WinSxS\Temp\PendingRenames\4a7578d8c599cf01ac1100007806a403.$$_system32_21f9a9c4a2f8b514.cdf-ms", Destination = [l:126{63}]"\SystemRoot\WinSxS\FileMaps\$$_system32_21f9a9c4a2f8b514.cdf-ms"
10: Move File: Source = [l:242{121}]"\SystemRoot\WinSxS\Temp\PendingRenames\cafa81d8c599cf01ad1100007806a403.$$_system32_manifeststore_7d35b12f9be4c20e.cdf-ms", Destination = [l:154{77}]"\SystemRoot\WinSxS\FileMaps\$$_system32_manifeststore_7d35b12f9be4c20e.cdf-ms"
11: Move File: Source = [l:224{112}]"\SystemRoot\WinSxS\Temp\PendingRenames\aae18dd8c599cf01ae1100007806a403.$$_msagent_chars_9a5bcb5da392f588.cdf-ms", Destination = [l:136{68}]"\SystemRoot\WinSxS\FileMaps\$$_msagent_chars_9a5bcb5da392f588.cdf-ms"
POQ 107 ends.
2014-07-07 15:08:01, Info CSI 00000213 [SR] Repair complete
2014-07-07 15:08:01, Info CSI 00000214 [SR] Committing transaction
2014-07-07 15:08:01, Info CSI 00000215 Creating NT transaction (seq 1), objectname [6]"(null)"
2014-07-07 15:08:01, Info CSI 00000216 Created NT transaction (seq 1) result 0x00000000, handle @0x4cc
2014-07-07 15:08:01, Info CSI
00000217@2014/7/7:09:38:01.060 CSI perf trace:
CSIPERF:TXCOMMIT;5
2014-07-07 15:08:01, Info CSI 00000218 [SR] Verify and Repair Transaction completed. All files and registry keys listed in this transaction
have been successfully repaired
2014-07-07 15:15:58, Info CBS Scavenge: Package store indicates there is no component to scavenge, skipping.
Hi,
First, I would suggest you using last known good configuration:
Using Last Known Good Configuration
http://windows.microsoft.com/en-in/windows/using-last-known-good-configuration#1TC=windows-vista
if this cannot bring your Windows Vista back to good state, I suggest you perform in-place upgrade to fix the corrupted files:
How to Perform an In-Place Upgrade on Windows Vista, Windows 7, Windows Server 2008 & Windows Server 2008 R2
http://support.microsoft.com/kb/2255099/en-us
If you have any feedback on our support, please click
here
Alex Zhao
TechNet Community Support -
How to start, stop and restart task
Hello Everyone,
Need advice on what is the correct way to start, stop and restart a Java task?
I have tried with Executors.newCachedThreadPool() or fixedThreadPool() however I was only able to submit the task once. My program crashed when i tried to resubmit the task again after a shutdownnow command()Tasks are designed to be run once. If you want restart functionality, use a service:
http://docs.oracle.com/javafx/2/api/javafx/concurrent/Service.html
The sample service I posted in the following thread demonstrates how to do this:
Multithreading
Use of Executors is not necessary as a Service encapsulates the execution thread management (though you can set your own executor on the service if you really needed it). All you need to do is make use of the service start, cancel, restart and reset methods as required. If you do use the cancel method, then you need to make sure that your service is properly interrupt aware for the cancel to function as you expect.
Maybe you are looking for
-
My iPad 3 is for school, so I take a ton of notes on notability. I just updated it recently, and I have almost no space. My iPad has a 16 GB capacity, and my usage says I have used up 13.3 GB. I deleted all my photos, all my videos, most of my music,
-
TS1591 My iPhone 5 is not recognized by my computer running iOS 10.7.5.
The cable works just fine charging in the wall charger. I've rebooted both the computer and the iphone with no success. http://support.apple.com/kb/ts1591 has not helped at all. Any other ideas?
-
UCCE 7.5 - CAD 7.5.1 Agent can not login
Hi everybody, We're using CAD 7.5.1 for UCCE 7.5. Currently an agent complait that she can not log in to the CAD due to the error of delay time out. I did a test with her account and here is what I found - CAD got stucked in the "connect to CTIOS ser
-
Archive Logs Will Not Delete from OS
Hi Everyone, Here's my issue. Somehow i have a few archivelogs that are corruptued, plus a backup of the database that is corrupted. Since then, I have made a new backup of the database and everything is running smoothly. WHen i try to delete the fil
-
I'm having trouble opening pdf files for weeks now. Help please.
I'm having trouble opening pdf files for weeks now. Can someone help me? It