I need to scan an input string for EOF (control Z) and then view the data that has come in since the last EOF.
I'm talking to a Furness micromanometer. It sends a string of three lines formatted as follows:
Time xx:xx:xx xM
Velocity xxxxx ft/m
Temperature xxx.x degC
I want to watch the input, and when I see the EOF character (ctlZ), I want to display the three lines of text sent since the last EOF. Any help is appreciated.
Lynn, attached is the original vi I wrote months ago. It works, but occasionally there seems to be a disconnect between the instrument and LabVIEW. The string received is shown in the upper left corner of the front panel (Micromanometer output) is the string last received. Then it's parsed out into teh three columns. AS you can see from the block diagram, I made a rather complex vi, although that was NOT my intent. Occasionally, as I said, things don't work right. Instaed of the first line beginning with "Velocity", it might read "city" and then everything is sort of offset, and the data is corrupt. After closing and reatarting LabView it usually works correctly. SO, I decided to go with a simpler, less complex approach. Instead of sending the T to the instrument to trigger it, I simply set the Furness to sample at one second intervals (locally - on its front panel interface)and send its data out on the serial port. Then I want Labview to monitor the port, and read the data whenever it sees there is date to read. I don't know if I can use EOF or the start bit, or what. I just wrote an application like this for another instrument, but I was able to determine the number of bytes in the string (19). I just used a property node (Bytes at port), compared the numer to 19, and if it was greater than or equal to 19, I read the port. It works great, but I can't seem to get a handle on what I'm doing wrong here. Anyway, attached is the old vi, as well as the beginning of the new one. Help??!!!
Attachments:
Furness.vi 291 KB
simple.vi 75 KB
Similar Messages
-
I am responsible for handling the apps and not at all involved with or know how the folio creation process works.
When I build the app for iOS the iPad version shows the folio that has been published, but the iPhone app is not showing the folio.
Is this something related to the build process or how the folio was created?
The folio also shows up in the Android app (at least the phone I have tested with).
Thanks,"Android and iOS viewers have different requirements for displaying folios. Any folio size you create can appear in an Android viewer. The articles are scaled and letterboxed as needed. However, on the iPad, the viewer displays only folios with a 4:3 aspect ratio. The iPhone viewer displays only folios with a 3:2 or 16:9 (1136x640) aspect ratio."
Here is the entire post if you'd like to read more: Digital Publishing Suite Help | Creating documents for multiple devices -
Tried to install iOS 7 and it said I needed to connect my phone to iTunes, so I did and then it said my phone wasn't updated to the software now my phone isn't working! all it's doing is showing a iTunes logo with a charger thing under it and won't let me cancel or anything
After connecting your iPhone to the computer did you restore using the iTunes on your computer?
-
Hello there ive just downloaded 2 albums from itunes store and found that they only play for a short while and then flips onto another tune which again only plays for short while so on and so forth which makes the albums completely useless does anyone have a solution?
Assuming you are in a region where you are allowed to redownload your past purchases, delete the current copies from your iTunes library, go to the iTunes Store home page, click the Purchased link from the Quick Links section in the right-hand column, then select Music and Not on this computer. You should find download links for your tracks there.
If the problem persists, or that facility is not yet available in your region, contact the iTunes Store support staff through the report a problem links in your account history, or via Contact Support.
tt2 -
I have an Iphone 4 from a friend. It was never updated with him and now I am trying update to latest software version. It is currently in 4.3.2 and it updates till the last few seconds and then a message, with no error number, states that the internet connection had time out during update. I am using my PC and have tried unsuccessfully for a week. I have tried to restore setting on phone first before plugging in to PC and updating software through Itunes? I took it to my mobile phone outlet and they couldn't help? Is there another way?
Read through this:
http://support.apple.com/kb/ht1808 -
I Was Really Excited About My New Phone And Now It Is Just Completely Messed Up. It Shut Itself Down After About 3 Hours Of Use And Now It Just Goes From Apple Boot Logo, To Loading Screen, To Blue Weird Screen, And Then It Goes Back To The Boot Logo. When I Plug It Into My Computer It Recognizes The Phone But It Doesnt Show Up In iTunes 11 PLEASE HELP
Can you do a Reset by holding the Sleep button and the Home button at the same time for about 20 seconds?
-
Hi all
The last couple of days when I wanted to charge my Macbook Pro 13", my magsafe adapter stopped working when my MBP found the remaining charging time.
When I charge my MBP with another adapter, it works fine.
What can I do? Do I have to go back to the store? It is only four months old.sounds like a funky charger, go to the store and try anoher if it messes up have it replaced. They've been having issuses wuth the new charger
-
how can i turn my iphone on, iv pressed the button on the top of the phone but nothing happens all that has come up is the apple sign, i really need my phone on, as i cant take the sim card out and put in another phone because its too small!
Hold the HOME and SLEEP buttons until an Apple logo appears (10-15 seconds). If that doesn't fix it you will have to connect it to iTunes to restore it. If you have a problem with restoring, see:
iPhone and iPod touch: Unable to update or restore -
Creation of input string for SHA-1 in hash total calculation
In order to create an input string for the SHA-1 algorithm based on the REGUH table I am searching for the ABAP source code which can be used in the user exit of transaction of transaction F110 (Payment Run).
Can anybody provide me the source code or is there a BAPI or something ?
Please help. The problem is urgent and my ABAP engineer did not succeed so far developing the solution.
Best regards, EdwinAnd this will get a base64 encoded hash
select utl_raw.cast_to_varchar2( utl_encode.base64_encode( dbms_crypto.hash(utl_raw.cast_to_raw('mypass'),3) ) )
from dual; -
We are using EBS 12.1.3. When we input a sales order from a customer we input the sales order and specify the date the customer wants it. This isn't always the date that we intend on manufacturing it though. I need to put a customer due date in, but be able to put a date in another field that MRP can read in the event we choose to manufacture based on another date. For example, early.
Any help would be appreciated.What you are experiencing is 100% related to Malware.
Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
You can try these free programs to scan for malware, which work with your existing antivirus software:
* [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
* [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
* [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
* [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
* [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
[http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
Did this fix your problems? Please report back to us! -
So a couple of months ago, I had to restore my new IPOD 5 TOUCH because i had forgotten the password and disabled it, so as you can imagine I am quite familiar with restoring it.
(The last time I had synced it was the only time that I had to restore it when I first got it when I had disabled it)
This morning I wanted to sync my ipod. So I plugged my ipod into my WINDOWS computer and waited for itunes to open, and it did just like it is supposed to. It then said itunes needed the latest update so i continued with updating it. Itunes updated, but then said that my ipod needed the latest software. I said "ok update" and thats when itunes made my ipod into DFU mode without me even touching it.
SOOOO as you can imagine I was quite upset. I then have realized that because Itunes had moved it into DFU mode on its own, I could not manually get my ipod out of DFU mode so the only thing i was left to do was go ahead and restore it. (correct me if Im wrong)
My huge issue right now is that my ipod NEEDS to be restored, but it only stays on the "connect to itunes" screen for approximatley 20 seconds and then turns black as if it has been turned off. When I plug it into my computer and turn it on to the "connect to itunes" mode, it does open it in itunes and starts "extracting sofftware" but then when it turns black after 20 seconds, it closes out because my computer thinks it has turned off.
I have tried charging it, and nothing has progressed. Im not sure if anything can be done for it right now, or if I could bring it to an apple store to fix it... it's brand new about 3 months old.
HELP and some advice would be greatly appreciated !
Thanks!
-BTry:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try another cable
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
How do I reorder songs in a playlist in the new itunes??? I can no longer just click and drag. When I click, it doesn't move!!!! Need help ASAP- trying to prepare for an aerobics class and need songs in a specific order!
Vera,
Use View > View Options, and set 'Sort By" to "Manual Order."
Then you will be able to drag-n-drop songs up and down the list. -
When I go to do an update for my apps on my iPhone 4S it says that I am connected to the Chinese iTunes Store and tha I need to switch to the US store. How do you do that?
Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region...change here.
-
I have the iPhone 5 and iPad 3. I will travel to Europe and would like to know if I need a current covertidor 220-110 for my equipments. I have an adapter, but that did not change the flow and do not want to risk it. Thank you.
All you need is a physical plug adapter, not a voltage converter. All Apple chargers work on any voltage from 110 - 240 worldwide.
-
"Document is licensed for a different user account." error msge. Win XP, Adobe Digital Editions v1.7. (If I need to upgrade must I first go to v2.0 and then v3.0 to maintain my library?)
"Document is licensed for a different user account." error msge. Win XP, Adobe Digital Editions v1.7. (If I need to upgrade must I first go to v2.0 and then v3.0 to maintain my library?)
Maybe you are looking for
-
is there an option i havent found that will allow me to hide the notification bar while using firefox (similar to whats possible with opera mobile) if not is it likely to be added in a future update? as i dont think extensions have enough permissions
-
RMI Hang after long period of no use
Occaisonally one of our lightly used RMI servers decides to not accept a new connection. This happens after a long period of no use. The last time it happened I captured a thread dump (THREAD DUMP#1) of the RMI server process. Just for comparison I t
-
String to DATS format conversion in XI.
Hello Experts, I am using Powerbuilder system to get my Legacy data.In Powerbuilder Date needs to be supplied in STRING format.So I am giving String Format (dd-mmm-yyyy). However, at SAP end, Date needs to be in DATS format (Standard SAP yyyymmdd) .
-
New 27" thunderbolt flicking to black
Hi all. I just dropped $1199 on a new 27" TB cinema display to pair with my MBP. Unfortunately, i'm having the same issues I had with an older 30" cinema display on the same lapto: when using Photoshop (cs6, in this case), and zoomed in, the screen f
-
Hi, I want to modify a column name of a table. Is it possible to modify the name of the column. If possible then please send, how to? Regards Shyam.