CRIO, FPGA, portability to different I/O module configuration

Hello people!
For my student research projekt, I need support.
I have to implement the NI-Tutorial:"CompactRIO Control Design and Simulation Tutorial" on another hardware.
my cRIO 9004 is no problem and the chassis NI9104 is the same.
Problems occure with the config of the I/O-Modules:
Tutorial-config: Slot5=NI9505, Slot8=NI9221
MyDevice-config: Slot1=NIcRIO-9215, Slot2=NI9263, Slot3=NI9217, Slot4=NI9474, Slot5=NIcRIO-9423
I think there should be an intelligent way to port this programm to another config and change the I/O-binding to another module without neckshoot the programm. just dont know how, because I am a LabView newbie.
your ff
Solved!
Go to Solution.

Hi ffelix,
-Yes you right, I need to do the PWM in a VI.
   There are lots of examples on how to create a PWM via FPGA using DIO or DO Modules. You can also look at ni.com/ipnet
-My mainproblem now is to get I/Os changed without killing the program.
-Do you know, if there a list in LabView, that shows me all VI/places, where the I/Os, are used. Best would be a programwide exchange of special I/Os?
-I also want to replace some I/Os by variables.
   No, there is no tool like that in LabVIEW. You could use VI Scripting to develop one, though it will take you more time then replacing them
   manually or create a completely new project.
I think you can just use the control part form that tutorial and build your own FPGA vi.
Christian
Message Edited by Christian_M on 11-26-2009 11:49 AM

