Would like some help converting an array of strings into multiple parsed string arrays

Hello everyone.
this is a very novice question and I sincerely apologize for that, but i need some direction!
i have an array of strings:
(('J01',), ('0', '0', '0', '1'))
(('J02',), ('0', '1', '0', '1'))
(('J03',), ('0', '0', '0', '0'))
ect...
i would like to know what are some of the best ways to gain access to this information (aka, parse it). The field lengths are not static and all those ones and zeros could very possibly be two digits at times (0 = off state, 1-100 = on state), so simply pulling characters out of a given position of the string will not always work.
what i would like to achieve is to make either separate arrays for each desirable element, eg:
array one:
J01
J02
J03
array two:
0
0
0
array three:
0
1
0
and so on.
or maybe even a matrix (if that’s feasible).
other than that I am totally up for suggestions!!
thank you very much,
Grant.

Assuming fixed structure (not necessarily length of the different numbers or names).

Similar Messages

  • I would like some help in determining the proper structure/implementation

    I would like some help in determining the proper structure/implementation for the following scenario:
    I have ~10 steel rods that have been equipped with a strain gauge.  The most I would have is ~30 steel rods.
    Each setup has had a 10 point calibration done.
    These steel rod/strain gauge setups are assigned a calibration number.
    The data would be grouped for each steel rod and identified by the calibration number. 
    I would like to use that calibration data to determine the Young’s Modulus for each steel rod and store that within the specific rod’s information.
    I want the user to be able to add new steel rods dynamically and the Young’s Modulus calculated and stored with it.
    There are two different types of rods.
    The cross-sectional area of the rod needs to be stored and that value is constant based on the rod type (so there are two different area values).
    After a rod’s calibration data is entered the first time, the data should be static so it doesn’t need to be re-entered.
    The user would enter the cal#, the 10 point calibration data, and the rod type.
    The user will only see the steel rod cal# on the FP.
    I am using a queue-based producer/consumer with event structure for the front panel interface.  So I’m thinking whenever a rod cal# was added I would call a subvi where the calibration data can be entered and then the Young’s Modulus could be calculated and stored.  An option to edit/review existing cal data should be available.
    LabVIEW 2010, Win 7.
    My initial idea was:
    Rod Arr – array of clusters:
    Rod Info - cluster:
    Calibration number – string
    Rod Scale cluster:
    mV/V – double array
    force – double array
    Young’s Modulus – double
    Rod type – enum
    Cross-sectional area – double
    I have not implemented this because I’m not sure how to implement that AND keep the data after it’s been entered.  And all of the bundling/unbundling anytime I want to access/edit any rod information can be BD consuming.  I thought a lookup table might work.  When I looked on the forums for a lookup table I was pointed in the direction of arrays/clusters.
    So I have two questions:
    What would be the best structure for the steel rod data?
    What would be the best data type for the calibration# that the user can edit (enum, ring, ?)?

    I would make a couple of small change to your proposed data layout (highlighted in blue):
    Rod Arr – array of clusters:
    Rod Info - cluster:
    Calibration number – string
    Array of Rod Scale cluster:
    mV/V – double
    force – double
    Young’s Modulus – double
    Rod type – enum
    Cross-sectional area – double
    For the calibration data, I would have an array of clusters rather than a cluster of arrays.  IMHO, this makes it easier to index through the calibration points, and makes it less likely you will ever have a situation where you don't have the same number of mV/V and force points.  I'd also move the Young's modulus, type, and area info into the Rod Info cluster.
    I prefer to store this type of configuration in the system registry, but that is more complicated and far from universal in the LabVIEW world.  A simpler way would be to simply pass the entire array to the "write to binary file" function.  If you do this, however, you might want to add a version number, otherwise it will be very difficult to maintain backwards compatibility if you ever need to change the data structure.
    As far as the control type, it depends on what the user is entering.  If the user is mostly entering calibration numbers already in the system, I would use a (system) combo box.  This allows the user to select an existing calibration number from the menu, but also to enter a new calibration number if they need to.  If the user will almost always enter new calibration numbers, then I would use a standard string control.  Either way, you'll probably want to validate the format of the number the user enters.
    Mark Moss
    Electrical Validation Engineer
    GHSP

  • I bought an album on iTunes and 3 of the songs only play for 30 seconds. I have tried re-downloading the album 3 times and the problem has not been fixed. I would like some help please and thank you.

    I bought an album on iTunes and 3 of the songs only play for 30 seconds. I have tried re-downloading the album 3 times and the problem has not been fixed. I would like some help please and thank you.
    Artist: Imagine Dragons
    Album: Night Vision

    Report it here:
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • New to Breeze, would like some helpful info

    I have a java web application built with structs. My clients
    wants the ability to upload online exam and someone recommended me
    look into 'Adobe Breeze' for this. I am totally new to Adobe
    Breeze, I will do research, but can anyone with experience with
    Breeze give me some info or feasibility on using this product with
    my app?
    Maybe some sites linking JAVA with Breeze?
    Thanks so much,
    C

    Meg-
    I had to go out of town for a family emergency. I really want to get an iPod but the first 2 I had I broke and could never figure out how to get the songs on the iPod. it seems some songs I purchased fro iTunes will download and play but some will not I would like to know all the places I can get songs to play on my iPod (well, when I get one tat will work for me). I have a lot of CDs, should I get them on iTunes first. Do I look for other type of songs in various formats to install in the iPod like…oh, what are some of the formats that music can be downloaded in? mp4 all the various types I am sure you know what I am getting at.
    I want the classic but I am nervous being an exerciser. I do not care for videos but if the classic allows one to play them that is OK.
    I would like you to look at this ear plug store online that sell to artists for their recording, heavy duty iPod users, runners, etc. I need an awesome ear plug that will take the music to the next level but I have no idea what type will be best for me.
    Let me see if I can find that website. It was something like earphone Solutions but it might not be the exact one. They have a lot of the same ear plugs.
    But back to what iPod and where I can get the music. That is what I need help with ow. I do not want to pay for whole CDs, but songs that are good to workout to.
    If you get a chance and look at tat ear plug website and give me your opinion on ear plugs. This is where I am lost but need a much better ear plug and one that will stay in my odd shaped ears.
    Thanks for waiting. I am still with my pops in the hospital most of the time but I will get back to you.
    Blessings

  • I have a spare Apple display screen an would like to make this a second screen for my iMac, would like some help on how to do this

    I have a spare Apple display screen and would like to make this a second scren for my iMac,
    would like to have some ideas on how to do this
    laro.t

    First format the drive to OS X Extended (journaled) with ownership set to be ignored:
    Next drag your iPhoto library from your Pictures folder to the EHD.  When the copying is complete launch iPhoto with the Option key held down and in the window that comes up select the library on the EHD:
    Check the file path under the window to make sure the correct library has been selected.
    Once you've confirmed that the EHD library is working properly and has all of your photos you can delete the library in your Pictures folder.
    OT

  • First time Blackberry owner, would like some help plz with loading music & making it ringtone

    Hello all & thanks for taking time to read this. I just got a Sprint Blackberry 8330 & after playingwith it for the past 2 days, I still can't figure out how to add music to it. And then once I do add the music to it, how do I make a ring tone from my music. Thanks to every and all that can help.

    Hi and Welcome to the Forums!
    Here is a thread that might be helpful:
    http://supportforums.blackberry.com/rim/board/message?board.id=BlackBerryDesktopSoftware&thread.id=3...
    You should choose the version of the RIM desktop software that is compatible with your desktop PIM...see this article for that:
    KB12268 Applications supported by BlackBerry Desktop Manager for synchronization
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • X58 Pro and Raid 0, I would like some help if possible.

    Hi,
    I'm currently waiting on my SSD's that I want to use in a raid 0 configuration, but I'm a complete newbie when it comes to running raid on these things.
    Currently I have HDD's and DVD on SATA contact 1, 2 and 3.
    My BIOS version is 7.3.
    I'm planning on installing Windows 7 64-bit on the Raid 0 configuration.
    Can someone give me a step by step instruction on how to setup a Raid 0 with 2x SSD?
    I would be very thankful for any help.

    Quote
    Registry tweak for what?
    Error message when you start a Windows 7 or Windows Vista-based computer after you change the SATA mode of the boot drive: "STOP 0x0000007B INACCESSABLE_BOOT_DEVICE"
    This >> registry tweak << is required if you install Windows without setting the RAID mode to ACHI first as follows:
    This issue occurs if the disk driver (MSACHI) in Windows 7 and Windows Vista is disabled. This driver must be enabled before you change the SATA/RAID mode of the boot drive.To resolve this issue, enable the AHCI driver in the registry before you change the SATA mode of the boot drive. To do this, follow these steps:
    Start REGEDIT.
    Locate and then click one of the following registry subkeys:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\IastorV
    In the right pane, right-click Start in the Name column, and then click Modify.
    In the Value data box, type 0, and then click OK.
    On the File menu, click Exit to close Registry Editor.
    Reboot and load the BIOS.
    Change the RAID value to ACHI.
    Finally, reboot.
    Quote
    I got a reply from MSI support to use RAID option in BIOS and Windows 7 installed without any problems.
    Sorry I went off on a tangent, I failed to remember that you are installing this for RAID, if you were using the SSD's in non-RAID mode, you'd use ACHI.

  • Steve would like some help.

    How doI insert a teardrop into a phot?

    QASAS3251 wrote:
    How doI insert a teardrop into a phot?
    You won't get any help hear without providing a lot more information about your camera, your software version and your work flow.

  • Newbie would like some help before upgrading to PE 13

    I have been using Photo Impact for many years, happy with it, but I have now upgraded my camera to a DSLR and have a need to edit RAW images which Photo Impact will not do, at least not my Version 12, I tried X3 but no good. I bought PE 9 and 12 but never used them, I have downloaded the trial of V 13 and installed. Here are my questions: Is there one tutorial file I can download that covers everything, I tried to save a video file but nothing appeared to happen, also, can I make new toolbars and put in there items such as Resize, White Balance, Sharpen, Save for the Web, Image properties etc, etc. Appreciate any assistance.
    Regards,
    Peter

    There are some videos on adobe tv: http://tv.adobe.com/product/photoshop-elements/
    Regards,
    vaishali

  • Would like some help with Chrome Browser and interrupted downloads

    Hi all,
    This is my first foray into Macs and I have brought the Mac Mini (base spec, using latest version of lion) about 3 months ago and not regretted it either! I am however having one issue that is puzzling me. Upon getting my Mac I installed Chrome instantly I love it as a web browser and everything worked great, however one day Chrome crashed and I had to use force close from the Apple menu to close it, since then every time I attempt to download any file from the web to my network hdd I instantly get a 'download interrupted' message. Upon trying every other browser it works perfectly and Chrome it self WILL download to the internal hdd but not to my network drive. I really do prefer Chrome for web browsing but having to manually move each file rather than just download it to a set location is annoying. I have reset the PRAM and it didn't have any effect, I am unsure as to what is happening as it was working fine before I needed to force close Chrome. Please does anyone else have this problem and if so is it resolved and how can I resolve this annoying problem.
    Thanks all for any help!!!!
    Best Wishes,
    Nigel

    The Chrome forum is here:
    https://accounts.google.com/ServiceLogin?service=groups2&passive=1209600&continu e=http://productforums.google.com/d/categories/chrome/report-a-problem-and-get-t roubleshooting-help&followup=http://productforums.google.com/d/categories/chrome /report-a-problem-and-get-troubleshooting-help

  • We have a new iPod  Classic and would like some help in choosing "Import Settings" (under Peferences) when loading the iPod from the Mac.  We want to be sure that we can maintain a constant sound level.  Used with Bose sound dock. OS 10.6.8 iTunes 10.6.1.

    Using an iPod Classic on a Bose sound dock....when loading the iPod from the Mac, what  "Import Settings" (under iTune "Preferences"),  should be used to maintain a constant sound level when playing music?  Mac OS 10.6.8, iTunes 10.6.1.
    There are many Import Settings available and it is somewhat confusing.  Any suggestions?

    Go to iTunes>Preferences>Playback. Tick "Sound Check."
    iTunes: About Sound Check

  • Would like some help with hashmaps please :)

    Map<Integer, Double> probabilities = new HashMap<Integer, Double>();When i try to use the above code in a foreach loop
    for (Map.Entry<Integer, Double> entry : probabilities)i get this error
    Foreach not applicable to expressionCould anyone please enlighten me on what is wrong with that and maybe suggest another way of running through the HashMap.
    THANKS!

    for (Map.Entry<Integer, Double> entry : probabilities.entrySet())

  • I would like some Help please!

    Hey everyone. I bought a new Ipod 30Gb Black Video yesterday which i recieved at about 11am. I turned it on and it got stalled on hold. I couldnt turn the ipod off or nothing at around 3 the Ipod was dead so I installed all the programs and plugged it into the computer at around 3.45. It has been on all night and now at almost 1 the next day it is still saying Do Not Disconnect. I have been into Itunes many times and cannot see that in anyway being in contact with the ipod. What should I do. I am planning to leave it on till about 7.30 tonight but thats the latest I can really do.
    Also When I open up itunes and go into Prefrences and click Ipod it says that there is no Ipod Connected.

    Report it here:
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • I want to upgrade my pc to edit 4K video. I would like some help if you have a minute.

    This is my current PC set up.
    Intel Core i7 930 (4 x 2.8GHz) 8 MB
    Cooler Master Gladiator 600
    Samsung (SH-S223L) DVD +/- RW 24x - Black - Lightscribe (SATA)
    Corsair Gaming Series 600W PSU - Low Noise
    Corsair 6GB (3x2GB) XMS3 1600MHz - Lifetime Warranty (DDR3)
    Microsoft Windows 7 Home Premium 64 BIT
    Asus P6X58D-E/USB3 (Intel X58)
    Intel Core i7 950 (4 x 3.06GHz) 8 MB

    Forget about upgrading. Get a new machine. Tweakers Page - What kind of PC to use?
    Think i7-5930K or 5960X, 32 or 64 GB memory, X99 motherboard, GTX 970 video card, 800+ W PSU, gold or better labelled, a number of SSD's, 3-rd party cooler, etc.

  • Would appreciate some help here still fairly new to MAC

    Ok I've made the mistake of installing a program called Anacron which is supposed to help with the maintenance of OS X. Well I found out after the fact that there is no need to install ANY programs for maintenance as it is all built into the OS now. So I went to uninstall it and wow has this been a headache . First off there is NO uninstaller and when following the read me file that I found to uninstall it, part of it works and part of it doesn't. This is the information to just disable it (not delete it):
    How do I disable or remove anacron?
    To disable anacron, run the following commands in a terminal:
    cd /Library/LaunchDaemons
    sudo launchctl unload -w ./anacron.plist
    cd /System/Library/LaunchDaemons
    sudo launchctl load -w ./com.apple.periodic-daily.plist
    sudo launchctl load -w ./com.apple.periodic-weekly.plist
    sudo launchctl load -w ./com.apple.periodic-monthly.plist
    The above worked, but the info which is supposed to help you delete it all together does NOT work and I would appreciate some help/comments on why it doesn't. Here is the info for deleting it:
    To completely remove anacron from your system, delete (trash):
    /usr/local/sbin/anacron
    /usr/local/share/man/man5/anacrontab.5
    /usr/local/share/man/man8/anacron.8
    /Library/LaunchDaemons/anacron.plist
    /etc/anacrontab
    /var/spool/anacron
    /Library/Receipts/Anacron.pkg
    When I use Terminal to get in there and delete that stuff, when I try and delete Anacron, I'm given a list of file attributes (I guess) .. it looks something like this:
    override rwxr-xr-x root/wheel for anacron?
    What in the world does this mean and how in the world can I get this crap deleted from my system? Seems like everything I do is not enough to get this stuff deleted.
    Thank you for your time

    "Are you borrowing some frined's account, you have lots of messages here for a guy fairly new to mac"
    No, the mac is mine, and this is my account. I still consider myself pretty new to MAC OS X. The time of me registering here is right at the same time I received my iMac which is just over a year. To me that is still pretty new I may have a buttload of posts, but that doesn't mean I know a lot about MAC OS X and the MAC computers.
    I certainly appreciate your help with this problem. It worked flawlessly. This is very much like DOS in windows......yuk, just reflecting on the past. Thank you again, sooo much. I now feel much better, what a relief.
    Edit: Oh by the way, just answering "Yes" gave me, if I remember correctly, something about forbidden. But doing it the way you described above using the sudo lines worked great and it asked me for my user password, I put it in, then everything was ok, it deleted everything I wanted it to.
    Message was edited by: QuickDraw

