Reading and samples the sampling frequency using a fast external clock

Hello

I use an NI USB-6212 box to launch a search engine for combustion. I have a pressure sensor in the head and a wheel on the crankshaft. I use the beats A Quad channel of the rotary encoder as a sample external to the pressure with the sample clock. The idea is that I want almost the same number of points in each trace of pressure so that it is easy to average together. I seem to be able to do this at low speed, but I'm having issues at high speed.

Can someone tell me what I should have my sampling rate and samples to read together and how it effects my sampling when using an external clock? Samples per channel will affect the size of buffer and that matters? When I was high (10-100 kHz and about 1/10 * rate for samples to read) it barely read but as I put the lowest and lowest he read faster. Play with the settings a bit seem to affect how well it samples at different speeds. The engine is running at 3600 rpm and my encoder puts out 2500 pulses per turn on one channel, I'm looking at a frequency of 150 kHz effective sampling. However I didn't sample program with the engine operating at full throttle. I hung on the output of the encoder up to a scope and reads very well.

Are there opportunities the filter counter that I see in the manual of 621 x is enabled inadvertently?

Thank you

Xander

Xander18,

I suggest you move your screws initialization outside the while loop, as well as your narrow DAQmx VI.  On my side, it looks like a new task is performed for each loop, which takes time.  That a try and let me know how it goes.

Tags: NI Software

