How to program dynamically data acquisition?

The question may seem, I want to dynamically change the settings of a data acquisition card (DAQmx). The idea is to have a loop event caputures GUI and the other while answering the while loop DAQ events. It's something like loops PRODUCER-CONSUMER. However, I can do all thing once, but not on the fly. Any suggestions as to how we can achieve this?

Thank you

Thanks for the comments. I solved the problem with the traditional approach. Here is the graphic interface to work.

Tags: NI Software

Similar Questions

  • Is "Introduction to data acquisition" by R. King a good reference for learning programming of data acquisition?

    Is "Introduction to data acquisition" by R. King a good reference for learning programming of data acquisition? Or can anyone recommend a better text.

    Why don't you start hera.

  • How to change dynamic data

    Hello

    In my project, I use card PCI 6221.

    I can able to get data from a graphic design, DAQ card and save OK file.

    But I need to manipulate dynamic data before drawing the graph and backup in the file.

    I entered sensor, input voltage I need to edit as 10mv = 1unit. before writing to the file.

    How I can do this, any ideas please.

    Kind regards

    Hari

    Hi David

    I found the solution, thanks.

    Kind regards

    Hari

  • HOW I can install data acquisition pci & signal processing controller driver hp compaq cq60 for vista Home Basic presaro

    HOW I can install pci data acquisition & processing controller driver hp compaq presaro cq60 for vista basic reception of the signal. cause my display setting does not work pls help me

    Hi Sahnuaijaz,

    1. what happens with your display settings?

    You need to download the drivers from the HP website. You can check this link to get in touch with HP that follows:

    http://h10025.www1.HP.com/ewfrf/wc/siteHome?cc=us&LC=en

    Hope this information is useful.

  • Graph of the Excel data with overlay of dynamic data acquisition

    Hi all

    I was next to the forum of Labview for about a year, it's the same with my programming so I'm a little rusty. I don't have someone code this for me, but just a quick plan high level to point me in the right direction.  I am able to work through the tutorials Excel etc.

    Task 1: Basically, I have a set of data Excel (2 to 6 columns of figures, not the time) I want to read in Labview and throw in a XY graph as the base model that remains visible all the time.  This data set is quite long, length vs. size (length is 100km, 1 m intervals). I essentially want a scroll X graph to display all of the data.

    Task 2: Acquire a direct serial data string which will be superimposed on the graph of task 1 model. Acquired essentially data comparing data in real time to previously.

    In the past, I made the simple projects with Excel data reading and also the reading of data in series.  What I'm not clear on is how to create the (static) graph with Excel data model while superimposing live data as it comes.  It is the basis of an annual check of the investigation process.

    Advice on the process would be appreciated so I'll be working through the nuts and bolts.

    Cheers for any help,
    Wes

    If you are worried that your data sets is too large, then run a test with simulated data to see how LV takes it. You might be surprised. In all cases, you should be aware that the chart control will need to redraw it with any changes you do anyway, and as far as I know, having a large amount of data is the main thing that can make a slow chart control. If you find that you have too much data, you might need to decimate it you based on how much you zoom before putting it in the graph.

  • How to estimate storage data acquisition needs

    How can I estimate the size of my data files, so I can implement the correct size device (such as a USB hard drive) storage given;

    Type of measure: accelerometer mediated to tension

    Frequency range: 0 to 800 Hz

    Measuring range: +/-10 g

    Channels: 12

    Sampling frequency: 1.652 kech. / s

    ADC: 24 bit

    FSR: +/-5V

    Time: varies, and may vary depending on the size of the storage space

    This is the configuration I am considering either a cRIO 9030 with three modules-c NI 9234.

    Thanks for the pointers - John M

    How do you plan to store data?

    Assume that PDM, that allows to store the data a slna.  12 channels * 1,652 k samples per second * 8 bytes/sample = 158592 bytes/second = 154,875 kb/s.

  • Assistants of programming and data acquisition

    Using the flat sequence and DAQ Assistant, how can implement us planning algorithm to enable or disable a specific image in the sequence?

    Do not use the flat sequence structure! You can't turn any image. Just one of the disadvantages of the structure of the sequence. They are rarely necessary. Flexibility, use a state machine.

  • Tutorial Dreamweaver Cs5.5 The Missing Manual (Pg 998-1018) about how to add dynamic data to your page

    Hallo,

    I made the tutorial: display of information from a database in the manual missing for Dreamweaver CS5.5.

    My problem is with ' edit a Recordset and linking to a detail Page ' (who starts at pg 1002):

    I've done this exercise, more nowe 5 times, but each time with 'Building the product detail Page' 1007 pg, I get a bad result.

    I have only one page (the one with productID = 1 by default) for each link on the indexpage.

    In the adressbar (Live View), I see the right address: for example: http://localhost/cos...hp?productID=16, but for all the productID only finishes for productID are presented.

    There is also a message: notice: use of undefined constant "productID" - assumed "productID" in E:\xampp\htdocs\cosmo_shop\product.php online 34

    But I don't understand what could be wrong in this line.

    Here are the lines of code 33-48: is is on the second line:

    $varProduct_rsDetails = "32";
    If (isset($_GET['productID'])) {}
    $varProduct_rsDetails = $_GET ['productID'];
    }
    @mysql_select_db ($database_connCosmo, $connCosmo);
    $query_rsDetails = sprintf ("SELECT products.productID, products.productName, products.price, products 'description', products.inventory, products.image, vendors.vendorName FROM products, suppliers WHERE products.vendorID = vendors.vendorID AND products.productID = %s", GetSQLValueString ($varProduct_rsDetails, "int") "");
    $rsDetails = mysql_query ($query_rsDetails, $connCosmo) or die (mysql_error ());
    $row_rsDetails = mysql_fetch_assoc ($rsDetails);
    $totalRows_rsDetails = mysql_num_rows ($rsDetails);

    @mysql_select_db ($database_connCosmo, $connCosmo);
    $query_rsCategories = "SELECT * FROM categories ORDER BY categoryName ASC ';
    $rsCategories = mysql_query ($query_rsCategories, $connCosmo) or die (mysql_error ());
    $row_rsCategories = mysql_fetch_assoc ($rsCategories);
    $totalRows_rsCategories = mysql_num_rows ($rsCategories);
    ? >

    Can someone tell me what is happening here?

    Best regards, years Hekerman

    An undefined constant is normally if you have something like

    $var [sometext]

    Where the "etc" is not cited.  Try to replace the single quotes the productID autour double quotes example: $_GET ['productID'].

  • Card FPGA and data acquisition synchronization

    Hi, we are control and data acquisition of several hardware devices (including Photodetectors and translational stages). Until last week, we used all the controls and acquisition using a PCIe-7852R FPGA board. However, we decided to move the acquisition part to a PCIe 6363 DAQ card to improve the sharpness of the tension. During the test, I found that the internal clocks in the FPGA and the DAQ cards are slightly inconsistent (not just a phase delay, but a difference in the period).

    I know because I have generated a square wave (period = 20) using the FPGA and gains using the data acquisition card (at a rate of 200 kHz, that is, 1 taste every 5). I have observed acquired place shifts 5 every 5 seconds approximately. Such a change does not occur if the production and acquisition is done using the same Board. Therefore, the only explanation is that the data acquisition and FPGA cards clock frequencies are different. According to my calculations, the percentage difference between their time clock must be 5/5 s = 0.0001%.

    Therefore, I wonder if there is anyway to synchronize clocks between them. Or, is it possible that I can drive the FPGA clock-based DAQ hardware, or vice versa? Also, please let me know if there is something trivial as I fix.

    Thank you very much.

    Kind regards

    Varun

    Hi Varun,

    my post was only one solution...

    Your data acquisition card may take an entry to control sampling of trigger. In this mode, samples draw on a rising edge of the external clock signal. As long as you stay within the limits of the DAQ (100 MHz for your card) material sampling works perfectly. There are even examples coming with LabVIEW explaining how to program your data acquisition card...

    This mode use you your FPGA as clock source sampling for data acquisition. Both will run on the FPGA clock in sync. When the FPGA is a bit out of 40 MHz, so it won't matter because both devices are triggered on the same clock signal...

  • Code error-200279 for data acquisition

    Hi all

    I am trying to build a small program of data acquisition, but I get a 200279 error telling me to increase the buffertime. What I am doing wrong?

    Andersson wrote:

    No, you're right. I don't get the error, I turn off highlight execution.

    It seems so. I did not understand why he would come with an error during the audit of the code with the bulb. It seems like what I discovered on www.ni, one can avoid the error of initialization of certain data for the chart.

    Not sure if I got it 100% correct however. Here is the link:

    http://digital.NI.com/public.nsf/allkb/A647A1BE3DA8336786257AAA0066B45B

    I don't have any other loop in the installer. I'm sorry for the confusion with the name 'producer loop. It's the only loop in the code, I deleted the rest to refine the error.

    Is the conclusion that the program is good? Or do I have to do something to remove the error?

    The table has nothing to do with your error.  It's strictly highlight execution.

    When you configure a continuous sampling, start the collection of data at a given flow rate.  It is so big a configuration of the buffer.  There is an article that tells how much room it is exactly, but for the sake of argument, let's say 10 seconds worth of data.  In normal execution, your code runs pretty quickly that she is able to empty the buffer as soon as the data are acquired.  But when you enable execution of climax, your VI slows down to a crawl so that he can show that you step by step what is happening on each wire.  Your data acquisition always occurs in the background.  Execution of idle is to take much longer that data are acquired.  Within one or more loop iterations, you have filled the buffer and get the error message.

    You cannot use point culminating performance when you use a device of data acquisition in this way (or VISA ports either) where data are sent continuously at a speed that is independent of speed, the code is executed.

  • How can I dynamically select the shared Variable API programming data type?

    I am trying to create a configuration of open connections of variable shared using the programming API. It seems to me that the cleanest way to do would be to put one "open and check" routine in a loop, then call it for each variable in the library.

    The question that I am running is that I have different types of data in my library (to help a server Modbus i/o and data types 'boolean' and 'single' in my library.) How can I dynamically select the data type of the shared variable API?

    See the attached snipit.

    Thank you

    What I ended up doing was doing a Subvi to open, read, write, and close each data type, I use the packaged in 4 polymorphic SubVIs (polymorphic Open, read, etc...)

    Now all I have to do I drop in the polymorphic Subvi and it switches automatically to the appropriate data type

  • How to stop a single channel of data acquisition while continuing to monitor another?

    I wonder if it is possible to stop and collect data (Ex: send Excel) from a channel on my acquisition of data (Ex: channel ai0), but continue to collect data from all channels (Ex: ai2).

    You do so much too difficult for yourself here.

    1. you use graphics.  It's great!  Here's the thing about the graphics: they keep a story.  So there is no need to append waveforms  Just wire the waveforms directly in the table.

    2. change your Dynamic Data type for a waveform output.  It will make your cards a little happier.

    3. you can right click on the card when the program is running and that there is an option to export-> To Excel.  No additional coding necessary.

  • How to record a fixed time of dynamic data interval when acquiring continues?

    Hi, maybe someone has an idea how to solve this problem:

    I do the continuous acquisition of dynamic data and when I see something interesting, I would like to save some data (i.e. the last 90 seconds). I guess the first step is written data in a table? I can set up the table so that it always contains just the last N seconds (or last N points, discard the rest as the measure of the loin) so I can then save this data, for example by pressing a button (possibly without stopping the .vi, or maybe just a break it.) This last step is not necessary)?

    Thanks for all the suggestions!

    Hi Tomaz79,

    You can generate as a black box on an airplane. You can initialize an array with the size of your 90 s write all data in this table by crushing at the specified index. With Quotient & rest, you will get the correct index for the next value. If you find your compelling value, you can be sure you'll get the last dry 90.

    Mike

  • How can I draw dynamic data that I get a hardware DAQ against each other?

    Hi all

    I am trying to acquire voltage and current data of DAQ hardware. My goal is plotted against votlagein current a continuous path. As the votlage is increased at intervals of 1 Volt, every second I want to see how the current. However, this data is dynamic and I need help find how to draw in a single chart. Any thoughts on how to draw the two different dynamic data against each other in the same graph?

    You help will be very appreciated.

    Thank you

    If I understand what you're saying, looks like you want to have the update of XY graph with each new data point (or points) acquired, but also choose to keep the previous data on the XY graph.  If that's what you're after, I build on my previous example.  For the method of use of the express VI build XY graph, you can simply double click on it and uncheck the "erase data on each call.  For the other method of construction of the dashboard cluster, you will need to add a few records to offset to maintain the previous itterations table values.  Here's the updated image:

  • How can I use other companion DAQmax and data acquisition in labview code?

    Hello

    I'm new in labview and want to combine four different codes of labview and run them at the same time.

    I use my data acquisition PCI-6071E and BNC-2120. I want to send an analog output (flat DC signal) to control a blower, an analog volmetre to a (DC) output pressure transducer, also receive data from a pressure sensor and hot wire probe.

    I wrote four different VI for each of them (using DAQmax to output analog and DAQ assistant for analog inputs) and each of them works well, but when I want to use them together they do not work.

    Anyone know how to make them work together?

    Thank you

    Pooya

    To the DAQ Assistant, simply follow the instructions for the selection of multiple channels when you create (where he says quite clearly,' ' or to select multiple channels "). If already created, open the DAQ Assistant and click on "Add channels" at the top of the page.

    When you use a physical channel name, you simply click on browse instead of a single channel. Use the same or for multiple channels.

Maybe you are looking for

  • stars and counter

    Hello I tried reinstalling my iMac with an own Sierra. To prepare, I saved my itunes on a NAS file. When I restarted itunes I restarted with the database, I have saved but lost my credit rating as well as the number of times, I listened to my songs.

  • C50D-a satellite won't boot cursor static white screen

    Hi my laptop to the top powers, but do not start. All I get once it is consumed on is a white screen with a STATIC cursor top left. It won't go any further than that. I've read about problems with a white screen flashing cursor in the top of the left

  • Satellite L350D-213 - how to use the WLAN?

    My mother & father has bought a laptop last week and are having problems with the connection to the sky broadband. Sky Broadband is a netgear router, which has wireless capability. My question is how does broadband on your laptop? They need to get a

  • Photos of masking

    Different came to the pictures of effect state can be hidden by pressing the photo and see a new toolbar from Google. Does not work on my iPhone 6 or iPad 2. someone at - it advice? Thank you

  • iPhoto 9.4.3 frequent crashes

    Could use the help of the community.  Recently affected by frequent crashes of iPhoto 11 9.4.3.  Understand what happens as well to others.  Not affected by other applications at this time, nor iPhoto crashes at any point in the past.  Can sometimes