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.

Tags: NI Hardware

Similar Questions

  • How to run a window of data acquisition and another pane at the same time

    Hello

    I have a main window for data acquisition and in front panel there are four Sub Vi. When the main window of data acquisition is running and at the same time if I run the Subvi - main window stops data acquisition and the secondary window starts to run. But I want to launch the window of acquisition of primary data and the pane at the same time. Please give me a solution for this...

    Thanking in advance.

    Nikhil

    Hi Nikhil,

    My explanation has answered your question. Take a look at the image as an attachment. Let us know if you have any other questions.

  • 6361 versatile usb data acquisition does not automatically detect the SCXI chassis/accessories

    versatile usb data acquisition 6361 will detect automatically SCXI chassis and accessories?

    Hello kdCMC,

    As far as I know that the SCXI-1600 USB Module is able to auto-detect SCXI Modules.
    This is also mentioned on page 11 and 12 of the following SCXI to start document:
    http://www.NI.com/PDF/manuals/373236m.PDF

    All data (including USB-variants such as the NI USB-6361) have only a 68 pin shielded cable (IO) between the DAQ hardware and the SCXI chassis.
    This cable does not auto-detect opportunities since it basically just "transfers analog and digital signals" between SCXI chassis and DAQ hardware.

    Is there a specific document that created the confusion on this subject?

  • data acquisition in real time using the module sim900d (not arduino0

    Hello

    I'm doing my final year project. I'll send the data from a remote location using sim900d for the other module (sim900d) connected to my laptop. Now, I need to import data acquired through sim900d connected to my laptop in Labview. But I don't know how. Kindly guide me

    I looked for it and thus to find a link that uses the serial port to send to commnads

    http://www.codeproject.com/tips/583315/using-SerialPort-and-at-commands-for-querying-cell

    so now send orders AT serial number is easy. first of all examine the emitting part. for this you need VI config series VISA and VISA series write VI. You can serach these VI by right click I your new VI block diagram and press search on the top left corner. Here you type the serial port and you will get a list of the VISA series live.

    Here is also a link to or

  • Not displaying data acquisition devices is not under the chassis to MAX after updating drivers OR

    We use a PXI-1031 chassis and 3 PXI-6143 devices to our MetalMapper of the geometry. Also the chassis appears only in MAX as "unidentified" and PXI-1031 is not displayed in the list "identify as".

    Thanks for your reply... uh... PeanutButterOven

    After having looked in the information requested for our controller, we realized that we had a wrong model for our controller number.

    After we have determined the correct model number (NI PXI-8108), we could assign to the unidentified PXI system in the "identify as" drop-down list in MAX > my system > devices and Interfaces and then select our chassis model number (PXI-1031DC).

    After we did it, a new object was automatically created called PXI-1031DC 'Châssis 1' and our devices were already provided in a drop down of this frame object.

    Thanks for your help!

    We now live a new show with our custom software that seems bound to not find .NET drivers even if they exist on our computer.  This seems to be a separate problem and we will publish it to a new discussion if we're stuck.

    Thanks again

  • LabVIEW: TDMS file data could not be converted to the specified data type.



  • How to find the time between two channels of entry in the data acquisition card or pci 6036

    Hello

    I read a lot-related posts on the simultaneous measurement of two input voltage of similar channels in map data acquisition. I know that the best material is "simultaneous measurments of the Series DAQ cards" but I only pci data acquisition card 6036 and I try to understand what is the time between the reading of the two channels . This period is always constant? (must it rely on a voltage (amplitude, frequency, waveform..). I send the sine wave (s) to the two channels and read the values of V, if they read the same value, the difference should always be zero but I get-0,002 to 0.002 Volt difference (I must find a way to convert it in time). A screenshot of my VI is attached. I wonder how I can accurately measure the time delay between the channel.

    I am open to any suggestion, my final goal to read exactly two channels at the same time ((ou connaître le délai exact donc je peux correspondre les données correspondantes étant donné le temps de retard))

    Hi spinup,

    better you should post your question in the forum of LabVIEW, LabWindows/CVI is used

    Good luck.

  • choice of the model of design for data acquisition system

    Hi all

    I have a problem on the selection of the model design / architecture for a data acquisition system.

    Here are the details of the desired system:

    There are data acquisition hardware and I need to use by looking at the settings on the user interface.

    the period of data acquisition, channel list to analyze must be selected on the user interface. In addition, there are many interactions with the user interface. for example if the user selects a channel to add scanlist, I need to activate and make it visible to others on the user interface.

    When the user completes the channel selection, then he will press the button to start the data acquisition. Then, I also need to show the values scanned on a graph in real time and save them in a txt file.

    I know that I can not use producer consumer model here. because the data acquisition loop should wait for the settings to scan channels. and it works on a given period by the user. If the loop of user interface makes higher then loop (loop data acquisition) of consumption. This means that queue will be bigger, larger. If I use notifier this will be some data loss comes from the user interface.

    y at - it an idea about it? is there any model of design suitable for this case?

    Thanks in advance

    Best regards

    Veli BAYAR

    Software for embedded systems and hardware engineer

    Veli,

    I recommend the model producer/consumer with some modifications.

    You might need three loops.  I can't tell for sure from your brief description.

    The loop of the User Interface responds to the user for configuration entries and start/stop of acquisition.  The parameters and commands are passed to the Data Acquisition loop via a queue. In this loop is a machine States that slowed, Configuration, Acquisition and stop States (and perhaps others). The data is sent to the processing loop through another line. The processing loop performs any data processing, displays the data from the user, and records to file. A registrant can be used to send the Stop command or stop the loop of the UI for other loops.  If the amount of treatment is minimal and the time of writing files are not too long, the functions of processing loop might be able to happen in the case of the UI loop timeout structure of the event.  This makes things a little easier, but is not as flexible when changes need to be made.

    I'm not sure that there is a type of design for this exact configuration, but it is essentially a combination of the models Design of producer/consumer (data) and producer/consumer (events).

    Lynn

  • I am building a system and I need to help experts to choose the data acquisition card.

    Hello world

    I am currently working on a design project I need to take a data acquisition card that responds to the output of the amplifier. I'll build a force detection system which I have taken the following as detector and amplifier:

    http://content.Honeywell.com/sensing/Sensotec/pdf_catalog08/008834-1-EN_Model_UV%20Bridge.PDF

    http://content.Honeywell.com/sensing/Sensotec/pdf_catalog08/008638-1-EN_Model_53.PDF

    Please recommend me which data acquisition card I could take. The only requirement I ask is to have less than 0.1% global uncertainty.

    Thanks for anyone who can help

    Since your amp has - 3db at 7 kHz and you need only 10 bits 0.1% will do almost any card with.   USB-6009 is the lower end. USB-6210 the next step.

    Then take a look at some other boundary conditions: do you need it calibrated? (Is there a QM adj. who could ask questions?) Space?, EMC/noise, entry, differential

    Take a look at the USB-9237 with a conditioner bridge construction...

  • LeCroy Waverunner 640Zi - Data Acquisition

    Hello... I'm trying to set up my oscilloscope waverunner with LabVIEW SignalExpress for data acquisition.

    I took the steps so far:

    1 pulse generator hooked to scope of signal generation

    2 USB scope to the installed computer with LabView

    3 downloaded lecroyscope driver 3.2.9 - x 64

    I turn on the scope and plug in the USB to the computer and SignalExpress begins.

    a. start by using data acquisition

    b. Add step/aquire signal / IVI aquire / IVI brought aquire

    c. create new IVI session... resources descriptor (I choose my USB device ' USB0::0x05FF:0 x 1023: 2812N61507:INSTR '), I select the right driver (lcscope), and I do not click enable simulation data, press ok
    d. I still receive configuration errors

    e. did the research... some forum said goto MAX, find drivers and uncheck the Cache and the exchange of check

    f. attempt to initialize... always get config errors.

    g. return to MAX... change to simulate with specific driver.

    h. initialization works... NO errors, BUT no data are acquired.

    Help, please!

    Hello

    Sorry to jump in if I was out of the country for a while and am still catching things in my office.

    I think you are looking for someone to say yes, "you can connect to the scope with NOR-MAX and VISA, and here's how interactive tool do"

    A few things:

    LabVIEW for XStream extended driver is the right one.  It works with all the TeledyneLeCroy Windows based scopes.

    As I see has already been noted. (I'll give Kudos soon), the scope of application must be configured to use interface USBTMC.  To do this, go to the drop down Utitlites on the scope menu and select "utilities configuration... '. "in the tabs that appear at the bottom of the screen, select the 'Remote' tab and make sure that the interface type is set to USBTMC.  This will also show you the VISA resource (I see it in the title of the image of VISA interactive tool indicated in a previous post).

    Once this field is selected, the PC should detect the USB connection and install the device. (you can see in your device manager as a Test of USB and the measurement device):

    Once this is done, you can then enter the NOT-MAX and it will detect and display resources.  You can now communicate with the device:

    If you have problems, do not hesitate to give me a call and I'm happy to walk through it over the phone.

    Kind regards

    Leonard Brown
    Technical sales engineer
    Teledyne LeCroy
    1-800-553-2769

  • USB 6008 data acquisition: automatically turning in a port

    Hi all someone could please help me.

    I need to autoamtically send output didgital since my data acquisition based on a value. the bottom of my little project. I read in a database if a value is equal to a certain value, I want to send a digital camera of the signal of acquiring data in a relay, so for example if the value 1 database generates a digital signl 0 7 port line.

    If someone could help it would be much appreciated

    So what's the problem with sending AUTOMATICALLY one. You simply compare the value of the database. A comparison function returns a true or false, which is quite ideal to display a true/false signal.

    Fix the code you wrote. This is not a service of howework and see some code real goes a long way to get detailed help.

  • PCI data acquisition and Signal controller and SM Bus controller drivers are not installed

    My laptop is Toshiba satellite L305 with Intel Pentium (R) Dual CPU T3200 2 GHz / 2 GHz.

    Rescently that he has been upgraded to Windows Vista Ultimate Edition, 32-bit operating system. Since then, my USB device wireless to connect to the internet is not worked. The Device Manager displays a yellow! Select this option for PCI Data Acquisition and Signal controller and the Bus controller. The details for the two area said that pilots are not kept.

    How can I get these drivers. I'll appreciate your help, thank you.

    Carlos

    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp

    Toshiba support at the above link

    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp?NAV=download

    Toshiba Driver download at the link above

    http://laptopforums.Toshiba.com/

    Toshiba laptop Forums at the link above

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Access the site of the manufacturer of your laptop to the link above > drivers and downloads Section > key in your model number > look for the latest Vista drivers > download/install them.

    The computer you are using now if you have an Internet connection with the other > download / save drivers > copy them into Flash Drive > transfer / install on another computer/laptop.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to control several input channels analog daqmx for data acquisition trigger (all on the same SMU-6368)

    Using the SMU-6368 module, I would like to monitor the analog signal on multiple channels and trigger on several channels - relaxation and acquisition channels is all on the same device. Probably going to be sampling at 200 kHz and more. FM LV 2009 2012, with SV toolkit in Windows 7.

    If SW trigger is the only way to follow, there example code shows how to manage the block size, etc.. ?

    jkessler,

    Yes, the example was in 2012.  I didn't get what you asked for in your first post because I didn't know you wanted to ANY channel to trigger acquisition of all channels.  It is not possible at the hardware level, because you cannot specify four channels as the command source. This will be implemented in the software.  I recommend the reading of all four channels and neglecting data until you determine that one of the channels reached your threshold value.

    Kind regards

  • Input module of data acquisition can be read by two or more LabVIEW vi at the same time % 3F

    I use the DAQ palette in LabVIEW to read the virtual channels of the input data acquisition module. I've done several VI who read many entries of three modules of simulations. The problem appears when I run two or more VI´s reading entries from the same virtual module (for example. first.VI module 1 input ai0 and second.VI bed ai0 entry module 1 bed), when this happens the next errors are shown:

    Error-50103

    Platform AND Services: The specified resource is reserved. The operation could not be performed as indicated.

    and

    Error-200022

    Resource requested by this task has already been reserved by another task.

    It's worrying because I want to get the DAQ chassis and some modules, but if this problem is present with physical equipment my application may be unnecessary. This means that entry module only can be read once at the time?

    I m using global variables in each Subvi to share data with main VI, however, I found the solution in a different way... I just changed to single channel and dbl sample playback mode, so I Don t need to clean up the task of reading in my subVI´s, the zeros isn´t problem here, and the six subVI´s work at the same time!

    Thanks for the tips!

  • 2 channels of AI on a data acquisition with the range of different sensitivity

    This vi is based on the 'new project' state machine on the home screen at the start of LV.

    A time loop is parallel to the main loop of the state machine, shown in the picture.

    It works continuously until you press the Exit button.

    The problem seems to be in start this... > read >... stop start > read >... stop along the error line.

    The reason for this clumsy arrangement power is measured voltages are in two lines of different sensitivity.

    The shunt voltage is small and needs-. 2 to the range of V.2. The load voltage is greater and 09:50 V range is good.

    In the initializing state, two separate vi 'create a channel' have been used to specify the range of voltage to the physical channel. The corresponding tasks are sent via via local variables.

    DAQmx errors happen randomly, sometimes the first iteration, sometimes the 50th.

    I tried to disable one or the other start > read > stop for the shunt voltage or load.

    I tried replacing them with the DAQ assistant.

    I tried various DAQmx vi: "wait" and "accomplishment of the tasks by resource cancel selected".

    But error-50103 "specify resource is reserved" keeps popping up.

    Is it possible to create two tasks on the device even when they are not used at the same time?

    The only reason is to measure in two voltage ranges.

    Win 7 Pro 64-bit

    2014 LV database

    Data acquisition equipment: USB-6210

    Thank you.

    This has been discussed many times. Do NOT use separate tasks. You can use different ranges for different channels with a single task. Just wire the task from one channel to another channel to create task.

    You also use local variables when they are certainly not needed.

Maybe you are looking for

  • Satellite A100-237: what are the compatible battery packs

    Hi guys There is no compatible batteries listed under the 'available options' tab for the A100-237, which I find hard to believe. No one knows the number of part/model of the standard battery, the extended battery pack and battery high capacity?My ba

  • Counter-strike errors - Satellite A100

    Hey there! I play counter strike frequently, it works fine on XP, but since I bought this laptop (A100-062), the game will jam to halfway through a turn, and the only way to fix it is completely restart the PC (such as Notepad integer jams). I tried

  • J5780 "open door. Close print cartridge access door. »

    I just installed a new HP 74 cartridge in my J5780 AIR. Orange flashes and the message 'close the door. Close print cartridge access door"keep scrolling in the message window. I can't find such door. When I close the half top of the machine, the ambe

  • Flash Drive wireless network profile

    How can I set up a profile on a USB wireless network so that I can easily connect other devices wireless to my router?

  • How can I create discs for my recovery to reinstall partition Vista?

    I have a Dell Studio 540 I bought in 2009 which came with Vista 64-bit pre-installed. I do not have the installation discs for Vista but rather has a recovery partition (D). I don't create discs of backup at the time. Now my hard drive is about to cr