Using more 4 for MyRIO quadrature encoder inputs

Hello

I am doing a project where I need to drive 6 motors, each with feedback from encoder quadrature to control the position.

Currently, I use the VI MyRIO encoder, but there is a limit to 4 encoders. What is the best way to read 6 encoders simultaneously with the MyRIO?

Thank you

Timothy

If you must change the FPGA myRIO personality you have a few options.

The best option is to start with the FPGA myRIO sample project, add and delete components according to the needs and then build your bitfile.  No registry (LV FPGA control / indicators) you do not change will still work with the Advanced IO screws and screw Express.  To use the new bitfile (FPGA personality) you must update the Reference of VI FPGA opened in myRIO Open.vi v1.1 (LabVIEW 2013\vi.lib\myRIO\Common\Instrument Driver Framework\myRIO v1.0\myRIO v1.1 Open.vi).

After having done all this time, you use an Express VI myRIO or Advanced IO VI it will use your custom bitfile.  All peripheral channels that you left in place will continue to work.  You have deleted all channels will always appear in the screws, but will not work (they will probably throw errors when running) and all new channels that you added appear in the screw .  New channels, you will need to use FPGA read / write nodes for read and write configuration data and register you created in the FPGA personality.  These changes will persist on this computer until you change the Reference of VI open FPGA to the bitfile original.

Let us know if you have any questions about all of this.

Thank you!

-Sam K

Hacker of LabVIEW

Join us / follow theGroup of pirates of LabVIEW on google +

Tags: NI Products

