Compact DAQ data acquisition

Hello

I'm working on the proposed acquisition of data using data Compact - 9178 OR, in the I module in the series C NI 9213, NI 9205, NI 9207 (Thermocouple, current & and voltage units of measurement respectively).

I created tasks using these tasks and MAX to read the data in my LabVIEW VI. [I use read AI VI only]

The task of settings, mode of acquisition - N examples, examples of read-2, Rate (Hz) - 100 m

the above parameters is the same for all three cards.

When I try to read 1 data device tell data from NI 9207 - I can read 200 samples per minute. When I try to read data from all 3 units I see no delay,

Basically, complete 1 iteration of acquisition, to 1.4 to 1.5 seconds.

Is there a better way to increase the speed of acquisition?

Thank you

My bad. A confused with frequency conversion. All good now. Sorry

Looking for 10 samples every 100ms, and I had programmed 10 samples every 2 seconds

Tags: NI Software

Similar Questions

  • Data acquisition in LabView for other suppliers DAQ cards that NEITHER

    Hello

    I am a beginner in LabView programming. I have a 32 channels base PCI card DAQ (i.e. PCI-1602 of the manufacturer, ICPDAS) and I want it to interface with Labview 8.5.

    So how cards DAQ in Labview 8.5, which are manufactured by other suppliers that NEITHER? Should I DAQmx (or some other driver) for that?

    What are the other drivers/components required to access of data PCI-1602 (device) of LabView 8.5 acquisition card?

    (1602-PCI card driver are installed in my win XP and dispalyed in Device Manager).

    Please provide some tutorial above mentioned the problem to interface.

    Please guide me in this regard. Thank you

    Waqar123 wrote:

    Hello

    I am a beginner in LabView programming. I have a 32 channels base PCI card DAQ (i.e. PCI-1602 of the manufacturer, ICPDAS) and I want it to interface with Labview 8.5.

    So how cards DAQ in Labview 8.5, which are manufactured by other suppliers that NEITHER? Should I DAQmx (or some other driver) for that? You will need the drivers from the manufacturer, of the Board of Directors.  In your case, "ICPDAS.

    What are the other drivers/components required to access of data PCI-1602 (device) of LabView 8.5 acquisition card? Same as above.

    (1602-PCI card driver are installed in my win XP and dispalyed in Device Manager). Ok.  Then take you care of my 2 answers above.

    Please provide some tutorial above mentioned the problem to interface. To learn more about LabVIEW, I suggest that you try to watch some of these tutorials.

    Please guide me in this regard. Thank you

    According to what you do with the DAQ cards, they can do the job however, from experience, there are some functions that I could achieve with the cards NOR that I couldn't with 3rd-party maufacturers.  This does not mean that this is your case. However, it is worth noting that it took me a while to understand why the code has worked with a single data acquisition card (NOR) but not another (Non-OR).

    The drivers that you have installed may or may not include examples and code in VI.  They may be DLL.  If this is the case, you can write LabVIEW "Wrappers" around these functions, as it will simplify your life.  If the drivers are in the form of DLLs, and there are no examples of LabvIEW or available VI, you must read on node library function call.

    R

  • LabVIEW data acquisition Setup Multifunction DAQ

    I have doubts as to the acquisition of data in the LabView environment. I used the block diagram (Figure 1) below to review the update of the readings for the execution of a loop.

    Block 1 has been used to enable a task (first steps) with 3 channels (al) analog input AI3 and even set up the channel. In this case, the data bus (data-block 4) are construindos by 4 columns of data (provided by task 3 AI3 more).

    Block 2 is used to set the sampling rate in this case is 1 Hz (1 sample per channel x 1 rate).

    In this case, it worked as I expected (Figure 2). This allows to conclude that the interval between each sample was 1 second. The saw took a second in the iteration.

    The second step was to change the amount of data sampled in accordance with Figure 3 channels in block 3.

    Now, each channel showed 10 samples, while there are 4 channels configured, we have 40 samples. In this case the iteration totalled 10seconds (point to 1 Hz and 10 samples per channel-figure 4).

    The first question is what is the time between each sample obtained by channel?

    In this type of configuration (multiple channels), block 3 provides 10 samples in each channel, as well as the sampling is done, IE, the block gets 3 10 samples from a channel and passes to the next channel or gets 1 comp each channel and repeat this process up to 10 samples per channel?

    What is the best way to make sure that the interval between each sample is constant?

    If anyone knows any text that explains what the function blocks of data acquisition information please.

    Thank you

    Gabriel

    Well, there are several ways to read the signals of multiple signals, and each of them has different behavior. I couldn't see how you get mutiple channels, because in the two codes, you set a channel in your codes. Take a look at this figure:

    Here you can see how to set multiple channels using DAQmx, using commas to separate the channels. About the ways different ways that you can read the signals, you can look at the links I sent in my first post to learn more about them.

    In a few words, the time between samples from the same channel is T = 1/Fs, corresponding to the sampling frequency Fs. It is not a rule to determine the interval between samples from different channels, because it will depend on how you did your code, and as I sad, there are different ways to do. You can acquire the samples at the same time, or you can configure your code to read a fixed number of points of a channel and then read another fixed number of samples to another channel (https://decibel.ni.com/content/docs/DOC-28279). You can acquire a finite number of points, or you can acquire all the time. Yet once, take a look at the material that I have already sent. It will help you find the best solution to achieve your code according to your application.

    Kind regards

    Pedro

  • Data acquisition reading incorrect when you use a loop

    Hello

    I wrote a simple VI (00, 01, 10, and 11) output to a circuit connected with 4 resistors. Based on what value the ciruit receives, it passes current through a particular resistance. It is again entered in Labview and traced.

    The problem is when I send a particular value (i.e the 00, 01 and 10 and 11) and get that back, it's okay. But when I send and receive the consectively connected via the loop counter, they are incorrect (not synchronized with the number of the loop).

    I made sure that circuit works very well. It has something to do with the loop synnchronization, reset, value compensation, etc. can be.

    Please Guide...

    Change your DAQ assistant that reads to be 1 sample on request.

    Right now it is set for continuous samples.  And 10 samples at 10 Hz.  Then it runs and starts.  The next iteration, you send a new digital out, but the wait for 4 seconds.  When you read again, you get the next 10 samples that are put into the buffer of data acquisition, but now 40 samples have actually entered the DAQ buffer.  In time your DAQ buffer will be finally complete and raise an error.  In the meantime, you will continually read data continues to become more tainted by the iteration.

  • Is it possible to change the name of data acquisition device?

    Hi all

    Is it possible to change the name of device of data acquisition in a pragmatic way?

    I wish I had at the beginning, when I start the data acquisition control a name that my .net program assigns to the DAQ card. Is this possible?

    Thank you

    Virginia

    Ashly thanks!

    Virginia

  • data acquisition won't taste at the specified rate

    Material: C - DAQ 9178, AI 9239, inside a servo and an encoder potentiometer module

    Setup: I use the 9239 to measure the angular position of my servo and encoder of trees by streaming came pressure pot of the servo and my encoder. I put the sampling frequency on the DAQmx - Schedule VI to 100 Hz.

    Problem: I don't think that my DAQ is sampling data at 100 Hz because my VI registers more than 10 000 data points for a 10 second test. In addition, every time I have save my data in a text file, the vector of time my test data resets after a number of iterations.

    To debug, I tried the following configuration:

    I've defined the sampling frequency of 100 Hz (or is that s/s?), the samples per channel (size of buffer for continuous mode) at 2000 samples, number of samples per channel up to 10 and loop milliseconds timer on my VI at 10 m accordingly, data acquisition would send 100 samples per second (or 1 sample every 10 ms) on my PC buffer (which could store 20 X that amount). Then LabVIEW would read up to 10 samples per loop iteration (which is itself ~ 100 Hz) and work with these 10 samples inside the loop. However, since the loop is operating close to the sampling frequency of data acquisition, then LV should only work with 1 sample each iteration of the loop (100 Hz / 100 Hz)-not the 10-sample-max that I specified.

    However, I stumbled on "error-200279: the application is not able to cope with the acquisition of material" when I ran the program. Why?

    My code and materials should be easily able to cope with data acquisition - at least the way I put it in place

    This whole situation wondered my fundamental understanding of data acquisition timing, so I would really appreciate an explanation of exactly how to deliver DAQmx uses data synchronization, why my DAQ sample at 100 Hz, and how can I fix the calendar specified by the user.

    Thank you!

    aeroAggie wrote:

    The C - DAQ 9178 there some minimum sampling rate I will not meet?

    It's actually the 9239 that limit your sampling rate.  Read the data sheeton page 5 there's available data rates.  In short, your data rate allowed is 50kS/s / n, where is goes from 1 to 31.  50 k/31 gives you 1.6kS / s.  So, it's the minimum sampling frequency that can be used.

  • Digital relay of data acquisition

    Hello

    I quickly ask you questions. Can I connect several relay digital for single block scb - 68 (data acquisition is: 6321 PCI)?

    With Labview, I want to enable or disable each of these relays.  Is this technically possible? because never, I have connected several sensors to scb - 68.

    Each relay acts as a binary switch to a motor brush continuous (3-12 v and RPM motor voltage: 11.5 krm with weight)< 80="" grams).="" the="" dc="" motors="" will="" receive="" power="" from="" external="" dc="" power="" supply="" unit.=""  so="" the="" power="" for="" the="" relays="" (i="" am="" thinking)="" must="" be="" from="" daq.="" but="" i="" know="" daq="" can="" supply="" only="" very="" very="" less="" current.="" i="" am="" trying="" to="" source="" out="" if="" i="" can="" find="" relays="" that="" run="" with="" very="" current="" (which="" could="" be="" supplied="" by="" the="" daq="" itself)="" can="" you="" suggest="" me="" if="" this="" is="" possible?="" and="" also="" any="" information="" or="" source="" for="" the="" required="" digital="" relays="" would="" be="" lot="">

    Thank you

    MSC


  • DSA maxing out CPU data acquisition

    I'm developing an application on a PXI-8196 (Windows XP) controller that uses a card PXI - 4472 DSA to read a single microphone and a FFT signal analysis. I need solve the two frequencies of 36kHz (and), so I've planned for sampling 96 kech. / s. I wrote a simple loop of data acquisition, configuring NI44xx DAQ/read screws using read the string unique at this rate, but when I run it, it immediately pegs my CPU 100% usage. So far, I did have problems with missing samples or the system crashes, but I am a little concerned that only data acquisition uses all my CPU time. Y at - it tricks that I can implement to reduce the CPU load?

    I tried to vary the parameter samples per channel - with sizes ranging from 1000 to 48000 samples - buffer but I do not seem likely to reduce the CPU usage. Changing the sampling frequency affects the CPU usage (up to about 40% to 48 ksps / s; ~ 75% 72 ksps / s), though. According to this KB: http://digital.ni.com/public.nsf/allkb/D9DDF9FA02D1C18A86256EBC0016C93D

    "A controller Embedded PXI-8176 can compute all the time of the spectra of FFT power on 8 channels for PXI-4472 clocked at 102.4 ksps / s »

    so I think with my 8196 I should have no problem at all to read only one channel 96 kech. / s.

    Anyone have any suggestions to reduce my CPU Overload? Thank you!

    Here is a link to some good information on how to OR-DAQmx 7.4 and later behaves with respect to the use of the processor: Default CPU use with NOR-DAQmx Version 7.4

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

  • data acquisition stops automatically

    I want to stop assistant DAQ automatically after a period of time, so I created this VI.

    When I start the program, it work and after reaching the value of time specific 50, the graphical indicator ' looks like "stop, but wait after 9999 second, the graphical indicator suddenly see a lot of data that seems to be taken for the 9999 seconds, what is happening? After that, it gives an error saying:

    Possible reasons:

    Attempted to read samples that are no longer available. The requested sample was already available, but has since been replaced.

    Increase in the size of buffer, most frequently the reading of data or by specifying a fixed number of samples to read instead of reading all available samples would correct the problem.

    Property: RelativeTo
    Corresponding value: current playback Position
    Property: Offset
    Corresponding value: 0

    Task name: _unnamedTask<100>

     

     

    Data acquisition cannot be stopped like that?

     

    Thank you

    Not quite.  Like this.

  • Data acquisition - DTR

    I need to perform data acquisition for my sensor of temperature RTDS (PT 100). My sensor is first attached to the converter temperature Broderson PXT 10, then to BNC-2090 - NI. national instruments DAQ board.

    PXT 10 gives 0 - 10V DC output, which is then provided to BNC-2090.

    While BNC 2090 reads only the voltage, data acquisition give some readings of voltage. I want to know how I can convert the resulting voltage reading DAQ corresponding temperature.

    Currently I use Callendar Van Dussen equation for conversion. As I take a very low current exciation, conversion gives me a thousand ohms resistance values, and that's why I don't get the value of the correct temperature.  I have attached a reference image.

    Can someone please help?

    Thank you.

    Raphael,

    Even if the plug is not explicit, the implication is that output (0-5 V) is linear in the selected temperature interval. So 0 Volts would represent - 50 C and + 5 V would be 300 C or C 100 depending on the range. All you will need is linear (m * x + b) scaling for temperatures.

    You must run probably some simple calibration verification tests to make sure it works that way.

    Lynn

  • Data acquisition tool NOR-DAQmx with Matlab R2012a

    Hello

    I'm trying to control NI USB-6211 of Matlab 2012 using NOR-DAQmx Data Acquisition tool:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/3005

    I'm working on win7 64 bit. And I see the device AND Measurement & Automation Explorer.

    The tool does not work: DAQ_Demo_Browser do nothing. And I got the error "unexpected or unbalanced parenthesis or support" of AcqNUpdates_nonUI.m

    What is the problem?

    Thank you and best regards,

    Arthur Shulkin

    Hi Arthur,.

    Tools OR DAQmx for Acquisition of data with the Software Inc. MATLAB® from The Mathworks, supports up to the 2008 version of the MATLAB® software.  In order to use our products DAQ Multifunction with MATLAB® software, you could get back to 2008 or earlier, or instead use the Data Acquisition Toolbox provided by The Mathworks, Inc.

    Another option would be to import your ".m" files in a node MathScript in LabVIEW and use the functions of NOR-DAQmx everything in the LabVIEW development environment.  For more information on the Module LabVIEW MathScript, you can consult the information available on this link:

    Inside of the LabVIEW MathScript RT Module

    MATLAB® is a registered trademark of The MathWorks, Inc.

    Katie

  • When I send a 5v of data acquisition, the voltmeter indicates 5V, but when I connect a "normally open" valve Parker for the acquisition of data, the voltage decreases automatically a.14 V. It seems to be grounded. Why is this happening?

    We send 5v data acquisition using a voltage generator. Hook us it up to a voltmeter and see 5V. When connect us the generator voltage to a valve "normally open" parker, the voltmeter indicates .14V. It seems that when we connect the two sons of the valve for the voltage generator, the son act as pattern. We want to control the voltage flowing to tap through Labview. We checked the wires to the valve and they work very well, because if we send a constant 5V since the acquisition of data and put ashore, she, the voltmeter indicates 5V. Someone knows why the son act as pattern and low blood to .14V?

    nsatpute wrote:

    Our data acquisition is NI USB-6259. The valve requires only a 5V max and our DAQ provides up to 5V. However, after connecting the valve to the acquisition of data, the grave tension to almost 0. We start from the principle that the son somehow act as the reason, but we are not sure if this is the case.

    The question here is not how much voltage the valve wants, it's the current needs of the valve.  The 6259 can put only 5mA via an analog output.  Your very likely tap needs much more than that.  If you need to add in an amplifier circuit that can supply more current to operate your faucet.

  • Data acquisition component

    I am writing my first app Measurement Studio DAQ but the model NI DAQ component not available under PROJECT > add new item.

    -Execution of Visual Studio 2008 with VB and Measurement Studio Professional 2009.

    It seems that I do not have access to the DAQ Assistant of Measurement Studio.

    Download

    More ms-help://MS. VSCC.v90/MS. VSIPCC.v90 / NOR. MeasurementStudio.2008/DAQIntegration/XML/Create_NET_DAQ_Component.html

    1. Open the project in which you want to create a component of data acquisition. ... Ok
    2. "SELECT project ' add a new item to launch the add new item dialog box.  ... Ok
    3. In the categories pane, select Visual Basic components if you use Visual Basic .NET. Select Visual c# project items , if you are using Visual c#.  ... NO... "Visual Basic items" is not part of the list of categories
    4. In the Templates pane, select OR DAQ component... Not available in the models pane

    Help, please!

    -David

    Hello Panorama,

    After installing Measurement Studio, OR-DAQmx have you installed?  If so, you should make sure that the Measurement Studio for VS2008 component is selected to be installed.  You can select the custom Setup option to check this setting.

    Kind regards

  • How to increase the speed of data acquisition?

    Hey, currently I using 6210 OR of data acquisition and control switch. I used labview to periodically check the 7 switches and read data from 7 channels in the meantime (1 sample on request). I ran 70 loops for 10 groups of data, the cost of the time looked like 2.2 seconds.

    I would like to end a 700 loops in 2 seconds, is it possible to improve?

    Thank you

    PEM

    Look at the Terminal stop of the DAQ Assistant Express VI. You are starting and stopping of the task for the acquisition of data on each iteration of the loop.

    Starting from the help file:

    Stop

    Specifies to stop the task and release device resources when this Express VI ends execution. For ongoing tasks, this entry is FALSE by default, which means that the task is running until the application terminates. To stop the task, you can use the device again in the same application, wire control wire you the Conditional stop this entry to the same terminal of the while loop. For single-point and finished tasks, this entry is TRUE by default, which means work stoppages after all samples are acquired. To optimize the performance of single point when using this Express VI into a loop, wire control wire you the Conditional stop this entry to the same terminal of the while loop.

    Also from the help file:

    Continuous single point of entry or exit, the of VI Express DAQ Assistant cannot allow optimal operation. See Acq & chart voltage-Single Point optimization VI in examples\DAQmx\Analog In\Measure Voltage.llb for an example of techniques to create more powerful applications, single point of I/O.

Maybe you are looking for

  • Problem reading video Flash on Win7

    I have problems of video playback with Adobe Flash player on Firefox.The video flashes (flashes a screen blank images 2-3) and random poster of the mpeg artifacts. Here is the link to the video; http://www.NETD.com/canli-yayin/Kanal-d Same video play

  • Equium A200-1V0 - how to use the Toshiba Recovery CD product?

    I used the reinstall xp on desktop before but do not need to do a reinstall on your laptop (toshiba) with vista with their product recovery disc. With vista, I had to find my own drivers etc. after the OS is installed on a clean drive. I want to clea

  • Satellite A100 - will not charge the battery

    Hello I have ned to help. My Satellite A100 will not charge the battery. He works the power adaptor for the led indicates charging status, battery shows 1% of loading tatus information, but none does change - no loading any time. When disconnected ev

  • Install the boot of Vista SP2 and crashes

    My Packard Bell IMedia has problems when I install the Vista SP2 - it causes the computer to fail to start.  I can restore the system, but then I find myself with a computer that isn't quite right.  The graphics with the SP1 updates are updates all s

  • How can I delete the C drive on my computer or hard drive?

    It is full, but disk clean makes virtually no difference, and it will not defragment either.  It's so slow.