How to save daq data-in(from 2 channels) in 2-D arrey?

Hiiiiii my friends.

I have an output voltage of .the analog system of changes in the system for the change in angle is or management. I want to save 2 features of it (output voltage and angle of output) in 2-D arrey, who shows me the exit angle and it's output voltage related to each other.so after completing my test I should have data in 2 columns.column1:angles Column2: Associates of voltage at each angle.

After that, I want to draw its graph in labview(Voltage-Angle).

Please help me in this way (I'm a beginner in this way then I would be happy if you explain to me in detail...)

, thanxxxx a lot


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 the data in a form called?

    Hi all.

    I have two froms.like FORM A and FORM b.

    I have a button on the FORM B.

    When I click on this button, FORM B and FORM data should be store in the database...

    I wrote something like this in the form B

    when_button_pressed->

    commit_form;

    go_form ("c\user\babu\FORM A.fmx");

    commit;

    Here, my problem is when I click on save button only saved FORM B, FORM A not memorizing the data in the database.

    Please help me and tell me where the error...

    Post edited by: N.B.Babu

    I guess that the modules form a calls B with OPEN_FORM module (..., SESSION), IE. Module B works in the new session of database

    (by the way, the database connection is the same, because the connection to a database can go several database sessions).

    Your code cannot save the data in the two sessions of database:

    commit_form; -This saves the data only from module B (because A module work in diferent database session).

    go_form ("c\user\babu\FORM A.fmx");  -Now you in module A.

    commit; -This has no effect, you are now on the module to a.

    Kind regards

    Zlatko

  • How to save the data of different rates in a single VI?

    Hello

    I tried to acquire 2-channel measurement of voltage at 10 kHz and analyze data, finally to save the data to both 1 kHz and 1 Hz. What I did is this loop of producer/consumer use to do the work of recording at different rates. I have queued all the data in the main loop, and then removed the data and write it to the file in other loops. I added "wait = 1 ms' a consumer loop for recording data at 1 kHz (loop of fast logging) and added" wait = 1000ms' in another loop to get the slow 1 Hz (logging loop) data record.

    My problem is that the data record works fine in the case of 1 Hz, but it does not work for the case of 1 kHz. Although the time-out period defined as 1ms, the interval between two samples in the loop of fast data recording is about 100ms.  Subsequently, 1ms, 10ms, 100ms, 150ms tried in this loop to see what intervals are in these cases. I found that the intervals are same as assigned in the timeout greater than 100 ms, but if the time-out is set to 1ms or 10ms, the intervals are again around 100ms.

    My question is - why I can't reach data record 1 kHz using loop of consumers/producers, while the same way works for the case of 1 Hz?

    Thank you very much

    Hao

    You are sampling at 10 kHz and you want to back up your data "as if you sampled at 1 kHz and 1 Hz", if I understand correctly.  I also understand that you use the design of producer/consumer model to help with this (a good idea).

    I'm assuming that the producer 'product' a segment of data at a time, to say the value of a second of data or a 2 x 10000 I16 (assuming a 16-bit integer A/D) table you put into a queue and wait for the consumer.

    If you have data at 10 kHz, how do you get representations to 1 kHz or 1 Hz?  There are (at least) two possibilities - average data over the interval of proper time, or (re) sample data.  The good thing is that you can handle the situation 1 kHz and 1 Hz, essentially at the same time and in the same processing loop.  I'll discuss the case 1 kHz - with the assumptions I made, the case of 1 Hz becomes almost trivial.  I'll discuss treatment also just one channel, as it is similarly almost trivial to go from 1 to N-channel.

    If you have 1 second of data sampled at 10 kHz, and will "reduce" 1 second of data sampled at 1 kHz.  Note that you have 10 samples for each data point that you want in the end.  The "Averaging" method said "Replace all 10 points in the average of these 10 points", while "resampling" method said "replace 10 points with, say, the first point, ignoring the others.  An easy way to do this is to use the Reshape feature to transform an array of 10 x 1000 elements of your array of 10000 items 1-D 2D.  Now, you can use a loop FOR an average of 10 items or simply extract the first.  [This is where almost everyone, including me, a mistake - when you put a 10 x 1000 2D array in a loop, you get 10 iterations of 1000 items and we want 1000 iterations of 10 items.]  Oops, what to do?  [Simple - converts 2D array before sending in the loop FOR.]

    So when you have processed your 10,000 points and got both 1000 samples "1 kHz" and 1 "1 Hz" sample, you write each of them in their respective folder and wait for the next item in the queue of the consumer.  Consumer focus on the queue loop, it will automatically 'block', waiting for the producer of the 'feed' some data.  Note that the producer generates data once per second, producing 10000 points for the consumer in the process, but the time to deal with these points and perform the required disk i/o should take only a few milliseconds (certainly not more than 100, even if writing to a floppy!), so you don't have much time to do other interesting things (such as display data).

    Bob Schor

  • How to save table data to save to PDF using php?

    Hello

    I have a load of data loading into a table of data in mysql table. Since I create a "save data" button to save the data in the table in pdf format. can someone help me how to save it and show me a few steps. Here is my code for the table:

    <?php
      $servername = "localhost";
      $username = "root";
      $password = "pass";
      $dbname = "ses";
       
       
      // Create connection
      $conn = new mysqli($servername, $username, $password, $dbname);
      // Check connection
      if ($conn->connect_error) {
      die("Connection failed: " . $conn->connect_error);
      }
       
      $sql = "SELECT No, Calon, ID, Jurusan, Undi FROM candidates order by Undi desc";
      $result = $conn->query($sql);
      ?>
      <?php
      if ($result->num_rows > 0) {
      echo "<table >
    
      <tr>
      <th>No</th>
      <th>Candidate</th>
      <th>ID Number</th>
      <th>Programme</th>
      <th>Vote</th>
      </tr>";
      // output data of each row
      while($row = $result->fetch_assoc()) {
      echo "<tr>
      <td align='center'>" . $row["No"]. "</td>
      <td>" . $row["Calon"]. "</td>
      <td>" . $row["ID"]. "</td>
      <td>" . $row["Jurusan"]. " </td>
      <td>" . $row["Undi"]. "</td>
    
      </tr>";
      }
    
      echo "</table>";
      } else {
      echo "0 results";
      }
      $conn->close();
      ?>
    

    and here is the HTML for the button:

    can someone help me?

    Thank you

    Look at the script on the FPDF under 'Scripts' site below

    2002-12-25 Olivier Table with MySQL

    First you must download the file of fpdf.php since the site under the downloads"" section.

    Copy the first block of coding 'Source' from the example script and save it under-mysql_table.php

    Next copy the second code block and insert it into a new document in DW, modify the code as shown in red below and save it as pdf_output.php - make sure that the paths to include the mysql_table.php and the (fpdf.php file which is included in the mysql_table.php file) are correct.

    Also change the connection to your database in the code below.

    require('mysql_table.php');

    class PDF extends PDF_MySQL_Table
    {
    function Header()
    {
      //Title
      $this->SetFont('Arial','',18);
      $this->Cell(0,6,'Database Data',0,1,'C');
      $this->Ln(10);
      //Ensure table header is output
      parent::Header();
    }
    }

    //Connect to database
    mysql_connect('server','login','password');
    mysql_select_db('db');

    $pdf=new PDF();
    $pdf->AddPage();
    //First table: put all columns automatically
    $pdf->Table('SELECT No, Calon, ID, Jurusan, Undi FROM candidates order by Undi desc');

    $pdf->Output();
    ?>

    If you have set up properly and navigate to - pdf_output.php - it should produce a pdf of the extracted data in your database.

    A draw back is it uses mysql and mysqli - which is not an immediate problem, as long as you do not mix mysql and mysqli - as this is a stand alone page, it should be ok. (and of course as long as your server still supports the mysql extension)

  • How to save profiling data?

    I would like to save profiling data. The documentation states:

    1. Select the application in the profile view.
    2. open the drop-down list in the profile view, and select Save.

    My problem is that I can't seem to locate this combo... I've probably got to be overlooking something... someone wants to give me some additional information?

    EDIT: it's for the latest beta version of Flex Builder 3

    Hi wouter vdb.
    You can access the drop-down list on the toolbar of the Profiler, there is a little white down the arrow to the right of the Finish button.
    When you click on this button, a menu opens and the registration option is available.
    I hope this helps.
    Carmen

  • How to save the data to the new file, when you press the button

    Hello.

    Run a program that reads data recorders seconds and displays a trace on the screen.

    What I want, is that when I press a button, the program will ask for a file name and begins to record data to the file, and continues to do this as long as the button is pressed.

    When I press the button again, the program asks the name of the file again, so I can select a new file to write.

    I've included a simplified version of my program that works by asking the file name at the beginning.

    How can I change the program it starts a new file every time that the key again.

    Kai,

    I changed the example that I gave you to LV8.0, but I have never used the option 'Save for the previous version' before, so I don't know if it will work.

    I have combined the start and stop of recording in a single button (just change the text to all what you need) and I used the 'value' property to pass the path between cases. The path can be formatted as you have in your version, don't forget to use the string conversion function filepath.

    Just in case where it doesn't work on your version of LV I've attached a screenshot of the block diagram.

    Hope this helps, let me know if you have more problems with this.

    Easy.

    Darren.

  • How to save the data just with qml?

    is it possible to save data in an application just with qml?

    for example, I want to record some settings that the user has set.

    or an array of integers.

    or is it still possible to use sqlite?

    willie44 wrote:

    I could be completely wrong, but QSettings should work for you.

    The sample application QSettings is the spaceship one.

    QSettings is no longer usable in C++

    but this seems to be the only way to do

  • How the tables of data collected from a certain time three multiplot loop

    Hello.

    In my project, I'm trying to multiplot three data tables that is to say, two tables against a single Berry. I managed to platting two separate parcels, but I can't combine the two plots in a single. so please help me with this problem.

    PS - I want that the graph of V P to be combined with the graph of VI. (I added Orange to wave in V I graph using paint to illustrate)

    Bundle allows you to create your XY plots (X in the first element array, array of Y in the second) and then use table build to an array of clusters that contain your XY plots.

  • How to save to the notebook from live chat?

    Before that my computer has been stripped and re-programmed, I could record live cats automatically in Notepad.  Now I can not access this feature.  The chat page online always offers the possibility, but when I click it, nothing happens.

    Hi Mia_in_USA,
     
    Because this question is specific program, I recommend you contact the vendor of the application to improve assistance in this regard.
  • How to save a photo exported from iPhoto and modified in Photoshop Elements 6 to iPhoto?

    My photos are uploaded on my iMac iPhoto 09.  I am able to export directly to Photoshop Elements ' 06 to edit but when I try to export the photo retouched to iPhoto it goes to images, not iPhoto where I want it to go.  Any suggestions?

    No, this is a limitation of iphoto. The only way to see the original once again in a version of iphoto to define is to lose the edited version back.

  • How to save messages to Vector() or ByteArray() channels

    Hi people,

    As learning Actionscript 3, I made the IRC in AS3 client and it works fine for me, but now I'm on way to record messages of all channels that reach the user. I've read a lot about vector and ByteArray, even tutorials, but I don't understand how I can put messages from channels in ByteArray or Vector.

    I am thinking:

    Create a function to record messages of channels.

    Create a function to load the messages of channels (if a user click on the button of channel)

    Create a function to delete messages from channels (if a user left the channel or shut down the server)

    Can someone explain with an example how can I save messages to channels on the right track?

    Thanks in advance!

    If the numbers of channels (used as an index of vector) do not work for you, you will need to use an object of vectors of the string:

    var channelObj:Object = {};

    function addMessageToChannelF(channelS:String,messageS:String):void {}

    createChannelF (channelS);

    channelObj [channelS] .push (messagesS);

    }

    function createChannelF(s:String):void {}

    {if(!channelObj[s])}

    [s] channelObj = new Vector. ();

    }

  • Save the data in a horizentall

    Hello

    Any that offered little help on how to save the data in a portrait. As a result of my attachment all my datas saved az a tables!

    And also, I'll be glad if you told me that I can add text in front of my data as an outamaticlly to explain?

    Any suggestions would be greatly appreciated! Thank you very much!

    Sincerely,

    First convert your string numbers using decimal channel number.  Once your numbers have the appearance of a string, you can format the text with them.  If finally, you can use concatenate strings to concatenate (add all channels) your number in the string with another text format:

    This code would create the following string:

    Then, you can save your all channels on a line using the same method as above.

  • data read from cancellation

    Hello
    How to find the undo tablespace read data.
    How to find the data read from the data file.

    any select statement read to redo log or not. I think not, is this correct


    Thank you


    regarding

    user3266490 wrote:
    Hello
    Thanks for the reply, what amazing one explanation. A DBA, I want to find activities of the user if their statement read buffer or thinl file.i data that the method is not suitable to find each session.do you have nothing

    Well, you have to remember two things. One, there may be any time where the disk IO would be completely zero. At any time, certain data would come the disc as the buffer cache is a circular cache that flushes unused data after certain periods of time. Also the data that will be the consultation: for the first have no choice but to come from the disc. Then there would always be a disk activity that will be there.

    Second, hmm OK do not discuss each other, it can confuse you.

    As a dba, you would not normally be too worried about user IO level. What you should look on, it is that in the system, all disk i/o are not too high which may lead to the question that your cache configurations do not correctly!

    HTH
    Aman...

  • 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?


