Motion Assistant and PXI-7354 PWM output

Hello,
I have a PXI-7354 Motion Controller in a PXI-1033 rack and I'm trying to prototype a product which has a digital motor controller IC, A3906 by Allegro. The IC is controlled with PWM signals by varying the duty cycle. Now, in the NI 7350 User Manual on page 5-17, it says that "These signals (PWM) are configured in software and are in no way associated with the PID servo control loop." My question is, can I programmatically associate the output of the control loop with a PWM output duty cycle?
I'm new to Motion Assistant and PXI motion controllers and I appreciate any input.
Regards,
Miika Lönnqvist
Electronics designer, CLAD
Biohit Oyj R&D

Miika,
thank you for the information, but there is no way for the 7354 to drive control signals directly in this fashion. So here are some alternative approaches that could help:
The 7354 outputs a +/- 10 V control signal. You could build your own circuitry to adapt this signal to the control input requirements of your drive (two voltage to PWM converters; one driven by positive voltage values, the other one driven by negative voltage values).
Replace the 7354 with an R-Series board. The FPGA on these devices can be programmed graphically with LabVIEW FPGA and it provides both, real-time control and complete flexibility in terms of I/O mapping and control algorithms. Motion control with special requirements is a typcial usecase for these devices.
You can select from a variety of R-Series boards with different FPGA sizes and I/O setups. If you don't need any analog inputs or outputs, the reasonable lowest cost entry point for your application is probably a PXI-7811R
Both approaches add some complexity to your current setup. While the first approach is hardware centric, the second approach adds some complexity on the software side. My personal preference is option two, as this provides the highest level of flexibility, which is typically very desirable for a prototyping system.
In any case I recommend to contact your local NI contact for a more detailed consulting.
Kind regards,
Jochen

