Sampling data (I have a deadline for 12:00 AM!!!) PLEASE HELP!
Hello,
I am getting data in such a format:
01\s\s343.43\s\s\3434\s\s454\r\n
02\s\s etc
03\s\s etc
04\s\s etc
and from another source:
01\s\s343.4\s\s43.3\s\s\s545.6\r\n
01\s\s etc
01\s\s etc
I am receiving the data from the second source (both are Polhemus Fastrak data collectors) four times faster than the first source, since it has four inputs.
I would thus like to record only one data array every four- how would I do this?
In the end, I would like to make an array looking like this:
01\s\s etc02\s\s etc03\s\s etc04\s\s etc01\s\setc\r\n (the last one is from the second source)
01\s\s etc02\s\s etc03\s\s etc04\s\s etc01\s\setc\r\n
01\s\s etc02\s\s etc03\s\s etc04\s\s etc01\s\se
tc\r\n
01\s\s etc02\s\s etc03\s\s etc04\s\s etc01\s\setc\r\n
and so on- therefor this would be time synchronized, so that all data coming in at cetrain point is in same row of array.
I would really, REALLY appreciate your help- I have a deadline for 12:00 am!!!
Thank-you so much!
Ivanka
There are a few different string functions you could put to use to help parse out only 1 of the 4 data records from the faster device. Offhand, I'd think that 'Scan String for Tokens' (found in the String-->Additional String Functions palette) might be pretty straightforward if you use "\r" and "\n" as delimiters.
How important is the time synchronization? Have you worked out a plan, if necessary, to determine which of the 4 transmissions from the second device most closely matches the same "capture time" as the 1 transmission from the first device?
Alternately, is it possible to slow down the transmission rate of the second device to match that of the first? Or could you live with running in the query mode, where data is only transmitted on
request?
-Kevin P.
Similar Messages
-
My iTunes won't open! It keeps saying 'The iTunes Library.itl is locked on a locked disk or you not have write permission for this file.' Please Help!
this may happen on external drives if:
The external drive was hotpluged (removed) without going the correct "eject" way
The iTunes library (database) got corrupted
First Aid for external drive
Close iTunes
Unmount (eject) external drive the right way.
Mount drive again
Go to Workplace -> right click external drive -> choose "clean up" This will force the filesystem to rescan the file structure of the drive and rebuilding the file system table and journaling file.
After the tool shows "done" (could last some time depending on size of drive) restart iTunes
If your iTunes library is on your internal drive, this may happen
The system was not shoot down correct, e.g. "pulled the plug"
The iTunes library (database) got corrupted
First Aid for internal hard drive
Close iTunes
Reboot system
Go to Workplace -> right click external drive -> choose "clean up"
After the tool shows "done" (could last some time depending on size of drive)
Reboot system, restart iTunes
If none of the above fixes your problem, post here.
Lupunus -
SO, a genius at my store told me there are some bugs to work through with SONy cameras and Apple. But I needed the sony camera because of how good they are in lowlight, among other features. Does anyone have trouble with Final Cut and there SONY cameras?? Is there a better video editing software??
Welcome to the Apple Support Communities
Microsoft will launch Office for iOS next year, so you have to wait, Instead of Outlook, use Mail on the iPad -
I have updated my Imac to Mavericks and now my parallells won't work and I have reinstalled as per the instructions. Please help as all my data is on a hardrive that is formatted for PC.
Yes I just discovered that this morning but I have purchased another external harddrive and formatted it for both and am in the process of transferring the files across it and then I will erase the old harddrive and reformat it so I can use it.
I have learnt to format harddrives from this experience but am happy to see the back of parallells.
Thank you for your help though it is much appreciated. -
URGENT iMovie won't load and I have a deadline for today!
Since I updated to Mavericks iMovie has been difficult at the least. Functions not working taking ages to complete even a click of a mouse. This morning however, it totally quit and won't restart. I have a deadline for today and my video is stuck in the bowels of iMovie! HELP!
I have restarted, changed the server to 8.8.8.8 and looked into PeerGuardian but don't know enough to feel comfortable changing anything there. It worked perfectly for a year and started messing up a few days ago.
-
Hi all,
I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.
I have already set the preferences to for page view to low zoom settings, and page fit view settings, but it never opens the pdf. Please check and provide a solution asap.
Thanks in advance!Most of the documents have sensitive info on them. I will have to do some looking for some that i can share, but will get something to upload (dropbox) as soon as I can.
Thanks for you help. -
I must find my find my iphone data for last 1 year please help me
i must find my find my iphone data for last 1 year please help me
I confirmed, I have turned on " find my iphone. Here is the error I encountered
-
The cellular data services have disappeared from my settings. Can anyone help me restore it please?
Try this - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
Cheers, Tom -
Hi, how can I set up icloud for my ipad and iphone5? I missed tout he initial setup step and now want to have both the devices under icloud. Please help...thank you!
Go to Settings>iCloud and sign in with your Apple ID to create the account. Then turn on the data you wish to sync with iCloud. See http://www.apple.com/icloud/setup/ios.html.
-
I have not been able to update my fairy farm game for the last 5days as it quit at launch. I am afraid to delete and reinstall the game as i might lose all. Anyone knows if there is an update for this game? Please help. Thanks
Erdygirl please be aware you are posting to a public forum. I have removed your personal information from your previous post.
Please check your account at http://www.adobe.com/ to locate your serial number. You can find more information on how to locate your serial number at Find your serial number quickly - http://helpx.adobe.com/x-productkb/global/find-serial-number.html. -
I drag picts to the show and push play and for some reason they just show up as black.. the picture is not showing- clearly I have pressed some wrong button but have no idea what to do.. please help!!
I drag picts to the show and push play and for some reason they just show up as black.. the picture is not showing- clearly I have pressed some wrong button but have no idea what to do.. please help!!
-
"Unable to Connect" using Firefox and Windows 7. Have tried all the suggestions on this website to no avail. I need firefox for my work! Please help!
== This happened ==
Every time Firefox opened
== Since I downloaded Firefoxsame here my AV is ESET, i already unblock it but no use can't connect to the internet..
-
I have an iPhone 4S that won't charge. I have tried with 5 different cords and 2 wall plug but it won't connect. It will work if I plug and unplug my phone for 20 minutes. Please help me! Do I need a new phone or is this something that can be fixed?
Clean out the charging port--make sure there's no dust or debris in there. If that fails to solve the issue, bring the phone to Apple for evaluation.
-
I have a form that has multiple fields but has 5 sections. I have used mail merge to insert information but I can't get Excel to recognize that I need different names and addresses for each section. Please help.
Thanks for your response. I do believe I have the information needed for each form on a separate line in Excel. There is a first name, middle name, last name, city, and zip column. And field is entered on a different line for all the information. I'm really stuck.
-
very frustrated. downloaded reader but when I try to download pop up box says I have to accept end user license agreement but there is no place to accept it at. I need to download pdf asap for my business. Please help.
Hi Pat. I've done that, it opens up the install window again. If I click on install it says it's already installed. Nothing comes up that allows me to accept the end user agreement. I just retried and the same thing happens.
I appreciate your help.
Shelley
Maybe you are looking for
-
I am new to apple hardware, and since upgrading software on my iphone 4S I receive this message. "this accessory is not supported by this iphone" when using my clock radio docking station. Is there away around this?
-
Quota warning message not working
I have Quota warning messages turned on to be sent daily to users using over 90% of their limit. To test it I've had an account filled to 95% for a few days and no message yet. Anyone else having problems with this? Anyone have any suggestions what m
-
I have been using firefox for my web browser for years, and run some business applications through the internet, like shipping via UPS, and Charging credit cards. When having to print labels or receipts there was never an issue, until today. While tr
-
Loading a movie on a given frame?
Hi, I'm new to Action script and all this stuff so help would be most appreciated, I made a website in flash that starts off with a little bit of sound and eventually when that sound ends there is no sound so I created a little mp3 player and I want
-
IS-Retail:how to maintain different unit of measures for a article
hi experts, can anyone tell me how we maintain different unit of measures for sales and purchasing for a article.base unit of measure,order unit,var unit.Hope for a good answer. Regards