Similar Questions

  • use the blackberry for the best scores pine online

    I'll put up my own high score board for one of my games online.

    I want to make sure the user doesn't have to register or create an account, simply click submit a high score and he's going to do it whether or not they meet the 'name' field. So I have to default name to something. I thought the PIN you get from DeviceInfo.getDeviceId () I already use it to keep the unique entries (but not show it to the Board of Directors), but I think I need to obscure or something.

    Any easy ways to do this, or other identifier that I could use more safe for the user?

    Thank you.

    The only issue I have with the help of the device ID, is that users will be loose when they change phones.  Our experience is that users can change the phone every 6 months, either because of failure or upgrade is hard to say.  But in order to make this process as simple as possible, we try to license by e-mail account because the people who usually take with them.  They also take their phone number.

    But to be honest, using pine of the device is probably OK, if you don't think people will be too upset that they lose their high score when they change phone.

    You must not publish the pin code in a way that can be used for things like BBM invite and PIN messages.

  • Why Windows Media Player Encoder auxiliary continue to use more memory, almost crashing my computer, and how to fix it?

    Whenever I use the Windows Media Player on my computer, the Windows Media Player Encoder auxiliary uses memory more and more every second I have Windows Media Player, no matter what I use Media Player to open.
    in any case, she continues to use more memory the computer almost to the point of freezing, trolling, and I do not know how to fix it.
    The reason why I know this has to do with the memory usage is that when I open the Task Manager, it usually gets above the point of using 300 000 k memory usage before I can put an end to the task.
    If someone can help me with this problem, or it can know the solution, please let me know. Thank you

    Hi Xario1,

    ·         Did you do changes on the computer before the show?

    I suggest you ensure that all updates are installed. For more information, see the article mentioned:

    Install Windows updates

    http://Windows.Microsoft.com/en-us/Windows-Vista/install-Windows-updates

    You can also see the following articles for more information:

    Solve problems in Windows Media Player

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-in-Windows-Media-Player

     

    Using memory in your storage device to speed up your computer

    http://Windows.Microsoft.com/en-us/Windows-Vista/using-memory-in-your-storage-device-to-speed-up-your-computer

    I hope this helps.

  • Adobe Media Encoder not using GPU at all for H.264 encoding

    So I have a strange problem, it seems SOUL refuses to use the GPU for transcoding - I have a minute 9 4 k file I need to transcode and it takes more than an hour on a very fast machine. I tried other formats and files of that specific file and nothing does the GPU at all (using GPU - Z to monitor the load). Specifically trying to get DNxHR or DNxHD files in H.264 VBR 2 pass codec

    Machine: hex 3960K core i7 core cpu - GPU installed: ti 980 GTX / GTX 1080 - 64 GB RAM Win 10 64 pro

    -First pro uses the GPU (actually 1080) for CUDA acceleration video

    -J' tried to disable 1080 GTX in Nvidia with SOUL Panel (setting preference CUDA at 980ti, as I know, pascal is perhaps not compatible yet)

    -J' original CC, no luck tried versions of SOUL

    -J' tried transcoding other types of files in the case where this was a problem of specific file (animation, cineform, etc.) no luck

    My gut tells me it's maybe a CUDA or OpenCL / OpenGL / DLL problem.

    I had CUDA installed 8.0 for use with Octane render, but uninstalled and it makes no difference

    maybe try a CUDA 7.0 installation? that would help? Any other suggestions?

    Hello tstopdigital420,

    Is the GTX 980ti supported for H.264 encoding in Adobe Media Encoder or not? I thought I had read that it was, but maybe I'm wrong. IF not I'll talk accordingly.

    Parenthesis - anyone knows of other software that supports rendering GPU accelerated by CUDA h.264?

    I think you're under the false impression that the GPU speeds up encoding H.264 exports. It does not, but is a feature that is often requested.

    Encoding is a process that focuses on the CPU in Premiere Pro and Adobe Media Encoder. The GPU accelerates certain elements in the entire export process, but not the encoding itself.

    The GPU will accelerate what follows in the export process: scaling, conversion of the image, blending modes, deinterlacing and color space conversion. The GPU will also speed up the processing of GPU based video effects, including the effect of color Lumetri.

    Example:

    • If you are encoding a file of 4K in a file of HEVC H.265 4 K, the GPU acceleration is not involved in the export process because no scaling has been used.
    • If you are encoding a file of 4K in a file, H.264 HD, GPU acceleration is involved in the export process, because the scale was necessary.

    If your GPU is disabled or "grayed out" and he has capable specifications, then this is another problem of troubleshooting.

    Thank you
    Kevin

  • AppData\Local\Apple Inc\CloudKit\iCloud Photos\MMCS folder uses more 250 GB on my hard drive, I can delete, what is this for? consultation offline? If so I don't need it

    AppData\Local\Apple Inc\CloudKit\iCloud Photos\MMCS folder uses more 250 GB on my hard drive, I can delete, what is this for? consultation offline? If so I don't need it

    I had the same problem and it has chewed all my disk space. I have a 64-bit Windows 10 - disk 250 gig. I deleted all these files except those with current date and released the 150 gig. Much better to delete these temporary files to risking a crash operating system running out of disk space.

  • How to read a quadrature encoder, using a PCMCIA card from 6036E?

    Hello

    I 6036E PCMCIA card and I want to read a quadrature encoder.

    I must not use the z index.

    My version of Labview is 8.5.

    When I try to use the DAQ assistant and choose the option 'angular position' I get the answer that no supported device were found.

    What should I do?

    Thank you in advance,

    Fotios

    Hello

    Card PCMCIA-6036E has a STC chip that does not support the encoding position because there is no support of Z. It must be resolved in the software and using the edge counting.

    Some info on E-cards and quadrature encoding:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/4623

    http://zone.NI.com/DevZone/CDA/tut/p/ID/2879

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/1427

    / Klas

  • How to activate my MSF program for I could use more than 30 minutes at a time

    I had to uninstall my Microsoft Flight Simulator X and MSF - program of acceleration of my PC and reinstall them.  I did it.  When I installed FSX-Deluxe edition, the program asked me the activation number, I gave and then reinstalled the acceleration program. He asked for all the numbers, but now when I run the program, it suits me after 30 minutes then and asks for the active program.  I tried to use the Enternet and everything, but I can't well any place where I can activate this program.  I even call your hotline, they were of no help at all.  First I did not understand that you are Tech. He talked so fast and has no sense at all.  My question is: How can I activate the program? without going to halfway around the world to do. I never had this problem in the past, why now?

    Chuck Baumgartner

    Hello

    I suggest you to follow the steps mentioned in the article below and let us know if the problem is solved or not.

    How to activate my MSF program for I could use more than 30 minutes at a time

    http://support.Microsoft.com/kb/925723

    Also check the links below.

    Frequently asked questions on how to enable Microsoft Games for Windows, streets and trips and Mappoint

    http://support.Microsoft.com/kb/927007

    Microsoft Flight Simulator X Service Pack 2 Readme

    http://www.Microsoft.com/products/games/FSInsider/downloads/pages/SP2-en-Readme.aspx

  • My utude works more asking for flash player that I already used let me down load new

    My utude works more asking for flash player that I already used let me down load new

    It works now

    Ms

  • What is this average "use no snapshot for more than 24 to 72 hours.

    All,

    We use snapshots to test a lot. I'm trying to justify the use of snapshots for our case. I saw the best practices and understand the negative impacts of the snapshots.

    Best practices: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1025279

    Best practices says "use no snapshot for more than 24 to 72 hours." Snapshots should not be maintained for long periods of time for application or Virtual Machine version control".» My understanding of the above is that we do not run or keep running virtual machine or use it on a specific snapshot for more than 24 to 72 hours, and that's okay create a snapshot and hold it for a period longer than 72 hours, so that we can return to him. Is this correct?

    For example, there are two snapshots in a virtual machine at the same level are not nested.

    VM1

    -TestSnapShot1

    -TestSnapShot2

    For testing purposes, developers go back to TestSnapShot1 or TestSnapShot2 and do their tests. Most of the time the virtual machine is used for a day or two in its current state, after what the VM is back again for testing. The snapshots themselves remain many more months.

    Run the virtual machine for more than 72 hours could lead to more changes of the original and the delta records increases in size, returning the VMS to the snapshot will reset the drive from delta to the same size it was when it was created. If it minimizes the delta increasingly drive out of control so we do not run for long periods on a snapshot.

    This is how we currently use snapshots.

    Is my understanding correct, or should not even maintain us a snapshot for a long period of time.

    Thank you

    -Kiss

    what you are referring

    "Don't use any single snapshot for more than 24 to 72 hours. Snapshots should not be maintained for long periods of time for application or Virtual Machine version control purposes.

    is for virtual machines in Production, i.e. where it is always best not too keep snapshots during a prolonged period of time.

    But the use cases that you refer is different, for this purpose, manage your photos in the way which find you most suited to your needs.

  • can I use more than 2 devices for 1 account of creative cloud?

    Hello.

    can I use more than 2 devices for 1 account creative cloud?

    I know that it is limited to 2 devices for activation / account.

    Thank you

    You can, but you must disconnect from Adobe Creative Cloud app of any one of the 2 previous computers, so that you can activate on other computers.

    Connect and disconnect activate Cloud Creative applications

  • I signed up for 30 day trial and I just got a notification if the trial ended. I did not use the system for more than 30 minutes.

    I signed up for a 30 day trial and I just got a notification if the trial ended. I did not use the system for more than 30 minutes.

    http://helpx.Adobe.com/x-productkb/global/trial-software-expired-early.html

  • Bought Adobe CC today. More apps for how I can use outside of photoshop, illustrator and indesign. Can I use all of the applications listed in the membership fees charged per month? Or will be charged extra?

    Bought Adobe CC today. More apps for how I can use outside of photoshop, illustrator and indesign. Can I use all of the applications listed in the membership fees charged per month? Or will be charged extra?

    Cloud Plans https://creative.adobe.com/plans

    - and conditions for subscription http://www.adobe.com/misc/subscription_terms.html

    -what is in the whole cloud http://www.adobe.com/creativecloud/catalog/desktop.html

  • Can we make the components of the Windows kernel (OS) & Windows (OS) more suitable for all platforms, hardware with optimization and minimize emissions & memory use by better algoritm, any possibility?

    We know that in mathematics and computer science, an algorithm is a procedure step by step for calculations.

    If we follow a regular algoritm to solve the power problem, for example to raise something to a large number of say, calculate something to the power of 1 000 000 000... It will take several hours, so if we use "Indian algorithm" it will solve in seconds.

    A faster algorithm is to use the algorithm next (also known as the "Indian algorithm"):

    If n = 0, x ^ n is equal to 1.
    If n = pair, then x ^ n is equivalent to (x ^ (n/2)).
    If n = odd, so x ^ n is equal to x * (x ^ (n-1)).

    For example

    3 ^ 10 = square (3 ^ 5) (= 59049)
    3 ^ 5 = 3 * (3 ^ 4) (= 243)
    3 ^ 4 = square (3 ^ 2) (= 81)
    3 ^ 2 = square (3 ^ 1) (= 9)
    3 ^ 1 = 3 * (3 ^ 0) (= 3)
    3 ^ 0 = 1 (= 1)

    Now, there are so many things (algorithms) available for the practical implementation, by which we can reduce serious memory use time, computation time, size of implementation and increased capacity... what operating system, size becomes very low (small size) treatment...
    (my letter to MS - RTCProd = 013-744-425' USE of ALGORITHM for DEC/REDUCER THE MEMORY REQUIREMENT OF SPECIFIC PROGRAMS)

    Now, what are the means by which we can implement virtually it bone? We offer possible methods. (If it is clear, there is tremendous opportunity again, we just need to know the varying responses that can climb/go out with new ideas)

    {moved from virus and malicious software}

    MSDN and TechNet forums can be found here:

    http://social.msdn.Microsoft.com/forums

    http://social.technet.Microsoft.com/forums

    -steve

  • Erratic counting quadrature encoder

    Hello

    I try to use LabVIEW 9.0 and an acquisition of data USB-6212 for measuring angular displacement of rotating quadrature encoder (digital model we E2) attached to a linear actuator based on the stepper motors.

    With the help of the VI linked to below and the default PFI pin on the acquisition of data, I can get the Angle of the VI to change, but with two issues indicator.

    http://forums.NI.com/attachments/NI/170/144774/1/QuadratureEncoderM-series.VI

    1. the only way I can assure you that the Angle indicator remains at a constant value with the VI running and the stepper motor moves do not is to turn off the power to the encoder.  In other words, when the 5V power is provided to the encoder, the Angle indicator sometimes remains constant at a certain value and sometimes increases, even if the motor step does not move.  I added a waveform table that displays the Angle to see more easy output.

    2. with the engine not to not pass any if she moves hourly or counterclockwise, the angle indicator only increases (counting).  Changing the direction of engine displacement does not decrease the angle.

    I checked the DAQ pins I use: PFI 3, Z = A = B = 11 PFI with ctr and PFI 4 1.  I tried both ctr0 and ctr1 with the same results.  I used a multimeter to check the outputs a, B and Z on the encoder to output with the motor step-by-step to displacements of various populations, and I'm getting ~ + 5V sometimes and ~ 0V sometimes telling me that the encoder, which is new, seems to move from high to low.

    This sounds like the kind of behavior that may be caused by noise in signals?  If so, who should not have something to do with the Angle only, correct?  To get the Angle to reduce, should I change something in VI?

    I thank you very much for any assistance, you can give.

    Hi Mike,.

    From what you describe, I feel the symptom of the meter backwards never is a side effect of the issue where the meter continuously counts up while in not moving.  This really looks like a noise problem, and there are a few small but noticeable spikes in your graphics HAVE you provided.  Basically, as long the (Source) Signal led B Signal (to THE), then the meter progressive count.  This is for X 1 coding, which I assume that you are using.  Look here Figure 5, in virtue of the X 1 section for how this encoding reads your signals of encoding:

    Your connections you describe are correct, so it'll be a matter of getting rid of the problem where the meter is incremented on its own which I believe will solve your other problems.  Take a look at these links to see if adding filters on the internal counter inputs to the card allows the measurement: Activate the digital M series filtering  allowing digital filters for TIO Debounce NOR-DAQmx devices

  • Problem setting up an encoder input and PWM output tasks on CompactDAQ

    I use a chassis with a modules 9474 cDAQ-9174 and 9411. I do not think it is important, but they are the cRIO-XXXX modules NOR old provided with a test configuration that has been distributed to early adopters. I use DAQmx tasks in an application (C libraries) to read (angular position) quadrature encoder and drive a motor directly with PWM current (pulse output). For various other needs, my tasks Setup is as follows:

    [DAQmx] MajorVersion = 9

    MinorVersion = 2

    [DAQmxChannel venture 9411 wheel entry/AngularPosition]

    CI. AngEncoder.PulsesPerRev = 500

    CI. AngEncoder.InitialAngle = 0

    CI. Encoder.ZIndexVal = 0

    CI. Encoder.ZIndexPhase = a Low high B

    CI. Encoder.ZIndexEnable = 0

    ChanType = input meter

    CI. MeasType = Position: angular encoder

    CI. AngEncoder.Units = ticks

    PhysicalChanName = cDAQ1Mod2/ctr2

    CI. Encoder.DecodingType = X 4

    [DAQmxChannel venture 9474 PWM output/PulseOutput]

    CO. LTD.. Pulse.IdleState = low

    ChanType = output meter

    CO. LTD.. OutputType = Pulse:

    CO. LTD.. Pulse.HighTime = 5.0000000000000004E - 006

    CO. LTD.. Pulse.LowTime = 5.0000000000000002E - 005

    CO. LTD.. Pulse.Time.InitialDelay = 0

    CO. LTD.. Pulse.Time.Units = seconds

    PhysicalChanName = cDAQ1Mod1/ctr3

    [DAQmxTask venture 9411 wheel entry]

    Channels = venture 9411 wheel input/AngularPosition

    SampQuant.SampMode = continuous samples

    SampClk.ActiveEdge = Rising

    SampQuant.SampPerChan = 100000

    SampClk.Rate = 100000

    SampTimingType = sample clock

    SampClk.src=/cDAQ1/100kHzTimebase

    [DAQmxTask venture 9474 PWM output]

    Channels = venture 9474, output PWM/PulseOutput

    SampQuant.SampMode = continuous samples

    SampQuant.SampPerChan = 100000

    SampTimingType = implied

    RegenMode = allow regeneration

    [DAQmxCDAQChassis cDAQ1

    ] ProductType = cDAQ-9174

    DevSerialNum = 0x18B3EC0

    [DAQmxCDAQModule cDAQ1Mod1]

    ProductType = NOR 9474

    DevSerialNum = 0xDEDF40

    CompactDAQ.ChassisDevName = cDAQ1

    CompactDAQ.SlotNum = 1

    [DAQmxCDAQModule cDAQ1Mod2]

    ProductType = NOR 9411

    DevSerialNum = 0xDEDB24

    CompactDAQ.ChassisDevName = cDAQ1

    CompactDAQ.SlotNum = 2

    Each task works fine on its own (i.e. without the other). The problem is that if I start the task of the encoder first and then the task PWM, the latter causes an error:

    Error-89137 occurred to the DAQ Assistant
    Possible reasons:
    Specified route can not be satisfied, because it requires resources that are currently in use by another route.

    Source device: cDAQ1
    Point source:
    80MHzTimebase
    Destination device: cDAQ1
    Destination
    Terminal:
    Ctr3Source

    Need for resources in use by Source
    Feature:
    cDAQ1
    Terminal of source: 100kHzTimebase
    Destination
    Feature:
    cDAQ1
    Destination terminal: Ctr2SampleClock

    The task name: _unnamedTask<61>

    I don't know why this is, but if I start the PWM task first, and then the task of the encoder, it also works. I should also mention that initially I was using counter 0 encoder, which caused a shift in the 100kHzTimebase to Ctr0SampleClock, which, according to the ways of device 9411, is not supported. Yet it worked (in itself). I wonder if this is happening under the hood isn't quite what is shown.

    What is exactly the conflict and what can do to avoid it? The reasons for having to use specific modes and the settings (for example, the 'continuous samples' with 100kHzTimebase clock) are rooted in various performance and requirements of optimization that were created in a previous version of our software, so I prefer not to take a completely different path, if some small changes would lead us to correct the problem.

    I appreciate your help.

    Kamen

    Hi Kamen,

    The time base of 100 kHz is not a direct route to the counter sample clocks, the device actually uses one of the other counters to complete the road (the routing table is a little misleading here because it shows 2 meter that one always doing road - in fact it will be any available counter):

    So in your case, when you start the task of the encoder, it uses one of the other available counters to complete the configured road (100 kHz to ctr2 sample clock timebase).  Of course, she chose meter 3.

    Possible workarounds (looks like you have already found one yourself):

    1 start the PWM before the task of the encoder task - if the task PWM starts first the counter is already booked and the task of the encoder would choose another available counter to complete its road.

    2. explicitly reserve the PWM task before you begin the task of the encoder (if you need to start the task of the encoder first).

    3. use cDAQ1/_freqout to generate the clock sample 100 kHz signal and use this instead of routing to the time base of 100 kHz to the counter sample clock.

    Change autour counters should also work, but I'm not 100% sure how the unit selects which counter to use for routing (I don't expect change in the future, but if it's not explicitly spec'ed somewhere so I wouldn't take my chances)-if it were me, I would choose one of the other options above.

    Best regards

Maybe you are looking for

  • Compressor 3.5: "QuickTime error - 50,'" QuickTime - 70 ".

    I have a few images HDV captured, placed in a timeline of final cut PRO 7. When I try to transcode these images in a single video file using Compressor 3.5, transcoding fails and I first had a "QuickTime error - 70", then a "QuickTime error - 50."  A

  • The update

    At frequent intervals Firefox updates. This may be fine for most people most of the time, but whenever this happens Manager Roboform to login/password stops working. This morning, 11 installed V itself and the Roboform toolbar is missing. "Cannot loa

  • "Your computer is disabled. Try again in 60 minutes "

    I want my enter Code TO unlock MY MacBook Pro but there not a message appears saying 'your computer is disabled. Try again in 60 minutes"I watch 60 minutes and here a message from the UN SAYING"incorrect code, please as", don't have time to write the

  • No puedo iniciar sesion en mi tv y navegar as puedo hacer

    Hola no me puedo en sony .com Registrar y no he could iniciar sesion internet tv en puedo hacer gracias

  • Impossible to install 2 mseries Renault on XP PC

    With Windows XP PC I can install either our PCI-6229 or our map of pci PCI-6289 and everything works fine, but when I put both of them in windows keeps trying to install it and can't seem to say the the 6289 6229. If I start a Setup with no driver in