Which kind of array to choose for combining several unsigned byte

Hi, I have several unsigned byte variables, and want to build them together as an array for future use in configuration saving. Could any one tell me which kind of array I should use? Or should I use "build array"?
Solved!
Go to Solution.

I think you would be better off saving these items individually. It is a bit more work on the code side but it is much easier for a human to edit the file. Use a traditional ini file format such as:
[Application]
Station 1 = Enabled
Station 2 = Disabled
Logging = Enabled
Stop on Error = Yes
This is much more readable for a person. I recommend this sice you are saying this is a configuration file. Generally these will be open for editing by a person.
If you go with some criptic array format such as
Parameter = Enable, Enable, Disable, Enable
You can write a subVI that will return cluster containing your configuration settings. You would also write a similiar subVI for saving the parameters. This VI would also accept the cluster as an input.
the user will have no clue what they are setting or modifying.
Here are some examples of VIs I use to handle configuration files.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Attachments:
Generic Get Section from Config File.vi ‏20 KB
Get Application Specific Parameters From Config File.vi ‏32 KB
Get IP Addresses from Config File.vi ‏22 KB

Similar Messages

  • Which kind of paper is suitable for printing best quality photo by hp officejet 4500 wireless?

    Hi
    I have a "hp officejet 4500 wireless" printer and want to print best quality photo from my digital camera. Which kind of paper is suitable for my job? Please kindly advice me.
    Best regards,
    Faezeh Dibaei

    The link below will bring you to the HPshopping website for the Officejet 4500 supplies. Click on the "Paper" link at the top of the webpage and it should show you the supported paper types. I would personally asuggest the Advanced photo paper for photo pritning.
    http://shopping2.hp.com/en_US/home-office/-/produc​ts/-/-/CB867A?TargetPage=productsupplies
    Binary_Zen (worked at HP )
    Click the white Kudos star to say thanks
    Please mark Accept As Solution if it solves your problem

  • Which network security to I choose for my new IPhone 5.  I have cable internet with airport router.

    Which network security do i choose for my new IPhone 5 If I have cable internet and an airport wireless router?

    You should choose WPA2 Personal (AES).
    See this Apple doc for more info -> iOS: Recommended settings for Wi-Fi routers and access points

  • How can I tell which kind of RAM is correct for my iMac G5?

    How can I tell what kind of RAM chips are correct for my iMac G5?  It has two slots and can take up to 1 Gb each slot.  I would like to get Newegg chips, and want to make sure I order the correct ones.
    Also, do you know a website where I can find out how to install them?

    That information is in your computer's user manual.  If you no longer have one then you can download it at support.apple.com/manuals/.  Or you can visit DataMem where they have a Mac chart of which products are needed for different Mac models.

  • Which kind of DVD writeable discs for my P505D-S8935 Laptop? -R or +R?

    Does it matter? I think the drive in my P505D-S8935 is a + and - R drive, so which type of media is best, if either? I have found the +R media slightly cheaper in cost than the -R. If both work, great.

    +R discs are supposed to be slightly more compatible.
    Try to avoid cheap no name brand discs, some times you get lucky and they work, but they are more prone to errors.
    Welcome to the Toshiba user forums.
    For those of you who do not know what a user forum is, it is a community of users who volunteer time to help other users. Anyone can participate. It's 100% voluntary.
    Being super active is never a requirement

  • Which flavour of Linux to choose for database 9i Rel2 and 9iAS rel2

    I am getting the Oracle 9i rel2 and 9iAS rel2 from OTN (OTN Tracks) for Linux.
    I wih to know what flavour of Linux to choose (Red Hat or Suse).
    Again this is only for my own PC.
    Any suggestion?
    Thanks,
    Dhananjay

    Thank you! Do I need to apply any special O/S patches first?

  • Which kind of SSD hard discs do support with earlier 2011 MBP ?

    Which kind of SSD hard discs do support with earlier 2011 MBP ?
    I'm using 15 inch earlier 2011 MBP. I would like to replace hard disc to a new SSD hard disc to improve performance. But I don't know which kind of SSD works fine for it. Does anyone work fine? Could you give me some successful experience? Thanks a lot.
    BTW, Can I use SATA3 SSD? And any problems here?
    Thanks a lot!

    is it a hard questions?

  • HT201300 You have Macbook of some kind and it has two Thunderbolt ports.  Which port do you use first for an external monitor/projector?

    You have Macbook of some kind and it has two Thunderbolt ports.  Which port do you use first for an external monitor/projector?

    By the way, I have tried shutting of the display switching in the power settings.  That was basically the only real answer I found anywhere.  It didn't work.

  • Please Advice  me which Exam to choose for  OCA

    Which of the below exam shall i choose for certification which is important and good for my career.
    1Z0-001
    Introduction to Oracle: SQL® and PL/SQL™
    or
    1Z0-007
    Introduction to Oracle9i SQL®
    or
    1Z0-047
    Oracle Database SQL Expert
    or
    1Z0-051
    Oracle Database 11g: SQL Fundamentals
    Thanks in Advance

    user10946311 wrote:
    Which of the below exam shall i choose for certification which is important and good for my career.
    Improving SQL skills will often be a good thing for a large range of people.
    Checkout [www.oracle.com/education/certification] and particularly 'View all certification' to help you choose.
    Also Drill down from the that link for exam topics, training and authorized practice exams.
    A better way of choosing the question is what set of skills would do I think I can and would like to master,
    Where do I think these skills will help me in a career,
    What training will I need to master those skills,
    And what certification will should that I have mastered them.
    If you have already a little/experience I suggest 1z0-047 for Oracle Database: SQL Certified Expert* perhaps ought to be exam of choice, as this ought to be useful for the widest range of jobs. However I might actually suggest going for 1z0-051 first as a possibly easier target stepping stone. Incidently I have not taken 1z0-047 myself.
    1Z0-001
    Introduction to Oracle: SQL® and PL/SQL™This exam is about to be retired and is therefore probably bad choice.
    1Z0-047
    Oracle Database SQL ExpertCannot be taken online, perhaps a good thing. May lead to an OCE certification. May be harder to study for and marginally more expensive
    1Z0-007
    Introduction to Oracle9i SQL®
    1Z0-051
    Oracle Database 11g: SQL Fundamentals 1Both can be taken online and are adequate component of a number of certifications. 11g is obviously more up to date. Both, I believe, are not subject to a 14 day retake if you fail.
    The osbourne/oracle press ISBN-13: 978-0071597869: OCA Oracle Database 11g SQL Fundamentals I Exam Guide: Exam 1Z0-051 (Osborne Oracle Press Series) does a good job of covering 1z0-051 if your starting with some experience of SQL but I suggest you should suppliment that with quality (eg Oracle) training if necessary
    Also
    Checkout the following sticky posts about the forum blog and faq
    [ Oracle Certification Blog |http://forums.oracle.com/forums/ann.jspa?annID=801]
    [Answers to Frequently Asked Questions on this Forum |http://forums.oracle.com/forums/ann.jspa?annID=794]
    Please also be aware you may be offered braindumps and unauthorized learning material .... please study the links above to see why you should avoid them.
    Good Luck - bigdelboy
    NB: checkout also Additional 10g OCA Exam - Which One
    Edited by: bigdelboy on 29-Mar-2009 16:08

  • How do I know which version of Premier Elements 13 to choose for installation ... 64 Bit Installer (64.exe) OR 64 Bit Installer Package (64.7z)? Thank you

    How do I know which version of Premier Elements 13 to choose for installation ... 64 Bit Installer (64.exe) OR 64 Bit Installer Package (64.7z)? Thank you

    You can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    Photoshop/Premiere Elements 13: http://prodesigntools.com/photoshop-elements-13-direct-download-links-premiere.html

  • Which .exe file I should choose to apply SP2 for SQL Server 2008r2 Enterprise Edition 64Bit

    Hi All,
    Which .exe file I should choose to apply SP2 for SQL Server 2008r2 Enterprise Edition 64Bit.
    And what is the difference between below .exe files. 
    SQLServer2008R2SP2-KB2630458-x64-ENU.exe
    SQLServer2008R2SP2-KB2630458-IA64-ENU.exe
    Grateful to your time and support. Regards, Shiva

    Good day
    Shiva Shakthi,
    I have change the type of the thread to a question, as this is a question :-)
    please chose the right type next time. If you have a question then use a question thread (this is the default), and that will let you mark the answers that you get.
    Have a nice day :-)
    [Personal Site] [Blog] [Facebook]

  • Which kind of cache group is suitable for the intensive insertion operation

    Hi Chris,sorry for call you directly. Because you give me many good answers about my many newbile questions these days:)
    You told me that the dynamic cache group is not suitable for the intensive insertion operation
    because each INSERT to a child table has to perform an existence check against Oracle even if load the cache group into RAM manually(Please correct me if wrong).
    Here I have many log tables that they only have a primary key and no foreign references and they are basically used to reflect changes from the related main tables.
    Every insert/update/delete on the main table will insert a log record in the related logging table(No direct foreign references).
    In order to cache these log tables, I have to create a independent cache group for each one, right?
    I do not want load these logs data into RAM because my application do not use them or these logs will waste my RAM clearly.
    so here comes my question.Which kind of cache group should I use to gain the best performance with no loading them into RAM?
    As my understand,the dynamic cache group load data on demand while the regular cache group need load all the data into RAM firstly and it won't load data from oracle anymore?
    Thanks in advance
    SuoNayi

    Let me be more specific. Consider this cache group:
    CREATE DYNAMIC ASYNCHRONOUS WRITETHROUGH CACHE GROUP CG_SWT
    FROM
    TPARENT
    PPK NUMBER(8,0) NOT NULL PRIMARY KEY,
    PCOL1 VARCHAR2(100)
    TCHILD
    CPK NUMBER(6,0) NOT NULL PRIMARY KEY,
    CFK NUMBER(8,0) NOT NULL,
    CCOL1 VARCHAR2(20),
    FOREIGN KEY ( CFK ) REFERENCES TPARENT ( PPK )
    INSERTS into TPARENT will not do any existence check in Oracle. An INSERT INTO TCHILD has to verify that the corresponding parent row exists. If the parent row exists in TimesTen then no check is doen in Oracle. If the parent row does not exist in TimesTen then we have to check if it exists in Oracle and if it does we will load it into TimesTen from Oracle (along with any other child rows) before completing the INSERT in TimesTen. So in the case where the parent always exists already in TimesTen there is no overhead but on the other case there is a lot of overhead.
    If your log table is truly not related to the main table (not in TT and not in Oracle either) then they should go into separate cache groups. If each insert into the log table has a unique key and there is no possibility of duplicates then you do not need to load anything into RAM. You can start with an empty table and just insert into it (since each insert is unique). Of course, if you just keep inserting you will eventually fuill up the memory in TimesTen. So, you need a mechanism to 'purge' no longer needed rows from TimesTen (they will still exist in Oracle of course). There are really two options; investigate TimesTen auotmatic aging (see documentation) - thsi may be adeuate of the insert rate is not too high - or implement a custom purge mechanism using UNLOAD CACHE GROUP (see documentation).
    Chris

  • I've just send to repair my retina display and I'm no very sure that they replace it for a LED one . How I could know which kind of display I got now??

    I've just send to repair my retina display and I'm no very sure that they replace it for a LED one . How I could know which kind of display I got now??

    If you head over to ifixit.com, you can check out their replacement guides for each of the items you feel needs replacing. The cost for the parts is listed there. It would be that cost + labor at an Apple store. I'm not sure if they would replace things that are cracked as that is cosmetic damage and doesn't affect how well (or poorly) the computer works. You would have to bring it to a store and ask.
    ~Lyssa

  • Which module do I choose for reading voltages

    Hi All,
    Could someone give me some advice in there opinion on which SCXI
    voltage module to choose please.
    I want to log analog voltages ranging from the low mvolts to volts.
    I'm looking at between the SCXI-1100, the SCXI-1102 and the
    SCXI-1102B/C. Could someone also explain the filtering rate as well,
    what effect this has on the signal etc.
    Thanks in advance
    Nat

    Hi Natalie,
    I know this is not the answer you are looking for, but probably, the best solution is to call your local NI Field/Sales Engineer and explain him/her what you are trying to do. Also, it will be easier to disscuss price, performance and other parameters that must be considered when taking such a decision.(usually, his/her e-mail/phone is in the bottom-left page corner when logging to "MyNI" account)
    Good Luck

  • Which JetDirect Printer Server shall I choose for my LaserJet M1319f?

    Hi,
    I own a LaserJet M1319f MFP and would need to make it "network aware" as we have Mac, Win and iOs devices and all want to print :-)
    For a start I would be OK with just printing capabilities, I don't need it to scan or fax with the computer(s).
    The basic question is: Which Printer Server shall I choose? I don't want to run a PC as Server so I'd need "something", in earlier days I used a Jetdirect device but which one would be compatible with the M1319?
    Any hints welcome,
    Many thanks,
    Peter

    While your Laserjet appears to be a consumer model, the Jetdirect print servers are commerical products.
    You would be best to post this question in the commercial support forums.
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

