What's the best way to give a user the option of stopping a vi or rerunning it? I wrote something that works but I imagine it's not the best way to do it.
I have a VI that runs a stepper motor then stops. I wanted the operator to have the option of rerunning the VI or stopping it completely. To do this I added a while loop around the entire VI.I have an example VI showing how I accomplished this, but I'm sure there's a more efficient approach. Any suggestions?
Thank you.
Solved!
Go to Solution.
Attachments:
EX 1.vi 13 KB
There is almost never a good reason to use the Stop Sign Abort Execution function.
Your while loop is fine. What you really want to do is make a state machine that has at least 2 states. 1. Running the test. 2. Idle, waiting for the user to hit a run button again, or hitting an End program button.
Similar Messages
-
In Numbers, I copied a worksheet and deleted the contents. The sheet I copied has a header. I can't see it or bring it up when I'm working but it appears when I print the sheet. How do I delete the header?
Hi Cristina,
Headers are not shown in normal view.
Menu > File > Print to open Print View.
Hover the cursor over the Header to see the outline. Click and delete.
Regards,
Ian. -
Having resent my iPad using the Settings route, the Apple logo appeared onscreen and a line below it filled from left to right. When full, the device did nothing. I was able to switch it off and back on, only to see the same Apple logo and filled line. Even pressing the ON botton for a few seconds did nothing. The device is now inert, and I cannot access it. Please help!!!
Reset iPad and continue with Restore.
Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
Note: Data will not be affected. -
What external drives work well with a late 2011 MacBook Pro (I7, Lion OS) apart from my Kingston flash and USB drive, and the SD drives that I use in my cameras and recording devices? I ask because I just found out the hard way that a Samsung EVO 840 does not. Also, should I avail myself of something that works with the Thunderbolt or Firewire connections? I'm looking to back up music and video files created and/or processed in Logic Pro and the Adobe Production Premium software suite (Premier Pro, After Effects, Audition, etc).
Hmm, not sure what problems you had installing this drive. The review here gives it good marks for Mac:
http://www.amazon.com/Samsung-Electronics-EVO-Series-2-5-Inch-MZ-7TE1T0BW/produc t-reviews/B00E3W16OU
There does seem to be a lot of prep to make it work:
"1. Preparation to install your new shiny SSD
1.a You will need a migration tool (I used the Sabrent kit USB 3.0 to Sata that was suggested in these review) see link http://www.amazon.com/gp/product/B00DQJME7Y/ref=oh_details_o03_s01_i01?ie=UTF8&p sc=1
1.b You will need to download a trim enabler (mid 2012 macbooks only support native trim with apple brand ssd's) I recommend going to cindori.org and downloading trim enabler version 3.xx. You can do this step before or after the OS migration
1.c You cannot use the Samsung SSD migration software *don't worry Mac has its own imaging/migration utility*"
Also in those reviews:
" Only down side when using this product in a Mac Mini is you will be required to download and install Trim Enabler so that your drive performs optimally on your Mac device. This is an Apple issue, not Samsung, but it is an extra step you will have to take after you install the hard drive, and any time you perform an OS upgrade." He rant's on.
Personally I only deal with OWC:
http://eshop.macsales.com/shop/SSD/OWC/
They are very knowledgable and if there's a problem they will gladly take back the item. (Never happened to me yet - 8 years and counting).
Just upgraded my 13" MBP 2011 to 120 GB for $79. Adobe CS 6 opens in 3 seconds! Awesome!
When I was in Chicago I had a pro photographer for a client. She wound up with 4 internal drives in her Pro, 4 external drives and an dual array locked in a steel vault in the basement. All from OWC. OK she was a bit paranoid. Great client though.
As far as value for price:
http://eshop.macsales.com/item/OWC/MES3FH7500G/
500 GB for $130.
However as far as reliability is concerned:
http://www.rockpapershotgun.com/2014/01/30/are-ssds-reliable/
http://www.extremetech.com/computing/173887-ssd-stress-testing-finds-intel-might -be-the-only-reliable-drive-manufacturer
So sudden power loss is an issue with SSDs.
Personally I'd go with a moderate sized SSD internally and a conventional external for backup. An array would be the most reliable. -
When I forward an email from my Mac Mail, the body of the email I just forwarded shows as an attachment in the recipients outlook. Is there a way to change this so my clients don't have to open an attachment to read something that I forwarded to them?
Open Terminal in Utilties and copy/paste
This will send the attachment embedded inline. (This works in Snow Leopard, but not sure about Lion. Do a test first. If it doesn't work, just google "send attachment embedded + Lion." You don't actually have to send the message to see how it will appear.)
defaults write com.apple.mail DisableInlineAttachmentViewing 0
To reverse the setting, change the 0 to a 1
However, whether this will work or not will depend on what the e-mail client on the receiver's end does with it. -
On my itouch 4th gen, I use imessage and message many people, but sometimes when i send a message the send bar on top will go almost all the way and stop. This will happen for some time and then work later. is there anything to avoid the freezing problem while it sends
See:
iOS: Troubleshooting Messages
However, I suspect it is just a tempery network problem beyond your control -
i just got a new apple tv but for some reason the remote only worked for about a min. and than it wount work at all. i tried to pair and unpair but nathing works but when i press a button the light on the apple tv turns off. what should i do?
Have you held the menu and left arrow together for 6 secs ? (I think you have from what you say).
Also try unpowering and restarting AppleTV.
AC -
I would like to install the newest version of Acrobat Adobe into 6 computers. I wonder what tha will cost, for a month and to buy it directly? On one computer we have version 9, and that one we would like to uppgrade to the latest version?
Hi Linafrick,
To install Acrobat 11 on to 6 computers you can purchase Volume License.
But since you want it for only a month you need to purchase Acrobat subscription.
A single subscription is good for 2 computers and the same Adobe ID cannot be used to buy multiple subscription copies of Acrobat.
You can however opt for Creative Cloud for Team license such that you can become the Admin and grant access to the 6 users who wish to install Acrobat on their machines.
Feel free to reach our customer service via chat to know more information: Creative Cloud membership support
Regards,
Rave -
Every time I open my email on my iPad, I'm asked to enter the password for my old address. I have deleted that account, but I'm still asked for the password. What to do?
You cannot change your Apple ID. You can get a new one if you want, but all of your Apps and media are linked to yoru old Apple ID. And no, Apple won't transfer your old ID purchases to yoru new ID.
-
My ipod gets like lock, everything appear with lines, I already restore like three times the ipod and still happens the same, what can I do? and on some app store they just told me that restore, but well I do and is the same! What can I do?? and is new, I buy it on march!
This is a image of the ipod already restore, and everytime looks like that!If restoring the iPod to factory defaults/new iPod dow not solve the problem you likely have a hardware problem. In that case either make an appointment at the Genius Bar of an Apple store or call AppleCare. If defective, Apple will replace your iPod at no cost.
-
When I try to buy something, I get an Apple-ID which is not the one I want to use, and I don't know how to get rid of it either, so that I can replace it with my ID in Mail, contacts etc. The ID I get without wanting it, I can't find anywhere. I have to delete it. How do I solve this problem, anyone?
My content was obtained through another ID, which popped up earlier. Now this one doesn't pop up, and my current ID doesn't pop up either, but another one. How do you find an ID which is not in the store, and not in Mail, contacts etc. either?
Or is it possible to write the ID yourself when you want to buy something, not only to have it popped up being unable to be changed? -
I had 10$ gift card that works only on US. I redeemed the gift card but back in the game i get buy stuff and it says "you cant buy in US store you must swich bla bla bla" i dont want ti swich because the 10 $ works only at the US store. Help please.
Hello SBentley22,
I can only imagine how upset I would be to discover that over $1000 in gift card funds seemed to be missing. I certain that I would not do well with the additional complications that you've described either. I apologize for you and your boyfriend having to cope with this situation. Certainly this was never our goal.
I was unable to locate the purchases or returns that you mention using the information you provided when you signed up for Best Buy Unboxed. I would very much like to look into this situation for you and do what I can to help, but I will need more information to begin. If you will please send me a private message that includes your full name, telephone number, and the Customer Service PIN from the receipt where the gift card was issued, I'll get started with my research.
Please know that I'm extremely grateful that you took the time to bring your situation to our attention. I look forward to hearing from you.
Sincerely,
John|Social Media Specialist | Best Buy® Corporate
Private Message -
My iMovie project staggers/skips over my transitions...I read that I need to optimize each clip. I did this individually and it worked but was time consuming. Is there a way to optimize all of my clips at once upon import?
When you import, the import screen should give you the option to optimize clips. Select Optimize - Full Size.
I think you can also right-click on the Event Name and it will let you optimize all clips in the Event, but I haven't tried it lately. -
I am new to Final Cut Express and don't understand why I am unable to drag transitions into Canvas? Something wrong in my setup? It's not the overlays they are "on" so can anyone advise me please, by the way the "L" doesn't appear in the bottom left hand corner either? and by the way how can I get rid of that irritating Blue badge saying "AutoFill your contact details" all mine are in "address book" already!
You can't drag a transition into the canvas. If you're dragginmg a transition from the effects tab you drag it between the edit point of two clips in the timeline.
Make sure show edit overlays is turned on in the Canvas view popup. -
I want to sync tasks in Outlook with my iPhone. I have tried Toodledo (not good) and Todo. Todo works, but it cuts off most of the text. I only get the beginning of my (long) lists. Any ideas how I can solve this problem? I starting to regret that I switched to iPhone...
Usually if you have some kind of hardware failure there is some beeping during POST or most motherboards now have LED indicators to produce and error message based on the type of failure
So if its bad memory, not place properly, mismatched, processor not inserted properly, mismatched voltage or voltage connector not present etc it beeps or generates the error id.
Power supplies can be tested for failure. There are some walk throughs for testing just them with a switch, paperclip or a jumper (I'd suggest not doing this if you are not familiar with the dangers of electricity).
Memory can be tested with memory diagnostics programs like Memtest+
Processors can overheat if the proper precautions have not been taken usually you will get a POST beep or error code for that.
If the motherboard has no response then do the basics first:
Check power connectors and power supply. Once you determine that is not the case move on to other items like graphics cards in all the way or memory.
Maybe you are looking for
-
Warranties and returned printers
I purchased an Officejet Pro 8500 wireless Aug 2009. By April 2010 the printer began to leave a dark line on scans as well as printed jobs if using the feeder. HP sent me a refurbished printer to replace that one and eventually it began to do the s
-
Thunderbolt not being seen on My Verizon account
When I log onto my account, I see the Incredbile picture associated with my son's number; the BB Tour with my wife's number and next to my number, the phone is blank and is just called Primary Line. My phone works fine but I did replace sim card abo
-
Late 2.5 Quad Core Processor unit removal issue
I have a late G5 2.5 GHz Quad Core PPC and after following all the service notes for pulling the processor assembly out of the case, it is still stuck. 6 screws removed, 8 captive head screws loosened and it doesn't want to lift up...any ideas out t
-
Latest iPhoto won't display .NEF files that worked before.
All I get when trying to view any .NEF picture in my library (tens of thousands of them) is a large exclamation point in a triangle. That's helpful. The pictures all worked in the previous version of iPhoto, but now all appear to be broken. I can't e
-
Why wont a cd i burned in itunes not play anywhere but on my mac?
i burned a playlist of songs, mpegs, onto a brand new cd. all appeared succesful. i clicked on the cd to open it, clicked on a song and it played fine. ejected it from my mac and put it in my cd player. nothing. put it in my car's cd player. not