Similar Messages

  • Crash while creating a new cRIO FPGA Project

    When I want to create a new cRIO FPGA Project with the wizard, Labview freezes and crashes ("Labview 8.6 Development System had stopped working".) The wizard discovers my cRIO-9073 Integrated controller, but when it's trying to discover the CompactRIO chassis, the program freezes and automaticly shuts down.
    In MAX, there is no problem in discovering the FPGA-chip in the cRIO-chassis (RIO0)..
    I tried to use the new FPGA project wizard in Labview 8.5. While searching for the cRIO chassis, the program doesn't freeze, but says that the cRIO-chassis cannot be found..
    When I manually want to select the chassis, I can only choose for the cRIO-9072 and cRIO-9074. There is no cRIO-9073-icon.. ?
    What am I doing wrong, or is it a bug ?
    Regards,
    Kenneth
    Message Edited by Kennie87 on 02-16-2009 09:23 AM
    Message Edited by Kennie87 on 02-16-2009 09:23 AM
    Solved!
    Go to Solution.
    Attachments:
    lvrt_err_log.txt ‏23 KB

    Hi JMota,
    Thanks for your quick reply.
    I'm using Vista Home Premium SP1 32-bit. And I have admin privileges. I'm the only user of the computer.
    I've installed NI-RIO 3.1 on the pc. So it's the same version as on the controller.
    When I try to add the controller and chassis directly from the Project Explorer, then I have the same problem.
    The program freezes while it's trying to discover the chassis..
    I'm able to select the cRIO-9073..
    But in the second step, the program freezes when it's trying to discover the chassis..
    When I try your second method, the same problem occurs.
    I manually selected the specific controller (RT CompactRIO target), with the chassis (cRIO-9073) and the integrated FPGA-chip (RIO0), and at last the NI-9472 DO-module in slot 1.
    Then, I've changed the IP of the controller from 0.0.0.0 into the IP assigned in MAX 192.1681.3.
    When I click on connect (right-click RT CompactRIO target - connect), the same story.. Program freezes and eventually shuts down.

  • What are the different 'Add-on modules' available with LabVIEW?

    What are the different 'Add-on modules' available with LabVIEW?
    What are the types of 'Add-on Cards'?
    Cards and modules are different,thats true.Is it that modules means software and are they same as 'add-on toolsets'.Please give the details/URL which would give me various toolsets in detail and also the specifications of various add-on cards?
    Kindly do the needful
    I require these details immediately.I am an Engg student and learning LabVIEW

    duplicate post

  • [cRIO] FPGA compile time

    Hello, I was wondering the normal time for LabVIEW to compile a program for cRIO FPGA target.
    It has been taking 15 minutes per compile. I was wondering whether this is normal or whether there
    is something I could do to make it faster. 
    - Thank you 

    This is the compile report of the code I am working with:
    Status: Compilation successful.
    Compilation Summary
    Logic Utilization:
      Number of Slice Flip Flops:       5,531 out of  40,960   13%
      Number of 4 input LUTs:           5,475 out of  40,960   13%
    Device Utilization Summary:
       Number of BUFGMUXs                        2 out of 8      25%
          Number of LOCed BUFGMUXs               1 out of 2      50%
       Number of External IOBs                 164 out of 333    49%
          Number of LOCed IOBs                 164 out of 164   100%
       Number of MULT18X18s                     14 out of 40     35%
       Number of Slices                       3874 out of 20480  18%
          Number of SLICEMs                      4 out of 10240   1%
    Clock Rates: (Requested rates are adjusted for jitter and accuracy)
      Base clock: 40 MHz Onboard Clock
          Requested Rate:      40.408938MHz
          Theoretical Maximum: 54.191730MHz
      Base clock: MiteClk (Used by non-diagram components)
          Requested Rate:      33.037101MHz
          Theoretical Maximum: 61.406202MHz
    Start Time: 9/18/2008 12:13:18 PM
    End Time: 9/18/2008 12:29:22 PM
    This is the compile report if I delete most of the code.
    It only has a while loop and I/O pin read and write, and an inverter.
    [Screenshot]
    Status: Compilation successful.
    Compilation Summary
    Logic Utilization:
      Number of Slice Flip Flops:         583 out of  40,960    1%
      Number of 4 input LUTs:           1,021 out of  40,960    2%
    Device Utilization Summary:
       Number of BUFGMUXs                        2 out of 8      25%
          Number of LOCed BUFGMUXs               1 out of 2      50%
       Number of External IOBs                 164 out of 333    49%
          Number of LOCed IOBs                 164 out of 164   100%
       Number of Slices                        671 out of 20480   3%
          Number of SLICEMs                      4 out of 10240   1%
    Clock Rates: (Requested rates are adjusted for jitter and accuracy)
      Base clock: 40 MHz Onboard Clock
          Requested Rate:      40.408938MHz
          Theoretical Maximum: 85.113627MHz
      Base clock: MiteClk (Used by non-diagram components)
          Requested Rate:      33.037101MHz
          Theoretical Maximum: 70.566650MHz
    Start Time: 9/18/2008 2:00:03 PM
    End Time: 9/18/2008 2:12:19 PM

  • BIC in Module configuration

    Hi All,
    We have imported Seeburger SWCV into IR and i can see different message types(orders,invoices etc) in external definitions and some standard mappings like(E_ORDERS_96A_to_I_ORDERSO5_LIST, T_ORDERS_V9_to_I_ORDERS05, etc)in message mapping.Does the suffix T stands for Tradacom, E stands for edifact are corect assumption?
    If i'm using the external definition(source message) and the message mapping from here, Do i still need to give the parameters in BIC module.
    Please confirm.
    Thanks,
    Smith

    Hi Paul,
    According to the existing structures which are present in the external defintions proceed.. and dont forget to deploy the .SDA file in the XI server using SDM..
    before that u need to create an Project which contains active mapping in which u need to move what ever the mappings and structures which u needed from there u can generate .SDA file and u can deploy it in server..
    and at the same time u need to some configuration steps in MODULE CONFIGURATION to call the BIC mapping designer program which was deployed as .SDA file in the server.
    revert back with ur exact queries..
    regards,
    Kishore

  • File Adapter-Module configuration

    Hi All,
    I have the following requiremnt.
    "Duplicate files should not process"
    Following are the File Access Parameters.
    Source Directory: ABC (ex: contains aa1,aa2,aa3,aa4 files)
    Filename: *
    File name mask: aa*
    My doubt is if they place aa1 file again in ftp , i should not process.
    For this I'm thinking to write module configuration.
    Can any one suggests , whether this is the correct approach? If it is could u explain how to write this module and where to write this module and how to import in xI, do i need to pass any parameter name in module configuration.
    Regards,
    venu.

    Hi Venu,
    You can go with Module in the Sender File Adapter.
    First you need to check the file name and you need to store this file name in the Database.( you can use Java Database).
    If there is an entry in the database for that file, then reject the whole file as per the business requirement. So that you can avoid , overhead of Mapping. Because if there is an error set the flag in the message and check this flag in your Receiver Determination, if it is an error send into error directory.
    Another way is outside the XI, i.e using shell scripts.
    Regards,
    Moorthy

  • Parameter name in module configuration of adapter module in comm channel

    Hi Experts,
    I have developed an adapter module to read a excel file , have used the module in the sender file adapter.
    What entrie should i put in parameter name and parameter value  in module configuration of adapter module in comm channel.
    Im too confused,,pls help

    Hi Ivan,
    The code is basically to read the all colums add em under xml tags and read from second row on wards the data
    please find below the module data code
    public ModuleData process(ModuleContext mc, ModuleData imd)throws ModuleException
                             Object obj = null;
                             Message msg = null;
                             MessageKey amk = null ;
                        amk = new MessageKey(msg.getMessageId(),msg.getMessageDirection());
                        Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"Module called");
                        try {
                                  obj = imd.getPrincipalData();
                                  msg = (Message) obj;
                                  XMLPayload xp = msg.getDocument();
                                  if (xp != null)
                                        byte by[] = convert(xp.getContent());
                                             xp.setContent(by);
                                       imd.setPrincipalData(msg);
                              catch (Exception e)
                    return imd;
                   public byte[] convert(byte src[]) throws Exception
                        String xmldata = "";
                   try
                             ByteArrayInputStream byteArr = new ByteArrayInputStream(src);
                             Workbook w = Workbook.getWorkbook(byteArr);
                             xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n"+ "<ns0:""MT_ExcelFiles"" ""xmlns:ns0=\"""urn:xyz:abc"+"\"> \n";
                               int a = w.getSheet(0).getRows();
                               int b = w.getSheet(0).getColumns();
                        for(int j=1;j<a;j++)
                                   for(int i=0;i<b;i++)
                                                  xmldata = xmldata + "<"w.getSheet(0).getCell(i,0).getContents().toString()">"w.getSheet(0).getCell(i,j).getContents().toString()"</"w.getSheet(0).getCell(i,0).getContents().toString()">";
                        xmldata = xmldata"</ns0:""MT_ExcelFiles"+">";
                        w.close();
              catch (Exception e)
           return xmldata.getBytes();

  • Mail adapter and MessageTransformBean module configuration issue

    Hi All,
    I am trying to use module configuration in Receiver Mail adapter. Below is my configuration. (We are using SAP PI 7.11)
    Parameter/General tab:
    Message Protocol : XIPAYLOAD
    Use Mail package option is selected.
    Content Encoding = none
    Module tab:
    Processing Sequnce:
    AF_Modules/MessageTransformBean  : XSLT
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean : mail
    Module Configuration:
    XSLT    Transform.Class                        com.sap.aii.af.sdk.xi.adapter.XSLTConversion
    XSLT    Conversion.XSLTFileName     /tmp/GL_POST_RESPONSE_EMAIL.xsl
    XSL works outside of PI . However, when i test with a message, I am seeing following errors in Runtime workbench:
    Please let me know what could be wrong in the above configuration
    23.03.2011 15:24:39 Information MP: processing local module localejbs/AF_Modules/MessageTransformBean
    23.03.2011 15:24:39 Information Transform: using Transform.Class: com.sap.aii.af.sdk.xi.adapter.XSLTConversion
    23.03.2011 15:24:39 Error Transform: Transformer Conversion1.0.0610 Error initializing XSLT Mode:; caused by javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
    23.03.2011 15:24:39 Information Transform: transforming the payload ...
    23.03.2011 15:24:39 Error Transform: failed to execute the transformation: com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Error converting Message; nested exception caused by: java.lang.NullPointerException: while trying to invoke the method javax.xml.transform.Templates.newTransformer() of an object loaded from local variable templates
    23.03.2011 15:24:39 Error MP: exception caught with cause com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Error converting Message; nested exception caused by: java.lang.NullPointerException: while trying to invoke the method javax.xml.transform.Templates.newTransformer() of an object loaded from local variable 'templates'
    23.03.2011 15:24:39 Error Adapter Framework caught exception: Error converting Message
    23.03.2011 15:24:39 Error Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Error converting Message; nested exception caused by: java.lang.NullPointerException: while trying to invoke the method javax.xml.transform.Templates.newTransformer() of an object loaded from local variable 'templates'.

    Hi All,
    Issue has been resolved. There was some minor issue in the XSL. The XSL Stylus studio was not reporting this as an error. However PI's XSL engine was reporting that error. This error message was not showing up in runtime workbench. However, when i looked at the default trace, there were few more errors. After fixing the XSL, I am able to received the email
    Thanks
    -Pradeep

  • PI SFTP RECEIVER ADAPTER MODULE CONFIGURATION

    Hi,
    I am new in SFTP adapter. I want to transfer file from proxy to SFTP. I want to output file is in csv format. But now it is in  xml format.
    Please help me!!!
    My module configuration is in attachment..

    Hi
    I have got the problem. You have to modify your target structure in the below format
    <row>
    <column-name1>ABC</column-name1>
    <column-name2>12345</column-name2>
    <column-name3>Text1</column-name3>
    </row>
    Create any parent node and inside that create the sub-eliment STATUS and USERID
    something like
    MT_Succefactor
       <record>
       <STATUS>
       <USERID>
        </record
    Then you will get the desired output. Use the below content conversion paramters

  • Adapter module configuration

    The message that reaches the file receiver channel is
    <EDI_DC40>
                  structure1
    </EDI_DC40>
    <EK1NA1M>
                  structure 2
    </EK1NA1M>
                 So i wanna write a module configuration which will rename the first tag as <ek1na1m>. Plz help

    Hi Sumaya,
    you are creating the adapter module using the document i told or not...
    if you are using that document, then see in the process method you will write all your code......you will take the message as a string........then you can manipulate your string as you want - means you can rename your node..........then you can set this string as your XMLpayload.....
    Thanks,
    Rajeev Gupta

  • File Adpater Module Configuration

    I have a scenario where i need to send the file to webservices,the file is in xsd:base64 binary format,the file is getting splitting up in the moni inbound message payload,I think this can be rectified by using module conifguration in file adapter by using tranform beam & converting to base64 binary,Can any one please tell me how to use processing sequence & module configuration for base 64 binary.....
    Advance thanks for your help
    Sriram

    Hi,
    Check this blog
    /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
    HowToGuide-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
    Regards,
    Moorthy
    Message was edited by: Krishna Moorthy P

  • Receiver Module Configuration Issue

    Hi All,
    I have done the following Module Configuration in Receiver JMS Adapter, but facing issue in the Length of the Flat File received in JMS.
    it is having only 512 characters, i got clue that is because of   localejbs/SAP XI JMS Adapter/ConvertMessageToBinary.
    Binary can accept only 512 characters.
    I  need convert the message to TEXT. Please help me on this.
    Processing Sequence
    1                  localejbs/AF_Modules/MessageTransformBean            Local Enterprise Bean                          XML2Plain
    2                  localejbs/SAP XI JMS Adapter/ConvertMessageToBinary   Local Enterprise Bean                          convert_XI2Bin
    3                  localejbs/SAP XI JMS Adapter/SendBinarytoXIJMSService  Local Enterprise Bean     exit
    Module Configuration.
    XML2Plain     Transform.Class     com.sap.aii.messaging.adapter.Conversion
    XML2Plain     Transform.ContentType     text/plain;charset=utf-8
    XML2Plain     xml.addHeaderLine     0
    XML2Plain     xml.conversionType     SimpleXML2Plain
    XML2Plain     xml.endSeparator     'nl'
    XML2Plain     xml.fieldFixedLengths     10,15,10,10,15,13,13,13,15,2,30,1,10,10,10,10,8,10,10,10,8,11,11,3,3,1,1,15,10,15,1,30,15,15,10,8,15,10,10,15,15,4,8,1,2,8,35,11,10,10
    XML2Plain     xml.fixedLengthTooShortHandling     Cut
    exit     JMSMessageType     Text
    Regards,
    R.Ragu

    Hi Ragu,
    Can you please elaborate on this issue a bit more...?
    The Module Configuration looks fine to me.....
    Thanks
    Dhwani

  • Debugging JMS adapter with Module Configuration

    Hi.
    I have a problem debugging my JMS adapter with module configuration.
    All I get from the Message Monitor is a status "System Error", and no error category or error message.
    I know there's an error in my Module configuration design, since it works fine without.
    My configuration looks like this:
    PROCESSING SEQUENCE:
    1     localejbs/AF_Modules/MessageTransformBean     Local Enterprise Bean     XML2Plain
    2     localejbs/SAP XI JMS Adapter/ConvertMessageToBinary     Local Enterprise Bean     convert_XI2Bin
    3     localejbs/SAP XI JMS Adapter/SendBinarytoXIJMSService     Local Enterprise Bean     exit
    MODULE CONFIGURATION:
    XML2Plain     Transform.Class     com.sap.aii.messaging.adapter.Conversion
    XML2Plain     Transform.ContentType     text/plain;charset=utf-8
    XML2Plain     xml.conversionType     StructXML2Plain
    XML2Plain     xml.addHeaderLine     0
    XML2Plain     xml.recordsetStructure     STARTRECORD,DATARECORD,SERVICEYDELSERRECORD,SLUTRECORD
    XML2Plain     xml.STARTRECORD.fieldFixedLengths     2,8,6,7,10,7,3,3
    XML2Plain     xml.DATARECORD.fieldFixedLengths     2,8,6,4,35,17,7,7,7,5,5,5,18,18,18,18,18,18,18,18,18,9
    XML2Plain     xml.SERVICEYDELSERRECORD.fieldFixedLengths     2,8,6,4,3,20,18,18,18
    XML2Plain     xml.SLUTRECORD.fieldFixedLengths     2,8,6,7,10,7
    XML2Plain     xml.STARTRECORD.fixedLengthTooShortHandling     Cut
    XML2Plain     xml.DATARECORD.fixedLengthTooShortHandling     Cut
    XML2Plain     xml.SERVICEYDELSERRECORD.fixedLengthTooShortHandling     Cut
    XML2Plain     xml.SLUTRECORD.fixedLengthTooShortHandling     Cut
    The structure of the message looks like this:
    <STARTRECORD> (occurence = 1)
    <DATARECORD> (occurence = 1..unbounded)
    --- <SERVICEYDELSERRECORD> (occurence = 0..unbounded)
    <SLUTRECORD> (occurence = 1)
    I've crosschecked every field, and it length and all looks like it should!
    The worst part is the one not getting the reason why it fails. Any way I can get this information?
    I've tried to look in the Adapter Framework log, but I have no clue where to look for anything usefull.
    Help
    Regards Peter

    Hello,
    Below is the module configuration in my JMS sender channel:
    Check Message          Local Enterprise Bean          key
    ConvertJMSMessageToBinary      Local Enterprise Bean      convert_JMS2Bin
    ConvertBinaryToXMBMessage     Local Enterprise Bean      convert_Bin2XI
    CallSapAdapter                Local Enterprise Bean          call_AF_MS
    CheckMessage is a custom module which does some check on the incoming message.
    Now what I want to know is at which position should I include the DynamicConfiguration Bean? Should it be included at position 1 or at position 2 or someother position?
    ~Thanks.

  • With out Controlling module configurations, can we Configure PP module dire

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. Use an appropriate title. >
    Hi Experts,
    With out Controlling module configurations, can we Configure PP module directly?
    Thanks
    Chandra

    Hi,
    Yes you can configure PP with out CO but you will not get Product Costing results for the materials used.
    You will not be able to link Activities, Cost Centers, Over Heads which are production activities.
    Cost Analyisis for the Order will not be possible.
    To say in brief Cost related entries or break up is not possible if CO is not implemented.
    Regards
    Balaji

  • Please help me P M Module configuration document.

    Hi friends,
    I am planing to learn SAP PM Module, I want know process wise flow, please help me P M Module configuration document.
    Regards,
    Murali.
    help.sap.com

    Lynn
    Had me stumped for a while too ...
    On the screen that presents all your "Blank" documents, simply touch the word "Blank" under the preview (not the actual preview) and you'll get a dialogue to name your document.
    Simon

Maybe you are looking for

  • Error message Plug-ins not upgraded, cannot open

    A client sent me a CS3 InDesign that won't open. It says my plug-ins are not upgraded. It lists all the plug-ins and they are features that already exist in InDesign such as preflight and collect. How can I get the file to open?

  • Crystal Reports and Portal..... PLEASE HELP !!!!!

    I am trying to create a URL link to http://{ipaddress}/Recrystallize/Oracle/volvotest.rpt?init=java&user0=myusername&password0=mypassword When I put the above link into the browser...ON THE PORTAL SERVER....it executes as expected.... when placed in

  • SimpleDateFormat Problem

    Hi I ran into a strange error today with SimpleDateFormat . In the following code: SimpleDateFormat format =             new SimpleDateFormat("yyyyMMddHHmmss");           format.setLenient(false);           try                Date date = format.parse

  • Adobe AIR fails to install

    As above AIR fails to install & I have been told by adobe to disable automatic graphics switching under energy saver, but I cannot find automatic graphics switching. Where can I find it?

  • Upgraded to Windows 8.1 & now I have no audio. Please help!

    I have reviewed similar posts & followed links to download driver's, but nothing has solved my problem. Even doing a restore to 3 days ago does not bring my audio back. Audio was completely fine until I installed 8.1 windows.....  A big red X where t