Encoder speed and orientation on the NI 9401 in cDAQ-9172

Hello, I have a module or 9401 for my cDAQ-9172 and she is now installed in five slot to connect a dual channel encoder. Channel A is connected to pin 14 and channel B to pin 17 and the encoder is powered by 5v dc.

I want to measure the speed and if possible rotation orientation.

Fix for this that I started the VI, who can count total impulses in the encoder.

My question is, how do I change the DAQmx create frequency channel and DAQmx Read of impulse 1 Chan 1 Samp Freq counter, calculate the speed real encoder and orientation?

Quintino Hi and sorry for not having answered quickly.

Your VI works perfectly well for low frequencies with me. If you want to measure fairly high frequency (> 1 kHz), you may need to check how a measure of 2 meters. You will find an example attached (lv2009). Just plug the signal at the source of one of the meter (ctr0 for example), then set it to the value of the counter on the VI ctr0 control. Use a splitter too high (4 is fine). I was able to compete with the signals of 1 MHz on my Board.

If the problem of failover is still happening after that, try to make a measurement with a low frequency generator and 1 meter to check if the problem is the system (it takes).

Tags: NI Software

Similar Questions

  • Capture of frequency with the NI 9401 in cDAQ-9172

    Hi all

    I searched through all the examples and find the same results than my own code in Labview. So, I go back to my hardware to solve my problem. I use a digital tachometer that displays pulse with 2 wires (hot and ground). I connected these to the NI 9401 for 16 PINS for PFI 1 and PIN 3 on the ground. When I open the module through MAX, he reads the perfectly when hi and lo as well as count properly if it is placed in the location 5 or 6.

    However, I try to use the frequency max task and the task fails to capture anything in the table. I get a time-out error, even if my tach is read correctly. I have attached my settings of the task. Thanks for any help

    Your samples to read is set to 100.  If all the samples of 100 are not available before the timeout is reached, you will get a time-out error.  What is the frequency of the input signal?  Maybe just try to read 1 sample on request first.

    Best regards

  • I use word for mac and have problems with Hebrew and orientation of the text from right to left

    Hello

    I use Word for Mac on my MacBook (version 10.11). I have problems setting the orientation of the text of the Hebrew version.

    Where can I find the icon for the orientation of the text? (not like the alignment)

    It doesn't look like Word for Mac has the RTL support. See the first response to this which Hebrew fonts program works well on a mac - to write Hebrew texts or insert the Hebrew into English documents? post for some alternatives.

  • EA4500 quality of speed and quality of the Signal

    Bought the new EA4500 one a few days ago and watched my wireless connection and see it varies from to 144Mbps 72Mbps.  He has jumped up to 270Mbps sometimes, but rarely.  Shouldn't be 300Mbps most of the time?  My laptop is 4 feet off the router and the router is a cardboard box on the top being raised away from interference.  The previous router was a dlink 855 that went crazy after 3 years.  I think that I was usually at 270 Mbit/s with whom.  What gives?  Should I get a faulty router?  With this new router, I was expecting the range to be much further and more quickly too, but this isn't in my family room.  2nd router floor, family room is 1 floor over about 50 feet away and I have 1 MB/s - 5 Mbps.    Everything is set to Auto on router and IP6 is disabled on the laptop.

    The laptop is 3 years old, has the latest network updates and has used the two wireless G and Wireless N.  Intel WiFi link 5100 AGN network adapter.  Just passed under the advanced network adapter setting and the 2.4 GHZ has been set to 20 Mhz only.  I changed my car and double-checked the setting for 5 GHz.  Now, I'm getting my full 300Mbps on my wireless connection.  Very strange.  I'll see how it behaves at distance next week.

  • Change the network connection speed and reliability of the emulator

    Hello

    I want to test my application in the State of the slow and unreliable network.

    I wonder if we can change the speed of the emulator network connection? Or y at - it a tool that can help us to do this?

    I'm also thinking about a simple proxy server which can regulate the speed of connection. And then my application connects to this server to test. This type of proxy server software exist?

    Thanks in advance

    Ball

    I think that the best you can do is play with simulation--> network coverage options - see the simulation on the Simulator menu.

  • Absolute position and orientation of the camera

    Hey folks, I'm banging my head against the wall trying to figure what I think should be a fairly simple expression.

    I'm trying to get my camera to an animatic of a moderator move offshore, and is not imported correctly on its system at least that the camera is not related to what whether in sequels.

    So, my relatively simple (I thought) solution was to use the term toWorld on a new camera to watch the old one and generate the absolute position and X, Y, Z rotation.  However, nothing I do seems to put the new camera in the right place, and I can't figure out how to make the rotation of key frames work not at all.

    Little information about the project, the camera has separate X, Y and Z position keyframes and rotation keyframes X and Y as well as Orientation (although I want the final device to have X, Y Z rotation keyframes).  The camera is related to a null value which has alterations Y rotation.

    If anyone can help me to collect these expressions I would be so grateful!  Thank you!

    See if this helps:

    position

    C = thisComp.layer ("camera 1");

    C.toWorld ([0,0,0])

    point of interest

    C = thisComp.layer ("camera 1");

    C.toWorld (C.pointOfInterest)

    orientation

    C = thisComp.layer ("camera 1");

    u = C.toWorldVec ([1,0,0]);

    v = C.toWorldVec ([0,1,0]);

    w = C.toWorldVec ([0,0,1]);

    SINB = clamp (w [0], 1, -1);

    b = Math.asin (sinb);

    co. = Math.cos (b);

    If (Math.abs (co.) >. 0005) {}

    c = - Math.atan2 (v [0], u [0]);

    a = - Math.atan2 (w [1], w [2]);

    } else {}

    a = (sinb< 0 ="" -1="" :="">

    c = 0;

    }

    [radiansToDegrees (a), (b) radiansToDegrees, radiansToDegrees (c)]

    Dan

  • How to change the orientation of the page of a file pdf size and margins of page? Are there tools available to do this?

    We're converting Lotus Notes documents in PDF format by exporting (printing) to PDF using a PDF writer but found that some contents are truncated or cropped. Must manually reprint in pdf format using a different page/paper settings in order to capture the content correctly. Are there other methods or tools that can automate this step? Would it not possible to change the PDF properties to adjust the size of the page, etc.?

    Hope that there are some useful tools available as there are thousands of documents that have this problem. Thank you.

    Page size options are limited, but are in the crop tool. If there are no tags or other markup, you can also print to a new PDF and adjust the size of the printer - sometimes the simplest interface, but normally not recommended. The rotation can be made in the menu document and then saved. The rotation, which is usually on the toolbar are only for the current view and does not record with the PDF file. Many of them you can use a batch process to solve (in AA8 which is under the advanced > Document Processing). The best method is to set up your printer Adobe PDF to create the correct page size and orientation to the future. You can configure to develop in general for the installation, select a paper size, and have set parameters for auto-rotation. The latest is based on the text that is on the page. The elimination of the margin is also part of the crop tool. I hope that gives you at least a few things to look at. Unfortunately, tools moving with each version, so you have to get the tools.

  • change the orientation of the timeline after turning the video

    I change a few videos of the iPhone which was shot in vertical, and then moved to landscape while shooting it.

    The result is a vertical video that must be changed in landscape, I could make using the transformation function.

    Now, the video will appear in the display window in the landscape, which is what I want, but the video editing is always horizontal. How can also change the orientation in the timeline panel so it will be easier to edit?

    I remember doing this in iMovie and the porthole and orientation of the timeline has changed at the same time.

    Thanks for your help!

    My difficulty was to use iMovie to change the orientation, then using "Send Movie Final Cut Pro."

    In iMovie, I clicked on the button crop, which then revealed the rotation buttons.

    Direction then changed as well in the viewing window as well as the timeline. then I went to > file > film send to Final Cut Pro

    I would like to know if there is a way to do all this in FCP.

    Thank you!

  • Rigid body position and Orientation control via screen Simulator

    Hi all;

    I want to simulate a robot manipulator a LabVIEW Module of 2013 robotics.

    I watched a video on YouTube and get a few question marks.

    The link is here

    In this VI, the desired position and orientation of the definitions effector

    is obtained via the Simulator window

    First;

    I want to know How can I control the position and orientation of a rigid body through Simulator display with a mouse?

    Thank you for your attention

    I asked around and it looks like our team in Shanghai may have the code that was used in the video. I'll let you know what happens in the next few days, we have an example of community in the works.

  • Particle position and orientation to an image

    Hello

    I have a single particle in a binary image. I want to correct its position and orientation of the image and then saving them. I managed to change his orientation. However, I would like to know if there is a direct approach to change his position other than to cut the particle and the addition of the black image using the method of GOLD.

    Any help is appreciated.

    PS: I'm using VB.NET. However, solution LabVIEW can be converted easily using IMAQ for .NET that contains the same name of the LabVIEW vis method.

    Hello

    Thank you for all your help. Since I'm totally in love with my girlfriend, where the project was linked to her, I found a workaround solution, I'd like to share:

    1. I extracted the particle by getting its bounding box.
    2. Then, I created a black image of the same original image using the meethod of filling.
    3. Subsequently, I control the direction to correct the mask.
    4. Finally, I use overlay the bitmap of the particle in the coorrect position.

    I've attached a screenshot of the software developed.

  • First Pro CS5.5, encoding speed

    Hello

    I noticed that the time to encode a video to the first enabled GPU acceleration does not change according to the speed clock of shaders. The time is exactly the same with or without GPU overclocking, is this normal?

    Another question: the encoding speed is faster during the first 50% of the process, then decreases slightly. Is this related to an option in the program or it's normal?

    Thanks in advance.

    Luis

    Look here: http://forums.adobe.com/thread/773101

  • Change the orientation of the mouse. Click the apple icon, and then select check box on the left. However, this box is covered by a video on the use of the mouse. How to remove the video?

    Change the orientation of the mouse.  Click the apple icon. System Preferences; OK to this point; the area to select 'Left hand' is covered by a video on the use of mouse clicks. How can I remove the video (s) so I can't select 'Left hand' in the box?

    System Preferences > mouse, and then select the tab more moves.

    Then on the left, select: slide between pages

    Click scroll left or right with one finger , and then make your choice.

    You cannot delete the video. This is a demonstration.

  • My speed has decreased between the router and the modem is not working properly, what can I do to increase the download speed with my Time Capsule 802.11n

    My speed has decreased between the router and the modem is not working properly, what can I do to increase the download speed with my Time Capsule 802.11n

    A variety of phenomena can affect the performance of its wireless network. You may be able to mitigate some negative effects.

    Solutions to any factors that may have an impact on your wireless network, read use the Diagnostics wireless for you help to solve the problems of Wi-Fi on your Mac - Apple Support.

  • Speed/performance of my mac mini (mid-2010) is very slow. Need help, consolidate the files, software updates, etc. in order to improve the speed and performance.

    My mac mini (mid-2010) speed/performance is very slow - think of it as a result of letting my kids do "whatever" about it in recent years.  Need help, consolidate the files, software updates, etc. in order to improve the speed and performance.  You will also need to get data out of old PowerBook G4.

    < object edited by host >

    We are users like you.  Search locally by using something like Yelp or similar

    http://www.Yelp.com/search?find_desc=Apple+repair & find_loc = Chicago, + IT & start = 0 & ortby = rating s

    or read a few links which may be relevant on this forum about the slow mac mini

    http://BFY.tw/5C63

  • Satellite L850 - error of cooling and slow down the speed of the CPU even when fan to 80 c

    So, I have this problem that my fan stops turning when the system is under load and then turns on, starts running at the speed of 100%, an error which says error with cooling system, laptop computer back to the service.

    The fan slows even when the laptop cools completely, it only returns to normal speeds once I closed the laptop.

    In the last few days, which has stopped completely. Now the fan won't even middle speeds even though the CPU temperature is 80 C. Due to the bad news of cooling time score about 70 ° C, even at idle.

    The laptop is almost a year. I already had this problem after a week of buying it, and they replaced my processor. I have windows 7 x 64, amd 7670 m and 2350 m i3.

    I wonder if this may be a BIOS problem or I have to take for the service? How can I stop this from happening? And Yes, my power plan is on high performance.

    AFAIK the cooling fan is controlled automatically if you don t have a any influence on it. Temperature sensors are placed on the motherboard and they control the cooling fan activity. That one possibility to change fan cooling activity is to change the option in the option of cooling method (advanced power settings > Toshiba saving settings).

    In my opinion the best solution for you is to contact the nearest Toshiba service provider and ask for help.
    They have diagnostic tools that you can check all this.