Similar Questions

  • When I plug my portable hard drive to the usb port it does not read and display the contents...

    When I plug my portable hard drive to the usb port it does not read and display the contents...

    Hi deaza,.

    Ø Have you connected the USB hard drive to the computer directly or you have used an external USB hub to connect?

    O trying to connect to another USB port to check if it works?

    O the hardrive shows in windows of the computer when you connect it?

    Method 1:
    If you have installed security software, I suggest you to temporarily disable the security software and connect the USB and check to see if the same problem happens. Make sure that you enable the security software after checking.

    Alternatively, you can try to plug the USB key into a different USB port and check if it helps.

    Method 2:
    I suggest trying to launch hardware and troubleshooting of devices and check to see if it helps, here is the link:http://windows.microsoft.com/en-US/windows7/What-to-do-when-a-device-isn ' t-installed-correctly

    Method 3:
    If this does not help, then follow these steps:

    (a) remove all your USB devices. Use the safely remove the feature to turn them off.

    (b) open Device Manager and navigate to the section for USB. Uninstall all USB drives. There should be one for each USB port, and then restart.

    To open Device Manager, go to the link below and follow the steps:

    http://Windows.Microsoft.com/en-us/Windows7/open-Device-Manager

    (c) Windows should re - find all of the devices. If it is not the case, note the error message and let us know.

    You can also navigate to the link below and follow the steps to install the USB device.

    http://Windows.Microsoft.com/en-us/Windows7/install-a-USB-device

    I hope this helps. Let us know the results.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • 'Resources in use' error during the acquisition of the analog data on AI0 with external clock on PFI0 and beginning of slope trigger analog on AI1

    Hello

    I use the card PCI-6111.

    I am trying to acquire analog data on channels dev1/ai0 ai1/dev1 using pulses of external clock connected to the PFI0 channel. I also want to trigger the acquisition, when the channel dev1/ai1 signal reaches certain level. I send a triangle wave channel dev1/ai1, and I need the data only for the front.

    I have configured the task in the following ways:

    However, I get the error-89137 after function DAQmx Start Task:

    Specified route can not be satisfied, because it requires resources that are currently in use by another route.

    Source device: Dev1
    Terminal of source: PFI0InputLockOut
    Target unit: Dev1
    Destination terminal: AnalogComparisonEvent

    Resources in use by
    Task name: _unnamedTask
    Source device: Dev1
    Terminal of source: PFI0
    Target unit: Dev1
    Destination terminal: AI/SampleClock

    Task name: _unnamedTask

    If I change the internal clock external clock - switch works. If I pull the trigger, the external clock works, too. But these two tasks do not work together.

    Help? Advice? Thank you!

  • Security How can I remove the copy and paste the files I used?

    Security How can I remove the copy and paste the files I used?

    I can't get rid of all the e-mail addresses I have copied and pasted.  No matter what I will always appear if I hit paste again.  This is a shared computer and I would rather not have my copy and paste the files stored on the computer, after that I quit.

    Thank you

    Hi Ron,

    You can copy or move information (for example, text and pictures) between files and programs using temporary storage called the Clipboard. The Clipboard is not visible, so even if you use it to copy and paste information, you never actually see the Clipboard when you do this.

    The Clipboard contains a block of information at a time. Whenever you copy information to the Clipboard, the old contents of the Clipboard is replaced by the new information.

    When you shut down the computer everything is stuck in the memory of the Clipboard is cleared.

    Please click the below mentioned link to get an overview of the clip board memory.

    http://Windows.Microsoft.com/en-in/Windows7/copy-information-between-files

    Answer please if you have any questions.

  • I need help! I try to open my PDF but I get this message on my Macbook Pro! "Before you display PDF documents in the browser, you must launch Adobe Reader and accept the end user license agreement, and then quit and relaunch the browser."

    I need help! I try to open my PDF but I get this message on my Macbook Pro! "Before you display PDF documents in the browser, you must launch Adobe Reader and accept the end user license agreement, and then quit and relaunch the browser." What should I do?

    Do exactly what the message says, and it will go away.

  • Is it possible to start and stop the servers without using nodemanager?

    Is it possible to start and stop the servers without using nodemanager? If so, how?

    Hello

    Please follow the link below, it will be useful

    http://docs.Oracle.com/CD/E1322201/wls/docs81/ConsoleHelp/startstop.html#1243161_

    Concerning
    Fabian

  • I get the message saying launch adobe reader and accept the license agreement for end. How can I do this

    I get the message saying launch adobe reader and accept the license agreement for end. How can I do this

    : Windows in C/Program Files (x 86) /Adobe/Reader11.0/Reader and doiuble click on the file eula.exe .

    Mac: Go to Mac HD/Applications and double-click the Adobe Reader.app

  • Before displaying PDF documents in the browser, you must start Adobe Reader and accept the end-user Li

    Since two or three weeks, whenever we try to open a PDF file, we get the following message:

    Before display PDF documents in the browser, you must launch Adobe Reader and accept the end user license agreement, and then quit and relaunch the browser.  There is no link in this post, and I can't find where to launch Adobe Reader to accept this agreement.  I do not understand why we started having problems all of a sudden, but it is extremely frustrating!

    We have a Mac OS X v. 10.7 Safari v. 6.0

    Thank you very much!

    If you have installed the Adobe Reader software to the deafult location you will see in your hard drive / Applications folder.

    Try this:

    1. Quit Safari

    2. from Finder > go > go to folder... > type in the path: /Applications/ and click 'Go '.

    3. run "Adobe Reader"

    4. accept the end user license

    5. open a PDF file in Safari.

  • hide and show the icon view using if else statement

    is - it possibleto hide and expose the display icon using if else statement? I try to use erase them but I don't know how show it on again after that I want to come back. Thank you

    There are two functions... EraseIcon and Exposeicon

    Mike

  • How use the serial port read and display the text but not scroll off the screen?

    I'm new-ish/return user fan of Labview and trying to change the example VI "Advanced serial write and read VI" is the part of the dev suite 2012.  I need to use the string box for ALL of the text from a serial port, always adding and just roll off the screen when the actuals come to the serial port.

    What actually arrived more than bytes (or no bytes AT ALL!), during reading time text, current rolls out of the box in the chain.  Even when receiving 0 bytes, screen is removed.  I'm not very familiar with the locations of functions and even worse to understand obscure references to functions, so please keep very basic answers so I can follow.

    Just to be clear, I need window of the chain behave as HyperTerminal does always displays the data and it is not pushed by window arbitrarily.

    Thank you

    Steve

    A long shot.

    Is that what you want?

  • How can I pause and resume the analog output using DAQmx?

    I use a DAQ hardware to produce an analog waveform.  I would like simply to break the output of the wave and then resume where it left off.  I use DAQmx and LabVIEW 2011.

    I've seen examples that use a digital or analog break trigger, but I would take a break in the software only.  How can I do this?

    -Joe

    Hi Joe!

    I spent some time thinking about it and I realized that you can technically use a fundamental mission of the analog output, as you previously wrote that runs continuously. However, the generated output samples are controlled by the sample clock pulses, and can be manipulated to fit our needs "suspension."

    To do this, we will need another counter task that generates a pulse train (see our examples of shipping under material input and output > DAQmx > generating digital pulses > generate dig Pulse Train - Continuous.vi) that stops and starts the user to choose. This can be in another quite VI or controlled by software. We will use this as the task of our output sample clock.

    Then, the task of the AO, wire a constant to the sample clock source and select ' DevX/CtrXInternalOutput"based on the counter that you specified in the task of counter. You will need to choose "I/o name of filtration" and check the box that says "include advanced terminals' and right-click of the constant. See picture attached as a reference. In this way, the task of the AO is constantly running, but it generates only actually all data when the meter running task.

    Let me know if you have any questions!

    Have a great day!

  • Satellite A300-146 - CD/DVD read and write the question

    I have Toshiba Satellite A300-146, model No.: PSAJ0E, 1 GB of RAM, Intel Dual core 1.87 processor, chipset Mobile Intel (r) 965 family
    I use the windows7 RC version.

    My DVD burner does not work correctly.

    (* 1) not read 700 mb CD and don't read do not more DVDs.*
    A few months ago he read sony DVD, read all CD and dint read some local DVD. Now, it is not read sony DVD and and all the CD that I used. But reads the local DVD...

    (* 2) a few times it can write DVD but most of the time this is not not writing DVD Nero 7 display of 100%, but the DVD is not written anything.*

    I use Vista drivers for my Window 7 operating system...

    3. should I install windows 7 drivers... ?

    4. are there specific drivers for DVD player. ?

    Experts or those who have recovered from the same problem. Please help me.

    Thanks in advance.

    Hello

    Maybe your CD/DVD drive becomes faulty... What do you think?

    But before you think to a new disk, you must remove the server - and lowerfilters in the registry. You can follow the workaround from Microsoft:
    http://support.Microsoft.com/kb/314060

    Also, make sure that the CD/DVD drive lens is clean. You can use a microfibre cloth to clean. This rag doesn't scratch the lens.
    Check this box!

    Finally and above all, there is no special driver for CD/DVD drive. It s a part of t Windows and can be updated.

  • How to enlarge a pdf file in 'reader' and print the document expanded

    I can print the size of the original document in the reader.  Can I enlarge the document using the button at the bottom, but I don't see where I can print this "expanded" + document

    Hello

    I suggest you to follow the steps and check if it helps;

    (a) open the file on the drive of a Windows App.

    (b) click print.

    (c) click on the printer, click the size arrow drop-down menu and change the size.

    Try to print now and check.

    Check out the link;

    Windows player: Frequently asked questions

    http://Windows.Microsoft.com/en-in/Windows-8/reader-FAQs

    If you need help with Windows, please do not hesitate to post. We will be happy to help you.

  • Ground control point and of the CNS by using process DBWr and LOGWr?

    What control point has to do with the log writer process I don't get exactly?...

    As I fire 1 query updated and apparently it will generate some redo blocks which in turn will come to my redo log files now in this cycle where the control point will occur and why?

    (1) my update query
    (2) lock
    (3) generate redo
    (4) generate cancel
    5 blocks) are changed, but they are still in the redo log buffer...

    Now this block finally comes to redo logs in all this way to check off pointing place and why?

    control point takes place also however is flushed to the data files the same reason why?

    Same manner around the same question the checkpointing should do with the DBWr process as I'm unclear...

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Apart from this overview of the SNA is generated when the user launches period... and we can say YVERT can be used to identify whether or not the transaction is validated. ?
    So what is the reason for the SNA update in the control file... Can b to get the last transaction committed... ??

    Sorry a thread with questions so much... but this all things create a blurry image, I want to clearly say thnx for your help in advance...
    I've read the documentation, but they did not mention deep for recovery... ??



    Thank you
    Philippe

    Published by: 851733 on April 12, 2011 07:57

    And you the chance to read the guide to the Concepts and the book, Expert, alone that I proposed to read? I guess no, no? You mean, you have to read two books for sure because it would take a lot of time before you would get things correctly.

    YVERT is a like a timestamp which oracle maintain separate trasactions of time?

    Evil. CPN is with each operation, whether a DML, select, DDL, whatever it is. It's time, that's all. Validation of a transaction would be just another event that will be mapped to the SCN generated right here.

    Checkpoint is a SNA during which we emptied all Sales buffers to disk?

    Have you read in my last response I mentioned CPN is to read-consitancy and checkpoint is for the recvoery? So, how you said that this point of control is nothing other than RCS? See the definition of the Concepts guide,

    A data structure that marks the position of the control point, which is the RCS in the thread again where instance recovery should begin. Control points are recorded in the control file and each file header data and are a crucial part of the recovery.

    So assuming that the roll forward flow is as below,

    Begin - Checkpoint - end

    The point where the word Checkpoint is mentioned, is the place where begins the recovery.

    Control files and headers of the data files are updated with the last control point (now this checkpoint is the last SNA by what buffer cache is empty so that we can know up to what our data files are updated).

    Read the above, given the definition of the control point.

    Buffers are marked with YVERT?

    Don't know what you mean by this statement?

    Tell you what, read the guide concepts and Experts, by Tom Kyte to understand these things in a way much better. Besides, if you can organize, attend the session for workshop-1 or 2 modules of Oracle University, where the instructor would release these questions into a long discussion, very strongly suggested that with the above mentioned books.

    Aman...

  • My document Pages when sent in PDF format opens with Acrobat Reader and displays the text pane

    Hey team

    I am a new user of recent Mac and I have some difficulty with the Pages.

    I'll create a new document and save it as a PDF file (save it to the desktop), when I open it again, it opens with Acrobat Reader and the text released along side this one pane. It does not open a document own stand alone. This cause me a problem when I want to send it as an attachment, as it includes this component, as well as all other toolbars with.

    Any help on this would be appreciated.

    SSA56,

    When you send the PDF document as an attachment, it will be sent as a document 'stand alone '. It will be open according to the preferences that are set by the receiving party.

