9148 chassis, 951x modules, and SoftMotion

I'd like to develop a motion control application using C series modules without using LabVIEW Real Time. I've found a few sources pointing to a possible solution, but am having trouble finding detailed information.
My main source is one section of a motion control applications engineering document:
http://www.ni.com/white-paper/12127/en#toc4
"For simple automated motion tasks you can execute a NI SoftMotion based application with a Windows based host PC connected to the new NI 9148 Ethernet RIO Expansion Chassis and a C Series drive Interface module. Using this approach, the NI SoftMotion engine is deployed on the NI 9148 to assure reliable execution of the motion control application, and so that users don’t have to realize a real-time application. The user application will be executed on the Windows based host PC, sending the position commands directly to the C Series Drive Interface modules using the RIO Scan Engine. This implementation offers the ease-of-use of programming a Windows based application and provides reliable motion control for closing the position control loops on dedicated hardware inside the C Series module."
Has anyone done this before? Any thoughts on pros/cons? Does any better documentation exist?
Thanks!

Hey maxwellb,
Here is a list of pros and cons (as compared to other RT based RIO solutions) that I was able to come up with when using 951x modules with a 9148:
Pros
It's cheaper than alternative solutions, both from a hardware and software standpoint.
Cons
In scan mode, there is a hard limit of 4 951x modules per chassis. You might be able to get around this limit in FPGA mode, but it is not worth the extra complexity and reduction in functionality.
The motion communication between the host and the 9148 is slow and can be CPU intensive (I am referring to the 9148's CPU). It works well for doing moves, but if you want to get back data (such as position feedback, velocity feedback, limit switch states, etc) faster than ~10Hz, you will run into trouble. Keep in mind that when I say 'get back data,' I mean this for reporting purposes only on the host; the module itself is getting feedback much quicker so that it can close control loops, react to limits,etc. 
You have less flexibility. If you need to do something custom on an RT cRIO (for instance, a custom control loop), you can always get down on the FPGA, implement your custom feature, and still use the high level SoftMotion API (function blocks and express VIs). With the 9148, you can implement the custom feature, but you are no longer able to use the high level SoftMotion API since you don't have access to RT.
Those are the pros/cons that come to me off the top of my head.
Thanks,
Paul B.
Motion Control R&D

Similar Messages

  • Won't recognize chassis, checked fuses and reinstalled everything

    I've tried everythig I can think of. My SCXI chassis was working this Am, I went over to another computer to see if i could figure out why my 1160 board was giving me an error ( I think it was 3044??) I could not get my other chassis to work, and when I went to reinstall the original chassis it now will not recognize it. We did have a power outage 4 days ago, but.....? Any ideas or stuff I should check. I've swapped cables and connnectors and all that. What really is wierd is that both chassis are not being recognized on either of two different computers.
    [email protected]

    Hi Blest1,
    I have a few follow-up questions about your setup:
    Is the SCXI-1160 the only module that is not being
    recognized?  If so, what other modules are you using?  Is it
    in the Measurement & Automation Explorer that the modules are not
    recognized?
    Which SCXI module is the communicating module?  In other words, which module is cabled to your data acquisition card?
    What data acquisition card are you using to cable into your SCXI chassis?
    If you can fill us in with some more details, we'll do our best to help you diagnose this problem.  Thanks!
    Thaison V
    Applications Engineer
    National Instruments

  • Encoder Speed with NI 9215 module and cDAQ-9172

    I've a NI cDAQ-9172 with the NI9215 analog input module, and I want to estimate the speed with an optical encoder (OMRON E6A2-CW3C). My approach was, making a comparison with a point in the midle of the high of the signal, ie 4V, making this way a perfect square signal with 1of high. After that I use the Tone Measurements and the Timing and Transition Measurements modules to calculate the frequency of the wave form, and this way I'm able to calculate the RPM speed.
    The problem with this solution, is that even with the engine at a constant speed of 746RPM, measured with a stroboscope, Labview give me a high variable values between 730RPM to 760RPM, and I can't solve this problem because I really need an accurate measurement.
    Should I buy for example the NI 9401 module to make this measurement? If so, does any one knows how to build a VI to get the encoder speed?
    In attach I send the VI that I'm using to calculate the speed.
    Thank you for help.
    Attachments:
    Encoder Speed.vi ‏112 KB

    Hi,
    The best way to measure a speed through a quadrature encoder is to use the counters that are inside the cDAQ chassis.
    With the 9172 chassis, you need a digital I/O module (9401) in order to access the counters.
    With the new generation of chassis (9178), you don't need the 9401 because you can connect your encoder signals to the BNC.
    Best regards,
    Thomas B. | CLAD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Inscrivez-vous gratuitement aux Journées Techniques : de l'acquisition de données au contrôle/com...

  • How to show module and SFP information include hardware serial number on Nexus switch?

       How to show module and SFP information include hardware serial number on Nexus switch?                 Thanks.

    Hi,
    The show inventory command will give you details of the Nexus chassis, power supplies, Supervisor, Fabric, I/O modules (including FEX if you have them) etc. To get the details of the installed SFP/SFP+ then you'll need to use the show interface transceiver command.
    Regards

  • DAQmx - one chassis two modules synchronous readings

    I have a chassis with two 9205 modules, and a 9211 temperature module. I can continuously read voltages on any combination of channels on the two 9205 modules, but when I try to also read the 9211, either in the same while loop or a parallel while loop I get an error on the 9205 that the resource is reserved. I have the 9205 set for reading 10K/sec, in blocks of 2K (i.e. the loop reads 5X a second) so I configure the 9211 to read 2 samples at 10Hz (also 5X a second). The error I get -50103: The specified resource is reserved - I am not sure what resource is in conflict, the clock or some bus allocation?? can I read the three modules (at different clock rates) simultaneously?
    thanks
    lmd2
    Lawrence M. David Jr.
    Certified LabVIEW Architect
    cell: 516.819.9711
    http://www.aleconsultants.com
    [email protected]

    Hi Lawrence,
    What happens is that the slower module will repeate samples until it can acquire another sample.  Both of the channels will acquire the same number of points, but the thermocouple module will store multiple instances of the same value until a new value is read in by DAQmx.
    Here is what it looks like to have multiple channels setup for a single task:
    Message Edited by Nick F on 04-29-2008 02:18 PM
    Thank You,
    Nick F.
    Applications Engineer
    Attachments:
    cDAQDiffRate.PNG ‏10 KB

  • Reposting: Chassis Management Module (CMM) Fails to Switch Over

    This post was originally posted on IBM’s developerWorks public forum (https://www.ibm.com/developerworks/community/forums/html/topic?id=f9164eb4-1a74-42b3-8348-28dfa24caf...  The following is a summary of the post issue and the response.
    Issue:
    I'm facing an issue regarding the PureFlex Chassis Management Module (CMM) failover scenario such that I have two CMM’s installed in a single chassis connected to two ports of a switch. 
    When accessing the CMM through the IP address, the CMM is accessible. 
    However, when the switch port connected to the active CMM is shutdown or disconnected, the CMM is not failing over to Standby and there is no ping response to CMM.
    What is causing this behavior and how do I resolve it?
    Solution/Response:
    None
    Attachments:
    CMM Image.png ‏411 KB

    Ah, ok. I was in the assumption the PCI connect had something to do with the video connection. But it seems like Apple wanted to reinvented PCIe...
    I'm out of my territory here so feel free to ignore the following.
    These are the things I notice in your Xorg.0.log:
    [    19.474] (==) modesetting(G0): Depth 24, (==) framebuffer bpp 32
    [    19.474] (==) modesetting(G0): RGB weight 888
    [    19.474] (==) modesetting(G0): Default visual is TrueColor
    [    19.474] (II) modesetting(G0): ShadowFB: preferred YES, enabled YES
    [    19.500] (II) modesetting(G0): Output VGA-1-0 has no monitor section
    [    19.526] (II) modesetting(G0): EDID for output VGA-1-0
    [    19.526] (II) modesetting(G0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
    [    19.526] (==) modesetting(G0): DPI set to (96, 96)
    What the hell is modesetting doing there?
    And have you tried the nvidia blob? It could be that this is not well supported by nouveau. Maybe check up with their IRC / mailing list.

  • My cRIO (9022 , chassis 9113, module NI 9225)

    Hello, I hope you are doing great
    I create a new project that detects my cRIO (9022 , chassis 9113, module NI 9225) and I copied cRIO both the FPGA VI and Host of the original project NI but problem persists: there appeared another error message at the Host.VI (see attached file).
    I did not get to solve this problem can you help me to find a solution as soon as possible
    thank you for advance for your help
    Attachments:
    erreur1.jpg ‏276 KB
    erreur2.jpg ‏214 KB

    Hi basmasag,
    It looks like you need to specify a top level VI of the Build Specification you're trying to build. You'll need to select the Source Files Category on the left in the build specification properties menu. Then highlight your top level VI (in the example its called NI 9225 Getting Started (FPGA).vi) and select the blue arrow to set it to be the Top-Level VI. I've included and image to better illustrate what I mean. 
    I think the FIFO error your seeing may be due to the Type of FIFO you've configured the Data FIFO to be in your project. In the example it was Tartget to Host - DMA. Make sure that's set correctly by double clicking on the Data FIFO, and setting the type. The second picture I attached should better demonstrate what I mean. 
    It seems like you may be new to LabVIEW FPGA, I think you'll find a lot of useful information here: http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgahelp/fpga_getting_started/
    Applications Engineer
    National Instruments
    CLD Certified
    Attachments:
    Top-Level.png ‏59 KB
    fifo.png ‏48 KB

  • Configure port channel between IO Module and FI

                       Hi,
    I have the current setup
    UCS chassis (4 uplinks) --> FI --> (Port channel) --> N5K --> (port channel) --> VSS 6500
    I configure port channel between IO Module and the FI by changing to policy to "Port Channel" and set the link to 4
    FI has created a portchannel under "Internal" containing all the FI interfaces that are connected to the IO module.
    I have installed ESXI on a blade but i was unable to reach it, even the esx was unable to ping the gateway.
    VLAN tagging is enabled from the ESX server.
    I have issued the command "show mac address-table | inc <mac address of the vnic assigned from thre service profile> on both the N5K and thr 6500 and the mac is there.
    I have allowed all the vlans on the vNIC from the service profile.
    am I missing anything?
    thanks

    Hello,
    Can you please check whether your ESXi vmkernel interface ip address learned on right VLAN on FI / upstream switch or not.
    connect nxos
    show mac-address-table | inc 
    Padma

  • Memory modules and hard drive not recognized

    I removed and reinserted the factory installed Satellite L505D-LS5007 laptop hard drive and memory modules just as practice for installing a hard drive upgrade and an 8GB memory upgrade. The problem is obviously with the memory and not with the hard drive.
    After the first practice try, one memory module was recognized. Also for a few seconds after the first practice try, I ran the PC with the battery installed, but no memory installed. I did not look in the User's Guide first to see that I should have removed the battery before removing the memory.
    Now the System Indicator Lights for the HDD Activity and Memory Card Reader do not light up. The PC turns on and the display is solid black with no messages.
    Before buying new memory modules, what possible ways might there be to get the PC to recognize the factory installed memory modules and hard drive again?
    Solved!
    Go to Solution.

    When troubleshooting, I always change one variable at a time. I would hate to miss a solution by being in a hurry. In this case, you may have damaged either the RAM or the RAM slot. I would stick with the Toshiba specifications for the RAM, making sure it is the correct size, speed and type recommended. I also recommend that when you replace the RAM that both modules be from the same manufacturer, size, and specification. Try one RAM module in one slot and then the other. And then try both RAM modules in both slots. After the testing you should be able to figure if this is a RAM problem or a RAM slot problem.
    In the case of hard drives, the real test is whether or not the Bios sees the hard drive. If the Bios doesn't see the hard drive, it's not going to work. The Bios should see the hard drive whether or not the hard drive is partitioned, formatted or has data on it. My experience has been that many Toshiba laptops will work fine with larger capacity hard drives provided they are the same speed in RPMs, have the same interfacing connection and physically the same size.
    Again, prior to doing any work on your computer, make sure that both the AC power has been disconnected and the battery has been removed. Be careful out there. A blown repair job by a non-Toshiba tech is NOT covered under warranty.

  • Who worked with ICS' Model 4896 GPIB? I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    Hello. Most of the engineers in developer exchange are more familiar
    with NI products. Contacting ICS for technical support is a better
    course of action.

  • Problem with modules and ModuleLoader

    Hi everybody,
    i'm facing a real funny problem with modules and
    moduleLoader, i hope
    it's not (only) my fault anyway...
    If i create a normal flex project with fBuilder, i'm able to
    use
    modules in a lot of different ways (as mxml, as as in a
    function etc..)...
    but if i try to use them in my fds application (created with
    fds
    eclipse plugin or as a dataServices project) i can't use
    modules. The compile-time error message is
    always the same:
    Could not resolve <mx:ModuleLoader> to a component
    implementation
    I tried a lot of solutions, paying attention to import all
    the classes, to declaration, naming, positioning
    etc...but nothing changes, this thing is drivining me
    crazy!!!.
    I will appreciate anykind of help.
    TIA
    Fabio

    Any idea?

  • Required help on Function Modules and Bapis

    Web portal publishing of ERS invoice letters. This involves modification in the BAPI screens to show the invoice PDF instead of printing??
    can anyone help me in fixing this issue.

    hi Anjaneyulu,
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    selct the tree structure----in the left side the includes screen and function module everthing will show..
    or
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    go to attributes and select the Package..
    next----
    go to se80--> enter the package --> and dispalay it shows the list of Program , include transaction function modules and bapi's under the pakage
    Regards,
    Prabhudas

  • Examples for using function modules and BApis.

    My Dear FRNDS,
    I am very new to ABAP. And I have read the documentation for  function modules but i am not that clear to practice them.So I would be very happy if u people share a little bit of ur experience with me.
    Please provide me some examples of all the use cases in function modules and specially exception handling.
    Frnds, i am going to work with bapis so i feel practicing function module will give me a edge.
    and please tell me after calling a BAPI FM why we have to perform   'BAPI_TRANSACTION_COMMIT' and 'BAPI_TRANSACTION_ROLLBACK'.
    .Ur efforts  will be greatly rewarded.
    thx,
    reshali

    Hi,
    Please check this sample codes.
    DATA: BAPI_Z05DOGI_DELIVERY LIKE BAPIOBDLVHDRCON-DELIV_NUMB ,
    BAPI_Z05DOGI_HEADER_DATA LIKE BAPIOBDLVHDRCON OCCURS 0 WITH HEADER LINE ,
    BAPI_Z05DOGI_HEADER_CONTROL LIKE BAPIOBDLVHDRCTRLCON OCCURS 0 WITH HEADER LINE,
    BAPI_Z05DOGI_ITEM_DATA LIKE BAPIOBDLVITEMCON OCCURS 0 WITH HEADER LINE,
    BAPI_Z05DOGI_ITEM_CONTROL LIKE BAPIOBDLVITEMCTRLCON OCCURS 0 WITH HEADER LINE ,
    BAPI_Z05DOGI_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE .
    CLEAR: BAPI_Z05DOGI_DELIVERY , BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA ,BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
    REFRESH: BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA , BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
    BAPI_Z05DOGI_DELIVERY = ZMM_WB1-ISSUE .
    BAPI_Z05DOGI_HEADER_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
    APPEND BAPI_Z05DOGI_HEADER_DATA.
    BAPI_Z05DOGI_HEADER_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_HEADER_CONTROL-POST_GI_FLG = 'X'.
    APPEND BAPI_Z05DOGI_HEADER_CONTROL.
    BAPI_Z05DOGI_ITEM_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_ITEM_DATA-DELIV_ITEM = 10.
    BAPI_Z05DOGI_ITEM_DATA-DLV_QTY = LFIMGGIA.
    BAPI_Z05DOGI_ITEM_DATA-SALES_UNIT = XTAB-MEINS.
    BAPI_Z05DOGI_ITEM_DATA-DLV_QTY_IMUNIT = LFIMGGIA.
    BAPI_Z05DOGI_ITEM_DATA-FACT_UNIT_NOM = UMVKZLIPS.
    BAPI_Z05DOGI_ITEM_DATA-FACT_UNIT_DENOM = UMVKNLIPS.
    APPEND BAPI_Z05DOGI_ITEM_DATA.
    BAPI_Z05DOGI_ITEM_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_ITEM_CONTROL-DELIV_ITEM = 10.
    BAPI_Z05DOGI_ITEM_CONTROL-CHG_DELQTY = 'X'.
    APPEND BAPI_Z05DOGI_ITEM_CONTROL.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
    EXPORTING
    DELIVERY = BAPI_Z05DOGI_DELIVERY
    HEADER_DATA = BAPI_Z05DOGI_HEADER_DATA
    HEADER_CONTROL = BAPI_Z05DOGI_HEADER_CONTROL
    TABLES
    ITEM_DATA = BAPI_Z05DOGI_ITEM_DATA
    ITEM_CONTROL = BAPI_Z05DOGI_ITEM_CONTROL
    RETURN = BAPI_Z05DOGI_RETURN.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPI_Z05DOGI_RETURN.
    Go thru this link
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    BAPI_TRANSACTION_COMMIT
    Execute external Commit when using BAPIs
    This method executes a COMMIT WORK command. It is required for
    transactions developed externally to the R/3 System that change data in
    the R/3 System via BAPI calls.
    When you call BAPIs in your program that change data in the R/3 System,
    afterwards you must call this method to write the changes to the
    database.
    COMMIT WORK
    The statement COMMIT WORK completes the current SAP LUW and opens a new one, storing all change requests for the currenta SAP LUW in the process
    there are some FM that we use for creating trasaction . for example FM : that use for creating production order . if you execut the FM , the system will not create any data in the system so you need to excute the FM : BAPI_TRANSACTION_COMMIT to commit that creating the production order .
    in case of commit work, that is a syntax in abap program . if you use this syntax after you insert ,update or delete table in the sap ,system will do it immediately otherwise the system will do it after execution is complete.
    ROLLBACK WORK.
    for confirming or undoing database updates. COMMIT WORK always concludes a database LUW and starts a new one. ROLLBACK WORK always undoes all changes back to the start of the database LUW.
    Regards,
    Raj.

  • Function modules and BAPIs for a transactio code

    Hi friends,
    How i can find  the List of function modules and BAPIs being used for a particular transaction code?
    for example: I would like to find List function modules and BAPIs being used for the Transaction code
    "FBRA"(Reset cleared items)?
    Any sort of help on this will be helpful.
    Thanks,
    Punjaala

    hi Anjaneyulu,
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    selct the tree structure----in the left side the includes screen and function module everthing will show..
    or
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    go to attributes and select the Package..
    next----
    go to se80--> enter the package --> and dispalay it shows the list of Program , include transaction function modules and bapi's under the pakage
    Regards,
    Prabhudas

  • SAP R/3 Modules and transactions belonging to them.

    Hello there,
    I have two questions which I would like some help with:
    Q1  Is there a link to documentation that lists all the SAP R/3 functional modules and provides an overview/description of each module?
    Q2  I would like to list all the transactions belonging to a fuctional module/area such as SD, MM, PM, FI/CO etc. I know that tables TSTC & TSTCT will provide a list of all the transaction codes, but is there a table that will show all transaction codes belonging to a specific fuctional module?.. if not then is there another way of getting this information?...Please bear in mind that I need to be able to download this information to an excel spreadsheet.
    Your help here would be much appreciated.
    Many thanks
    Sharon

    Hi williams,
    >> For your query regarding SAP R/3 modules refer: http://en.wikipedia.org/wiki/SAP_R/3
    >> For your query regarding Transaction codes refer:
    http://www.easymarketplace.de/transactions.php
    www.erpgenie.com/sapgenie/docs/useful-tcodes.pdf
    Reward points if its useful...

Maybe you are looking for