Dynamic data of several channels in table, then save in Excel

Hello

I am acquiring data from several channels (4-5) and I'd like to collect samples at low rates (10 Hz for 3 minutes max). For various reasons I use Dynamic Data type, although I know that it is not the best way (some say it is a wrong data type ). I also want to save data to a file (the best option would be data excel file).

If I acquire data 10 times per second, it is quite slow to save in excel (this is the slowest option of all types of data). So I would like to fill a table or matrix of acquired data and then write Excel file (I use scripture to measure file). But I don't know how to do - if I convert DDT in DBL, build an array and connect it to change registry, it works but I lose the information in column names and I'm wasting time. If I connect to build the table a DDT and then shift record another, it returns the table 1 d of DDT. I would like to have 2D DDT, which collects all the information loop.  Is there a suggestion how to solve?

I'm sure it would be easier solved my problem with the double data type but I also use select signals VI which is the VI I am not able to replace at this time.

Good day

Lefebvre

I don't know if there is a question here, or what.  Doing what you say you want to make, acquire the data of 4-5 channels at low rates (10 Hz for 3 minutes) and save the data in an Excel file (I assume you mean really Excel, i.e. a file with the extension .xls or .xlsx) is really a very easy thing to do in LabVIEW, especially if you are not using :

  • DAQ Assistant
  • Dynamic Data
  • Write to the action file.

Indeed, you seem to realize this, but I guess you want to 'do the hard', in any case.

Good luck.

Bob Schor

Tags: NI Software