Similar Messages

  • What is the differrence between NI motion asst and motion dev module for labview?

    Hi,
     Could you please tell me the difference between Ni motion assistant and soft Motion development module for LabVIEW also the application areas of both.
    Thanx
    Mukesh

    Hello Mukesh,
    Do you mean the SoftMotion Development Module for LabVIEW? FlexMotion and SoftMotion are two totally different methods of creating a motion system. FlexMotion uses a motion controller board (PCI or PXI). The software interfaces with the board. On the board there is a lot of processing that is done (ie: PID control). The board interfaces with the motion drive. In a SoftMotion system, there is no motion controller board. You need to use some other I/O technology (ie: DAQ, FieldPoint, RIO, etc) to interface directly from the software to the motion drive. All of the processing that was done on the motion controller is now done in the software.
    So FlexMotion is an API to help your software interface with a motion controller board. SoftMotion is an API that enables your software to process data in a motion system (ie: process it the way that a motion controller would).
    Motion Assistant is an application environment (separate from LabVIEW) that allows you to set up a sequence motion commands through dialog boxes. You can set up a motion process and test it in Motion Assistant. It is capable of building LabVIEW code for the same motion system. There is also an API that allows you to control Motion Assistant from LabVIEW programmatically.
    I hope this information helps. Please let me know if you have any further questions about this issue. Take care!
    Regards,
    Aaron B.
    National Instruments

  • PWM output and DIO output on same pin(MultiTasking)

    Hi guys, ive encounter some problem in myrio 1900, which is using PIN31 for digital output and PWM output. while the testing , i cant sending PWM, i only can passing the read value from other Digital input and transfer towards PIN 31. ive tried to change in low level logic but myrio disconnect after 3-5 seconds. By the way ive attached few picture to clarify my current situation, hope can clarify my problem clearly.
    thank you.
    regards
    vincent 
    Attachments:
    1.png ‏51 KB
    2.png ‏49 KB
    3.png ‏49 KB

    http://forums.ni.com/t5/Academic-Hardware-Products-ELVIS/bd-p/10

  • Is there an output switch at the analog front end of PXI-6723 and PXI-6713?

    I was reading the analaog output user manual and i could not find this. Is there any output switch just before the analog output of each channel for PXI-6723 and PXI-6713? I am would like to have total isolation between when these output are not needed. If yes, is there any specification to refer to?
    Thanks.

    Hello Chris,
         I would recommend having a look at the examples in the LabVIEW
    example finder to start with. In particular i would look at 'Cont Gen
    Wfm-Ext Clk.vi' This is a basic example that allows you to output a
    waveform through the card and source an external clock source to do
    this. I would recommend exporting the sample clock that you wish to use
    from the 4462 on one of the RTSI lines and then setting this as the
    sample clock source for the Analog output card.
    Another good example to look at is the 'Cont Gen Voltage Wfm-Int Clk
    non regeneration.vi' This does not regenerate the same waveform in the
    buffer but instead creates a new waveform to output after the previous
    one has been written to the buffer.
    It should be noted that there may be some gliltching if you are
    updating the waveform. This is because the buffer will already have a
    waveform in there to output before you input the new one so a new
    frequency may not have an exact number periods that fit into the
    pre-defined buffer. If you are looking to generate dynamic waveforms
    then the best option for the best results would be one of our arbitrary
    waveform generators here.
    Good Luck,
    LeeM
    NIUK

  • Any Cinema 4D users using video output in Motion 4 and/or FCP?

    I'm having a tricky time getting the Cinema 4D generated video to look as good in Motion 4 and FCP as it does when viewed in QuickTime.
    I have R11.5 core.
    Also wondering for those who updated to R12, your thoughts? Specifically video exports of animation?
    I was thinking to move to R12 Prime as the cost with MSA is only about $450 vs. Studio which is about $2300.
    Thanks, Rob

    Thanks for the response, I upgraded to Cinema 4D R12 Studio and the problem seems to have gone away. Strange, but ok.

  • I am using 7340 motion control card. what i am doing is ,first of all i initialise my 7340 card by MAX and then through motion assistant i am making a 1-d motion for my steeper motor using drive MID-7604/7602.

    then i generate the labview code from there,,,,,,,,what is happening in labview is i am able to run the motor but to stop the motor by using stop button there or by using a while to stop the motor...it is not responding i have to go back to motion assistant to stop the motor...............can any body suggest me what to do ,,,is there any problem in my softwares settings..................???????
    Message Edited by 0518 on 02-17-2009 01:39 AM

    Hello,
    You have mentioned that you are using motion assistant to generate the code. Do you run the LabVIEW VI that it has generated or are you directly running it from Motion assistant? 

  • NI Motion Controllers and Drives compatibility with stepper motors

    Hello:
    I'm trying to setup a motion control system and I'm facing some trouble. The final goal is to be able to control a couple of stepper motors.We already have a PXI System with a PXI-7354 motion controller, and a UMI-7774 connector block. What we don't have yet is the stepper drives and motors. It's likely that because of torque requirements we may need a gearbox. Here I disclose some of my doubts:
    We are considering the P70360 or the P70530 drives, but I would like to know if it is possible to connect thrid party drives to the motion controllers? What requirements this drives should comply?
    Similar as the first one, Is it possible to connect third party stepper motors to the NI stepper drives? What requirements this motors should comply?
    Finally, Is it possible to adapt gearboxes to the NI stepper motors? If so, Which ones are recommended?
    Thanks in advance,
    Robst.
    Robst - CLD
    Using LabVIEW since version 7.0

       Hello Robst,
    Either the P70360 or the P70530 will be good drives depending on your wattage requirement. A loose rule regarding wattage is not to exceed 80% of capacity. If you think you'll exceed that, buy bigger.
    Regarding third party drives, though many are compatible we cannot guarantee compatiblitty of all drives nor are we able to support them. That being said you may want to take a look at these KBs which describe some issues to be mindful of when looking at third party drives.
    How Do I get the 73xx Controller and UMI-7764 to Drive a Third Party Stepper Motor?
    How to Connect NI 73xx Digital Outputs to Third Party Equipment
    How to connect the 73xx inhibit and command signal outputs to third party drives.
    Some points to glean from the above links are what kind of current gets sinked and sourced by the drives to insure compatibility. Regarding stepper motors, again we will only be able to guarantee compatiblity and provide support for stepper motors provided by NI. That said, the majority of stepper motors I've seen are compatible with our equipment assuming the drive it's connected to is compatible. Below are some articles that may help you make a decision on what type of stepper motor you choose.
    Selecting the Proper Size Stepper Motor
    NI Stepper Motion System Selection Guide
    How Can I Determine My Stepper Motor Wiring Without the Stepper Motor Pinout?
    As for gearboxes, you will just need to make sure that the gearbox you select fits properly with the motor you are using. Often the gearboxes are standardized to NEMA sizes that correspond with the stepper motors. Kollmorgen, who manufactures the motors that we sell, also makes gearboxes. Their gearboxes would be a good place to start.
    Regards,
    Daniel H. 
    Customer Education Product Support Engineer
    National Instruments
    Certified LabVIEW Developer

  • NI Motion Assistant LabVIEW Code Generation Error

    Hello, the following is my current setup:
    NI PCI-7334 motion control board
    NI UMI 7774 splitter board
    3 x NI P70530 Drives
    3 x NI CTP12ELF10MAA00 Stepper Motors
    3 x Power supply units for drives
    LabVIEW 2010
    NI Motion Assistant 2.6
    Motion and Automation Explorer 4.7
    I have built a three axis motion system that I am trying to configure with labview. After verifying that everything was set up correctly, I opened MAX, updated the firmware to my motion control board, and intitialized the controller. Since then, I have created many basic programs using the Motion Assistant Software to test the movement of my device. Everything works fine while using the Motion Assistant software (I have three axis movement, multidirectional control, and can perform various straight line and arc moves). My problems begin when I try to use the code generation feature.
    When trying to use the code generation feature to output a labview diagram, I run into a problem where a dialog box pops up and says "Find the vi named ...."
    Some examples of the names that come up are: Configure Vector Space.flx, Vector Space To Control.flx, Motion Error Handler.flx.
    To be clear the program in Motion Assistant that I am trying to export to LabVIEW code is composed of two individual steps. One that tells X,Y, and Z motors to move forward 25 revolutions, and one step that tells them to move backwards 25 revolutions.
    I have made many other programs in Motion Assistant that run fine, but I always receive similar errors when trying to use the code generation feature to export to LabVIEW. Is there something that I can do to solve my problem?
    Thank you for your help.

    Hi Joe,
    I am using Ni-Motion Assistant 2.6, Ni-Motion 8.1, and Motion and Automated Explorer version 4.7.
    The code I posted is supposed to tell Axis 1 to move 40 revolutions at 400 rpm. It works fine in Ni-Motion Assistant but when I try to generate a LabVIEW diagram I receive the following error, "Find the VI named 'Motion Error Handler.flx'". I have had it search my directory, as well as the disk that I installed both LabVIEW and Ni-Motion but no luck. Thanks for your help.
    Attachments:
    1111.vi ‏9 KB
    1 axis movement.zip ‏8 KB

  • Motion assistant labview

    hi
    I have to control a motor speed using the PcI 7342 controller.
    I have MID 7654/7652 servo motor drive and NI motion assistant.
    MY hardware connections are proper.
    I am using motion assistant to generate a arc move and then generating labview code .
    I have inserted just a knob in the front panel to control the speed and made a slight modification in the block diagram to insert the knob in the place of velocity.
    Now i am not able to stop the motor .
    Can anyone help me to insert a stop button in the labview diagram.
    Should i use configure inhibit output flex or just use the stop button in flex motion.?
    i have attached the labview diagram....
    Pls help me.
    thanking you
    sumitha ravindran
    Attachments:
    labvie diagram.vi ‏49 KB

    Hello Sumitha,
    The code generated by Motion Assistant is designed to run the arc move once and stop at the end of the move. The Arc Move step of the LabVIEW diagram is setup to wait until the move completes before stopping. There should be no need to add a stop button (or the Stop Motion VI) if the motor is configured properly. If this is the case, you should see the VI hanging in the Arc Move step. Is this what you see? Can you perform a straight line (point-to-point) move?
    I noticed that you have another similar discussion forum post here. You most likely will need to solve the motor configuration issue first (which may also solve this issue).
    Best Regards,
    Jesse D.
    Applications Engineering
    National Instruments

  • DC motor control via ctr1/ctr0 pwm output stops outputting after one loop through.

    Working on this project to control an H-bridge controlled
    motor using pwm output from ctr0/ctr1 for ccw and cw on the motor. A sensor detects where it is at and each cycle goes from black to white. For some reason, the motor only turns on once and then nothing comes out of the ctr outputs after that. Anytime the program is stopped and restarted it works for one cycle. Or if just the program is run at the skipcolor sub-vi. this can be run multiple time to control it properly. During the actual run it doesn't work. Any implementation device would be great. I am using the PCI-MIO-16E controller.
    Programs attached for reference.
    Attachments:
    SkipColor1.vi ‏111 KB
    MotorControl2.vi ‏99 KB
    PROJECT 2a2.vi ‏18 KB

    Hey suspencefull,
    You are probably going to have to think about re-designing your code. Your pulse train is not continually generating because you do not have it in a loop. When you use the DAQ Assistant to create a continuous pulse train, LabVIEW will prompt you if you want it to automatically add the loop. You must have deleted it or chosen not to add the loop.
    There will, however, be problems though when you add the loop back in. The SkipColor sub VI will not finishing executing until the loop is finished and therefore you will never move out of the first frame of your sequence. I would suggest redesigning your code so that these thing can occur in parallel.
    Please let me know if you have further questions.
    Regards,
    Chris Delvizis
    National Instruments

  • How can i generate variable pulse waveform using PWM outputs of 7344.

    Hi
    I want to generate a pulse waveform using the pwm outputs of 7344. How can i very the frequency of the PWM programatically.

    If you are programming in LabVIEW, you can use the Configure PWM Output VI to set up the frequency of the pulse train. If you are in any other language, you can use the NI-Motion API and call the flex_configure_pwm_output function to achieve the same result. Please refer to the NI-Motion C reference help that gets installed with the NI-Motion 6.0 driver or follow this link:
    http://digital.ni.com/manuals.nsf/websearch/92003B​670CC3CB3F862567C800755B95?OpenDocument&node=13209​0_US
    for more information on this function.

  • Can i generate PWM output from digital out of my PCI 7041 RT DAQ card?

    I want to generate 4 PWMs using my PCI7041 card. I do have only 2 analog outputs and 2 counters to output my signal that's why I want to use digital out of my card for PWM. How can I do that? If there is any example then please let me guide that way.

    Hello rajen,
    There is a good link to PWM in LabVIEW using counters here.
    As for using analog output, you will need to be able to continuously update your output waveform. I've attached a program that demonstrates this. Hope this info is helpful.
    -Alan A.
    Attachments:
    Continuous_Analog_Out_Update.vi ‏139 KB

  • Loop in motion assistant specified number of times?

    I was wondering if in motion assistant I can do a loop in my script so that each movement can be repeated many, many times without having to create a new 'step' for each movement? Any help is appreciated.
    Thanks,
    Nichole

    Nichole,
    Motion Assistant does not currently support loops in its environment. What I recommend is that you create your steps with just one pass and then add the loop in the code Motion Assistant generates.
    Rodger S.

  • Motion assistant: Cannot convert to Labview diagram

    Hello,
    I would like to ask for help on problem:  the file generation from Motion assistant to Labview
    Background:
    1.  Use Motion assistant to generate 2 or 3 steps of motion.
    2.  Inside Motion assistant, Use Tools>>Generate Code>>LabView Diagram.
    Result:
    After I doing this, the LabView file is generated.  But, it is a file containing a few control switch (without any other key components to produce the motion control function).
    Thus, what is the problem behind?   
    Thanks
    James

    Good morning James,
    This post appears to be a duplicate of the following thread:
    http://forums.ni.com/ni/board/message?board.id=240&message.id=3878
    Please refer to this thread for the solution.  If am incorrect, please post back and I will do my best to answer your questions.
    Respectfully,
    Jeffrey P.
    LabVIEW Product Management
    National Instruments

  • Motion 5 and Compressor 3?

    I have Compressor 3.5.3 (from Final Cut Studio 2) and have recently purchased Motion 5. Prior to Motion 5 I was using Motion 4 and have installed 5 in the way described in these forums to maintain it alongside 4. This means I still have the 'old' versions of all the Final Cut Studio applications.
    Within Motion 5, the 'send to Compressor' option just points me to the App Store. Is there a setting somewhere that will allow me to send it to 3.5.3 or is it totally incompatible? (I know I could output from Motion and then re-render in Compressor, but I don't really want the double render.).
    Thanks if anyone can help.
    David

    Hi
    Export you Project with the Apple Prores 4444 codec, it'll be just fine.
    So you'll obtain a best quality quicktime file compatible with compressor 3.5.3
    Olivier

Maybe you are looking for

  • Flex datagrid with complex data item - drag doesnt start sometimes

    Hi, my project has a datagrid which is rendering complex data item. I need to drag one row from the grid and drop it into the same grid but in a different position. I have enabled drag, drop and dragMove.I am able to drag and drop the rows. The probl

  • Why does osx yosemite crash the wifi router?

    Upgraded to Yosemite, with MBP retina and my wifi router a Netgear CG 3100 D 28 PAUS crashes every time I connect up. I have turned off wifi and then forgot the connection and then reconnected with no joy. It continued to crash the router forcing it

  • Can Compressor burn a batch of several video clips to one DVD?

    I'm trying to compile a batch of video clips to burn to a single AVCHD DVD-R.  It looks like I can Create Blu-ray Disc job action for each job or video, but I want to burn one disk to contain all the video clips in the batch.  Is this possible with C

  • Acrobat 7.0 - Lost "pages" docked on side as tab

    I need some assistance figuring out how to get my "pages" tab docked back on the left hand side of Adobe.  I used to be able to go to view, navigation tabs, and select pages but that would open a box.  This doesn't help me as when i open another docu

  • IDM roles creation / updation and deletion via workflows

    Hi, We are in IDM 7.1. I wanted to know if there is any way to create / update / delete IDM roles using in the workflow / rules on a data driven logic rather than using the IDM admin page (Roles tab) and creating them with LDAP group attributes assin