I have to REBOOT my computer very thime I use this simple VI
Hi all,
The attached vi is called by another vi when the user wants to know if the [black box] has power. It simply send a command to the [generic a/d..d/a board] which asks the voltage at a certain pin. It works fine! HOWEVER, after I use it, the computer has to be rebooted. I loose communications with the [generic a/d..d/a board]. The only thing I'm doing differently with this vi than the other 20 I have written is Reading the serial port. All of my other programs just write to the port.
Any ideas?
Thanks in advance, this forum is great!
Richard
Attachments:
PowerStat.vi 34 KB
Arrow;
Looking at your vi, I have some comments:
- There is no data dependency between the Serial Port Write and Serial Port Read functions. Although you place the VIs one next to the other, that does not guarantee the order of execution, so you may have a race condition in which the read from serial is happening before sending the command with Serial Port Write function.
- I think this command need to be executed only once. If need to confirm, you can place a button to resend the command and then read the serial port. The way is working now is repeating the read/write every 1/10 of a second or so!!
I took the risk to modify your vi to resolve this issues, and the resulting vi is attached. This is only a recommendation.
I hope this is of help
Best regards;
Enrique Vargas
www.vartortech.com
Attachments:
PowerStat_2.vi 45 KB
Similar Messages
-
Firefox crashes when not in use then I have to reboot my computer
Firefox crashes when not in use then I have to reboot the computer.
It will not come back on line and the only way out of this is to reboot the computer.See:
*http://kb.mozillazine.org/Firefox_crashes
*https://support.mozilla.com/kb/Firefox+crashes
Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
* http://www.mozilla.com/plugincheck/
# Shockwave Flash 10.1 r102
# Java Plug-in 1.6.0_12 for Netscape Navigator (DLL Helper)
Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
*http://kb.mozillazine.org/Flash
*http://www.adobe.com/software/flash/about/
Update the [[Using the Java plugin with Firefox|Java]] plugin to the latest version.
*http://kb.mozillazine.org/Java
*http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE) -
i am trying to install firefox 4 and keep getting the message that you have to reboot your computer to complete the uninstall i have done this a number of times any suggestions
Firefox 4 requires at least OS X 10.5 and an Intel Mac.
* http://www.mozilla.com/firefox/4.0/system-requirements/
For Mac OS X 10.4.11 or Mac OS X 10.5.8 you can look at:
* http://www.floodgap.com/software/tenfourfox/
Firefox 3.6.x can be found here:
* http://www.mozilla.com/en-US/firefox/all-older.html -
Why do I have to reboot my computer in order to install the most recent version of adobe reader??
After installing the most recent version of adobe reader, a prompt popped up, asking me to reboot my computer to complete installation. Why is it asking me to do this? Is it safe? And (if so,) how should I go about doing this??I don't know why - I never had to restart my computer after installing any Adobe updates.
[topic moved to Adobe Reader forum] -
My G5 iMac has a screen color problem. The color is green with lines. What can I do to repar this? Sometimes the screen will freeze and I have to reboot the computer and the screen will be normal for up to 5-6 hours and then suddenly changes back to a greenish color.
Try running in Safe mode. This leaves out some video drivers. Which results in machine not using advanced video hardware.
for more details see:
Look through this thread. see the second page.
https://discussions.apple.com/message/16057567#16057567
Robert -
I have downloaded firefox and it always is locking up when I am in the middle of something, acts like I am not connected to the internet and then I have to restart my computer how can I retify this?
Hi Francis,
Are you getting kernel panics?
http://support.apple.com/kb/TS3742
http://www.thexlab.com/faqs/kernelpanics.html -
itunes wont allow me to sync even though i have already authorized my computer , how can i resolve this problem?
Vague.
What happens when you try?
Error message?
What does it say?
Any info about your issue? -
I have a Sony DCR-HC20. Can I use this with iMovie? If not, How do I transfer to My computer, and what would I use?
http://esupport.sony.com/US/p/support-info.pl?info_id=1192&mdl=DCRHC20
-
I have an apple ID, I'm trying to use this to update and download apps etc. however, whenever I try this, it keeps asking me to use my old ID, which is attached to an email that no longer exists! I can't download or update anything! Help!
You can log out of the currently logged in account by taping on the id in Settings > Store (Settings > iTunes & App Stores on iOS 6) and you can then log back in.
If you updated your existing account with a new email address then that shoud 'refresh' it on it
If you created a new account then any content that you purchased/downloaded via the old account will remain tied to that old account, and only that old account can redownload its content and download updates to its apps. You should be able to update an account's email address via this page : http://appleid.apple.com -
my iPhoto icon has a cross over it, when i open it, it You have “iPhoto” 9.2.1. you can't use this with this version of OSX? it used to work ?what's gone wrong?
iPhoto 9.2.3 is incompatible with MacOS 10.9.3 Mavericks. If you are running Mavericks on your system you need to update iPhoto to 9.5.1. Only, the problem is, that this version is no longer available at the App Store.
The easiest way to get a compatible iPhoto version in that case would be to upgrade to Yosemite, MacOS X 10.10, and then download the most recent iPhoto version from the AppStore, iiPhoto 9.6, like LarryHN suggested.
If you cannot download iPhoto after upgrading to iPhoto 9.6 post back. -
What does "you do not have enough genius suggestions in your library to use this feature mean?
what does "you do not have enough genius suggestions in your library to use this feature mean?
At face value it would suggest the content of your library is too obscure, however it might mean your library is too small for the feature to be active, or that it hasn't catalogued your content yet.
tt2 -
i need to know also how to represent this transfer function in labview, try to send me example. answer me at my mail
"st" wrote:
> answer me at my mail
give a valid e-mail first, and your name, we don't like to help anonymous
people
> try to send me example.
how much do you pay ?
> i have transefer function like (1/(s^2+s+5)) and i have a square wave
> input , i want to use this transfer function with this input to see
> the output , how can i do that
First you have to know what you are doing, like an engineer : you have a
Laplace, continuous time transfer function but LabView handles discrete
signals only. Use matlab/simulink if you want to simulate continuous time
systems easily...
If you definitely want to use LabView, the first step is to discretize your
continuous-time transfer function, i.e. decide a sampling rate and convert
it to a "z transfor
m". Then you can directly use the "IIR Filter.vi" as I
said earlier.
Philippe Guglielmetti - www.dynabits.com me at my mail -
I'm having trouble with my iPhone 5 iMessage service. The device does not recognize the users who have iMessage when I try to contact them using this feature. Who have the same issue and what did you do in order to solve it?
Read here:
http://support.apple.com/kb/ts2755 -
hi there, this is my first time buying an apple item, idon't have a credit card, now can i still use this ipad or shall i return it back, thnx
Create Apple ID without credit card
http://support.apple.com/kb/ht2534 -
When I click on Firefox to open the browser window nearly 1/2 of the time it never opens. It shows that it is trying to open and then it does not. No matter how many times I click on it it will not open unless I reboot my computer.
'''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
While you are in safe mode;
Type '''about:preferences#advanced'''<Enter> in the address bar.
Under '''Advanced,''' Select '''General.'''
Look for and turn off '''Use Hardware Acceleration'''.
Poke around safe web sites. Are there any problems?
Check for crash reports;
In the address bar, type '''about:crashes'''<enter>.''' Note:''' If any reports do not
have '''BP''' in front of the numbers, click it and select '''Submit'''.
Using your mouse, '''mark''' the most '''resent 7 - 10''' crash reports, and
'''copy''' them. Now go to the reply box below and '''paste''' them in.
Maybe you are looking for
-
How to hide fields in table view
Hi, I'm populating the contents of an internal table in a table view. I want to know how to hide few fields in table view. I'm working on classical BSPs.. no MVC and I have not used iterator. Thank you Sreesanth.
-
I can't uncheck "leave all attributes" in the precompose window
Hi guys, I can't uncheck "leave all attributes" box in the pre-compose window. even after I double check it, I check the other option, I've tried with Crtl+Click over the check box, and so on and nothing works cause the option remains checked. Somebo
-
Not Again! Window Ultimate Parallels and Bootcamp
I have read hundreds of threads and I don’t want this to be another but I have question that were not specifically answered on not answered at all. I am a life long Windows user and finally made the jump a few months ago. I am a photographer and I ha
-
How can i figure out if my apple id is being hacked, as well as my e-mail and my iphone. The other night all of a sudden i got signed out of everything and none of my passwords would work. so i had to make new passwords and then it happened again as
-
Migration Error from Access to Oracle through SQL Developer.
Hi, Actually I am trying to migrate data from MS Access 2002 to Oracle 9i database through the SQL Developer. But Whenever I go to Capture Database from Access it will show me an error.... Invalid procedure Call and then it shows an error message...