Maybe you are looking for

  • Assembly failed while configuring track for ECOM

    Hello, I am trying to configure the track for the ECOM application. I have reached successfully upto the step of importing the SCA files on the Consolidation tab of CMS Transport Studio. Now when I try to assemble the components, I get the message "A

  • SAML IDP issue

    I currently have a working Service Provider-IDP SAML solution working inside Enterprise Manager (both setup by an Oracle Engineer). I'm trying to use my own IDP (created using OpenSAML - which does work successfully with other products) to interact i

  • "OCI-21560: argument 4 is null, invalid, or out of range"

    Hi, When I am running query *"select xmlelement("SQLX", 'Hello World!') from dual"* in Toad , i am getting below error - *"OCI-21560: argument 4 is null, invalid, or out of range"* In sql prompt also it is not runnig.Got below error. SQL> select xmle

  • Publish the iP4 sensitivity

    If Apple claim to have the best antenna in the market then why not publish the real data from that 100 million dollar test facility? , what is the actual spec of this phone, what level does it work down to , -110 or -120dBm? Assuming that the "weak s

  • How to test network speed

    How do I test the speed of my network to determine if Time Capsule or my Internet provider is behind a real slowdown in my internet access. I ran the java test at DSLReports.com and got the following results: Compared to the average of 971 tests from