How to build a table with predifined? Like Huffman decoding, there are 34 predefined tables?

I am trying to use Labview for mp3 huffman decoding. there are 34 predefined tables for lookup purpose. I tried build array control, but it is so hard to assign value with size of 16. What is the better way to create predefined array? And how to do lookup table with Labview?

IMHO, the best way to have something "predefined" is to read this data from a "setup/configuration" file (if you don't want to use "default settings" LV feature). The choice of the format for all the data that you want to store in some kind of configuration file is up to you.
Also, constructing a "lookup table" in LV doesn't seems different as for any other programming language.

Similar Messages

  • How to build a screen with master detail data

    Hi ,expert ,
    Someone can teach me how to build a screen with master detail table ?
    I wnat to build a screen for user to maintain FERT group  and  FERT detail list  in one screen .
    just like this ..
    MASTER Block
    FERT1      
    FERT2 
    FERT3
    DETAIL Block
    FERT1A1
    FERT1A2
    FERT1A3
    when I double click FERT1 in the Master Block the detail view will show FERT1A1  A2 A3
    Thanks for your help ....
    Moderator message : Not enough research before posting. Spec dumping not allowed. Thread locked.
    Edited by: Vinod Kumar on Jun 13, 2011 1:38 PM

    An inefficient way to create the array is to use the build array and a shift register as shown below. It's more effecient in terms of memory management to create the array and then use the replace array subset as shown in the other image. Of course, if you don't need the array inside the loop, just wire the value out of the while loop and on the exit tunnel, right click and select 'Enable Indexing'.
    Message Edited by Dennis Knutson on 07-03-2007 10:25 PM
    Message Edited by Dennis Knutson on 07-03-2007 10:26 PM
    Attachments:
    Crude Build Array.PNG ‏4 KB
    Better Build Array.PNG ‏6 KB

  • How to build a array with high sampling rates 1K

    Hi All:
    Now I am trying to develop a project with CRio.
    But I am not sure how to build a array with high sampling rates signal, like >1K. (Sigle-point data)
    Before, I would like to use "Build Arrary" and "Shift Register" to build a arrary, but I found it is not working for high sampling rates.
    Is there anyother good way to build a data arrary for high sampling rates??
    Thanks
    Attachments:
    Building_Array_high_rates.JPG ‏120 KB

    Can't give a sample of the FPGA right now but here is a sample bit of RT code I recently used. I am acquiring data at 51,200 samples every second. I put the data in a FIFO on the FPGA side, then I read from that FIFO on the RT side and insert the data into a pre-initialized array using "Replace Array subset" NOT "Insert into array". I keep a count of the data I have read/inserted, and once I am at 51,200 samples, I know I have 1 full second of data. At this point, I add it to a queue which sends it to another loop to be processed. Also, I don't use the new index terminal in my subVI because I know I am always adding 6400 elements so I can just multiply my counter by 6400, but if you use the method described further down below , you will want to use the "new index" to return a value because you may not always read the same number of elements using that method.
    The reason I use a timeout of 0 and a wait until next ms multiple is because if you use a timeout wired to the FIFO read node, it spins a loop in the background that polls for data, which rails your processor. Depending on what type of acquisition you are doing, you can also use the method of reading 0 elements, then using the "elements remaining" variable, to wire up another node as is shown below. This was not an option for me because of my programs architecture and needing chunks of 1 second data. Had I used this method it would have overcomplicated things if I read more elements then I had available in my 51,200 buffer.
    Let me knwo if you have more qeustions
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    RT.PNG ‏36 KB
    FIFO read.PNG ‏4 KB

  • Export with expdp tables with name like 'name1%' or like 'name2%'

    How can I export data and metadata only from tables with name like 'name1%' or like 'name2%'
    what value must have INCLUDE parameter ?
    from one match it is
    INCLUDE=TABLE:"LIKE 'REF%' "
    this exports tables witch name begins with REF, but I need tables REF and REF1
    if I write like this:
    INCLUDE=TABLE:"LIKE 'REF%' ",TABLE:"LIKE 'REF1%' "
    or
    INCLUDE=TABLE:"LIKE 'REF%' "
    INCLUDE=TABLE:"LIKE 'REF1%' "
    it says that
    Total estimation using BLOCKS method: 0 KB
    ORA-39168: Object path TABLE was not found.
    ORA-31655: no data or metadata objects selected for job
    I supose such constructions work like between them is logical AND.
    I need an OR construction.

    C:\>EXPDP SCOTT/TIGER DIRECTORY=DATA_DIR DUMPFILE=EXPDATA.DMP INCLUDE=TABLE:"LIK
    E'REF%'"
    Export: Release 10.1.0.2.0 - Production on Saturday, 07 October, 2006 9:38
    Copyright (c) 2003, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    FLASHBACK automatically enabled to preserve database integrity.
    Starting "SCOTT"."SYS_EXPORT_SCHEMA_01":  SCOTT/******** DIRECTORY=DATA_DIR DUMP
    FILE=EXPDATA.DMP INCLUDE=TABLE:LIKE'REF%'Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 192 KB
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    . . exported "SCOTT"."REF123" 9.406 KB 10 rows
    . . exported "SCOTT"."REF12345" 9.414 KB 10 rows
    . . exported "SCOTT"."REF1ABC" 9.406 KB 10 rowsMaster table "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for SCOTT.SYS_EXPORT_SCHEMA_01 is:
      C:\EXPDATA.DMP
    Job "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully completed at 09:38
    C:\>
    INCLUDE=TABLE:"LIKE 'REF1%'
    no need to specify "ref1%" bcoz if u specify "ref%" it means all tables after "ref" will be export.

  • Finding a table with a like %name% in a schema

    What is the query I should use to find a table with a like %name% in a schema?
    Thank you for any help

    select * from all_tables
    where owner = 'YOUR_SCHEMA' and lower(table_name) like '%name%'
    /Regards
    Dmytro

  • How often syncs Firefox sync with the server were my bookmarks are storaged? Can I turn of the historical sync because one computer is at home and the other is at work. So I use totally different webpages and would like to have the history disabled.

    How often syncs Firefox sync with the server were my bookmarks are storaged? Can I turn of the historical sync because one computer is at home and the other is at work. So I use totally different webpages and would like to have the history disabled.

    OK, I found the part about history. It is just to unmark that.
    But still i wonder how often it sync? Instantly? Or when closing FF?

  • I'm trying to make a time sheet and include a grid, but I'm having a hard time figuring out how to print a full grid on my spreadsheet.  There are options for shaded grids but I want a defined grid, and I have spent the last 2 hours looking for the answer

    I'm trying to make a time sheet and include a grid, but I'm having a hard time figuring out how to print a full grid on my spreadsheet.  There are options for shaded grids but I want a defined grid, and I have spent the last 2 hours looking for the answer.  Any ideas?

    Hi Cynthia,
    Are you planning to have this table do any of the calculation, or is is to be used as the electronic equivalent of a sheet of paper with a grid printed on it—a place to record the data.
    For your seven column table:
    Are you using one or more rows at the top of the table to label the data below? If so, you might want this row (or these rows) to be set as Header Rows.
    Are you using the leftmost column to label the rows? If so, you may want this column to be a Header column.
    The default table supplied on the "Blank" templates contains one header row and one header column. If you need more (or fewer) Header rows or columns, select the table, then go Table (menu) > Header Rows > (choose the number you need). Repeat to set the number of Header Columns.
    To make a seven column table from the table supplied by default, click on any cell in column H (The eighth column), and drag right to add more cells to the selection, until you get to the last column of the table. With these cells selected, Go Table > Delete Columns.
    To make the remaining seven columns fit across a single page:
    Go View > Show Print View to show the table as it would appear when printed to paper.
    Select the table by clicking its icon in the Sheets List to the left (easy method), OR by carefully clicking on the outside boundary of the table itself (fiddley method).
    With the table selected, you will see square white handles at each corner and at the middle of each side (including the top and bottom).
    With the mouse, grab the handle in the middle of the right side of the table and drag right (or left) until the table just fits onto the width of the defined page.
    With the table still selected, set the thickness and colour of the cell boundaries using the Gaphics Inspector (as described by Jerry), or using the Stroke, Thickness and Color Well controls in the Format bar above the working portion of the Window.
    Regards,
    Barry

  • How can I delite copies in easy way from "Photo", there are about 4-5 copies each of 3500 pictures!

    How can I delite copies in easy way from "Photo", there are about 4-5 copies each of 3500 pictures!

    Did you import an old iPhoto library into this one? It sounds like you did - NEVER import an iPhoto library - it does not work and creates a massie mess
    If that is wha tyou did and you still have the old library available drag the bad library to the desktop for now and drag the old library to your ictures folder (No Importing Involved) and launch iPhoto - it will open the library and upgrade as needed - once you are sure your photos are safe and at least one backup cycle has run you can trash the bad library on the desktop
    LN

  • How can I delite copies in easy way from "Photo", there are about 4-5 copies each of 3500 pictures!, How can I delite copies in easy way from "Photo", there are about 4-5 copies each of 3500 pictures! ( macbook )

    How can I delite copies in easy way from "Photo", there are about 4-5 copies each of 3500 pictures! ( macbook )

    Did you import an old iPhoto library into this one? It sounds like you did - NEVER import an iPhoto library - it does not work and creates a massie mess
    If that is wha tyou did and you still have the old library available drag the bad library to the desktop for now and drag the old library to your ictures folder (No Importing Involved) and launch iPhoto - it will open the library and upgrade as needed - once you are sure your photos are safe and at least one backup cycle has run you can trash the bad library on the desktop
    LN

  • My iPhone 4 shows the carrier name, I can go online with my data plan, but there are no bars and I can't make phone calls.

    My iPhone 4 shows the carrier name, I can go online with my data plan, but there are no bars and I can't make phone calls.
    It worked for some time, less than a week, I made phone calls and all, and all of a sudden the problem mentioned above happened. Now I can't make any phone calls. I can go online with it, even with my Data plan, I can go to the app store (of course) but can't make any phone calls.
    Please help, this is frustrating.

    Did you already try the troubleshooting mentioned here? http://www.apple.com/support/iphone/assistant/calls/
    Also try to reset the phone by holding the sleep and home button until the Apple lo comes up again. You will not lose any data doing this.
    Message was edited by: Ingo2711

  • How do i stop ituneson my iphone from telling me there are app updates

    I used to be able to prevent iTunes from showing available app updates on my iphone, it used to only show when I the iTunes app. Now I can't figure out why it periodically shows that some app updates are available. On the itunes icon is shows a red box with a number indicating that there are updates availablle but I dont want it to do this. I made sure the itunes program was closed and notification are turned off but it still shows. It's driving me nuts!!

    Thank you. Problem resolved!

  • HT203167 my mac had been formated from HD. ...? HOW TO CATCH BACK MUSICS, MOVIES FROM ( PING'S PAGE ) " THERE ARE CATALOGED ALL MY PURCHASED " ???

    my mac had been formated from HD. ...? HOW TO CATCH BACK MUSICS, MOVIES FROM ( PING'S PAGE ) " THERE ARE CATALOGED ALL MY PURCHASED " ???

    Unless you backup your data, follow these instructions.
    http://support.apple.com/kb/HT2519
    Formatting means erasing, and you normally can't recover from an erase short of redownloading, or copying back from a backup.  For more on backing up and data recovery, read this link:
    https://discussions.apple.com/docs/DOC-1992

  • For a READ TABLE how to build a dynamic WITH KEY condition?

    Hi All,
    I have a Z table with 6 fields. The first field is the Plant and is the key field. This field can be matched with the field from selection screen. Now I have 4 character fields which can contain various values. Now I have another field at the end of the table and this field is the one which I will need for further processing.
    Now this last field will be selected based on the data for first 5 fields.
    This Read is performed in a loop and the data for all the 4 character fields may not be present.
    Now my problem is how to build a Read statement for this table where I need to get the value of the Last field based on the values of first 5 fields?

    Hi,
        Use
    IF    you have internal table With header line then use
          REad Tablename  with key  field1 = value1   field2 = value2      field3 = value3        field4 = value4    field5 = value5.
      If sy-subrc = 0.
    endif.
    if  you have internal table WithOut header line then use
         REad Tablename into workArea  with key  field1 = value1   field2 = value2      field3 = value3        field4 = value4    field5 = value5.
      If sy-subrc = 0.
    endif.
    regards,
    Amit

  • How to build a form with multiple tables in oracle application express

    Hi everyone,
    I have got problem in building a form with multiple tables.I have a main table with (20) columns and this main table is related to the other tables with the primary key-foreign key relation ship.My requirement is i have to build a form which has fields from many tables and all the fields are related to the main table using (ID) column.In that form if i enter ID field i have to get information from differnt tables.
    Please help me to solve this (building a form with mutiple tables)
    Thank you
    sans

    Sans,
    I am no Apex expert, but with a situation as "complex" as yours, have you thought about creating a VIEW that joins these 7/8 tables, placing an INSTEAD OF trigger on that view to do all the business logic in the database, and base your application on the view?
    This is the "thick-database" approach that has been gaining momentum of late. The idea is to put your business logic in the database wherever possible, and let the application (Form, Apex, J2EE, whatever) concentrate on UI issues,

  • How to build a form with a tree component

    Hi, i'd like to know if it's posssible to build a form with
    the Flash 8 Tree component.
    My menu looks like a tree but the childnodes of this tree are
    some form criteria that you can aditionate and post to a serveur.
    I try to use the accordeon menu, and it works but my menu
    must have dynamic heigth, and open all the boxes like the tree
    component...
    I'm in a hole... please healp me...
    Thinks

    Sans,
    I am no Apex expert, but with a situation as "complex" as yours, have you thought about creating a VIEW that joins these 7/8 tables, placing an INSTEAD OF trigger on that view to do all the business logic in the database, and base your application on the view?
    This is the "thick-database" approach that has been gaining momentum of late. The idea is to put your business logic in the database wherever possible, and let the application (Form, Apex, J2EE, whatever) concentrate on UI issues,

Maybe you are looking for

  • Performance Tuning Memory

    I have an application where I expect to be pushing the bounds of the process memory limit on windows. I have done a lot of optimization to make sure that I am using as little memory as possible. I expect it to be around 650M given my current data set

  • What is the best directory / location to store master document database?

    I would like to store my master database containing 14GB of data on the iPhone itself, and then use that to connect to my Mac computers (either the desktop, or one of my laptops). So I have a couple of choices that I am aware of. I can store everythi

  • Why the "Synchronize with Item" property don't save?

    I created that table :- create table syn (col1 number , col2 number); and in forms 6i ..... I determinate col1 as the value for "Synchronize with Item" . http://img169.imageshack.us/img169/6258/synar6.png and when I test it in runtime , it work corre

  • Adobe 8 Standard Textfarbe Schreibmaschine Werkzeug

    Hallo, ich habe schon sämtliche Hilfetexte nach diesem Problem durchforstet. Leider konnte ich nirgeds eine Lösung finden. Mein Problem: Wenn ich mit dem Schreibmaschinen- Werkzeug ein Formular ausfüllen möchte, ist der Text rot. Das war nicht von An

  • Have to keep plugging and unplugging charger to play games.

    When playing games I have to keep plugging and unplugging charger because of lag. I plug it in 5-30min in it lags so i unplug it after that 1-5 min it lags so I have to replug in the charger. I even click on high performance I still have to do the sa