Maybe you are looking for

  • Installing new 5.1 Bootcamp over old one?

    A cursory search on this didn't turn up any results, or maybe I'm just asking the question wrong... On a 2012 rMBP, I have Mavericks and Win7 via Bootcamp 5.0 (latest available at the time) Now that Bootcamp 5.1 is out, is it standard practice to sim

  • 10.2.0.1 Companion CD install in 10.2.0.3 existing ORACLE_HOME?

    Hi - I have already installed and patched my ORACLE_HOME on RHEL x86_64 and created a 10.2.0.3 database, which is running fine. Now we're going to use interMedia and I need to install the Companion CD, which is 10.2.0.1 Is it safe to install this 10.

  • Insert textarea into MS SQL text 16 field

    i have to insert data from a textarea into a text 16 field in ms sql server. i've otice that if i enter so many chars in the textarea, it won't get insert. i have read that, a jdbc prepareStatement can only have 4000 chars. could it be that i've went

  • Get wierd screen when opening PDF file in Acrobat/Reader 9.5.2

    Here's the screen I now get when trying to open a Captivate-generated PDF in either Acrobat or Reader 9.5.2. Any thoughts?

  • OPS$ User question

    Please consider the following case : I have a system where all its application users are OPS$ users , which mean that they get there credential from the OS. The users are create as followed : create user YYYYY identified externally default tablespace