Similar Questions

  • problem about dynamic data to the conversion of table 1 d

    Hi all

    I have problem with the conversion between dynamic data and table 1 d.

    I wrote a simple VI to show the problem, as the attached picture. Convert dynamic data in table 1 d, and then return to the dynamics of data, I use 3 tables of waveform display data in 3 different places, but only 'force contact 2' the graph looks normal and the 2 other cards are strange data shows. In addition, the probe indicates that data are all just before going to the charts. What is wrong with him?

    Can someone help me?

    When you convert a table, you lose your calendar information.  You need to convert a waveform and manipulate waveform data.  Use a Structure of elements in Place with waveform components to manipulate waveform data.

  • How to parse the input data of several channels simultaneously via an NI USB-6251 box by use of a single DAQ Assistant?

    I did separate VI for reading signals from several channels on a map of NI USB-6251.  I would like to combine these in a VI VI alone so that they can run that at the same time, however, there is an error if there is more that a single DAQ Assistant in the same--> error-50103 VI was held at DAQmx controls Task.vi:32 (the specified resource is reserved. The operation could not be performed as indicated.)

    All the inputs of channel must then be read in with a single DAQ Assistant, but all of the data on different channels are not separated.  Can save this data in a matrix or otherwise manageable which allow to facilitate the analysis of the data from the separate channel entries?

    I tried to view the data in a file of measures, but then when I tried InPort data, I could all the data I wanted.

    Hi AggieGirl,

    Good afternoon and I hope that your well today.

    First of all, you will not be able to have more than one DAQ Assistant by input analog or analog output task because the device has only one of each. So, you must have a DAQ task to HAVE and AO. (This is not the case for DIO static).

    There is far from split signals using the express VI - signal splitter.

    When you say you saved this file and it does not work, how it did not work? The Express VI - save a file of measures needed to manage multiple waveforms. Can send you your code & explain more about what was not OK on the file?

    Thank you

  • How to acquire data through several channels in parallel using E 6070 PXI, PXI-4071 and LabVIEW?

    Hello

    I use LabVIEW and NI PXI-4071 PXI NOR 6070E to measure the current through a variable resistance. Now, I use a single channel of SCB - 68, but I want to add another channel at the same time so that I can have two resistors instead of one that I cam measure current through them.

    I have attached a Pdf file showing installation of equipment to use and code LabVIEW also.

    Can someone look at these files and give me some guidelines or ideas that can help me solve this problem, please.

    Thanks in advance.

    Best regards

    Shaheen.

    Your 4071 can do a measure at a time. Your data acquisition cannot measure resistance is not she of the analog inputs.

    However, you could use a multiplexer and multiplexer your 4071 DMM. This habit give you simultaneous action, but can acquire data one after the other, the speed depends on the multiplexer, you choose!

    I hope this helps.

  • Plot data from several sources in table of graphs

    Hello! I get 1250 pixel data and I want to plot the data for each pixel in a different chart. Each time, I get a data word and one word for the address of the pixel just, how do I trace these in an array of graphics? (Or the other table 1 d of 1250 graphics or table 2D 50 25 columns x lines).

    When there was less that I used a case structure and graphics I would wire the address pixel in the selector of the case, now what can I do?

    Any suggestions would be helpful, thanks.

    Practically speaking it is not not possible to see 1250 chart 1 shot so its no need to have a lot of graphics. What we do in this situation is usually to initialize an array of elements of 1250 and replace these items when you receive data in a particular order. At the same time have a ring to control and update the name of items in the same order as you update the table. Now pass the array of values in the index table and connect control of the ring to the terminal index and connect the output to the curve. So when you select an item, you will be able to see the value of this element in particular.

  • How to make a hyperlink with dynamic data from a php database table?

    Level - the rare user Dreamweaver

    I have a couple of master / detail standard of pages using MySQL and PHP. This feature works correctly. Among the items of data in the Details page contains the name of a PDF file (including the .pdf suffix). PDF files are stored in the library of PDF documents under the root of the Site. I am eager to the ability of the user to the page to watch the associated PDF. Keep it as simple as possible I just put in place a text field "View report" followed dynamic text for the name of the document. I tried to set the properties of the links with the library name PDF files (more the root level) followed by the code, I thought that it was necessary to determine the selected PDF (<? php echo $row_rslivesDetail ['link'];? >). The first part is correct, because when the code does not have I changed it to a PDF fixed and that worked. I have tried various combinations but failed. Can anyone please suggest what I'm doing wrong with the code.

    Concerning

    Cliff

    I think you have your recordset named incorrectly. The image you provided according to me it should be: (see highlighted in RED below)

    ">View the report

  • Inserting data in several related tables using the database

    Hello world
    I'm working on a BPM application using Oracle BPM 11.1.1.5.0 and JDeveloper 11.1.1.5.0.

    In my database, I have two tables, loan and guarantee that are related by a field named employeeID (PK on loan) and FK in warranty.
    Each line can have several lines of guarantee.

    At this point, I'm doing an entry form for the user to insert data in the two tables.

    I did successfully before with a single table that has no relations.

    The way I'm doing here is, after the creation of the database successfully adapter, a type of LoanCollection is created in the types module, which can be used to create business objects and data objects of.

    The problem is when I create an object of type loanCollection process data and then create a UI generated automatically on that basis, only the fields in the primary table (the Table of loan) appear in the form.
    On the other hand, if I create a business object based on the LoanSchema, the form for all of the two tables is created automatically (the loan as a form, the guarantee in a table), but then, when I try to access it in the section processing service mission which calls the database adapter, I have no access to such.
    In fact, the only type which can be used in the service task is the process based on the loanCollection data object.

    To summorize, I have to use the type of business for my UI object to include all the fields in both tables, so I have to use the data object from the collection process in the transformation of service task dialog box.
    And I can't find a way to map to another.

    Can someone help me with this please?
    Thank you very much

    Try to follow these steps.

    1. create a new module in your catalogue our BPM project management section
    2. in this new module create 3 Business Objects - (LoanBusinessObject, GuaranteeBusinessObject and GuaranteeArrayBusinessObject)
    3. Add the attributes appropriate to the LoanBusinessObject and the GuaranteeBusinessObject so that they mimic your database tables, then to the GuaranteeArrayBusinessObject add an array of type attribute GuraranteeBusinessObject
    4. now you need to create two process data objects, type loanProcessObject LoanBusinessObject and type guaranteesProcessObject GuaranteeArrayBusinessObject
    5. as inputs to your human task adds the loanProcessObject and guaranteesProcessObject, these should now be available in your data controls and can be used to auto generate the form
    6. in your dbadapter you'll then use XSL Transformation and use for each so that it will write the data to the ready table and all the line items of warranty for the warranty table.

  • Table 1 d of dynamic data index

    Hello.

    I have 2 son of dynamic data. Basically, I want to access each item of two, with a single function (module) in a moment.

    I use table to build, and with a probe, I see for wire 1 (items: x 1, y1, z1,...) and for the 2 wire (items: x 2, y2, z2,...).

    Now, I want to use a function (module) good enough to choose for example to y2 2 and wire1 z1.

    Thank you.

    Hei, I got it!

    I used the table of generation 3 and 1 index table 2D. Innitialy, I put merger signals instead of build table, so I was stuck there.

    Thank you for being around.

    Here's a vi. My project is more complex, so I made an example for you. (LV 2010)

    Can it get any easier?

  • Structure of the place, table 2D, several channels

    I do data simultaneously on four-lane acquisition, and I need to store the data acquired from a large table 2D to 16 x 16. To save memory, that I decided to use the structure of the element In Place, I've extended it with four functions of Board Index but I'm struggling with what I put on the right side of the structure.

    It is clear that I wire table 2D to all functions of Index table, row and column addresses are constantly evolving and that I have to use shift registers. But how can I tell the LabVIEW I want to modify the same table on multiple channels and do not change 4 different tables?

    VI is attached.

    Thank you

    Kriváň

    In place changes just that, in the same place of memory. The same table that you send is what you will get out, modified, even to the same memory addresses.

    The 16 x 16 is intended to hold all 4 channels, or one for each? In the former, you can simply extend the Board index to 4 entries and you will get 1 output to your shift register.

    In the second case you will need 4-Bay, either in the form of 4 individual tables, add a 3rd dimension to table or do an array of clusters (one for each channel) that contains this little picture of 16 x 16.

    /Y

  • Medium-sized dynamic data analog input read DAQmx read

    Hi, I'm new to labview. Is there an easy way to index using the dynamics of data returned by a readout DAQmx x samples to calculate a moving average? My thought was to read the analog input for X samples pump with the data in another loop through the data, but I can't quite understand how index using the returned data set to extract the measurement value double returned for each sample.

    Any ideas on that?

    Thank you...

    If you get a type of waveform data, why did you ask on dynamic data? No, of course not would you use the conversion of dynamic data on a waveform.

    If you want only one channel, then your DAQmx Read could be changed to 1Chan NSamp. If your channel list only has one channel, you will get a table 1 d with a single element that can be indexed. To get the average of a waveform use the statistical function with the waveform. You use the average Point by Point, and not the average function that has a table for an entry.

    Make sure you always have context-sensitive help on. You can avoid many of these rookie mistakes simple.

  • dynamic data in the formula is originally running slow and weird results

    I am collecting 11 channels of analog input voltage, then perform a series of calculations (different, editable) on each channel of the voltage to convert each temperature sensor.

    My first step in calculations (with the help of multiply, subtract and divide blocks) works very well.

    My second step of calculations (which includes a natural logarithm "ln") is performed with the formula block. However, the formula block has three red arrows where are the constants of entry, and the results of the formula block are intermittent and incorrect (if drawn, drop the lightning just drawn what looks like a value of 1 intermittently... If saved to a csv file, the results show a bunch of zeros and then a row of values, then more zeros).

    I don't know if I need to convert my dynamic data in a table before feeding in the formula, or if there is another way by applying a complex formula of dynamic data, or...? I would stick with dynamic data because it makes tracing easier, but I'm open to other suggestions.

    The answer is very simple- do not use Dynamic Data.  I have never understood why NEITHER created this (other than to show "how easy it is to collect the DAQ and screw Express Wizard" (and not to mention that you lose a lot of control over what you do).)  There have been many questions here in the Forums and a number of players with a lot more experience I have also made the same recommendation.

    I don't know where the dynamic data in your case.  If it came from the DAQ Assistant, by all means read this and get rid of this wizard!

    Bob schor

  • From dynamic data to string

    Hello

    I would like to convert my dynamic data (4 channels and time) to sink chain (I use UDP write).

    I tried to build a table and then use Nnmber to the fractional frequency range, but I can't wire both, because it's 1 d array of string.

    Thanks for your help!

    Sarah

    have you checked Array to string of worksheet function
    ?

  • Write to the file of measurement with a loop For using the value of the dynamic data attributes

    I looked and looked, but couldn't find a solution for this.

    I currently have 15 points of different data that I try to write in an Excel file.  I have all combined in a table and lie with the function "write into a file position.  However, the column names are always "Untitled", "Untitled 1" etc.  I then used the function 'Set the Dynamic Data attributes'; but for this I have to do 15 different functions "set data dynamic attributes.  It was suggested to use a loop with the function 'Set the Dynamic Data attributes' inside of her, but I can't find how do.

    I have several arrays consisting of 15 different values for 'Signal Index' 'Name of Signal' and 'Unit', but also a unique 'get Date/Time In Seconds' related to 'Timestamp '.  The problem is that the error I get when I try to connect the output with Scripture at the entrance to measure file:

    The source type is dynamic data table 1 d.  The type of sink is Dynamic Data.

    How can I fix it?  I have attached a picture of my installation; Sorry if this is gross (I'm new on this!).  Thank you!

    It will get rid of the error, but it is not quite correct. What you need to do after that is to click on the output or the tunnel entry and select 'replace with the shift register. In addition, the array of values that you have wired to the Signal Index is wrong. Arrays are 0 based. Just wire the iteration Terminal here. And, finally, take the size of the table and this connection to the N terminal are stupid. Don't wire nothing to this.

  • Reading and recording of several channels simultaneously

    I use a NI PCIe-6363 map to acquire data from various sensors in an experimental engine.  I need to be able to show views and record data on all channels simultaneously.  I'm relatively new to Labview, so I think I'm doing things inefficiently.  I am also having a problem with the display of multiple signals.  I have attached the vi.  I look forward to the advice.

    DAQmx is able to take multiple samples at the same time, so you need only a wire covering your While loop. See this example VI that comes with LabVIEW. You can find others with the help > menu examples and digging from there:

    C:\Program Files (x 86) \National Instruments\LabVIEW 2012\examples\DAQmx\Analog Input\Voltage - Input.vi continues

    Initialization DAQmx VI would need another kind of entry rather than "PXI1Slot2/ai0. I forgot the exact syntax, but it would be something like "PXI1Slot2/ai0-15". In addition, the read DAQMx VI is polymorphic, so that it can read all these channels in sub form of table. Then, you have to build the table of these PXI objects to initialize DAQmx VI with the function 'Building the matrix' of LabVIEW and indexing table in 16 items with function "Array Index. You only have a single function Index Array, expand right down it and it automatically will give you items between 0 and 15 (or however far you develop) without having to wire in all indexes.

  • Dynamic Data in Array - time values

    Hello

    It's me again.

    I have read the lines of a lvm-file and save it in a table by using dynamic data type conversion. The first column, I have in the file is at the same time; I wish I had the time as the first column of the table too, but I couldn't find how to do this. I found this thread , but I think that I can not use this way because I read the unique lines and treat...

    The attached picture should show how I mean this. So, is it possible to get the time (from file) as a column in the table?

    Thank you

    mkrtwo

    Hello

    I'm afraid, because most of us never use screws express, you can have a hard time finding someone willing to get acquainted with them to analyze your code.

    My advice is to get rid of the express vi (not just because you'll get more responses ).

    Using the palette file I/O, and then something like string from picture to picture the range of string to convert your data into a 2D array can give just the output that you want.

    Best regards Florian

Maybe you are looking for

  • Replacing the fan

    When you run Techtool Pro on my MacPro (2009), it shows a pair of RAID hard drive and one does not "boostA fan." I think that it is the fan in the housing of the processor.  Is this easy to replace and there at - it a store that sells the replacement

  • Why the S - Pen on Galaxy Note 3 travel cards when plane?

    One thing I noticed, is that the S-pen of my Galaxy Note 3 is somehow have a problem. If I use a web side with an adapter (for example, Komoot or Google Maps), a pen stationary S moves already the card. Normal behavior in another browser, it is that

  • 1000-1320 HP you laptop: Hp 1000-1320 you laptop - Thailand product. Problem with drivers

    Hello Hp laptop model: Hp 1000-1320 c. In my laptop installed windows 7 64 bit OS. I tried to find the drivers but could not achieve, please help me. Concerning Rajesh

  • Drag-and - drop but no files Sansa

    Well, I simply formatted and deleted the music that accompanies the "rocket" so that I can start with a slate clean to put only on the CD I have. I went to the Windows Media Player 11, which I had already downloaded previously in preparation to downl

  • many many disconnections of wireless connection for my X 300!

    Hi.I want to ask something. 3 months, my x 300 lenovo connects with my wireless modem (bautec) very fast and everything is Ok! Then from many disconnections that lasts about 2-3 seconds and then everything is Ok.After 5-6 minutes, it's happening agai