How to get data to & gt;. 1 MHz using driver DAQMx in c#?

Hello

I use DAQ 6210 with DAQMx in Visual c# 2010.

Although data acquisition can provide speeds of > 50 MHz but right now I need to program to speed of 1 MHz, initially.

I created a task with 10000 as clock frequency, with "/ Dev/PFI0" as an external clock. Also, I have increased the size of the buffer to 100000.

Then I used the timer control .net with interval set to 1 ms and each tick, I've read 1000 samples using the player. ReadMultiSample command.

Correct me if I'm wrong; I think it would be the 1000 sample samples every 1ms.

This should give us frequency of 1000 * 1000 = 1 MHz and 100000 samples.

But this isn't happening, I start the acquisition for a second and I get that ~ 10000 samples.

I found that the timer ticks only 10 times in 1 second!

I doubled checked the timer interval value, it has been 1 throughout the program.

What I'm doing wrong here? I wonder if it is a limitation of the timer control? If this is the case how can I enjoy a very high using libraries DAQMx only sampling frequencies.

You kindly help me out here?

Thank you.

You do not understand basic arithmetic and DAQ hardware, if you have a sample of 10000 samples per second rate and ask for samples of 1000, acquiring prendra.1 second. The software counter is not relevant. Also, you seem to be confused on the sampling frequency and number of samples. If you really need a "frequency" of 1 MHz, which is the sampling frequency, you in the program. If you really want samples 1 million, at a frequency of 10 kHz, it will take 10 seconds to acquire that many samples.

Tags: NI Hardware

