How to set the sampling interval using DAQ hardware?

Now I have a sensor capability and hardware DAQ 24 bit (http://www.mccdaq.com/usb-data-acquisition/USB-2404-10.aspx).

The DAQ hardware has the 50kS/s maximum sampling rate. My question is how to define the range of data collection. For example, if I set the sampling rate of 2000, continuous sample mode, I use read.vi DAQmx in a while loop and set the "number of samples per channel" to 100. I want to plot these data over time using a XY Chart and also save this data. So I add a 'Medium' function to get the average of 100 samples per each loop (medium, there are 20 release of data per second). But when I put a 'number of samples per channel' much more small (for more data per second), there are a few problems. It seems that the program cannot read the data as much and get the average at a higher frequency. I don't know where is the problem. Overall, the collection of data more frequently? Maybe I didn't articulate my question. I'll upload a simple program later if necessary. Thank you.


Tags: NI Software

Similar Questions

  • How to set the doctype node using dbms_xmldom?

    Hi all

    IM using oracle 10g. I generated an xml file using dbms_xmldom.

    I need set the version xml and doctype to my xml file.

    XML version I've defined using dbms_xmldom.writeTofile.

    But not able to set the doctype... tried with dbms_xmldom.makedocumenttype... But no result...

    How to set the doctype using dbms_xmldom?

    Concerning
    Sankar MN

    Published by: SankaraNarayanan.M.N on October 17, 2011 05:40

    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_xmldom.htm#i1121082

  • How to set the settings without using the name?

    In my OpenGL\DirectX C++ engine that I wrote a material format clever for managing shader and texture settings, I do the same Molehill help now, but I can't find a way to know a registration number parameter.

    I use PixelBender3D shaders, I want to use setProgramConstantsFromMatrix and setProgramConstantsFromVector to set my values instead of this helper class settings that allow you to by name (things with strings during execution should never used in vidogames and store name instead of the register number is just more painful)

    I have seen that there is a ParameterRegisterInfo class, which inherits from RegisterInfo, that cointains a variable 'register', but it seems to be private, and I can't access the number of registry from there (I don't even know if register.baseNumber is really the one I need, but seems that Yes).

    So, is it possible to get the registration number of a parameter to use with setProgramConstantsFromMatrix\setProgramConstantsFromVector?

    If not, please, it implements! Functions such as setMatrixParameterByName are certainly useful, but should not be the only way to set a parameter.

    I know that some of the samples use setProgramConstantsFromMatrix already, but every time the registry value is simply coded hard in and is not calculated.

    I hope it's clear and thanks in advance!

    This complaint has developed a couple of times since we released the beta version. You should have access to this information, we'll fix it in a future release.

  • How to set the title when using InvokeManager (MediaPlayer)

    Hi Im using InvokeManager to play the video file (Media Player)

    How to change the title when media player to play the video (above)-> it by default uses the name of the file being played

    but I want to change this

    How to do this?

    Thank you

    Try this

    InvokeManager * invokeManager = new InvokeManager();
    InvokeRequest cardRequest;
    cardRequest.setTarget ("sys.mediaplayer.previewer");
    cardRequest.setAction ("bb.action.OPEN");
    cardRequest.setUri ("* video url *");
                QVariantMap map;
    Map.Insert ("contentTitle", "My title");
    QByteArray requestData = bb:psObject::encode (map, NULL);
    cardRequest.setData (requestData);
    Response InvokeTargetReply * = invokeManager-> invoke (cardRequest);

    Note: Mark your post as solved, if this solves your problem

  • How to set the NFS storage using the HA function

    HI friends,

    How to configure NFS storage to use the HA?

    Do all esx hosts, see cluster the same lun, comfiguration files?

    Thank you.

    You need:

    • VMkernel for NFS ip Storage

    • Mount the NFS on each cluster host esx (as shared storage) group so that all ESX hosts see your virtual machines

    How to:

    • Create new Cluster

    • Edit the Cluster and enable HA for the cluster

    • For the game from the beginning to 'use the cluster configuration' default virtual machine

    • Then you're ready to go

    Others, I think, someone will add for you...

    System engineer

    Zen Systems Sdn Bhd

    Malaysia

    www.no-x.org

  • How to set the hp7510 to use only black ink

    C311a model HP 7510

    How can I use black ink only each time unless as otherwise defined. I use a Mac Book Pro & P command does not offer this option.

    Hey,.

    You can follow these steps:

    Step 1:

    Select Print on the file menu.

    Step 2:

    Click on the popupbutton and select the quality and the media.

    (under Mac os x tiger select Colorsync and after that select gray tones)

    Step 3:

    Check printing in grayscale.

    Step 4:

    Press the button print.

    Source: Mac Support

  • How to set the timeout of read when using channelReader.ReadWaveform?

    I'm using a USB-6210/a. data acquisition, and it works fine until I have to take a longer than 10 s waveform.

    When I take a longer than wave form, I get the error 200284, "some or all of the requested samples are not yet acquired.  To wait for the samples become available use longer read timeout... »

    No problem, I thought, I'll just put a longer period.  I searched through the documentation, and the timeout only I found was the watchdog timeout.  When I wanted a longer value, I get code 200452 State - specific property is not supported by the device or is not applicable to the task.

    I use the code in the example AcqVoltageSamples_IntClk.2008 .net with c# in Visual Studio 2008, .net 3.5 sp1.

    How to set the timeout so that ReadWaveform() is not the time?

    Here is the code:

    privateAnalogMultiChannelReaderchannelReader;

    privateAnalogWaveform awf;

    publicList GetWaveForm()

    {

    Try

    {

    Task getWaveform = newTask();

    getWaveform.AIChannels.CreateVoltageChannel (Channel,"", TerminalConfiguration, RangeMinimum,

    RangeMaximum, AIVoltageUnits.Volts);

    getWaveform.Timing.ConfigureSampleClock ("", SampleRate, SampleClockActiveEdge.Rising,)

    SampleQuantityMode.FiniteSamples, NumSamples);

    getWaveform.Control (TaskAction.Verify);

    channelReader = new AnalogMultiChannelReader (getWaveform.Stream);

    AnalogWaveformdata = channelReader.ReadWaveform (NumSamples);

    AWF = data [0];

    samples As new List();

    for (inti = 0; i)

    returnsamples;

    }

    catch (DaqExceptionexception)

    {

    MessageBox.Show (exception. (Message);

    }

    List of l = newList();

    return l;

    }

    Thank you

    Curt

    Hi Curt,.

    Here is a Knowledge Base that can help you to set the timeout setting in your code:

    The property using Timeout of DAQmx task in Visual Studio

  • How can I turn OFF any possibility of use of private browsing OR - how to set a password to use the private browsing?

    How can I turn OFF any possibility of use of private browsing OR - how to set a password to use the private browsing?
    My children are free to use the internet - but I don't want them to be able to hide their internet activity to me.
    Thank you.

    Try this new extension - turn off private browsing:

    https://addons.Mozilla.org/en-us/Firefox/addon/disable-private-browsing/

    Ignore the review I did there on the 22nd, as both versions again, improving have been released during the 6 days and most of the articles I've written about have been fixed.

    Richie just needs to get to the function disable compensation no browsing history, who works at.

  • How to set the output meter channel to generate a signal pulse using DAQ6008

    Hello there I am generating a pulse signal of 100 Hz and a duty of 20% of the 6008 data acquisition cycle using visual studio 2013. I have code that needs to generate this but I'm not sure on how to set the channel output meter. When I run this NI MMAX and my vb error code indicates that the physical channel is not supported. I am a user of data acquisition were first and would appreciate any help offered.

    If you look at the USB-6008/6009 User Guide and specifications, you will see that the counter in these devices cannot rely as edges of entry. It cannot generate a pulse.

    Lynn

  • How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    I found a solution! -Set the size and position of the façade with the help of the

    File > VI properties > window running Position (in category list) > custom (in position of menu drop-down).

    then just accept the current position and size (leave the boxes checked) or set values you want directly (uncheck the boxes and fill in the numbers), or physically position and size the façade and use, the "set to current location" button and press "set size" current All that is easier for you.

    OK so it does not make use of the method VI Methods (Active X) FPRunTimePosRunCustom ([Position], [Size]) but if labview want to make him difficult to use then other means must be found.

  • How to set the value of QUERY using PL/SQL process?

    Hello

    I use APEX 4.2...
    How to set the value of the REQUEST using process of PL/SQL which lies before the header - where the value of the REQUEST should appear on the URL?

    Kind regards
    Fateh

    You cannot set a value of demand in a PL/SQL block. You can run a PL/SQL block on a request which is the id of a button for example.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • How to set the pixels for the softer - edge, in a design? I use PhspCS5 TRIAL grateful for help!

    First of all, I'm not a rather advanced digital artist know the tools of basic (a bit) and I'm pretty good with those who, over the years, however, have a new Mac and better

    visibility for sure and an ASSESSMENT of PSHP CS5 Extended version; what I'm asking is: how to set the pixels... to achieve the softer contour for example. I have

    greeting card templates and is now working on a Christmas tree, with gold stars, they better look (vy-light = blk) but when I ZOOM IN I see the ' wavy lines

    pixels, which appear on the 'place '.  I would like to know how to set the pixels * 1 # and then with respect to colors, when I take a yellow (there are many! yellow!)

    and use my Intuos "tap tap tap" pen drawings (yellow), it does NOT save... (he did it on my other computer and CS4 more aged).  So going

    back to my swatches of color, of... .remember just what yellow I took... ha ha... can be: "not so fast!"

    I buy this subscription at the end of the trial and my bet is that the color picker / working on the purchased version when I "tap tap" to pick up the

    same color II had chosen.  Wouldn't it be good to have a monitor of sorts that says you, what color (s) is used when you need to know, to go

    on the 'design' say after a break for tea, etc.  ?????  (    :

    I save my drawings when facts JPEGs and see now, there's a JPEG 2000... I don't know what it is all about.  I save pdf (1) and a jpeg.  Hope that this sounds

    like what we "do"... When we know much more than me.

    And finally, what program or tool, can a use to put a 'framework' (border) around an eg: 5 x 7 design (again, my goal is for my greeting cards designs.  Are there

    another of Adobe products, I would have to do this.  Free hand has not worked so well, so far.

    I'm in advance, so grateful to you - anyone you may, for your help.  I'm on my way 'Hooray' last now in the hope of success soon... I am a senior of 71

    and so feel I have to really "go there" and learn these basics to ensure my chances of success, at least. Thank you, thank you & thank you! CDW

    Please post in the Photoshop forum.

    http://forums.Adobe.com/community/Photoshop

    Bob

  • Determine the number of traditional DAQ hardware using Labview.

    Hello

    Anyone can answer the question:

    Regarding materials traditional DAQ, for example the DMM OR-4060, how

    can I programmatically determine the number of device which can be seen in MAX?

    With the help of Labview 8.5, I looked into the following function libraries:

    NOR-DMM

    VISA

    NOR-ModInst

    None of the libraries above seem to provide access the number of traditional DAQ hardware

    property, which is automatically assigned.

    Background:

    I have a 18 PXI chassis containing 2 DMM, in housing 3 and 14.

    The DMM may be a mixture of type OR-4060 or NOR-4070.

    The system is controlled by a Teststand sequence employing IVI - DMM

    steps.

    When you set the IVI logical name step, I am referring to IVI device defined Sessions

    Max - rutime determined.

    Labview VISA functions using I can determine the model, i.e. 4060 or 4070.

    Because the DMM just locate into the slots 3 or 14, then the devices NOR-4070

    are accessible using the following descriptors of resources: PXI1Slot3 or

    PXISlot14.

    (The 4070 is compatible DAQmX.)

    So for devices OR-4070, I can predefine 2 Sessions of IVI device, knowing

    It will be sufficient for all occasions, when I run my Teststand sequence, which will be

    determine what device session to use at run time.

    But I'm stuck for the NOR-4060.

    At the Session of the device, I have to give a descriptor of resource the following

    format: DAQ::x (where x is the device number)

    I could create device 18 sessions each reference to a different DAQ::x, but to select

    the good pair during execution, I would need to programmatically determine the device

    number, i.e. the value of x.

    Where my question.

    The closest I came to a solution was an entry of the Knowledge Base that said that the

    Assigned device number would be the same as the slot number, providing the

    Number of the device had not previously configured manually.

    Unfortunately, our device numbers have been changed manually and maybe in the future.

    All popular solutions.

    Gary.

    Hi Gary,.

    Good afternoon and I hope that your well today.

    Thanks for your post and I want to help you solve your problems.

    I don't think there is just a function that you can use to identify and collect information on all cards with your. For traditional DAQ devices in particular I suggest using the Information.vi of DAQ devices get.

    If you look at this link,

    SAL posted an example VI entitled, find dev trad.vi.

    You can get information such as serial number, Dev name and the Base address.

    The assistance of the respective drivers to collect information you could generate an array of strings with the information that you need all the slots.

    Please let me know if this is useful at all,

  • How to set the font "ARIAL" family in the RichTextField?

    How to set the font "ARIAL" family in the RichTextField?

    I saw a LOF of the sample displayed how set the font family in the RichTextField, such as defined as CBTF_FONT.

    But how can I put it as Arial font? If it cannot be, anyone could list a family table of fonts available for use in the Blackberry?

    You are right, for these devices you can use fonts already on the device.

  • How to set the dependency?

    Hi, I created two projects in the framework still a draft package is based on another medium he uses this project with the class. I am therefore unable to build the project.  In the samples under folder browser 'BrowserFieldDemo' and 'commonlib' of projects with the same addiction they began compiling correctly.  But iam unable to set the dependency it please tell me how to set the dependency.

    My project folder structure:

    com\adea\blackberry

    -Project1

    ------------------------File1

    ------------------------File2

    -project2

    ------------------------File1

    ------------------------File2

    Thanks and greetings

    Sunil.G

    Set the type of project that will be used by another project like 'library '.

    And this library project will be available for you to create dependencies.

    http://picasaweb.Google.com/tbilisoft/BlackberryForum#5275894851814275858

Maybe you are looking for