How to save a D 4 table to a file and load it later?

Hello

I try to save a picture of D 4 (table [4000] [3] [20] [5]) of UINT in a file. I can do so through the "write to the binary file. But then I can´t load it. I know that I can turn my table up to 1 D array of 1.200.000 (4000 * 3 * 20 * 5) elements of UINT. When I load, I must turn back (with a lot of "looping for") back to 4 d. But is there an easier way to do this?

I wasn't able to find a solution in this forum - I'm sorry if I made a new thread if there is already a solution in this forum.

Best regards

Use the table to remodel.  It is expandable to as many dimensions as you need.  First convert the table 4 d 1 d to write data to the file.  After reading the 1 d of the file table, reuse remodel to restore the 4 d format.

Write to a binary file will accept any data format.  The binary file for reading will read data from any file.  If you tell him what is the format of data, he will perform it for you.  It works for me for a table of 4 d little test.  Read the detailed help for more information.

Lynn

Tags: NI Software

Similar Questions

  • How to save the data in table 1 d to Excel in continuous

    Mr President.

    How to save the data in table 1 d to Excel at all times, so that all the data of the first scan must be placed first thought and all the data from the second analysis must be placed on the second Board and continue on the street...

    Sy@m...

    Hi Sy@m

    Here is a vi that might give you a few ideas to try:

  • How to save data from the COM port to file?

    Hi all

    can someone tell me please how to save data from the COM port on file? I transfer 1 byte of serial port... attached is the image of the vi... very basic.

    I would like to save the data in a table... I mean, 1 data--> data--> data tab 2 tab 3rd--> tab

    and so on... can anyone help?


  • I am new to adobe.  Saved gall .pdf for Adobe PANEUSE Xi and can be seen on the screen.  How to save the .pdf on my Flash drive file: L?

    I am new to Adobe.  Have the .pdf file in Adobe Reader Xi and can open and see on my screen.  How to save the .pdf on my Flash Drive file: L?

    I would advise against ever record directly onto a flash drive. For no reason I can understand this often broken leaves files behind.

    Instead, just save it to your desktop and drag it to the usual flash drive (in Windows Explorer or the Finder).

  • How to make a PDF to a Word doc file and an Excel doc?

    How to make a PDF to a Word doc file and an Excel doc?   Finally, I would like to combine Word and Excel doc doc. in a single PDF file.

    Hello

    You will be first to combine the word and excel doc sheet first to a single Document, may be you can copy and paste the content in the Excel file in the word do.

    Once you have done that you can use Word to PDF converters, you can download a program to do this or use an online service

    I usually use the following website http://www.pdfonline.com/convert-pdf/ which is free and is safe for me.

  • How to capture a .gif of a spectrum analyzer file and save the file in PC

    I want to capture a .gif from a spectrum analyzer file and save the file to the PC, but I have a problem when reading data from the instrument. I don't know how to format the string has obtained from the instrument, when I use '%s' or '%t' as string format to read the data from the instrument is truncated.

    my code are, could someone tell me where I'm wrong?

    char resultsArray [5000];

    viPrintf (hSpectrumInstr, ": MMEMTORCR ' CIMAGE.") GIF "\n"); "
    viQueryf (hSpectrumInstr, ": MMEMATA? '") CIMAGE. (' GIF'\n ', '%t', resultsArray);
    printf ("%s", resultsArray);
    GetChar ();

    as you can see your code is not readable, can you post a screenshot or, as before, a Word document?

    When you use "%b" table must be of type ViInt8

  • How to save a notebook entry in a .reg file

    I'm using windows vista 32-bit operating system on a Dell laptop inspiron 1525. Update widows stope work after an update of security for windows vista sp2 has been harnessed downloaded and installed

    Have tried to solve a Vista 32 bit windows update problem using tips provided in the answer to the question of the "lack of windows, vista sp2 64-bit installation, service cannot update anything".  I can copy provided a registry for Notepad but Notepad file offers only "txt file and all files ' recording options.  I tried to save him by using the two options, but get a "aren't of registry files."  response when you try to import the file into the regedit program.

    Hello

    To create the .reg file, use Regedit.exe to export the registry key that you want to delete, and then use Notepad to edit the .reg file and insert the hyphen.

    I suggest you to see the following link for more information:

    How to add, change or remove subkeys in registry and values by using a registration entries (.reg) file
    http://support.Microsoft.com/kb/310516

    Note: this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article: back up the registry in Windows Vista

  • How to save a calendar I created with the photo and the dates recorded on separate pages?

    How to save a calendar I created in photoshop with the photo and the dates recorded in the form of two separate pages?  When I save in pdf or jpeg, they are automatically save 1 pg with dates and photos on a single page.  This is causing problems when I print.

    Hi there, in which case your printer is not very large, you can also trim down the two versions and print them as separate documents.

    (1) create a guide where you want to split the pages by clicking on the rule (hit control R if they are not displayed) and dragging to the desired location.

    Create the Guide to make it so be precise in the way which divide you your page, and so that no part of the image will be repeated or lost.

    (2) select the Cropping tool and adjust the area of culture at half top of your agenda, using the guide you have just made to align with the right place. Press return to complete the harvest.

    (3) go in file > save as the. Name the file something like calendar_top and select the desired file format. Press "Save".

    (4) once you return to your calendar file, go to the history Panel and select 'Guide to flirting This will bring you to step before you cropped the image.

    (5) repeat the steps as before to the bottom half of the schedule, once more, using the guide to help you make your growing area.

    Then you would just print each of the two pages individually. The images does not appear in a single document, but if you have Acrobat you could combine the files.

    I hope this helps!

  • How to save image Lightroom changes in the source file?

    My experience with the trial version of lightroom is very positive regarding the powerful image editing features and associated metadata.  But I can't find a way to save changes 'develop' images in the source file for the photo, with that I work.  So far, I am able to save metadata in the file, but not the image editing.  Of what I read, I'm afraid that's not possible without ridicule roundabout exporting to new files then copy / move multiple copies around, etc.. Without this opportunity, I am sure that I will buy Lightroom and will miss out on all the powerful features.  Without an OPTION that turns on the equivalent of a button SAVE, manage my photo collection would be a nightmare.

    So my question is: How do you save the change (i.e. developed) version of photo in the same file where the original photo has been stored?

    Please, please spare me the answers telling me how stupid I am want to do this and that the cognisenti and professionals would NEVER do that.    But please tell me there is a secret place to enable this option in lightroom.

    Thanks in advance.

    Dad Ben,

    LR stores everything you do in his catalog. The word "catalog" in LR - talk indicates not your images, but the database where LR all the stores. This database (catalogue) is a file with the ending < .lrcat=""> and you can see where he is going on > Edit > catalog settings > general tab.

    This storage or registration in the catalogue is happening constantly and automatically and you don't have to press a button to .

    Stored or saved in the catalog are your changes and everything related to the management of the image (including the location of your image files), captions, keywords, etc.

    For this reason, it is very important that preserve you and protect your LR catalog as you preserve and protect your image files. This means that (a) you know the location of the catalog and (b) you should make backups regularly. Without the catalog that you would be always your image files but your changes and everything what you in LR would be lost.

    LR does not write to the original image file. But there is the possibility to save the changes in an xmp file, which is a small file which is (normally) Moreover the image file. Do you this backup to the xmp file either in the library Module by going to > metadata > save metadata to file (or the shortcut Ctrl / Cmd + letter "S"), or in the Module development by going > Photo > metadata save file - or CTR. + S.

    With DNG, it is a bit different; with Lr DNG writes the changes to the file header. But the procedure is the same.

    Economy of XMP (or in the header of a DNG) is not necessary because LR records everything in his catalog - automatically. Economy of XMP (or in the header of DNG) has the effect that the changes you made in LR are now visible in any other Adobe program that can read the XMP files (or DNG files) - for example Adobe Bridge. But for LR, it is not necessary.

    And there is a caveat: while LR records everything in the catalog, not all things that you do in LR are written in XMP e DNG. If only the LR catalog records everything you've done in LR.

    To answer your question: you do not have to save the modified version of a photo in the original file. LR saves your changes in the catalog automatically and displays your changes because he reads the original image file and then apply the changes to the display.

    WW

  • How to save multiple JPEG images in a single file

    I scanned 22 photos (1800 KB total) and I need to transfer all of them for a job application.

    The problem is, when I'm on the job site and I hit the icon of the file attached, I can only select one file.

    The site will only allow a single file transfer only.

    So, is it possible to save all jpeg in jepg files one file, so I can send them into a single file?

    What email program are you using? If you used Windows Mail for example, you could highlight all 22 JPEG files, and then drag them into the text box of a new message and they will settle.
     
    You can put all the JPEG images in a single folder and then right-click | Send to | Compressed (zipped) folder and attach that. The recipient would save the file and then right-click | Extract all.
  • How can I extract the data from a csv file and insert it into an Oracle table? (UTL_FILE)

    Hi, please help me whit this query

    Im trying to extrate the data in a file csv and im using the ULT_FILE package
    I have this query that read the file and the first field, but if the field has a different length does not work as it should

    For example if I had this .csv file:

    1, book, laptop

    2, pen, Eraser

    3, notebook, paper

    And in the table, I had to insert like this

    ID descrption1 description2

    laptop 1 book

    Eraser pen 2

    paper laptop 3

    For now, I have this query, which displays only with DBMS:

    Declare

    -Variables

    Cadena VARCHAR2 (32767).

    Vfile UTL_FILE. TYPE_DE_FICHIER;

    Dato varchar2 (200);                                             -Date

    dato1 varchar2 (200);

    dato2 varchar2 (200);

    Identifier varchar2 (5): = ', ';                             -Identifier (en)

    v_ManejadorFichero UTL_FILE. TYPE_DE_FICHIER;     -For exceptions

    -Table variables

    I_STATUS GL_INTERFACE. % OF STATUS TYPE.

    I_LEDGER_ID GL_INTERFACE. TYPE % LEDGER_ID;

    I_USER_JE_SOURCE_NAME GL_INTERFACE. TYPE % USER_JE_SOURCE_NAME;

    I_ACCOUNTING_DATE GL_INTERFACE. TYPE % ACCOUNTING_DATE;

    I_PERIOD_NAME GL_INTERFACE. TYPE % PERIOD_NAME;

    I_CURRENCY_CODE GL_INTERFACE. CURRENCY_CODE % TYPE;

    I_DATE_CREATED GL_INTERFACE. DATE_CREATED % TYPE;

    I_CREATED_BY GL_INTERFACE. CREATED_BY % TYPE;

    I_ACTUAL_FLAG GL_INTERFACE. TYPE % ACTUAL_FLAG;

    I_CODE_COMBINATION_ID GL_INTERFACE. TYPE % CODE_COMBINATION_ID;

    I_ENTERED_DR GL_INTERFACE. TYPE % ENTERED_DR;

    I_ENTERED_CR GL_INTERFACE. TYPE % ENTERED_CR;

    I_ACCOUNTED_DR GL_INTERFACE. TYPE % ACCOUNTED_DR;

    I_ACCOUNTED_CR GL_INTERFACE. TYPE % ACCOUNTED_CR;

    I_TRANSACTION_DATE GL_INTERFACE. TRANSACTION_DATE % TYPE;

    I_REFERENCE1 GL_INTERFACE. REFERENCE1% TYPE;

    I_REFERENCE2 GL_INTERFACE. REFERENCE2% TYPE;

    I_REFERENCE3 GL_INTERFACE. REFERENCE3% TYPE;

    I_REFERENCE4 GL_INTERFACE. REFERENCE4% TYPE;

    I_REFERENCE5 GL_INTERFACE. REFERENCE5% TYPE;

    I_REFERENCE10 GL_INTERFACE. REFERENCE10% TYPE;

    I_GROUP_ID GL_INTERFACE. GROUP_ID % TYPE;

    BEGIN

    Vfile: = UTL_FILE. FOPEN ('CAPEX_ENVIO', 'comas.csv', 'R');

    loop

    UTL_FILE. GET_LINE(Vfile,Cadena,32767);

    dato1: = substr (cadena, instr(cadena, identificador,1,1)-1, instr(cadena, identificador,1,1)-1);

    dato2: = substr (cadena, instr (cadena, identifier, 1, 1) + 1, instr(cadena, identificador,3,1)-3);

    dbms_output.put_line (dato1);

    dbms_output.put_line (dato2);

    -The evidence

    -dbms_output.put_line (cadena);

    -dbms_output.put_line (substr (dato, 3, instr(dato, identificador,1,1)-1));

    -dbms_output.put_line (substr (dato, instr (dato, identifier, 1, 2) + 1, instr(dato, identificador,1,1)-1));

    -dbms_output.put_line (substr (cadena, 1, length (cadena)-1));

    end loop;

    UTL_FILE. FCLOSE (Vfile);

    -----------------------------------------------------------------------------------EXCEPTIONS------------------------------------------------------------------------------------------------------------------------------------------------------------

    EXCEPTION

    When no_data_found then

    dbms_output.put_line ('Todo Correcto');

    When utl_file.invalid_path then

    UTL_FILE. FCLOSE (V_ManejadorFichero);

    RAISE_APPLICATION_ERROR (-20060,'RUTA DEL ARCHIVO NULLIFIED: (');)

    WHEN UTL_FILE. INVALID_OPERATION THEN

    UTL_FILE. FCLOSE (V_ManejadorFichero);

    RAISE_APPLICATION_ERROR ('-20061,'EL ARCHIVO NO PUDO SER ABIERTO ");

    WHEN UTL_FILE. INVALID_FILEHANDLE THEN

    UTL_FILE. FCLOSE (V_ManejadorFichero);

    RAISE_APPLICATION_ERROR (-20062, 'INVALIDO MANAGER');

    WHEN UTL_FILE. WRITE_ERROR THEN

    UTL_FILE. FCLOSE (V_ManejadorFichero);

    RAISE_APPLICATION_ERROR (-20063, 'ESCRITURA ERROR');

    WHEN UTL_FILE. INVALID_MODE THEN

    UTL_FILE. FCLOSE (V_ManejadorFichero);

    RAISE_APPLICATION_ERROR (-20064, 'MODO INVALIDO');

    WHEN UTL_FILE. INTERNAL_ERROR THEN

    UTL_FILE. FCLOSE (V_ManejadorFichero);

    RAISE_APPLICATION_ERROR (-20065, 'ERROR INTERNO');

    WHEN UTL_FILE. READ_ERROR THEN

    UTL_FILE. FCLOSE (V_ManejadorFichero);

    RAISE_APPLICATION_ERROR (-20066, 'LECTURA ERORR');

    WHEN UTL_FILE. FILE_OPEN THEN

    UTL_FILE. FCLOSE (V_ManejadorFichero);

    RAISE_APPLICATION_ERROR ('-20067,'EL ARCHIVO ARE ESTA ABIERTO ");

    WHEN UTL_FILE. THEN ACCESS_DENIED

    UTL_FILE. FCLOSE (V_ManejadorFichero);

    RAISE_APPLICATION_ERROR (-20068, 'REFUSED ACCESS');

    WHEN UTL_FILE. DELETE_FAILED THEN

    UTL_FILE. FCLOSE (V_ManejadorFichero);

    RAISE_APPLICATION_ERROR (-20069, 'OPERACIÓN BORRADO FALLO');

    WHEN UTL_FILE. RENAME_FAILED THEN

    UTL_FILE. FCLOSE (V_ManejadorFichero);

    RAISE_APPLICATION_ERROR (-20070, 'OPERATION SOBREESCRITURA FALLO');

    END;

    Hello

    Try something like this:

    POS1: = INSTR (cadena, idntificador, 1, 1);
    POS2: = INSTR (cadena, idntificador, 1, 2);

    ID: = SUBSTR (cadena, 1, pos1 - 1);
    description1: = SUBSTR (cadena, pos1 + 1, (pos2 - pos1)-1);
    Description2: = SUBSTR (cadena, pos2 + 1);

    where pos1 and pos2 are numbers.

    Rather than use UTL_FILE, consider creating an external table.  You won't have to write any PL/SQL, and this means that you won't be tempted to write a bad article of EXCEPTION.

  • Vista crashes-cannot recover save point. a way to recover lost files and avoid crashing

    Vista crashes-cannot recover save point.  a way to recover lost files and avoid crashing.

    E-mail address is removed from the privacy *.

    Data recovery:

    1. slave of your hard drive in another computer and read/save your data out there.

    2. put your Hard drive in a USB hard drive case, plug it into another computer and read/save from there.

    3 Alternatively, use Knoppix Live CD to recover data:

    http://www.Knopper.NET/Knoppix/index-en.html

    Download/save the file Knoppix Live CD ISO above.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://isorecorder.alexfeinman.com/isorecorder.htm

    Download the Vista software from the link above.

    After installing above ISO burning software, right click on the Knoppix ISO file > copy the Image to a CD.

    Knoppix is not installed on your PC; use only the resources of your PC, RAM, graphics etc.

    Change the boot order in YOUR computer/laptop to the CD/DVD Drive 1st in the boot order.

    Plug a Flash Drive/Memory Stick, BOOT with the Live CD, and you should be able to read the hard drive.

    When the desktop loads, you will see at least two drive hard icons on the desktop (one for your hard drive) and one for the USB key.

    Click on the icons of hard drive to open and to understand which drive is which.

    Click the icon for the USB drive and click on "Actions > Change the read/write mode" so you can write to disk (it is read-only by default for security reasons).

    Now to find the files you want to back up, just drag and drop them on the USB. When you're done, shut down the system and remove the USB key.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Vista Media recovery obtaining and/or using the Vista recovery on your computer Partition to factory settings .

    There is no Vista free download legal available.

    Contact your computer manufacturer and ask them to send a recovery disk/s Vista set.

    Normally, they do this for a cost of $ small.

    In addition, ask them if you have a recovery Partition on your computer/laptop to restore it to factory settings.

    See if a manual provided with the computer or go to the manufacturer's website, email or you can call for information on how to make a recovery.

    Normally, you have to press F10 or F11 at startup to start the recovery process...

    Another way I've seen on some models is press F8 and go to a list of startup options, and launch a recovery of standards of plant with it, by selecting the repair option.

    See you soon.

    Mick Murphy - Microsoft partner

  • How can I fix excerpt: error writing to the file and an unstable WiFi connection

    original title: How can I fix excerpt: error writing to the file

    Hello, I do not know anythingon fixing of my computer when I have problems. I looked at all the research sites and assistance, and none of them helped me with these problems and im getting ready to launch her aspire one mini laptop computer. im running xp and I bought it used and it has done this from day one. 2 weeks ago, that I got it. Please can you help me.

    How can I fix excerpt: error writing to the file C:docume~1\user\local~1\temp\nsvc.tmp\conduit-left.bmp

    and im having problems with my connection remaining on the port wireless what do I do, I can solve this problem too because I cannot even be in line for more then 5 minutes with the duty to stop and start over or repair the connection.

    For the first question, try to go to start | Programs | Accessories | System Tools | Disk Cleanup and that should clear of junk.  Then click Start | Run and type msconfig and disable the startup items, that you don't need, as many programs decide that they must run at startup and clutter the machine when they do not need to.  Also perform a defragmentation of the disk (under system tools also).  See if that helps with performance and other issues.

    Steve

  • How set permissions so I have access to all files and folders on my pc?

    I'm the only person using the computer, so I want to access all of the files and folders without changing the security setting in each case. How can I do this?

    The folder "C:\Documents and Settings\All users" is actually a symbolic link that was created when you upgraded from an earlier version of Windows (that would be a good thing to mention in the original post). You'll find its files here:

    C:\Users\Public\Desktop
  • How to get a program to the shared program files and data on a different computer?

    I run an accounting program on a Windows XP computer that has all the programs files and data shared to our local network. This accounting program is also installed on several other machines, Windows 7, and I want to know, how I move these Windows 7 machines to use the program and data off the XP machine, instead of using local data files (static)?

    This has been fixed, thanks. I ended the program on the host computer, and on this computer I just run the .exe; i.e. I actually run the program on the host computer.

Maybe you are looking for