I want to read a file calibration data

I have a few calibration to experience data. There are 14 channels, and the data is organized in columns of a spreadsheet 14 lines x 4, where each column is a different constant of an equation of the form y = b1 + b2.x1 + b3.x2 + b4.x1.x2, per channel.

I need to enter the data in labview, so that I can use it during an experiment. Can anyone recommend the best way to do it? I tried "reading of the file.vi worksheet" but cannot make it work. Recommendations or the sample code? Or do you think it is better to use a text file?

Thank you

Dave

oilyfingers wrote:
so... Going back to my first question: what method do you recommend? a text (CSV or delimited by tab characters) file

It does not matter. You just need to wire the correct separator character at the entrance of the separator of function. Therefore, a default tab, if you save the file as CSV and then thread a constant string this entry with the string constant value by a comma.

Tags: NI Software

Similar Questions

  • You want to read binary files in some parts of the 500th row in the 5 000th row.

    I have files of 200 MB of 1000561 lines binary data and 32 columns when I read the file and sequentially conspire full memory of the generated message.

    Now, I want to read the file in pieces as the 500th row 5,000th row with all the columns and it draw in the graph.

    I tried to develop logic using functions file advanced set file position and the binary file reading block, but still not get the sollution.

    Please, help me to solve this problem.

    Thanks in advance...

    Hi ospl,.

    To read a specific part of the binary, I suggest to set the file position where you want to read the data and specify how many blocks you must read binary file for reading binary file.VI

    for example, if you write table 2D binary file, and then mention you data type this 2D chart and make your account (5000-500). Then together, you produce position. If you have 32 DBL data type and column then it is 256 to the second row and 256 * 500 for line 501th. Use this number as input into your position.vi file get.

    I hope you find you way through this.

  • I want to read tif file and encrypt it by aes. who can help me?

    I have several questions:

    1. is there a java api to read and write files tif. This api can read the header of tif (IFH) and add something to the header.
    2. is there a java api to encypt the tif by AES file stream?

    Thank you very much!!! each superman comes here and help me.
    Thank you

    1. is there a java api to read and write files tif. This api can read the header of tif (IFH) and add something to the header.

    javax.imageio.ImageIO

    2. is there a java api to encypt the tif by AES file stream?

    javax.crypto.CipherOutputStream

  • I want to store the files of Data Pump export on a remote machine

    Hello

    I have two servers to database running, A and B. I want to run a cron job on A who takes a dump and stores it in a directory on B every night.

    Is this possible?

    Thank you.

    Another option would be to use the NETWORK_LINK parameter. Let's say you want the export of A files to be created on the server where the B. create a link from B to A database, and then run expdp B using the link pointing to A network

    http://docs.Oracle.com/CD/B19306_01/server.102/b14215/dp_export.htm#sthref142

    HTH
    Srini

  • How to read two files (one updates every second, the other is constant) simoltaneously

    Dear all,

    I'd appreciate if someone help me.

    I want to read two files, one is the temperature that updates every second, and the other is energy hysteresis that has specific lines and is constant.

    I had a program in the discussion forum to read a file as it is updated. I checked this program in my case and it works.

    Then I added playback file hysteresis energy to the existing file. But while I run the program, the energy hysteresis file is read with all the lines.

    But the goal is that every time the updates of the temperature, I need to read a line of the file hysteresis energy.

    in this way every second, so, I have a new temperature data and a row of the other file.

    I tried to use 'for loop' inside the program, but it did not work, because the temperature reading will stop until that end of the loop.

    I joined the program.

    Could someone help me how read only a row of hysteresis energy file every time that the temperature updated?

    IS that what you wanted to achieve?

  • Process of reading XML files

    Hello

    I have an obligation to read the .xml file that includes the following data in the file.

    < WFPaymentAck >
    < PmtID > 500001 < / PmtID >
    < / WFPaymentAck >


    I want to read the file and access the data that is present in the < PmtID > tag. that is, 500001.

    I have tried two ways, but I get the following error when I try to access the entitlement activity data by using the 'getVariable' method (for example: bpws:getVariableData('Receive_Read_InputVariable','body','/ns2:WFPaymentAck/ns2:PmtID')).

    + Error in evaluate expression "69 online <>." The result is empty for the XPath: /ns2:WFPaymentAck/ns2:PmtID".+ «»

    Please me briefly the steps of how to go about it.

    Thanks in advance.

    Kind regards
    achapla

    Hi Achapala,
    I tried your example. You must use the xml code that is now being questioned by file adapter underneath marker. It will work



    500001

    Kind regards
    NGO

  • Reading a file piece by piece

    Hi all!
    I am reading a file and separate it into pieces, each of which is 4 096 bytes. In addition, each piece is numbered from 0 at the end of the file. So, I did this:
            InputStream in = new FileInputStream(file);
            byte[] bytes = new byte[4096];
            int frameID = 0;
    
            while (in.read(bytes, 0, bytes.length) != -1) {
                    frameID++;
                    bytes = new byte[4096];
            }
    
            in.close();
    So, I just browse every 4096 bytes of the file and make the byte [] content. However, I did not come with a better idea, because when I want to read this file again for a specific piece (for example frameID = 15); I have to start everything in a loop from the beginning until I have find the frameId, then use the byte []. It's quite silly, I know.

    Basically, I have to read a file, piece by piece, and I should be able to jump directly on a specific segment. I'm not allowed to hold the pieces in a collection, and then use it from there. Because, I need to access your hard drive into required reading when I need a data element. Y at - it an idea how I can do? Thank you!!

    Looks like you owe me java.io.RandomAccessFile.

  • How to read a file only?

    Hello world... I am a new Fuze 2 GB owner and I have a problem that I couldn't solve by reading the user manual or searching for this forum.  I use the "rocket" (mainly) to listen to stories and readings in MP3 format.  I placed about a dozen files on my rocket through Windows Explorer drag / move directly into the 'Audiobooks' folder of the rocket.

    My problem: when a story ends, the following starts immediately.  I don't want the next file to play; I want quiet (given that I listen to it while asleep).

    Is it possible to force the "rocket" to play a file only and then be silent while it drift off in his own 'Sleep' mode (that took me 30 minutes)?

    Furthermore, I have disabled "Ch. Mode".  (I've even left "Shuffle" and "Repeat" in 'Music' just in case it might have something to do with it.)

    Thank you very much!

    Because no one taken here have to answer with another "sorry, don't know," I kept trying to figure this out myself.  I discovered a workaround solution and write here for the benefit of any third party who may want to read a file only.  That's what I did:

    I transferred my files (stories and readings in MP3 format, which I originally put in the audiobooks folder) in music-> songs.  Note that this DIY does not work via the audio books folder!

    Then, I selected a file to be read.  When he started, I activated the button "Push and Hold".

    This operation has copied the individual file to Playlist-> list go.

    When I wanted to play this file (and this single file) all in falling asleep, I sailed to music-songs-> list-> Playlist > go.  I chose this file and it played.  At the end of the file, there was blessed silence.

    Don't forget to put your energy saving or sleep to shut down the "rocket" after x number of minutes.

  • How to read a file .mkv on 32EX550 led tv

    I want to read a file .mkv on my new TV LED (32EX550), can someone help me

    You can run a server on your pc like TVERSITY. For my part I use an external media player. Just so you know not to play all the files on all devices. TVersity a bridge well enough however.

  • read and medium n data from text file

    I acquire [a waveform of reading] oscilloscope digital data that is stored in a column in a text file.

    I need to read selectable amount of data at average/parcel them points.

    So basically I want to have a text file with millions of data points, but I want to draw not to say that all 1000. data point. I tried a lot of things I found here on the forum, but as I'm new to LabView, none of them really worked.

    Does anyone have a suggestion.

    Thank you.


  • Read multiple files in the folder and add data to a file

    Hello world

    Normal 0 false false false MicrosoftInternetExplorer4 / * Style Definitions * / table. MsoNormalTable {mso-style-name: "Table Normal" "; mso-knew-rowband-size: 0; mso-knew-colband-size: 0; mso-style - noshow:yes; mso-style-parent:" ";" mso-padding-alt: 0 cm 0 cm 5.4pt 5.4pt; mso-para-margin: 0 cm; mso-para-margin-bottom: .0001pt; mso-pagination: widow-orphan; do-size: 10.0pt; do-family: "Times New Roman"; mso-ansi-language: #0400; mso-fareast-language: #0400; mso-bidi-language: #0400 ;} "}

    I have several (hundreds) text files in a folder. I want to combine the data of the files into a single file. It must of course begin to file the oldest and sequentially read the files to the latest changes and add all the data in a new txt file.

    Here are the typical two consecutive files comma separated data:

    2009-02-17, 23:17:04, ff1c, 00ff, 0093, 0000, 0100 and 0001-ffff, d3ae, 0cce, 0 cd 4, DC 4, 00 c 2 0, 000 a, 09e4, 0609, 0000 and 0000, 17 c 7
    2009-02-17, 23:17:06, ff1c, 00ff, ffff 0093 0100, 0000, 0001, d3af, DC 0 5, 0 cd 7, 0ccf, 00C 2, 000e, 09e6, 0608, 0003, 0000, 17 c 7
    2009-02-17, 23:17:09, ff1c, 00ff, ffff 0093 0100, 0000, 0001, d3b0, 0 cd 2, cd 0 1, 0 cd 5, 00bb, 000d, 09f1, 0608, 0000 and 0000, 17 c 7
    2009-02-17, 23:17:11, ff1c, 00ff, 0093, 0000, 0100 and 0001-ffff, d3b1, 0c 21, 0ccf, 0 cd 3, 00 c 2, 000 a, 09e3, 0608, 0000 and 0000, 17 c 7
    2009-02-17, 23:17:14, ff1c, 00ff, ffff 0093 0100, 0000, 0001, d3b2, 0cc9, DC 0 5, 0 cd 7, 00 c 4, 0008, 09e4, 0608, 0000, 0002, 17 c 8
    2009-02-17, 23:17:16, ff1c, 00ff, ffff 0093 0100, 0000, 0001, d3b3, 0 cd 2, cd 0 6, 0 cd 7, 00bf, 000d, 09eb, 0608, 0000 and 0000, 17 c 8
    2009-02-17, 23:17:19, ff1c, 00ff, ffff 0093 0100, 0000, 0001, d3b4, 0cc9, 0 cd 8, 0 cd 2, 00 c 2, 0009, 09ea, 0608, 0000 and 0000, 17 c 8
    2009-02-17, 23:17:21, ff1c, 00ff, ffff 0093 0100, 0000, 0001, d3b5, 0 cd 2, cd 0 1, 0 cd 1, 00 c 2, 0009, 09e8, 0608, 0000, 0001, 17 c 8

    2009-02-17, 23:17:24, ff1c, 00ff, ffff 0093 0100, 0000, 0001, d3b6, 0 cd 3, cd 0 3, 0 cd 3, 00, 000d, 09eb, 0608, 0001, 0001, 17 c 9
    2009-02-17, 23:17:26, ff1c, 00ff, ffff 0093 0100, 0000, 0001, d3b7, 0ccd, 0 cd 8, 0 cd 4, 00bc, 0006, 09e6, 0608, 0001, 0003, 17 c 8
    2009-02-17, 23:17:29, ff1c, 00ff, ffff 0093 0100, 0000, 0001, d3b8, 0 cd 2, cd 0 3, 0 cd 3, 00C6, 000d, 09e9, 0608, 0001, 0001, 17 c 9
    2009-02-17, 23:17:31, ff1c, 00ff, ffff 0093 0100, 0000, 0001, d3b9, 0ccf, DC 0 3 0 cd 4, 00ba, 000d, 09e8, 0608, 0000 and 0000, 17 c 8
    2009-02-17, 23:17:34, ff1c, 00ff, ffff 0093 0100, 0000, 0001, d3ba 0c1b, 0 cd 3, cd 4 0, 00 c 0, 0009, 09e9, 0607, 0001, 0000, 17 c 8
    2009-02-17, 23:17:36, ff1c, 00ff, ffff 0093 0100, 0000, 0001, d3bb, 0 cd 3, cd 4 0, 0 DC 3, 00 c 2, 000 a, 09e8, 0607, 0001, 0003, 17 c 9
    2009-02-17, 23:17:39, ff1c, 00ff, ffff 0093, 0000, 0100, 0001, d3bc, 0 cd 4 0 DC 4, DC 0-2, 00b 5, 000d, 09e9, 0607, 0001, 0002, 17 c 9
    2009-02-17, 23:17:41, ff1c, 00ff, ffff 0093 0100, 0000, 0001, d3bd, 0cbd, 0 cd 4, 0 DC 7, 00 c 2, 0009, 09e8, 0607, 0001, 0001, 17 c 9

    Text files have no header just the RAW file as seen above.

    Would appreciate any help. Thank you in advance.

    Concerning

    Dan

    Hi Dan,.

    I don't know what version of LabVIEW u using, I have attached the vi in the 8.5 v. My vi sorts the file names by order alphabetical use get info file vi to do sorting like u mentioned

  • What type of file I use to read a large file of data?

    I want to store data in a file and access it later. The data file could reach between 500 and 1000 MB in a binary format.

    I might have some memory problems.

    I didn't need all of the data in memory, only a few data every time that, for my calculations.

    If I use a binary file, I can't read only a few data. I have to load the entire file and then read the data I need.

    Is this correct?

    If I use another type of file, can I read that a few bytes without loading the entire file?

    Maybe a TDMS file?

    I would probably use a TDMS file for this because it could also be read in excel if there was enough - just little more flexibility. But you can also do this by using binary types. You don't have to read the entire file when you use binary files. See below.

  • irig106 data Plugin to read the file extension .ch10

    Hi forum,

    I'm reading the IRIG106 (.) Ch10) using use IRIG106 use http://www.ni.com/example/31585/en/

    Can someone help me how to read a file using this use in LabVIEW or tiara.

    I tried to use this use to read IRIG106 (file .ch10 Extn) in LabVIEW but LV is getting crashed without reason!

    Thanks in advance.

    Hi all

    Changes to the use of IRIG_106 to read these new data files have been posted on the www.ni.com/dataplugins site today.

    http://www.NI.com/example/31585/en/

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • How to split audio data in images after reading a file

    Hi im a student of final year done my project in speech recognition using labview. could someone help me with how to split an audio data in image file for further processing.

    You could read wav files in LabVIEW using these VI: http://zone.ni.com/reference/en-XX/help/371361H-01/lvpict/sfilevis/ once you've read, divide the waveform in the picture of your choice.

    Before you return to the report on not enough memory, please read this: http://forums.ni.com/t5/LabVIEW/not-enough-memory-to-plot-wav-file/m-p/754592

    Search results: http://search.ni.com/nisearch/app/main/p/bot/no/ap/global/lang/en/pg/1/ps/30/q/wav%20file/

  • The vi below opens a new data file every time new data of the visa arrived. I only want a single file of data for registration period!

    The vi below opens a new data file every time new data of the visa arrived. I only want a single file of data for registration period!

    Can someone bring me (Labview is new to me) in the right direction?

    John

    See attached the amendment. I made a change to my suggestions and possess the top-level VI for the null refnum. See if it makes sense.

Maybe you are looking for

  • computer laptop 15-r250ne: is the replaceable my laptop gpu?

    If it is not replaceable, is there some sort of adapter that I can buy?

  • Z580 battery (drivers or WIndows?)

    Greetings! I bought a laptop Lenovo Z580 and got the hard drive replaced with a samsung 830 series SSD (128 GB) with a new installation of W7, the store to the 750 GB hard drive in an external enclosure and I was all this at a very nice price. The la

  • paviilion m9643it: hp pavilion m9643it is sata1 or sata2?

    Hello all, I would like to add an SSD sata3 (600Mb\s) samsung to my former lodge of m9643it pc, which brings together the following motherboards: ASUS IPIBL-LB (Benicia), this motherboard supports SATA1 or SATA2 even? And if only supports SATA1, how

  • Pavilion 15 Notebook p261sa: pilot p261sa Pavilion Notebook 15

    Hello I have a laptop HP Pavilion 15 p261sa by my hand. The operating system is Windows 8.1 (64-bit). The problem is that there is a single device cannot be detected. Maybe missing a driver. In Device Manager, it is shown as "unknown device". ACPI\SM

  • The AHCI driver installation failure

    I have a BIOS Gigabyte GA-MA770T-UD3 (1.0). F9G. When I try to load the AHCI driver for Gigabyte, I downloaded, I get a Setup error failed every time. If I set the BIOS to AHCI or not, the driver has still not install. If I leave the BIOS set to AHCI