Maybe you are looking for

  • HP USB FLASH DRIVE COMPLAINT

    Hello.. I bought HP USB FLASH DRIVE v195b 16 GB in February 2012. A few days ago my flash drive is not detected by any computer. Its guarantee in. But the locks to slip in and out are broken. Please help me what can I do? IM worried... Thank you. ABD

  • Computer hooked to 'Check' update

    I got this eMachines PC with Windows 7 for 8 months.  Windows Update has been working well, and then all of a sudden it no longer works.  The last update, I got was 12/08/10.  Now whenever I tried windows update, it just showed "update check" and see

  • Error message 8007371C insufficient 800703E7 and install the updates.

    Windows prompts me to restart my computer to complete the installation of updates, however, updates do not settle. The update for Windows Vista Code 800703E7 and updated security update for Windows Vista code 8007371 c. Does anyone have the solution

  • unhandled exception occurred! Help

    I see it every time I turned off my laptop or empty the trash and I don't understand how to get rid of him, here is the message in full. unhandled exception has occurred in your application. If you click on continue, the application will ignoreThis e

  • More simple TextArea does not

    I'm trying to set the text of a text box in C++, but it will simply the dark page (splash) with no error messages in the logs. I tried it in Simulator and Dev Alpha device and it is same thing. QmlDocument *qml = QmlDocument::create("logger.qml"); Ab