Maybe you are looking for

  • HP Pavilion p7-1410 & Windows 7 drivers... do exist?

    Customer has just purchased a HP Pavilion p7-1410 (8 pre-installed Windows). Their booking engine that they currently use unique works through Internet Explorer 8, which is not supported by Windows 8. This is something that they have no control on, s

  • updated 64-bit

    I received an update from Toshiba disc and installed a 32-bit version of Windows 7. I wish now that I had installed the 64-bit version, which was also included. I JUST CAN'T INSTALL or NEEDS to FIRST REMOVE 32BITS VERSION. ALSO I HAVE BAD TO ACTIVATE

  • Windows give error 0x8DDD100A during the validation of windows Xp Professional SP3

    Windows give error 0x8DDD100A during the validation of windows Xp Professional SP3 Diagnostic report (1.9.0027.0):-----------------------------------------Validation of Windows data-->Validation status: sync clock errorValidation code: 10Code of Vali

  • HDMI Audio driver disappears after the RDP session

    I have a desktop PC that I use as a HTPC. It is running xp pro sp3. I have a graphics card Radeon HD5570 I use to connect it to my TV via the HDMI interface. I recently had a car accident and had to rebuild the system disk (re - install windows, driv

  • M20: Guest access has stopped working

    Six months later, my guest account has worked well. Guests with Mac and PC use. I used it with an iPhone 4 and iPod Touch. I even had a printer wireless HP connected and working, if I had to manually assign an IP in the range of standard network, bea