Is it possible to use the internal clock for meter tasks in the buffer?

Hello

Hardware: USB term mass 6251

Software: LabView 2011 SP1

I need to measure the angular lever position and speed of a carpet. For that I use two quadrature encoders. To accurately calculate the speed I use buffered from the measures of position using one of the available onboard counters. I understand that for this technique, I provide a sample for the meter clock. I wonder if it is possible to use the internal time base. Note that both of my counters are used so I can't generate a signal to clock with them.

I found two conflicting pages related to my problem:

1) http://digital.ni.com/public.nsf/allkb/EA7FFFEAFC3E1D85862572F700699530

2) http://digital.ni.com/public.nsf/allkb/775290A3121D1FFC862577140074D3B3

The first says that I can use the internal clock of 100 kHz, and the other says that I have an external clock.

Comments/solutions?

Javad

Hi Javad,

On your specific device, there is not a direct route from the time base of 100 kHz for the meter (according to the routing table of MAX):

Yellow cell indicates that a route is possible but there is not direct (the "gate" terminal is used as sample clock for counters of the M series).  Mouse on the cell reveals yellow that make this route really requires the use of a counter (so it is not suitable for your application).

On the line above "100kHzTimebase" you will notice it is called 'FrequencyOutput', which does not have a direct route to the door.  This would be the way to go if you want to route 100 kHz (or some other frequency) as your sample counter clock - you can set it up the same way to a standard meter output task:

The output frequency doesn't have that many features like a meter output, but it is able to generate a continuous stable frequency.  There are only 32 different frequencies that can be generated using Freq Out on the 6251:

{10 MHz, 100 kHz} / {01:16}

Do not forget that the resolution of your measure of frequency by using this method will be equal to how many times you update the measure (hopefully, that makes sense).  In other words, if at the end of all the 1 second, you take the total number of charges since the last second, you would have a 1 per second equal resolution change in the number.  If you take the difference twice per second, you would end up with half the resolution.  You will be sampling the account register fairly quickly, but you will need only to do the calculation of the frequency after that all N samples in order to obtain a significant number.

Another method that will certainly give a higher resolution in less time at typical speeds of coders is to set up a measurement of the frequency (the counter will count the internal 80 MHz base time period your external signal and the pilot calculates the frequency based on the result).  This method uses only a single entry - so you can just feed the 'A' your encoder quadrature signal (the method will not work if you are interested in absolute position or direction).  Without using signals A and B together, you will be susceptible to noise (which is common to have a quadrature encoder) that you want to delete (perhaps by setting up a digital filter).  Finally, you want to set a reasonable timeout on your reader calls (which will be blocked until a period of your external signal occurs), and the error-200284 handle simply report "0Hz" to make sure that your program is still sensitive even without an external signal present.

Best regards

Tags: NI Hardware

