Motor shutdown

Hi guys ,
I am using a faulhaber motor DC motor where I wanna run it by specifying the postion and speed.
After the motor starts running I want to stop the motor immediately using a stop button and exit the program.
Even though it exit from the program but the motor is still running?
Has someone face such kinda problem?
Boldness has genius, power and magic in it!'

Thanks for your answers.
I can control the motor using USB COM port.
I use this set of command for
enabling -EN
Disable -DI
position move- M
.   The problem is in my main program i am supposed to run with definite speed and position , But if the motor drivers the force sensors too hard till 12N . It should stop abruptly.
Boldness has genius, power and magic in it!'
Attachments:
faul.PNG ‏18 KB

Similar Messages

  • Sudden shutdown when not plugged in

    I have found others that have had this issue but I have not found a satisfactory answer to the problem. My MacBook no is no longer able to operate without being plugged in. After about 5 mins of operation with just the battery and not being plugged in. It's a hard shutdown where the computer just has a complete power loss (screen goes black and motors stop running). It operates normally when plugged in though. The battery is fully charged also.
    Is it safe to do an SMC or battery calibration? Might I have data loss? If I take it to Apple, what might they say?
    Here's my info:
    Battery Information:
    Battery Installed: Yes
    First low level warning: No
    Full Charge Capacity (mAh): 3404
    Remaining Capacity (mAh): 3283
    Amperage (mA): -785
    Voltage (mV): 12318
    Cycle Count: 206

    I have found others that have had this issue but I have not found a satisfactory answer to the problem. My MacBook no is no longer able to operate without being plugged in. After about 5 mins of operation with just the battery and not being plugged in. It's a hard shutdown where the computer just has a complete power loss (screen goes black and motors stop running). It operates normally when plugged in though. The battery is fully charged also.
    Is it safe to do an SMC or battery calibration? Might I have data loss? If I take it to Apple, what might they say?
    Here's my info:
    Battery Information:
    Battery Installed: Yes
    First low level warning: No
    Full Charge Capacity (mAh): 3404
    Remaining Capacity (mAh): 3283
    Amperage (mA): -785
    Voltage (mV): 12318
    Cycle Count: 206

  • Why does Labview VI pause intermittently during motor control while loop?

    I'm performing some biomechanical testing using Labview to control stepper motor actuators. I have a PCI-7334 controller card and a MID-7604 driver. The testing is run in load control using a while loop that sends a number of steps to the stepper motor that is proportional to the difference between the actual and desired load. The VI intermittently pauses though and sits in active for several seconds (~5 sec to 20 sec). What could cause this problem?
    Thank you in advance for your assistance.

    Without the subVIs it is hard to see what is going on.
    Some general comments:
    1. Block diagrams should be limited to the size of one screen.  Yours is over 4 times as wide as my 27" screen.
    2. Sequence structures should be avoided.  LabVIEW is a datflow language and only rarely are sequence structures required. There is almost certainly a way to write your program without them.
    3. The use of local variables should be avoided.  Again, they have a place but most likely they are not needed in your program. They are prone to race conditions, make extra data copies, and force execution in the UI thread.
    4. Floating point data types are not recommended as case selectors. They will be rounded and coerced to integers.
    5. Learn about the Producer/Consumer Design Pattern and state machines.  
    One possible cause of your slowdown is having the Write to Spreadsheet File.vi inside the while loop. This VI is convenient to use but it opens, writes, and closes the file each time it is called.  I have no way to tell how much data you write on each iteration but as the file grows the OS may need to re-allocate space for the file or fragment the file. These operations can be slow.
    Do you really want to Abort the program in the False case?  This will leave any outputs in the last state they had been set. This could have your motor(s) running, clutch engaged, ...  In programs which control physical hardware an orderly shutdown procedure is usually better: set all outputs to a safe condition, close files, close DAQ tasks, and indicate the status to the user.  Calling Stop allows none of this to happen.
    Lynn

  • Electric Motor Test Bench

    I am currently desiging a small AC Motor Test Bench to test motors on the production line. I am trying to decide the best way to detect a break in the light curtain. A beak in the light curtain will be removing all line voltages from the bench top and will also reset the vi to await a start signal from an operator push button. I have a NI cDAQ 9178 with a NI 9205 and six NI 9481 modules.
    I do have a extra relay contact in my safety circuit that I can pass a 0-10V signal through to the 9205. I am considering using a 120VAC to 9VDC transformer to generate a control voltage. I would then use the control voltage as an input into the 9205. I could wire my start button, safety relay and stop button in series. The safety signal would be normally closed and the stop and start would be normally open. I do not need this to be real fast detection by the circuit but would like it to be under 1 second.
    Is this the right approach?
    How should I write this into my vi to detect an input even is a sub-vi is running?

    So, a question:
    Are you performing any other acquisitions with your 9205?  If so, are they hardware-timed?  I believe the 9205 has a single clock (I might be wrong about that, you'll have to check), which means that you can only run a single hardware-timed task with it.  This may not be relevant, but it's something to note.
    Since the detection doesn't have to be very fast, you could set up a software-timed task to read the line which has your "stop" signal.  (That avoids any sample clock conflicts.)  You'll want that task in its own loop, in parallel with the rest of your code, so that it runs all the time.
    When you detect a "stop" signal, you'll need to take action in the other software loop(s).  I'd use an Action Engine (search the forum if you're not familiar with it) to set a flag which is read by the other loop(s).  Use the flag to trigger whatever shutdown actions are necessary.  Your "stop" monitor loop will write to the Action Engine -- your other loop(s) will read from it.
    Does that help get you started?

  • Detect if shutdown input is active PCI-733x

    Is there a way to detect if the shutdown input of a PCI-7334 controller is active?
    I'm using LabVIEW 2011 SP1 and NI-Motion 8.3.0.3 and there doesn't seems to be a function that read the state of this input. The setup controls 4 stepper motors and include an UMI-7774. An emergency stop pushbutton is connected to the global stop input of the UMI. No feedback devices are used, the steppers are in open-loop.
    Basically what I want to do is make sure that the emergency stop pushbutton is not pressed before starting a test, if so the start test command is cancelled and popup message is displayed asking to check the state of the pushbutton.
    The controller shutdown is activated by a rising edge on this input, so if a test is running it will immediately stop but if the pushbutton is already pressed when the test start the controller will send the steps and direction signal to the drivers. Note that the motors will not run because the drivers are disabled by the emergency stop pushbutton and that the controller will eventually stop on a programmed error condition but it is a non-negligible waste of time.
    A possible workaround is to also connect the pushbutton to a digital or analog input on the UMI but it seems odd to me that the state of this input can't be read.
    Any other suggestion?
    Ben64

    Greetings;
    After some preliminary search, I have not come across any VI that would simply check the value of the Shutdown line on a 7334. While I came across a few articles on implementing an Emergency stop, nothing popped up for that particular matter. 
    My initial thoughts are that the best way to go about it would be to simply split the wire into both the Shutdown line as well as any DIO input and check it therein. I will, however, do some more research and inform you of my findings.
    Cordially;
    Simon P.
    National Instruments
    Applications Engineer

  • Random shutdowns since battey update!

    Hi.
    I've had whine issues with my MBP 1st gen. which were fixed by a logic board replacement. I updated with the battery update recently and some bad bahaviour has happened since.
    Namely I've had two random shutdowns which never happened before.
    The first occasion I dismissed since I had it on high processor load and when the MBP shutdown I put it down to overheating.
    Today the story was different.
    The MBP was idling with some normal tasks. I unplugged the machine to cycle the battery as I do once a week or so. I calibrated formally last week after the battery update.
    Approximately a minute after unplugging, the MBP activated both its fans to high speed. The processor load on both cores was under 10% so it was not due to processor load or rogue non responding process. I waited and the fans started to wind down from their high speed in the gradual way they normally do.
    A minute or so later for no apparent reason the machine just shutdown all of a sudden.
    The battery appears to be draining alot quicker. For example in the last ten minutes since I've been slowly typing this the battery % has gone from 90% to 75% with CPU loads under 10%.
    I'm calibrating the battery again today but the sudden shutdowns really shake one's confidence in the machine in a deep way as you may all understand.

    Did you Reset the PMU (power management unit)
    between re-calibrations?
    When you re-calibrate make sure you leave it more
    than 5 hours draining without power, I generally aim
    for 7 hours before re-connecting power.
    It could be worth running the Hardware tests from
    Install DVD1 (hold down d at boot) and see if it
    reports any SNS (sensor) or MTR (motor) problems.
    I calibrated formally ie. 6 hours after normal power related shutdown and wake from deep sleep mode.
    I haven't reset the PMU but will try that later. I want to try and diagnose the problem as well as possible before trying lots of random things.
    I have noticed that my battery is down to 90% of full capacity ie ~4900 mAh (5500 mAh is the nominal when new). I only have 122 cycles in the 14 months I have owned this. It's mostly on AC power but nevertheless it never occured prior to the battery update (Ockham's razor).

  • Unable to capture startup and shutdown event of Photoshop in automation Plugin.

    Hi,
    I am creating an automation plugin and I want to register some events. I have seen listener plugin sample to register event in startup and unregister event in shutdown. I have used same code in my plugin but I am unable to capture the startup nad shutdown event of Photoshop. On clicking the menu item of my plugin the calls come inside the AutoPluginMain but during the startup or shutdown of plugin, the calls does not come inside the AutoPluginMain.
    I am unable to detect the cause of the problem. Can someone please giude me??
    Thanks in advance.

    Hi Tom,
    Thanks for the suggestion.
    Yes, I am working on Windows. As you suggested, I compiled .rc file but the compile option for .r file was disabled. After compiling the .rc file, I again rebuild the complete project and tested my build. But still I was not able to achive the desired result.
    Any other thing that I need to do to make it work?
    Thanks

  • Análise de vibração de um motor a partir de Arduino e identificação de falhas

    Olá a todos. Sou novato no mundo do LabVIEW, por isso gostaria de uma ajuda de vocês. Tenho em minha faculdade o LabVIEW 2010.
    Estou realizando meu projeto de final de curso e tenho como objetivo identificar falhas em um motor a partir da vibração medida com um acelerômetro. Para explicar melhor meu objetivo, separei ele em três problemáticas:
    - Aquisição de dados:
    O primeiro passo é realizar a aquisição dos dados provindos do sensor. Visando baixos custos, opitei por usar o conjunto Arduino + Sensor ADXL345. Porém tive dificuldades em utilizar o protocolo I2C com o LabVIEW usando o LIFA (LabVIEW Interface for Arduino). Acabei optando por utilizar o próprio Arduino para medir a vibração e usar o VISA do LabVIEW para realizar a aquisição de dados. Para isso utilizei o VI em anexo que encontrei na internet. ele funciona muito bem, mas gostaria de utilizá-lo como Sub-VI em outro VI, já que o acelerômetro tem três medidas (X, Y e Z) e estou tendo dificuldades para isso, graças ao White Loop. Tirando o White Loop e os Switches, não consegui fazer dados saírem para outro VI, alguém pode me dar uma luz?
    - Tratamento dos dados:
    Antes de identificar o erro, gostaria de aplicar uma transformada de fourier nos dados que estão entrando (x, y e z) a fim de gerar um gráfico no fomínio da frequência. Alguém tem um exemplo de uso do bloco de transformada de Fourier no LabVIEW para eu estudar? Outras dicas são muito bem vindas.
    - Comparação dos dados:
    O último passo é usar alguma técnica de comparação de dados (como o Comparison Express) para comparar a vibração do motor com dados previamente armazenados em um arquivo de texto ou planilha, com a finalidade do LabVIEW identificar por conta própria qual é a falha presente no motor. Porém tive dificuldades em usar um arquivo como Input no Comparison Express, alguém já fez isso antes?
    Enfim, agradeço antecipadamente qualquer ajuda que receber. Como sou novo no LabVIEW, estou tendo várias dificuldades, mas espero conseguir atingir meus objetivos. Lembrando que estou com o LabVIEW 2010, se vocês puderem compartilhar VIs compatíveis vão me ajudar muito.
    Anexos:
    Data Aquisition.vi ‏37 KB

    Bom dia otaconlink. Tudo bem?
    Aquisição de dados:
    Gostaria de saber o que você gostaria de modificar no programa, são os dados de vibração?
    Tratamentos de dados:
     O seguinte link indica alguns exemplos aplicáveis ao seu programa:
    http://venus.ni.com/nisearch/app/main/p/bot/no/sn/catnav%3Aexample/ses/false/ap/global/q/fourier/lan...
    Comparação de dados:
    Você pode utilizar a estrutura de caso.
    Alguns exemplos de comparação de dados:
    http://zone.ni.com/devzone/cda/epd/p/id/4719
    http://zone.ni.com/devzone/cda/epd/p/id/5219
    https://decibel.ni.com/content/docs/DOC-12441
    http://zone.ni.com/devzone/cda/epd/p/id/5785
    Atenciosamente.
    Erick Yamamoto
    Application Engineer
    National Instruments Brazil
    Visite a nossa comunidade em PORTUGUÊS!!!

  • Lock ups, Difficult starts, reboot/restart = shutdown

    My computer locks up and will not "Restart", if I tell it to "restart" it shuts down. The "Restart" button also causes the computer to shutdown.
    I checked logs and found this stuff:
    kernel: ApplePMU::PMU FORCED SHUTDOWN, CAUSE = -122
    Unresolved kernel trap(cpu 1): 0x300 - Data access DAR=0x00000000000000D4 PC=0x0000000000266EA0
    Latest crash info for cpu 1:
    Exception state (sv=0x259C2500)
    PC=0x00266EA0; MSR=0x00009030; DAR=0x000000D4; DSISR=0x40000000; LR=0x00266EE8; R1=0x11F03E40; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x00266EAC 0x00266E10
    Proceeding back via exception chain:
    Exception state (sv=0x259C2500)
    previously dumped as "Latest" state. skipping...
    Exception state (sv=0x24F26500)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 7.9.0:
    Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC
    panic(cpu 1): 0x300 - Data access
    Latest stack backtrace for cpu 1:
    Backtrace:
    0x00083498 0x0008397C 0x0001EDA4 0x00090C38 0x0009402C
    Proceeding back via exception chain:
    Exception state (sv=0x259C2500)
    PC=0x00266EA0; MSR=0x00009030; DAR=0x000000D4; DSISR=0x40000000; LR=0x00266EE8; R1=0x11F03E40; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x00266EAC 0x00266E10
    Exception state (sv=0x24F26500)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 7.9.0:
    Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC
    I also ran a Hardware Test and all the hardware seems ok.
    I've taken the battery out of the PMU and it doesn't seem to have any issues starting without that battery in place.
    I'm really confused. Why all of a sudden would my computer hate me like this?

    Hi, Daniel!
    You can use this Apple Document to test your QS power supply with a voltmeter, without having to remove it from the Mac. It references a different model, but the only difference is that the voltage at pin 22 is 25 volts on a QuickSilver PSU rather than the 28 volts shown for the Gigabit Ethernet Mac. The procedural steps are the same...
    Does the Mac restart properly with the battery removed from the logic board? Does the battery test out okay, or can you swap it with another one?
    Gary

  • 15" i7 Macbook Pro from early 2011.takes the mac laptop two or three tries to boot successfully. It would turn on, show gray screen, shut down, turn on again, show gray screen, shutdown, and then turn on, show gray screen, before it can finally get

    Hello All,
    I have a 15" i7 Macbook Pro from early 2011. The past few weeks, it has been getting increasingly difficult to get on my computer. It takes the mac laptop two or three tries to boot successfully. It would turn on, show gray screen, shut down, turn on again, show gray screen, shutdown, and then turn on, show gray screen, before it can finally get to the dark gray log-in screen. Even when I finally get logged in to start working, thinking it would be okay now, it shuts down randomly.
    I've ruled out the possibility of a software problem because I've just done a clean re-install of Mac OS X Mavericks on my computer just yesterday.
    I did upgrade the RAM recently, about a month and a half ago, from 4GB to 16GB, I went to the apple store four days after that upgrade to have them do a hardware test, and clean the inside of my laptop, which helped with previous heat issues. When they did the hardware test, the hardware was all registered as fine from their system.
    I've tried resetting the SMC, PRAM, and doing the internet recovery hardware test, but to no avail. I thought I could at least find out what parts needed to be replaced from the hardware test but it seems that when the hardware test is almost finished, the computer just shuts down, So I am unable to see the results.
    My computer is also having battery issues, under battery condition, it says "replace now," parts have been ordered, waiting for arrival. But if the battery health is low, it should still boot up fine, it would just hold a significantly less charge.
    Could this be a hard drive issue?
    Has anyone had similar symptoms and how was it resolved?
    Does anyone know what I can do to alleviate this issue?
    I haven't had time to take it to Apple because I'm currently taking a 21 credit semester academically. I'm an art and design student so my computer is basically the bane of my existence. Help! Any constructive advice is welcomed!
    Thank you so much for your input!
    -Christina C.

    Problem description:
    The Hard Disk is failing.
    EtreCheck version: 2.0.11 (98)
    Report generated November 4, 2014 at 7:59:28 AM EST
    Hardware Information: ℹ️
      MacBook Pro (15-inch, Early 2011) (Verified)
      MacBook Pro - model: MacBookPro8,2
      1 2.2 GHz Intel Core i7 CPU: 4-core
      16 GB RAM Upgradeable
      BANK 0/DIMM0
      8 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      8 GB DDR3 1600 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 3000 - VRAM: 512 MB
      Color LCD 1440 x 900
      AMD Radeon HD 6750M - VRAM: 1024 MB
    System Software: ℹ️
      OS X 10.9.5 (13F34) - Uptime: 0:3:43
    Disk Information: ℹ️
      TOSHIBA MK7559GSXF disk0 : (750.16 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      HDV4 (disk0s2) /  [Startup]: 749.30 GB (712.10 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Library/Application Support/Avast/components/fileshield/unsigned
      [loaded] com.avast.AvastFileShield (2.1.0 - SDK 10.9) Support
      /Library/Application Support/Avast/components/proxy/unsigned
      [loaded] com.avast.PacketForwarder (1.4 - SDK 10.9) Support
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [loaded] com.avast.userinit.plist Support
    Launch Daemons: ℹ️
      [invalid?] com.adobe.SwitchBoard.plist Support
      [loaded] com.avast.init.plist Support
      [loaded] com.avast.uninstall.plist Support
      [loaded] com.avast.update.plist Support
      [invalid?] com.perion.searchprotectd.plist Support
    User Launch Agents: ℹ️
      [invalid?] com.avast.home.userinit.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [invalid?] com.jdibackup.ZipCloud.autostart.plist Support
    User Login Items: ℹ️
      None
    Internet Plug-ins: ℹ️
      AdobePDFViewer: Version: 10.1.1 Support
      QuickTime Plugin: Version: 7.7.3
      JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
      Default Browser: Version: 537 - SDK 10.9
    User Internet Plug-ins: ℹ️
      TroviNPAPIPlugin: Version: 1.0 - SDK 10.9 Support
      Google Earth Web Plug-in: Version: Unknown
    Safari Extensions: ℹ️
      Avast Online Security
      Trovi Search for Safari
    3rd Party Preference Panes: ℹ️
      None
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          16% mds
          7% WindowServer
          1% loginwindow
          1% fontd
          1% com.avast.daemon
    Top Processes by Memory: ℹ️
      120 MB com.avast.daemon
      86 MB Google Chrome
      52 MB Finder
      52 MB WindowServer
      41 MB Google Chrome Helper
    Virtual Memory Information: ℹ️
      13.45 GB Free RAM
      1.34 GB Active RAM
      944 MB Inactive RAM
      1.43 GB Wired RAM
      1.11 GB Page-ins
      0 B Page-outs

  • Macbook problems, hard drive crash, random shutdown, freezes

    I bought my macbook used a few months ago, and it worked flawlessly until about 3 weeks ago. The system started freezing and not booting (getting folder icon instead of apple at startup). I ran drive setup and tried to repair the drive, but this did not fix the problem. DiskWarrior also could not fix it. I pulled the drive and installed a new hard drive, as I wanted a larger capacity anyways. All my problems appeared fixed for about two weeks, then similar problems began occurring. I backed up all the files I needed to an external firewire drive and attempted to reformat the new internal drive. Drive Setup says it can not reformat the drive - can't mount it and if it does, the drive disappears while in the process of formatting. I pulled the new drive and am having it replaced under warranty. I am using the firewire drive to run my computer, and this seemed to work fine for a day or two until the computer just started shutting down with no warning. Everything goes black, including the little light on the front of the computer. I have to hold down the power button for 10 seconds before it lets me start the computer back up. I had read this may be a memory issue, so I ran memtest and it says the memory is fine (I need to do it in single user mode still, however). I also tried pulling both sticks of ram. They are both 1GB crucial memory. I put each stick in by itself and tried it in both slots and was able to reproduce the shutdown issue with any ram configuration of either stick.
    After all this, I realized the firewire drive was only running 10.5, so I updated all the software through software update, and it is now running 10.5.2. It seems to be working better as I have not experienced a random shutdown yet, but I'm anticipating it may start back up soon. Today, however I experienced a different problem - the screen froze on me and the only way to get anything to happen was to force a shutdown with them power button. It's restarted and seems to be working fine again for now.
    I've run some logs and here's some things I've found:
    When the latest freeze happened, I got this repeated over 100 times:
    Apr 29 11:04:31 jon-turners-macbook quicklookd[536]: CGContextClosePath: no current point.
    I've also seen this:
    Apr 29 11:18:19 jon-turners-macbook kernel[0]: Previous Shutdown Cause: 3
    Apr 29 11:18:19 jon-turners-macbook kernel[0]: GFX0: family specific matching fails
    Apr 25 19:19:50 localhost kernel[0]: hi mem tramps at 0xffe00000
    Should there be anything else I can check? I would run Apple Hardware Utilities, but I don't have the original disks, just the Leopard installer. I have Disk Warrior, but it seems strange this would happen with multiple systems and drives. I'd like to get Techtool Pro, but haven't had the money/time to order it yet.

    Thanks for the replies!
    Yeah, I think it's the HDD. I was just worried that the RAM was bad and corrupted the HDD or something, but given the symptoms I think you guys are right. Ordered a 7200RPM 320GB HDD off Amazon Prime...will be here tomorrow
    I'll post how it goes after I finish installing it. I'm backing up as I type.
    I wonder if I can fix the ir port and the sleep indicator light when I install the hard-drive. The sleep indicator light never turns off. It stays on as long as my computer is on, only turns off when I shut it down.

  • T500 performanc​e loss and restart issue after low battery shutdown

    Hi,
    Some days ago I experienced a significant loss in performance of my T500. Unfortunately it seems to be a continuous loss and the games I play, e.g. empire total war that did run ok before are nearly unplayable at the moment.
    Additionally, when the computer shuts down due to low battery, it no longer manages to resume windows but always crashs during reboot (black screen and hard disk symbol is moving, no other activity for 10 minutes)
    I am working with the standard vista installation and installed all automatic updates, but also every time when I shutdown the computer, no matter how long it has been running (even after 1 minute and after a rebooting 3 minutes ago), the red shutdown symbol in start shows that an update needs to be installed.
    any ideas?
    Many thanks in advance !
    Message Edited by Walky on 06-18-2009 09:39 PM
    Message Edited by Walky on 06-18-2009 09:41 PM

    Well, the problem, seem's to have reoccured: Battery ran out (even the indicator leds on the side didn't show any life), Time reset  to 1.1.2001, again some rebooting and setting the time again...
    Is this a sign of a degrading battery health status?
    It looks like reseting the SMC didn't help after all.

  • Remote system shutdown

    Hi,
    I'll try to be as short as possible. I need a bacth or command file to shut a system down located in my network. The batch file needs to be opened by another program called PowerChute Business Edition use by APC for UPS systems.
    I have the following. I can make a batch and command file that will log me onto the remote device and then shut down the device.
    net use \\computername /user:administrator password
    shutdown.exe -s -m \\computername -t 60When I just double click on the batchfile, it runs and the remote device opens a window saying that it will be shut down in 60 seconds.
    Only when my program opens the file, the action doesn't happen.
    I tried several other things
    NET SEND
    opening a program with CALL and START
    time /t >> c:\timelog.logAll these work, only the shutdown command doesn't work. I tried several other versions like
    shutdown -s -m \\computername -t 60
    shutdown /s /m \\computername /t 60
    shutdown.exe -s -m \\computername -t 60
    shutdown.exe /s /m \\computername /t 60...
    Now I contacted APC and in their last mail they said:
    The command files must conform to a certain syntax because of java. This also causes problems sometimes.
    Now I thought I'd might be using the wrong code because of Java,so I thought of asking it in a Java forum.
    Best regards
    Peter

    The program itself is a program for my UPS. When power is cut off, the UPS will switch to batteries. Now the software can execute a command file or batch file before shutting the connected computer down.
    So I want this cmd-file or bat-file to shut a remote computer down. This can be done by NET USE (to log on) and the by SHUTDOWN (to shut it down)
    If I want to see what happens when the program opens the batch files I go to work like this:
    I write 2 files:
    CallShutdown.bat
    @START "" "C:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\shutdown.bat
    shutdown.bat
    NET USE \\computername /user:username password
    SHUTDOWN.EXE -s -m \\computername -t 60
    NET SEND computername TESTNow I can see on my own computer a DOS window and that gives me the following information:
    c:\PROGRA~1\APC\POWERC~1\agent\>net use \\computername /user:Administrator password
    The task is completed
    c:\PROGRA~1\APC\POWERC~1\agent\>shutdown.exe -s -m \\computername -t 60
    Access denied
    c:\PROGRA~1\APC\POWERC~1\agent\>net send computername TEST
    The message was send to COMPUTERNAMEAnd on the remote computer I can see a Messenger-Service window with the message TEST in it coming from my computer.
    First of all the NET USE command works, but the shutdown command fails because the access was denied.
    HOWEVER, when I double click on CallShutdown.bat in Windows Explorer everything works just fine. Logon, shutdown and Net Send.
    So I don't know why that shutdown command gets an access denied when I let the program execute it, but when I just use the double click action :o) everything works.
    Because I got a message from the helpdesk saying something about syntax for JAVA, I thought I'd give it a go on this forum.
    Hope I've been clear in my explanation. Two files, one calling the other. Second one logs on and shuts down the remote computer.

  • Directive Bundle - Shutdown workstation no longer works

    Our network has been using a directive bundle to shutdown our pc's for over a year now and it had worked quite well up until a couple of weeks ago.
    At that point I added an additional requirement to keep it from shutting down a pc on our network, since then the pc's are no longer turning off as they had.
    The action is set to shutdown the pc's after 900 seconds(15 minutes) and gives the user the option to cancel. The bundle is associated to 4 different workstation groups. The schedule for each association is set to "recurring" and has both the Distribution Schedule and the Launch Schedule set for 6:45pm M,T,W,T,F.
    I originally tried to edit the bundle back to its original state by removing the requirement I had added, they still didn't shut down.
    Then I rebooted the ZEN server(10.1.1) in case a service or something had been stopped or affected.
    The bundle appears on all the clients under the "assigned bundles" in the agent and shows it is available and effective.
    Yet the pc's still do not power off... any ideas?

    szartman,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Windows 8.1 Random Slow Startups, "Improper Shutdowns"

    Is this the right subforum? I almost chose frezes/hangs but that's not exactly what it is so...
    Please note that this is a copy/paste from another forum where I sought help. Today is another day from the one referenced in the indented text below. In fact, my system had a clean and safe boot with no speed issues or stalling tonight. The issue is not consistent. Though I was seeking help at another forum, I grew uncomfortable with the steps asked of me (deleting caches and temp files that I'd rather keep and using a third-party defragger; getting standoffish when I requested explanation for why I was being asked to run three or more "cleaner" programs and if defragging was honestly necessary on a mostly-new machine that just got a clean bill of health from HP) and was brushed aside with something of an attitude. Here's the original info on the issue:
    Alright, so, yesterday I noticed that it seemed to take a little longer than usual to start up my laptop (HP Pavilion 17-7042nr with Windows 8.1 64-bit; I've only had it a short amount of time and it was purchased refurbished). I didn't think too much of it, however, since I was starting it at the same time as my seven-year-old Vista machine so by comparison it was still way faster (20+ seconds vs. the old one's 2 minutes). After that, didn't think anything of it...
    Today, however, I started it up on its own and it took far too long compared to how it used to behave. I've noticed this a few times in the past, but always figured Windows was adjusting itself after I'd installed stuff etc. But since there was no need for it to do that this time, I got suspicious and started looking in the event viewer. To my shock, it claimed that the last shutdown was improper and that's why it took forever; it was actually rebooting.
    Trouble is, as far as I knew, no it most certainly did not shut down improperly. I turned it off using the power button, which is set from the power plan to perform a shut down. It did the normal thing: processed the shut down, turned off the screen, and shortly after turned off all system lights except of course the one to indicate that it was plugged in. All seemed well, and was not slower than usual or anything of that sort. So I have no clue why or how it's shutting down improperly.
    But not only that, I tracked it back and several times, as far back as the 19th of February (as well as a couple of times while it was in HP's custody for unrelated maintenance; they apparently did not notice it, either, as it was given a clean bill of health before return) this has been occurring. I've transferred a ton of files, settings, programs, etc. since then so I really didn't want to do a Restore. I did, however, consider it... only to discover that my previous Restore Points before the system was returned by HP have been destroyed. So no chance of going back before the 19th, even if I wanted to (I don't, frankly).
    I have no clue what's going on, but here's the events from the first ever time it happened:
    the logoff/power down is listed as:
    Information    2/19/2015 5:09:11 AM    Kernel-Power    109    (103)
               --  "The kernel power manager has initiated a shutdown transition."
    Information    2/19/2015 5:09:37 AM    Winlogon    7002    (1102)
              -- "User Logoff Notification for Customer Experience Improvement Program"
    after that the next relevant things which involve the boot up:
    Information    2/19/2015 4:42:36 PM    Kernel-Boot    20    None
              -- "The last shutdown's sucess status was true. The last boot's success status was true."
    Error    2/19/2015 4:42:36 PM    Kernel-Boot    29    None
             -- "Windows failed fast startup with error status 0xC00000D4"
    Critical    2/19/2015 4:42:45 PM    Kernel-Power    41    (63)
               --"The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly."
    Error    2/19/2015 4:43:14 PM    EventLog    6008    None
             -- "The previous system shutdown at 4:59:42 AM on 2/19/2015 was unexpected."
    Information    2/19/2015 4:43:21 PM    Service Control Manager    7026    None
              --"The following boot-start or system-start driver(s) did not load: dam"
    Those were from the 19 of February, the first time it seems to have happened. The most recent (today) incident is very similar, but not entirely identical.
    The shutdown was:
    Information    3/17/2015 5:12:16 AM    Kernel-Power    109    (103)
             -- "The kernel power manager has initiated a shutdown transition."
    Upon boot the seemingly relevant bits are:
    Information    3/17/2015 4:47:55 PM    Kernel-Boot    20    None
            --"THe last shutdown's success status was true. The last boot's success status was true."
    Error    3/17/2015 4:47:55 PM    Kernel-Boot    29    None
              --"Windows failed fast startup with error status 0xC00000D4."
    Information    3/17/2015 4:47:55 PM    Kernel-General    12    None
                --"The operating system started at system time 2015-03-17T21:47:45.491075600Z." (( What even is up with that time??? ))
    Critical    3/17/2015 4:48:01 PM    Kernel-Power    41    (63)
               --"The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly."
    Error    3/17/2015 4:48:24 PM    EventLog    6008    None
              --"THe previous system shutdown at 5:12:03 AM on 3/17/2015 was unexpected."
    I tried googling, to no avail, other than a suggestion that it might be caused by some sort of system file issue. So I ran "sfc /scannow" in an admin-level command prompt and when it was finished it said: "Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not supported in offline servicing scenarios."
    I tracked down the log file and it's rather huge but toward the end I found that "Amd64\CNBJ2530.DPB" was corrupted. Naturally, I investigated... But according to the thread I found it's some kind of printer-related thing, and I've never even connected a printer to this system, much less a Canon brand one as the info I found suggested. In fact, the thread I linked claims that it shouldn't cause any huge issues, so... Probably not the cause of my shutdown issues, which are more pressing. Thus, I can't find anything to indicate what's causing this problem.
    The only thing I can think of that I had done around the 19th was I was trying to get rid of Beats Audio crap on my laptop. (Don't even get me started on that hot mess!) So I'd been swapping between the Windows default audio drivers and versions of the Realtek High Definition Audio from both HP and Realtek. But I never had a corrupt install and I don't recall installing one over the other without uninstalling first, so I don't know if that's an issue. Somehow, I doubt it, especially since this issue isn't consistent. Then again, I don't consistently use the audio on my computer so who knows. (UPDATE: Used audio extensively, but it managed a clean shutdown after.)
    After all lights are off and the system is shut down, unless I've been using it on battery and it needs a charge, I unplug it to conserve energy. I only ever do this if the battery has a full charge, so I don't think that should be an issue even though hybrid shutdown/fast boot is some kind of hibernation-shutdown combination. I'd prefer to keep fast start/hybrid boot enabled because, well, it's convenient... and I'm extremely hesitant to tamper with the UEFI settings etc. But, of course, if that's the only fix then I'd prefer it to possible hard drive damage caused by the supposed/apparent improper shut down.
    Also of note: nothing is overclocked or running outside specifications, as far as I know. My system stats are:
    Windows 8.1 64-bit
    AMD A10-5745M APU
    AMD Radeon HD 8610G
    UEFI BIOS Mode
    Secure Boot Enabled
    Any help would be greatly appreciated!
    Now, for extra details. Things that were done during the process included looking for unnecessary startup items (not the real issue to be honest; when it doesn't forcibly reboot due to "improper shutdown" the startup is extremely speedy) and looking at some logs. In particular, here's the speccy log created for my system: http://speccy.piriform.com/results/vIEkYCelmSRyJjuJyye2jgD
    I also had to run several "cleaner" tools, which included installing CCleaner, though I chose some files I wished to keep / thought may be important to not just delete willy-nilly. I don't like to randomly delete things that could come back and bite me in the rear, after all. And I'm honestly confused how any of that would related to Windows having inconsistent and seemingly random "improper shutdown" issues which cause it to reboot instead of using fast boot. (I'm not saying it's impossible, I'm saying that I don't logically see how it'd make a difference and when I attempted to ask I was brushed aside.)
    Like I said, by all appearances it seems to shut down properly. It has also never crashed on me. Nor has it ever blue screened or randomly rebooted.  This is very much a silent, behind-the-scenes issue.

    Hi @Alley_Kitten , 
    Thank you for visiting the HP Support Forums and Welcome. I have looked into your issue about your HP Pavilion 17 f042nr Notebook and issues with performance issues or improper shutdowns. 
    I checked the specs of your system and with what you have posted here you have the incorrect Amd driver installed.  Your's as per your product page is a AMD Radeon HD 8610G . I would go to the device manager and remove all graphic driver, check the box for the driver as well.
    Here is a document on recovery options that are available. I do use the refresh your pc method with Windows 8. Please read all the documentation before starting the operation.
    Hope this helps you out.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

Maybe you are looking for