What's the best way to stop motion if Windows crashes?

I am using Visual Basic 6.0 to program some motion moves. I am trying to figure out the best way to stop all motion and turn off all I/Os in the event Windows crashes or stops responding. I have the following:
NI PCI-7344
NI UMI-7764
Windows 2000
Visual Basic 6.0

We implemented an interlock solution using two digital lines from the PCI-7344-UMI-7764 to an Opto22 G4PB4, 4 place SSR backplane, with Brentek G4 NO and G4 NC dry contact modules wired in series to supply +24V to a larger relay contactor's coil. Also in series with the relay contactor's coil were a machine guard and machine e-stop switch.
The Relay contactor supplies 120VAC power to the servo drives and other devices on the machine.
The LabVIEW application software has to turn one bit on and the other bit off in order to power the relay contactor's coil.
We found that if the PC power is off or the PC looses power, then the contactor will drop out and kill 120VAC power to the drives.
However, if the LabVIEW application or the PC hangs then the 7344's digital
lines remain in the state that they were set before the PC hung.
To totally failsafe this also required a watchdog timer relay where the LabVIEW application has to keep
resetting the watchdog relay with a heartbeat pulse.
If the LabVIEW application fails to turn on it's heartbeat pulse then the watchdog timer relay will also
kill power to the drives.
There are probably better -simpler solutions to be applied but this worked for us.