Similar Questions

  • IS IT POSSIBLE TO USE THE SAMSUNG SGH-A927 FLIGHT II AS A KEY INTERNET CONNECTION? HELP ME IF YOU HAVE A SOLUTION.

    IS IT POSSIBLE TO USE THE SAMSUNG SGH-A927 FLIGHT II AS A KEY INTERNET CONNECTION? HELP ME IF YOU HAVE A SOLUTION.

    Hello

    See this page to select your language:

    http://support.Microsoft.com/common/international.aspx

    ====================================

    Or sorry that it is area English.

    On the top of this page of answers (English) v -click and set your language.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Is it possible to use the CONTRAST DETECTION as a method of applying mask/Matte?

    This could be one of these more stupid questions, but I would still put forward and I hope that I can get answers that can satisfy my curiosity.


    I came across this issue when I thought about how I can color-grade the subject independently without defining a range of color like the color of the skin, or peel the subject on the bottom and add something between the two without scope of roto. Then I thought of autofocus and it is possible to reverse the process of update automatic and really separate the proportions of the image are under discussion and which are out of focus. Usually I shoot with a narrow depth of field, and I think the BG would get a little blurry. So, it is possible to extract the areas of focus of the out-of-focus areas?


    So the process of detection of contrast or edge detection (or to phase detection) detection during an irreversible autofocus?

    Or require dynamic variations (to get different samples) to compare and evaluate values?

    Or is it limited process to perform in only a small area rather than an entire image and would take too much if applied to a large area processing power?

    Or is it just that all this is not mathematically this practice?


    Many thanks to those who could answer this question!


    Wish you a pleasant and creative day ~



    It is possible to use the channel information to extract a mast. This information comes from the color and luminance values. It's what we call a procedure cache. Usually you duplicate your layer of film and start applying color effects to isolate certain areas of color and luminance, and then you use this sequence as a cache of luminance to the layer below.

    Having said that, although it is fairly easy to find details of contours (actually find contours) it is extremely difficult to know which of these edges must be outside the desired area of masking. Trying to deconstruct the automatic update function, that a camera uses the image data would be quite a daunting task, and I don't know how effective is, it would be because there is currently no metadata binding to any part of the frame to something as the face of the person you want to use as a mask. Face detection algorithms can have a chance to do this for the faces, but other parts of the body would be extremely difficult to understand.

    Stereo may offer a solution to extract a procedure cache on the part of your shot which is development that took you great care, setting up correct convergence for couples of images, but it would not isolate skin tones.

    Rotobrush is an automated tool that requires user input to set inside the desired mask that uses the values of color and edge detection. It is very effective if you take care with photography original, but if you're not careful automatic roto using any tool becomes difficult if not impossible. Afterwards, the Visual effects are much more complicated if there is no production planning.

    Colorista II is my favorite tool for this kind of color correction. It is a very effective tool of internal mast that can do amazing things using the color range. Other color Correctors (Davinci, for example) have other tools to isolate areas based on the color and luminance values. Your idea is interesting, but it would be very difficult to remove using current tools EI.

  • Is there a way to the target url by using the power of Attorney (I want to say is possible to use the proxy to target a site something like that.)?

    Is there a way to the target url by using the power of Attorney (I want to say is possible to use the proxy to target a site something like that.)?

    By default, you can not in Firefox.

    But you can use an add-on like FoxyProxy Standard, I think he understands the functionality you need.

  • Is it possible to use the Remote app with the Apple TV connected via ethernet and iPhone via WiFi?

    Is it possible to use the Remote app with the Apple TV connected via ethernet and iPhone via WiFi? When I try this Apple TV does not appear in the list of devices on my iPhone.

    Yes, I'm doing exactly this with the same put in place.

    If the problem persists the next relative to the following articles might help you.

    Troubleshooting home sharing

  • Is it possible to use the current version of Safari on Windows 10?

    Is it possible to use the current version of Safari on Windows 10?

    N ° Safari has been developed and supported for Windows in 2012.  If you don't want to use Edge or IE, I recommend Firefox.

  • Is it possible to use the 32-bit firefox with the plugin java 64 bit?

    Is it possible to use the 32-bit firefox with the plugin java 64 bit?
    I would use 32-bit firefox and I already install the plugin java 64 bit.
    Is this a good choice is not to install the 32-bit java plugin?
    These will cause problems?

    Thanks in advance.
    Kind regards
    Sean

    Nope - you need the 32-bit Java to go with the 32-bit Firefox, if you want that Java run

  • Is it possible to use the port replicator with the Satellite Pro series?

    Hello
    Is it possible to use the port replicator (Docking Stations) for Tecra series laptop with the Satellite Pro series?

    Hello

    No, as far as I know it of not possible to use a port on laptops Satellite Pro Replicator.
    All laptops that support the Port Replicator has a port extension at the bottom of the unit.
    To my knowledge, the Satellite Pro series don t have this port.
    For now only the Tecra and some units Protégé(ie: S100) supports this feature.

  • My wife and I have laptops and we want to combine the data both on a Mac. Including two Itunes accounts. This is possible by using the migration on each PC asst?

    In what concerns the transfer of data from a PC to a MAC, my wife and I have laptops and we want to combine the data both on a Mac. Including two Itunes accounts. This is possible by using the migration on each PC asst?

    You can bind the whole apple ID using family sharing. If you have trouble doing this, you can go to the apple store, and they would be happy to help you.

  • Is it possible to use the Win XP on my Portege HDMI output?

    Is it possible to use the HDMI on Windows XP?
    How can I activate this option (if possible)?

    Thank you

    Hello

    Generally, it should be possible.
    I m an owner of the laptop with HDMI port and I m running Win XP too.
    I plugged in my external LCD via an HDMI cable and it works.

    What Portege do you have?

  • Is it possible to use the Satellite P200D - 11L with Windows XP

    I want to buy this model from Toshiba (P200D - 11L). Is it possible to run it with Windows XP? Because I'm not interested in Windows Vista now... thx

    Of course, it is possible to use the XP on this laptop.
    But the question is; All the XP drivers are available for this series of satellites P?

    I checked the page European driver of Toshiba and, unfortunately, I didn't find the XP drivers for the series Sat P200D currently

    Well, as far as I remember the XOP drivers were unavailable for the A200 series too. But after a few days/weeks Toshiba comes to present all the XP drivers.
    I guess that this series is brand new on the market and it may need to wait a bit until all the XP drivers will be available.

    Please do not get out of patience ;)

    Best regards

  • Is it possible to use the AirPort Express to AirPlay only? (Wireless)

    Hello

    I have a speaker and I would empower AirPlay for it. I have an old airport express here in my house and I wanted to plug my express from the airport to my wireless network and allow the airplay.

    The only thing I don't want to not remove is the possibility to extend the wireless network, because I'm pretty sure it will do more bad then good, since I was a big of AC very close to the speaker wireless router. (http://www.asus.com/us/Networking/RT-AC5300)

    Is it possible to use the Airport express only airplay? Without trying to extend my network?

    Thanks in advance!

    Kind regards

    Tiago

    Yes, if you have the main router near the speakers... then simply plug the Express into the enclosure of the ethernet... Run it in Bridge mode and turn off wireless... Then check if you can find it in iTunes etc to send the stream of airtime.

    Or you can configure it to join a wireless network... it will not extend... Apple call it client mode.

    AirPort Express: How to join an existing client mode - Apple Support Wi - Fi network

  • Is satellite L350-170 - possible to use the laptop as external monitor

    Ok... So I broke the other day to the top of my screen on my laptop, and was amazing, if it is possible to use another laptop as an external monitor.

    while I put my files on an external hard drive

    or isit only possible connection to the pc?

    Hello

    It would be possible to use the second laptop as an external display ONLY if the computer a laptop would support the video port line-in to the receipt of the video signal.

    But the most common books supports the only video out s-Video port or a vga port, and in this case, you will not be able to use the laptop as a second monitor external.

    For example, the Satellite L350-170 supports only the RGB port that allow you to connect this laptop to external monitor but you can not use this laptop as compensation for external monitor.

    See you soon

  • Satellite A100-635: is it possible to use the DDR2-667 RAM

    I have a portable satellite a100-635 with 1024 MB of RAM DDR2-533. Is it possible to use the DDR2-667 RAM modules instead of 533 in this model? Thank you.

    P.S. I doubt because all portable satellite I've seen so far have been equipped with 533 modules by default. Still the chipset supports officially the DDR2-667 (Intel 945GM) modules.

    Post edited by: STS00

    Hello

    I'm not 100% sure, but as the site says that it won't work, I think you can trust them, and it does not work.
    But if you want to try it, please post the result here.

    Good bye

  • Satellite L50 - A - 1 7 - is possible to use the windows key

    Hello

    IM upgrading to a L50 - a - 1 c 7 for a desktop game pc. im going to use the hard drive of my laptop and I'm not going to use my laptop again.

    so my question is: is it possible to use the key windows of my laptop and re - use for my office?
    When I have more money later I'll buy a HDD a windows for my laptop key

    Thanks in advance

    In General, the Windows key is the version of the OS installed on your laptop. I don't understand how you want to use the HARD drive on your desktop with a different hardware configuration. Original image installed on your HARD drive recovery is designed for your laptop and a suitable job o with certain hardware platform.

Maybe you are looking for