How do I get this to run only once
I am using Labview and an E series DAQ to control a stepper motor. I downloaded a finite pulse generator to send out the number of pulses I need when a case is selected, but now my problem is that the vi keeps repeating the finite pulse generation, so it sends out 10 and then 10 and then 10... it keeps going. I need a way for 10 pulses to be sent out and then no more until the case is changed.
Thanks
If you use the example that ships with LabVIEW 6.1, titled "Finite Pulse Train (DAQ-STC)," one train of a specified number of pulses will be generated and then the VI will quit. If you are importing this example VI into your own custom program, you need to ensure that it is not called from within a while loop. Perhaps that is why you are seeing the pulse train repeating itself.
This example can also be found by clicking on the following link:
http://eagle.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E6CD56A4E034080020E74861&p_node=DZ52328&p_submitted=N&p_rank=&p_answer=&p_source=Internal
Regards,
Justin Britten
Applications Engineer
National Instruments
Similar Messages
-
How to get lauchctl daemons/agents to run only once a day
How do you get a daemons/agents to run only once a day regardless of the error code of the .sh you are running?
(not I'm not looking for run once or run on reboot. I want a job to run at 3am every day and it has several bash commands in it. Regardless of the returns by any of the commands in the script, I only want this to run once - NO RESPAWN).Ok still not working.. here is the plist
the .sh file does file processing and then uploads xml files to my server and should run once a day. Here I have it running at 11:45am. It completes and then runs again and again and again.
The plist is placed in LaunchAgents and loaded with $launchctl load com.iclassicnu.crontabtest.plist
ideas?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>label</key>
<string>com.iclassicnu.crontabtest</string>
<key>ProgramArguments</key>
<array>
<string>/Users/dan/Desktop/iClassicNu/Idea/Forexite/ForexUpdate.sh</string>
</array>
<key>WorkingDirectory</key>
<string>/Users/dan/Desktop/iClassicNu/Idea/Forexite</string>
<key>OnDemand</key>
<false/>
<key>Nice</key>
<integer>1</integer>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>11</integer>
<key>Minute</key>
<integer>45</integer>
</dict>
<key>StandardErrorPath</key>
<string>/Users/dan/tmp/icnTest1.err</string>
<key>StandardOutPath</key>
<string>/Users/dan/tmp/icnTest1.out</string>
</dict>
</plist> -
I just installed Firefox on a new HP 600-1120 with Windows 7 and it is only running in "safe" mode. Why? How do I get it to run in "regular" mode? How does "safe" mode differ?
> So now my question is, how can i fix this problem?
Use the Toshiba recovery disk or the Toshiba HDD recovery option.
If you dont have the Toshiba Recovery disk try the HDD recovery:
http://aps2.toshiba-tro.de/kb0/HTD1303440001R01.htm
This works only if the recovery image files from Toshiba are still on the HDD:
If you installed the system using another disk as Toshiba recovery disk, this recovery option will not work. -
To Whom It May Concern:
I bought a Mastercard Giftcard for $50 the other day. It was only because the games needed updating before I could play them again, and my card on file had expired.
I kept getting a message stating the the card was declined. Also, it kept telling me to try to put in another card, or different form of payment.
I tried several times to get the MC to go through, and it didn't. It was not even showing that the card info even updated!
When I went to check the amount of the giftcard, there were 4 pending charges of $10.89 on it.
How do I get this money back? Please let me know as soon as possible.
Sincerely,
Queenie from TexasI did but that was from a month before, I want pics I took after that backup time. It deleted without my consent like this is not cool. I had recent pics from my trip.
-
my computer crashed and i had to reinstall intunes. i have 1144 songs plus some playlists on my old 60g ipod. my itunes library on my computer only has the songs that i purchased from itunes and none of playlists. how do i get this content form my ipod back onto my itunes program on my computer.
check out this post by Zevoneer.
-
I bought 3 iPhone 4s and each should have 5gb of cloud. I want to only use my one iTunes ID. How can I get this storage space increased to the 15 GB?
iCloud storage is not allocated by device. iCloud storage is allocated to your iCloud AppleID. You get 5GB of iCloud storage.
-
How do I get a case to run only once
I am using an e-series DAQ board to bring a pwm signal, then I use labview to use that signal to pick one of three cases. depending on the case picked a finite pulse stream is sent out. Currently the finite pulse vi keeps repeating because the the program stays in the case. I need a way to get labview to run the finite pulse output only once, and not run again until a new case is picked. I don't have the case in a while loop.
Thanks For The HelpI am still haveing problems so I will try and attach my program and see if you can help a little more that. It will probably be easier for you to look at this way. When you look at the diagram sequence 0 is the one the problem is in. In that sequence you will see a case structure and that is where the finite pulse train vi is. When case 1 is selected the finite pulse train will run again and again until I leave case 1. I need to have the program run the finite pulse train once and then wait and do nothing until the case is changed. The finite pulse train will be in all cases inside the case structure I just haven't done that yet, I am waiting until it works. The pulse train is used to move a stepper motor that is why running only once is im
portant because the stepper motor is used to position something.
Attachments:
AMC_Eagle_Both_Inputs_Working_2.vi 266 KB -
my ipod 4th gen gets wiped clean of music anytime I sync. it then only redownloads some of the music in the library and wont upload missing songs. They show on the ipod grayed out. How do I get this to stop? re-uploading takes 4 hours and is never completed. I only get some of the 6000+ songs I have. This started when I updated to IOS5 i think.
Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Unsync all music and resync
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device. -
With my new macbook I attempted to open an older spreadsheet and get the following error message: "This spreadsheet cannot be opened because ti is too old. To open it, save it with numbers '09 first" So how does one do this when I only have ver3.1?
Numbers 3.x can only open Numbers '09 and later. You will need Numbers '09 to open Numbers '08 files.
If it is a single file (or only a few) you can email me and I will open and convert then email back. My email address is in the "Biography" of my profile.
You may have Numbers '09 installed. Look in the folder "/Applications/iWork '09" if Numbers is in that folder launch it, open the file you tried to open, and save. Then you should be able to open in Numbers 3.x -
I read about an app that I would like to get it is a free app but when I click on it I was told that it is in the uk App Store
Does any one know how I may get this app the app is for itv media player
Thank youIf the app is only available in the UK iTunes store and you are not in the UK, you cannot get it.
-
I am running Yosemite and have just bought Pro Tools Express with the intent to Upgrade to Pro Tools 11. Pro Tools Express is not compatible with Yosemite and will not install. How can I get this done?
I have had this problem for close to a year. I have an Extreme base station, two Airport Express's and multiple G4 Mac's with up to date software. I have spent a huge amount of time trouble shooting, resetting, reapplying software and finally calling Applecare without any help. It would be great to get this problem solved.
Powerbook G4 Mac OS X (10.4.7) -
I'm running Mac OS X version 10.6.8 How come I get this error message "You are running an operating system that Photoshop no longer supports. Refer to the system requirements for a full list of supported platforms." When I Try to download a FREE trail?
Hi Brizill,
Please refer to the help document below to understand the technical specifications for the same:
System requirements | Photoshop
Regards,
Sheena -
When I facetime the ipad (email address) it calls my phone. The accounts are completely separate. How can I get this to only call the ipad and not my phone as well?
It calls both the ipad and iphone when calling the associated email address for the ipad. However, when I call the iphone it does not call the IPAD.
Thanks for your helpAre you trying to message another Apple device?
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
Cheers, Tom -
I am running Windows 7 64Bit system and everything was working normal. However, I am now getting an error message stating objc.dll is missing. I've re-installed Itunes but to no avail. How can I get this error message corrected?
See this User Tip by turingtest2
https://discussions.apple.com/docs/DOC-6562 -
iPod Nano 2nd Generation is requesting 4 digit code. I have never set a lock code. What is this and how can I get my Nano running again?
There is no other way to bypass the combintation lock other than to connect the nano to iTunes and restore it to factory settings, erasing all content and settings from the iPod.
B-rock
Maybe you are looking for
-
Help with inserting counter code
hi friends, i want to put an invisible counter on my website but i cant seem to do it. i got the counter code from statcounter and i also downloaded a trial version of bbedit. in bbedit when i do a search for the code i have to replace bbedit comes u
-
GridBag or Flow Layout: Help Please!!!
Requirement: Allow the user to input the amount of a mortgage and then select from a menu of mortgage loans: 7 years at 5.35%, 15 years at 5.5%, and 30 years at 5.75%. Use an array for the different loans. Display the mortgage payment amount. Then, l
-
Hi All, in the BODS 4.0, DS Management Console, Is there a way to limit the number of jobs that are visible to the Admin who logs in? Currently we have around 400 jobs in the system. and the Admin team would like to limit the number of jobs that is v
-
Which language will you prefer?
Hey guys, My programming skills are limited. I am self thought and my way of doing things may not exactly be textbook. I am trying to make a baseball game played with dice. I have an old simple version of the game written in Java. There are no graphi
-
Dear All I am having trouble opening online files such as pdf files from my mac My imac is from 2009 so not that old downloaded latest adobe and have used both Safari and firefox For example went on the apple website and tried to open a manual for th