Maybe you are looking for

  • Satellite A100-499 - AC adapt Compatible power more than 90W?

    Hello world I bought a new DDR module for my Satellite A100-499 and now I have better performance but my AC adapt power is not enough. So I'm looking for a new AC adapt power but I'm not sure which are compatible with my netbook. Now I have a 15V 6a

  • 'right' button no longer works on Satellite A200-1ZF

    Hi all I have a Toshiba Satellite A200 1ZF, and it's very nice. I have no problem with it, but now, since 2 weeks, the 'right' button no longer works.I tried a windows reinstall. I took and cleaned the surface, but nothing. He's dead. Can someone hel

  • T410 does support 2.5 "and 1.8" SSD?

    I saw a couple of L410 using1.8"SSD and I wonder if this model (Thinkpad T410/T510) has any restrictions of use 2.5" SSD I should know before to upgrade my HD. Has anyone installed a 2.5 SSD "in a Thinkpad L410/L510? or... does anyone know why lenovo

  • ipconfig\registerdns... responding system cannot find the path specified__on my windows vista

    When I type the command 'ipconfig\registerdns' and all the commands ipconfig, and then press enter I always get "the system cannot find the path specified" I need help...

  • Editions of Windows 7

    Does anyone know what it means "Maximum physical processors supported"? It says that Windows Home Premium 1 and Windows 7 Professional 2? This means that WIndows 7 Professional is faster? Especially if you have a Quad Core processor? Thank you Apprec