LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make Windows 10 fault tolerant to power off

Solved!
Go to solution

how to make windows10 fault tolerant to power off when using LabVIEW

0 Kudos
Message 1 of 17
(2,834 Views)

What exactly to you mean by fault tolerant?

 

  • Intentional power off or accidental power off?
  • Is this actually a LabVIEW question or a Windows 10 question?
  • What is happening now that you are trying to do differently.
  • When you lose power, what do you expect LabVIEW to do?
  • Or do you want a certain behavior when power returns?
  • Why not have a battery backup on the PC so it rides through power losses?

 

Lots of questions, but no details in your message to go by.

0 Kudos
Message 2 of 17
(2,804 Views)

I mean  make windows10 tolerant to power loss,so it doesn't corrupt its discs and labview returns as normal when power is restored. using battery backup is not an option.

0 Kudos
Message 3 of 17
(2,773 Views)

Some ideas here

Certified LabVIEW Architect
0 Kudos
Message 4 of 17
(2,766 Views)

@ggregson wrote:

I mean  make windows10 tolerant to power loss,so it doesn't corrupt its discs and labview returns as normal when power is restored. using battery backup is not an option.


From the LabVIEW PoV, everything you save should be redundant and have a validity check. So, when the system crashes during a save, the check will fail and the other file is used. So the storage should alternate between the two files. Always write to the oldest file, and always start opening the newest file. If the newest file is corrupt, use the other (and save it over the newest).

 

That doesn't prevent Windows from getting corrupt though...

0 Kudos
Message 5 of 17
(2,747 Views)

@ggregson wrote:

I mean  make windows10 tolerant to power loss,so it doesn't corrupt its discs


LOL Good luck with that.

 

People have been trying to figure out how to stop Windows from corrupting it's HDD on a bad shutdown since the 1990's. 

 

BTW: The only real solution would be to run something like Windows Embedded.

 

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 6 of 17
(2,717 Views)

@RTSLVU wrote:

@ggregson wrote:

I mean  make windows10 tolerant to power loss,so it doesn't corrupt its discs


LOL Good luck with that.

 

People have been trying to figure out how to stop Windows from corrupting it's HDD on a bad shutdown since the 1990's. 

 

BTW: The only real solution would be to run something like Windows Embedded.


Actually while Windows Embedded is supposed to be a bit more robust in that respect it is no guarantee that the flash disk won't get corrupted somehow when the power goes down at the moment when important files were updated.

The real solution is to use an Uninterruptible Power Supply (UPS), and maintain it. the battery in there won't live forever!

It has an internal battery storage and monitors the mains line. When it detects a power fail it will switch over to battery operation and send a signal to the PC that it needs to properly shutdown. Depending on the UPS (and the money you throw against it) you can get a few minutes of operation to safely shutdown the system to several hours of backup operation before the system has to be shutdown. 

Rolf Kalbermatter
My Blog
0 Kudos
Message 7 of 17
(2,707 Views)
Solution
Accepted by topic author ggregson

@rolfk wrote:

@RTSLVU wrote:

@ggregson wrote:

I mean  make windows10 tolerant to power loss,so it doesn't corrupt its discs


LOL Good luck with that.

 

People have been trying to figure out how to stop Windows from corrupting it's HDD on a bad shutdown since the 1990's. 

 

BTW: The only real solution would be to run something like Windows Embedded.


 

The real solution is to use an Uninterruptible Power Supply (UPS),


Yes, but the original poster also stated:

 

@ggregson wrote:

 using battery backup is not an option.


Also doesn't Windows Embedded use a write protected system disk, so the base OS can not be corrupted?

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 8 of 17
(2,699 Views)

@RTSLVU wrote:

@rolfk wrote:


The real solution is to use an Uninterruptible Power Supply (UPS),


Yes, but the original poster also stated:

 

 

@ggregson wrote:

 using battery backup is not an option.


Sounds like a case of:

Patient: Doctor it hurts when I push on this spot!

Doctor: Then don't push on that spot!

 

Also doesn't Windows Embedded use a write protected system disk, so the base OS can not be corrupted?


I'm sure you can set it up like that. But that requires you to have either two flash disks or at least partitions. Windows without anywhere to write registry and other file changes is pretty unworkable.

Rolf Kalbermatter
My Blog
0 Kudos
Message 9 of 17
(2,692 Views)

I worked as IT on a trading floor where UPS was not an option, also.  (Presumably because the traders didn't want their computers down for even five minutes, but I never got an official reason.)  Then a power glitch took out 2/3 of the computers on the trading floor and they decided maybe it was time to go the UPS route.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 10 of 17
(2,672 Views)