Similar Messages

  • I've had it with Motion 5.  What's the best way to reinstall Motion 4?

    Not exactly sure why I paid £30 for Motion 5 when it's basically a downgrade from 4.  It crashes all the time especially when I open the font list and also when I go to export a movie.  Doesn't remember the right fonts for saved projects!  Won't let you create your own custom layout.  Vector images keep being cropped in a project I'm doing at the moment even though I've unchecked the fixed resolution box and they are all in 3D layers?
    So, what is the best way of reinstalling Motion 4?
    Thanks

    You should never have uninstalled Motion 4.  They'll both live on the same system.  In fact, Motion 5's install puts all of your Final Cut Studio apps into a folder called "Final Cut Studio", it doesn't delete or overwrite it.
    If you're having those problems, there's issues with your system, not Motion.  Run Disk Utility and Repair all disks.  May need to run Disk Warrior and rebuild the directories of all of your disks.
    Verify your graphics card supports Motion 5, you have plenty of RAM, and your drives are fast enough.

  • What is the best way to stop the depreciation of an asset

    I had tried ticking the asset shutdown field, but it didn't works. I change the depreciation key , e.g. 0000-zero depreciation, it works, however i do not know what is the implication of doing this.
    What is the best option to stop depreciation of an asset?
    Thanks.
    Best Regards,
    Roberto Sayo

    Hi,
    No depreciation for a period of time
    If you have an asset which would not be used for production purposes for next six months as the plant is being closed.
    Therefore you don't want to retire the asset and neither do you want depreciation to be carried out during these six months period.
    Once the plant is opened, from then on, you want to execute the depreciation run.
    You can utilize the Asset Shutdown feature on the Time-dependent tab of the asset master record.
    Select the Asset Shutdown checkbox - create a time interval - Save.
    If you cannot find the checkbox, it could be hidden :-
    In AS02 click Environment -> Screen Layout -> Master data
    Select the Screen Layout and click Logical Field groups
    Select 3 - Time-dependent and click Field group rules
    Tick Opt, Mnno and Sbno - Save
    Optionally,
    you can set the Depreciation key in the Deprecation Area Tab.
    You can also change the depreciation key to '0000' (No depreciation and no interest) for each of your depreciation books. Just make sure you have run depreciation up through the current month before doing so. When you are ready to put the asset back into service, reset the keys to their original values. The system will calculate no depreciation during the months where you have the key set to '0000'.

  • What is the best way to stop parallel loops at the same time, from any loop?

    If there is a vi with two or more parallel while loops, what would be a good method to simultaneously stop parallel loop execution, from any of the parallel loops? My intent was to try and do this without local variables, so I used notifiers. This seems like an ok method for two loops, but how about for n loops?
    In addition, my code has a flaw. I use an OR block to compare the stop status of each of the loops. This works fine most of the time, but if both loops are triggered to stop at the same time,the boolean result will be false, causing the loops to never stop. How can this be avoided?
    Thanks,
    Curt
    Attachments:
    parallel_loop_w-stop.vi ‏54 KB

    I think you have the right idea, notifiers are one of the better ways to stop parallel loops. You can simplify things by using 1 notifier for everything. I modified your VI to use 1 notifier, it will set the notifier to True ONLY if the loop is stopping, then it stops. The other loop will read the notifier status, and stop based on it the next time it executes.
    I also changed the second loop to stop and notify if it has an error (that is usually a good idea, especally if you have I/O or other things that can cause problems)
    I also changed the switch mechanical action, that will eliminate the problems for your second question.
    The VI's attached are written in Labview 7.0
    P.S. If you have 7.1, the Queues are polymorphic, meaning that the typecast operat
    ions are NOT needed!
    Attachments:
    parallel_loop_w-stop7_0.vi ‏45 KB

  • What's the best way to move library in Windows to a new computer?

    I have iTunes running fine on my Vista machine at home. I've gotten Win7 in, and I'm going to be moving to a new computer I have which I'm upgrading from XP to 7 with (it's got more horsepower than my Vista machine).
    Anyway, to that, I want to move all my stuff from my current Vista machine to the 7 machine, ioncluding iTunes. What's the easiest way to do this - and maintain all my stuff, like ratings, number of times played, playlists, etc...
    I've read some helps, and none of them seem concerned about keeping number of times played, and all that. You can't just up and move the files, as the directory path will be different, so the itunes data file won't see them if you copy that, too.
    Suggestions?

    The first thing to do is to ensure that your music is all together in the iTunes music folder. If you have tracks else where you need to consolidate your library.
    Then install iTunes on the new PC but don't add any music.
    With iTunes closed, drag the iTunes folder out of Music on the new PC to the desktop.
    Then with iTunes closed on both PCs you need to copy The iTunes folder from the old PC to the Music fodler on the new PC so that it replaces the one you dragged out.
    It doesn't really matter how you achieve the copying - network or via an external drive.
    The last thing you need to do is to check the permissions on the iTunes folder you copied to the new PC, your account needs full control.
    Vista file folder permissions help
    http://windowshelp.microsoft.com/Windows/en-US/Help/2464a180-e5dc-45d1-a2b8-3c8a 2b571e9d1033.mspx
    http://www.mydigitallife.info/2007/05/25/how-to-take-ownership-and-grant-permiss ions-in-windows-vista/
    for interest here is a description of how to transfer using an iPod to do the transfer:
    http://support.apple.com/kb/HT1329?viewlocale=en_US

  • What is the best way to transfer files from Windows XP to a new MacBook Pro?

    I am about to make the switch from PC to Mac, but I am not completely sure how I should transfer all of my old files (Word docs, PowerPoints, Excel Sheets, pictures, etc.) over to the new Mac. I read this article, http://support.apple.com/kb/HT4796, and it said to download Windows Migration Assistant. It says that a new user account will be created on the Mac containing all of the transferred material. I assume that I can just pull stuff from the newly created account and put it on the main or administrative account? Also, I assume that I can delete the created account after I get everything that I want off of it, but I am new to the whole Mac thing and assuming never gets anyone anywhere. One more thing, I do not want to transfer over my email accounts from Outlook because there is some kind of problem with the way they are set up. I want to just start them completely over in Mail. The article says that the program will automatically transfer over email accounts. Is there a way to avoid that or just transfer stuff manually? If anyone has transferred files this way before, I would really appreciate any insight you can give me. Thanks!

    Best way would be NOT to use any sort of migration program, just copy the files over and place them in the same Music, Pictures, Documents folders on the Mac like it is on Windows.
    All you need a external USB drive you can pick up at any office or computer store, I would advise powered and either the same size or larger (not too big) than your boot drive on the Mac. So later you can make a clone of OS X, as there is NO system restore on a Mac.
    Most drives are formatted MBR with a FAT32 (named "MSDOS" in Apple's Disk Utility) and can be read on a Mac just as easily.
    If for some reason your external drive has been already formatted by Windows into NTFS format, then a Mac can't read it without paying for more software and having to hassle with updates, it not working etc. So format the external drive FAT (FAT32) or even exFAT on the PC first (exFAT needs a free download from Microsoft on XP machines)
    When you connect the drive, simply drag and drop your files right into the same folders, this way you can control what comes over and what stays.
    If you want a free program that can open your Office files without having to pay for OfficeMac, then the free LibreOffice is available and works great.
    https://discussions.apple.com/message/16276201#16276201

  • What's the best way to stop pop-ups, add-ons and annoying ads?

    i've tried a lot of things to get rid of all these annoying ads and pop-ups and nothing is 100% working. could anyone please help me out with this on chrome or safari?

    You may have installed one of the common types of ad-injection malware. Follow the instructions on this Apple Support page to remove it.
    Back up all data before making any changes.
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those. If Safari crashes on launch, skip that step and come back to it after you've done everything else.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, ask for further instructions.
    Make sure you don't repeat the mistake that led you to install the malware. It may have come from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    Malware is also found on websites that traffic in pirated content such as video. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates
    if it's not already checked.

  • What is the best way to kill/stop a data load?

    Hi.
    What is the best way to kill/stop a data load?
    I have a data load from my QA R/3 system that is extracting 115.000.000+ records. The problem is that the selection in the function module used in the data source does not work, and the problem was not detected because of the nature of the data on the development system.
    I could kill processes owned by my background user (on both R/3 and BW) but I risk killing other loads, and sometimes the job seems to restart if I just try to kill processes. If I remove transactional RFCs in SM58 the load does not terminate; I only skip one or more datapackages. I have also tried to change the QM-status in the monitor to red, but that does not stop the load either...
    So isn't there a nice fool-proof way of stopping a dataload?
    Best regards,
    Christian Frier

    Hi,
    There r 2 ways to kill the job.
    One is using transation RSMO locate the job and display the status tab double click on the yellow light that is shown on the line total, a pop will come 'set overall status ' is displayed select the desired status that is red and save it. Then return to the monitor page and select the header tab double ckick on the data target right click and then goto 'manage',there should be request sitting there probably with yellow lights , highlight the line with the faulty request click the delete button then click refresh button.
    Second is goto SM37 and click on the active selection and enter the jobname and then click excute the particulr job should appear highlight the jobname then click on the stop iconthat appears on the taskbar( 3 rd from left)
    hope it is clear.
    Regards-
    Siddhu

  • What's the best way to cleanly stop Goldengate?

    For routine maintenance/upgrades what's the best way to cleanly stop GoldenGate? I don't want to wait endlessly. I use this currently and seen no issues :-
    stop er *!
    kill er *!
    stop manager!
    Thanks,
    Shankar

    shiyer wrote:
    For routine maintenance/upgrades what's the best way to cleanly stop GoldenGate? I don't want to wait endlessly. I use this currently and seen no issues :-
    stop er *!
    kill er *!
    stop manager!
    For routine maintenance/upgrades, just {noformat} "stop er *" {noformat} should be preferred; and when all processes are stopped, mgr can (optionally) be stopped. If you really are waiting endlessly for this to return, the real question is "why": then, perhaps there are other parameters that can be adjusted to make GG stop more quickly. (On the other hand, {noformat} "stop mgr!" {noformat} is harmless, the "!" simply prevents it from asking "are you sure?" before stopping the process.)
    I really wouldn't use "kill" unless you really have a good reason to (and the reason itself requiring the process to be killed should be analyzed & resolved). To "kill" a process shouldn't cause data loss (GG always maintains checkpoints to prevent this) -- but still it seems unnecessary, unless there really is something that should be killed. (Aside: I mean, I can kill -9 / "force quit" my browser and/or 'halt' my laptop every time as well, and it would probably be "faster" to -- but it can cause issues (and wasted time) upon restart: i.e., fsck, recover sessions, whatever. Same basic idea, imo.)
    There's a reason there are different commands to 'stop' processes (stop vs. stop! vs. kill). Just for example, "stop replicat !" causes current transactions to be rolled back; there typically is no reason for this, you'll just restart that txn when the process is restarted; might as well let the current one finish. And "kill extract" (I believe) will not warn about potentially "long running transactions" that can cause (painful) issues at startup (missing old archive logs, etc). There are probably other examples, as well.
    So if this really is "routine", then "stop", don't "stop!" or "kill". If there are long delays, see why first & see if they can be addressed independently. (This really is just a stock answer for a generic question, it would be irresponsible for me to answer otherwise :-) )

  • What is the best way to protect it?

    I HATE getting scratches or any sort of cosmetical damage on my devices, I am getting my first MBP on Friday, and want to know what the best way to keep it like new is?
    It won't be leaving the house regularly for a while, but I do have a neoprene case which I think it will fit for travelling anyway.
    I have seen many people with cases on their Macs, I don't know what the proper name is for them, but they are like hard shells attached to the back of the lid, are these recommended? I have read about some heat issues with it.
    What is the best way to protect the screen? I don't ever touch it, so I don't think that will be a problem, but cleaning dust off etc.?
    Lastly, will the trackpad wear away? My laptop's trackpad has slightly faded from it being used a lot, are MBP's prone to this too? I will try to use a mouse as much as possible.
    Are there any other things I should know about? I read that the bottom can get scratched easily too? I would only use it on a flat surface, so something like my lap, so depending on how soft the metal is... It can't be that bad can it?
    Thanks!

    Wouldnt buy that, nope
    Hard cases protect the finish of your macbook, but they trap in heat, ....many here have spoken on same.
    A major part of a macbook pro, especially a RETINA PRO is dissipating heat from the alloy case, which this case prevents from happening.
    Yes, youre stopping all the scratch,.....and likewise keeping the Macbook from dissipating a lot of heat.
    When I said INCASE, I meant this:
    http://www.amazon.com/Incase-CL57482-Nylon-Sleeve-13-Inch/dp/B0043NTOKC/ref=sr_1 _1?ie=UTF8&qid=1382551803&sr=8-1&keywords=incase+carry

  • What's the best way to back up to the cloud?

    I am going to be traveling in the on a boat in Europe. Access to wifi could be limited and slow. I want to back up my photos and catalog to the cloud as there is potental to lose laptop and external drive. Since I have a 25 mp camera and will be shooting in Raw allot, there will be some big files as each photo could be around 27 gb.
    All of my files will be in the My pictures folder LR set up when I set up my new catalog. I planned to back up these folders to the cloud, then send just the new folders each time I add them to LR during import. Then I was going to have the catalog BK that is created each time you close LR  (just the data only is in this file) sent to the cloud as well.
    Then if my laptop is lost I can copy the back up catalog (just the data file) and the My Pictures file that has all my photos in folders to a new laptop and restore my catalog. I'm told by Adobe help that this won't work as the connection between the photos and the catalog back up will be lost.
    Is this correct? And if so, what's a better method.

    Thanks Jim, and yes I meant 27 mb.  Will be living on a sail boat so there is potential to lose both the laptop and external drive. The cloud was to be my 3rd copy
    Date: Fri, 20 Dec 2013 16:53:44 -0800
    From: [email protected]
    To: [email protected]
    Subject: What's the best way to back up to the cloud?
        Re: What's the best way to back up to the cloud?
        created by JimHess in Photoshop Lightroom - View the full discussion
    You really have images that are 27 GB each? I suspect you meant 27 MB. But, even then, I think cloud backup might be cumbersome. I would suggest carrying a small external hard drive. I have a 1 TB USB 3 drive that is really fast and very small. No external power supply. Plug it in, and copy the files. That's what I would do.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5948781#5948781
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5948781#5948781
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5948781#5948781. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Photoshop Lightroom at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • My old computer is dying and I want to transfer my account to my new computer.  I will not be using the old computer at all.  What is the best way do do this?

    I want to stop using my old computer completely and transfer my itunes account to my new computer.  What is the best way to do this?

    A simple search

  • What is the best way to stack DAQ aquired data in labview?

    I'm developing an application to work with an M-series daq card and labview 8.5 to output a signal and then record on 8 differential inputs for a short period of time (~10 ms). I need to stack my data, however, because the incoming signal will be very, very small, even after amplification. So basically i'm running a slightly modified version of the multifunction Synch AI-AO.vi (included with the install of daqmx). What is the best way for me to rerun this vi a set number of times and add new data directly to the old data (not cat-ing or anything, like |sample 1 of run 1| + |sample 1 of run 2| = stacked stample 1).
    A slightly modified version of the mutlifunction synch AI-AO.vi is attached.
    Attachments:
    des_v2_Multi-Function-Synch AI-AO.vi ‏143 KB

    Hi LSU,
    see attachment on how to "stack" several measurements. I simply add the waveforms and use a shift register to keep the last iterations value.
    Writing to files in each iteration is extremly CPU consuming - especially with express vis. Using for loops for just one iteration is "senseless". You could enable the conditional terminal of the for loop to realize your stop feature.
    For your message 4:
    Have you ever tried all the things you asked for? Sometimes it's easiest to just try&error
    And for the "n=n+x" question: It really helps to take the free online courses offered by NI!
    Message Edited by GerdW on 11-11-2009 06:27 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    des_v2_Multi-Function-Synch AI-AO.vi ‏128 KB

  • What is the best way to back up my MacBook Pro (OSX 10.9.5) before taking it in for service?

    What is the best way to back up my MacBook Pro (OSX 10.9.5) before taking it in for service?

    While I have nothing against Time Machine (and I do use it on some of my systems), I always make a bootable clone before taking a Mac in for service (2 actually), and I verify that clone boots before I let the Mac leave.
    SuperDuper is free for a full clone (you only pay for incremental features).
    <http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html>
    Carbon Copy Cloner provides a 1 month fully enabled demo mode before you have to buy the product or stop using it.
    <https://www.bombich.com/>

  • What si the best way to export Final Cut Pro X movies to YouTube?

    Hi
    The Share > YouTube tool is proving to be very unrelaible. Often the Share Loader comes back with the "Your password has been rejected" message when I know that the password is correct. It seems to work fine for 50% of the time but it's really frustrating.
    My videos are quite large (given that they are all under two minutes they have been shot in HD and are often over 1Gb - too big for YouTube).
    What is the best way of getting my movies down in size and then uploaded to YouTube?
    Thanks
    Stephen

    Thanks for the advice guys. I'm just rather reluctant to spend more money when FCP is meant to be good at this kind of thing. It's frsutrating thet the YouTube option doesn't work, but it clearly doesn't.
    I think I just need to stop being a scrooge and to buy compressor!
    Cheers
    Stephen

Maybe you are looking for

  • Need help with Java, have a few questions about my Applet

    Purpose of the program: To create a mortgage calculator that will allow the user to input the loan principal then select 1 of 3 choices from a combo-box (7 years @ 5.35%, 15 years @ 5.50%, 30 years @ 5.75%). Problem: My program was working properly (

  • Several XML-levels (idoc) to one XML-level

    Hi. I've to create a message mapping for an order-Response (ORDERS05) Idoc to a customer-xml. Everything works fine instead of one problem. There are several XML-levels on the idoc-side which should be mapped to one-level xml on the customer-side. ..

  • What privs r required to run Alter table truncate partition update indexes?

    I rebuilt the indexes on the table. Know my problem is that when I truncate a partition on the table the unique index whic consist of the primary key fields becomes unusable which causes my to have to rebuild it after each truncate. I tried to runm t

  • If dev done in unittesting box instead of sandbox.

    what r the consequencesif developemt is done in unittesting box instead of sandbox.(if changes done in existing Z FM ) and how this shall be rectified? new pgm saved as local object should be ok.can be deleted and started from sandbox. but if changes

  • Unable to call conference on Android after installing WebEx

    Hi, I'm using the WebEx android app on my Samsung Galaxy Note 2 (N7100). After installing the WebEx app, on the call screen, I see a WebEx button instead of the "Add call" button. I can still add a second call using the "overflow" menu. But after add