Similar Questions

  • How to get data for submission of form using REST or SOAP API

    Hello

    Can someone let me know how to recover data using REST or SOAP API for example, also I need to know how to delete some data from form submission using REST or SOAP API for submission of form. Answer please I need to implement in one of my projects.

    Thanks and greetings

    Angela

    Post edited by: Md Shahid

    Here the answer How to recover data for submission of form using REST or SOAP API

  • HOW to get date max of meaningless months USING SYSDATE

    DATE_X
    ------------
    2 JULY 10
    JUNE 3, 10
    6 JUNE 10
    15 JUNE 10
    JUNE 20, 10


    OUTPUT WOULD BE: -.
    ---------------------------
    JUNE 20, 10

    I tried with following query returns the same result

    SELECT MAX (ADD_MONTHS(SYSDATE,-1)) FROM < table_x >
    output:-
    2 JUNE 10

    Concerning
    Amou

    Please press OK button or the helpfu

    SELECT MAX(DATE_X)
    FROM 
    where DATE_X >= ADD_MONTHS(SYSDATE,-1);
    
  • How to get the CPU usage in LabWindows using C program

    Hi all

    Please help me...

    How to get the CPU usage and the use of the RAM in LabWindows CVI 12.0 using C.

    Any help with this will be appreciated.

    Thank you in advance


  • How to get the frame number current timeline using jsx?

    How to get the frame number current timeline using jsx?

    Thanks for the link!

    Clarification: I was looking for the current image on the timeline of the video. OP he mentions that he had found how to get that so I searched a bit more and found this thread: Re: can I inpoint in read/write and out-point of the clips in a group of video with scripts? They have the following functions, I have not tried yet, but it seems like it should work.

    function getCurrentFrame() {}

    try {}

    Var ref = new ActionReference();

    ref.putProperty (charIDToTypeID ('Rprp'), stringIDToTypeID ('currentFrame'));

    ref.putClass (stringIDToTypeID ('timeline'));

    var / / desc = new ActionDescriptor();

    desc.putReference (charIDToTypeID ('null'), ref);

    var TC = executeAction (charIDToTypeID ('getd'), desc, DialogModes.NO);

    Return TC.getInteger (stringIDToTypeID ('currentFrame'));

    } catch (e) {return null ;}

    };

  • How to insert data into the table by using the expression builder in the assign activity

    How to insert data into the table by using the expression builder in affect business in BPEl, I use SOA Suite 11.1.1.5
    Can someone help me please

    Hello

    I don't think that oraext:query-database() can insert data into the table.

    What are your needs?
    Can not you plan to use the DB adapter with the insert operation?

    Kind regards
    Neeraj Sehgal

  • How to transfer data from laptop to external hard drive?

    How to transfer data from laptop to external hard drive?

    my model is vgn-cr323.

    Thanks in advance

    Let me provide you with General information on how you can transfer data from your computer to an external drive.

    To transfer the data, plug the USB cable into the correct port. Usually, your computer will know that he has a new disc attached and a pop box up will warn you. It will scan to determine what to do with the new connection and your computer will assign a drive letter (for example, drive G: and so on.) This will allow you to transfer data to the external hard drive just like you would move files on your internal hard drive.

    Once you have the USB cable plugged into your computers port (and the other end plugs into the external drive) you can now start to save files you want on the external hard drive.

    Open the item (s) or folder (s) you want to transfer or save on your external hard drive. There are two ways to save external hard disk 1). If you have only one or two things to save, you can open each item, click on file / record under... and choose the letter/drive (for example, drive G corresponding to that of your external hard drive, click Save.) This he recorded on the external hard drive.

    For more information on your model Asia Pacific computer we recommend contacting Sony's Support Center in your area at http://www.sony-asia.com/section/support.

    If my post answered your question, please mark it as "accept as a Solution.

  • How to get data from excel

    Hello world

    How can I get data from excel inside my program? I'm using labview 8.2. I have tried to find the solution for this but seems that the solutions are not suitable. Can someone help me? Thank you.

    Hi jieah,

    Inside of the attachment nijams don't you see this?

    read_excel_values. LLB

  • Does anyone know how to get data from a web service of Labview with ajax or JSON?

    Hello

    I try to use ajax and json to service Web restful which I build with the labview. However I get errors

    For example. I create a web service from a labview vi (z = x / y http://localhost: 8080/math/divide/5/20 will give {Z: "4,000,000"})

    I get errors for the attached html files.

    Does anyone know how to get al labview WebService with ajax or json data?

    Thank you... Eran


  • Urgent: How to get data analog sbRio 9632?

    Hi ~
    I have new in Labview.
    I want to ask how to get analog data of the SbRio-9632 with FPGA?
    Example of
    I want to get the voltage/current of a solar panel.
    So I connect the unit to the analog input.
    But how to write a program to read the data?
    Need urgent help ~ thanks ~

    Hi GTHao,

    I think you can consult this manual for sbRIO 9632. There the guide step by step on how to extract data from sbRIO (although it says about RIO that includes cRIO but they are more a less the same thing in regards to getting analog data for your case)

    Please take note the voltage and current that the analog input sbRIO pines can take before you plug.

    It will be useful.

    Thank you

    Warm greetings,

    Lennard C

  • How to get data from an Excel file exist using report generation tools

    I try to use the Excel vi get the data of the report generation tool, but I can't understand how to activate a path can be explored in the right type for the VI.  I tried to use the new Report.vi, but this does not work unless you use a template.  It will not open an existing excel file and make an open report to extract data from.

    Essentially, I have a bunch of excel files that have data in them, and I want a VI allows to analyze the data.  I'm going to pull in all the data directly from the excel file so I don't have to reproscess them all in text so I can use the more standard datasheet live but to convert even the excel file programtically in labview I still need to be able to open the excel file and get the data?

    I found my problem.  It turns out that only not to have had a problem with the tool box new report vi.  I had accidentally wired an input control of path of folder instead of an input control of path of file to it.  Changing the file type took care of her and I was able to access excel files, I tried using the new report VI to extract the file, and Excel Get Data to extract the data.

  • I need to get data/files from my old hard drive that won't start no-how I connect it to my new computer?

    I have a new computer with Windows Vista.  My old computer does not start (lights turn on but just spinning noise that nothing appears on the monitor).  I need to get the data/files from my old hard drive.  Can I connect the old drive to my new computer to access the files?

    Connect the older hard drive to your computer and transfer the content:

    How do I add an additional hard drive
    http://www.WikiHow.com/add-an-extra-hard-drive

  • How to get data in the procedure after CREATE TABLE table1 AS SELECT * from table2

    Hello

    can any body tell me how to get the data in the new table created in the procedure. because it gives following error.

    • Error (47,21): PL/SQL: ORA-00942: table or view does not exist

    tableName: = "BCKUP_" | TO_CHAR (sysdate, 'ddmmrrrr');

    tableDDL: = 'CREATE TABLE' | tableName. "AS SELECT * FROM Table1 where to_char(MSG_IN_TIME,''dd-mon-rrrr'') < sysdate - ' | daysNumber;

    EXECUTE IMMEDIATE backUpDDL;

    COMMIT;

    DELETE FROM Table1;

    How to select the data in the newly created table. as...

    Select * from ". tableName;

    Do not choose anything to get the number...

    Just after backupDDL EXECUTE IMMEDIATE, simply refers to SQL % ROWCOUNT - who will be the number of lines.

    Oh and DDL engages automatically, your commitment is redundant.

  • How to get data from vROps?

    Hello

    In older versions, we could get out vROps via an adapter of repository data. But with vROps 6.0, I couldn't find that everything about repository adapter and the other as the HTTP Post adapter. I've seen a few posts on CaSa API and SDK, but there is no documentation on this topic. What can I use to get data on how do I configure it? I'll be happy if I can help.

    Kind regards

    Ramazan

    Hi Ramazan

    The API of CaSA is Cluster and Administration of the Group and is located at https://vrops-url/casa

    I have not found any documentation for it.

    What you need is https://vrops-urlsuite - api

    It is a small site with sample code and complete documentation. You can even call the API directly from your browser!

    Start with this, for example: https://vrops-url/suite-api/api/resources? name =something

    Kind regards

    Michael

  • How to get data from a database table and insert into a file

    Hello
    I'm new to soa, I want to create an xml with the data from database tables, I'll have the xsd please suggest me how to get the data in the tables and insert in a file
    concerning

    in your bpel process, you can use the db adapter to communicate with the database.
    with this type of adapter, you can use stored procedures, selects, etc to get the data from your database into your bpel workflow.

    When did it call in your bpel to the db adapter process it will return an output_variable with the contents of your table data, represented in a style of xml form.

    After that, you can use the second card (a file synchronization adapter) to write to the content of this variable in output to the file system

Maybe you are looking for

  • Portege R500 - battery problems

    Hello I have problems with my battery. The battery seems to load OK, but sometimes recently, when I wake the PC, the light flashes orange and nothing seems to work. If I remove the battery and put back again, it starts again OK and the battery says i

  • HP 15-ac628TU: cannot install Win7 on the new laptop computer

    I bought this computer: http://support.HP.com/th-en/document/c04941658 When I want to install windows 7 (32 bit) he asks a cd with drivers. There is no HP drivers for windows for this computer. Help, please!

  • BACKFLIP: Where is... Led notification and Alerts notification for Facebook/MySpace?

    I have a few questions. My first question is, I have a lot of apps that say they can warn my by LED light. I put it to inform me, but when I get a text or message twitter the led lights. The circle of the speaker a light? If so is there a setting I h

  • HP officejet 6500 AIO: printer error

    When I try to print from my computer it says that my printer is in error even if I used the HP print and scan the doctor and it solved my problem and I made several pages to test my computer very well, when I try to print from a web view, that it say

  • Windows cannot initialize the device of this hardware driver. (Code 37)

    Windows cannot initialize the device of this hardware driver. (Code 37)There is no upper or lower filters in reg.external device does also not same massage (Windows cannot initialize the device of this hardware driver. (Code 37))How do I solve this p