Dasylab11 et cio-das08 jr

bonjour
j'espere poster au bon endroit ;c'est au sujet de dasylab  11 et une carte cio-das08 jr . le contexte de mon probleme et le suivant :
dans la salle du tp  à l'ecole  il ya une machine fonctionne sous windows 98  et utilise une carte daq cio-das-08 jr  et habituellement l'aquisition est relisée par un programme ecrit en C moi j'ai proposé à mon professeur  d'utiliser dasylab 11 au lieu de ce programme il m'a donné l'acces a la salle  et j'ai  essaye  de l'installer . mais avec  windows 98  ce n'ai pas possible j'ai formaté la machine et j'ai mis windows XP maintenant j'ai perdu le programme en C et je dois reussir l'aquisition  avec dasylab 11 et j'ai fait les etapes suivantes
1 installer dasylab 11 ( maintenant sous windows xp ca marche )
2 installer les driver de cio-das08 jr  ( ca marche)
3 installer intacall et configuration de la carte (ca marche)
4 j'ai lu sur un pdf que tous ce qui est detecte par instacall doit etre detecte par dasylab 11 mais chaque fois  que  je fais module>>mcc-drv>>input   dasylab ne detect pas la carte   ici je suis arrete et je sais pas quoi  faire
j'ai commence à lire le help  et chercher sur google  mais j'ai rien trouve
s'il vous plait  aider moi j'ai besoin de montrer à mon professeur qu'il peut compter sur moi  et je doit reussir l'aquisition avec dasylab   .........;s'il vous plait  aider moi
Pièces jointes :
probleme.GIF ‏53 KB
ERROR.GIF ‏63 KB

In the third attached image, you show the DASYLab Select Driver dialog.
The MCC-DAQ driver is not installed using this driver interface. It is installed as an extension to the software. The original driver interface had many limitations for a multiple device driver. So, it was implemented with the same interface used for the updated NI-DAQ and NI-DAQmx driver.
If you look behind the dialog box in the image, you see the Module browser on the left, open to the Input/Output group. The last sub-group is the MCC-DAQ driver group.
Open this and you will see the Inputs and Outputs for the MCC-DAQ (classic) driver.
Now, I am more concerned that no hardware is shown in the driver.gif. 
Can you post a screen shot of the instaCal screen? Also, there will be a Help-Driver Information for MCC-DAQ. Please get a screen shot of this dialog.
It has been a long time since I have used the ISA CIO-DAS08 products - I no longer have a computer with ISA slots. The ISA boards are not plug and play - but the correct drivers should be installed when you run instacal. The hardware manual says this
2 SOFTWARE INSTALLATION
The board has a set of address switches to set before installing the board in your computer. The simplest way to
configure your board is to use the InstaCalTM program provided as part of your software package. InstaCalTM will
show you how to configure the switches to match your application requirements, and will create a configuration
file that your application software (and the Universal Library) will refer to so the software you use will
automatically know the exact configuration of the board.
Please refer to the Software Installation Manual regarding the installation and operation of InstaCalTM. The
following information will allow you to do the hardware configuration of the board if you do not have immediate
access to InstaCalTM and/or your computer.
I don't think that DASYLab MCC-DAQ driver has detected the correct version of instaCal and the Universal Library. This is the same dialog box from my Windows 7 PC with DASYLab V12 and the MCC-DAQ driver installed. Note that the middle line has the Universal Library version.
- cj
Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

Similar Messages

  • Cio-DAS08/JR

    Bonjour
    please j'ai un grave probleme et j'ai besoin de votre aide j'ai  une carte cio-DAS08/JR de measurement computing  pour faire l'aquisition   sur une machine avec windows98 et et  j'ai labview 2009 installé sur mon Laptop.voila mon probleme je dois faire une application labview  avec setup   et je veux inclure les driver de cio-DAS08/JR   dans l'installer je suis bloqué dans les points suivants:
    j'ai cherché sur  measurement computing  les driver et j'ai trouvé ULx NI Labview et dans la palette des fonctions j'ai maintenant une bibliotheque de vi Mcc  mais je ne trouve pas les fonctions cbAIn(), cbAInScan(), cbATrig(), cbFileAInScan()??
    deja est ce que ce qu je viens de faire est possible?????
    please aider moi

    Bonjour,
    merci d'avoir posté sur le forum NI.
    Après avoir regardez l’aide de ULx for LabVIEW, il apparait que vous devez inclure plusieurs fichiers .dll.
    Je vous conseil de regarder de près l’aide ULx for NI LabVIEW.
    Vous pouvez trouver sur ce fichier d’aide comment inclure le driver pour une application distribuée.
    Cordialement
    Samuel G. | Application Engineer Team Leader
    Certified LabVIEW Developer
    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;}
    Été de LabVIEW 2014
    12 présentations en ligne, du 30 juin au 18 juillet

  • Sample rate of cio-das08j​r

    hello;
    after an internet search. and reading the help, I still post on this forum, hoping that I find an answer;
    At first, I realized the aquisiion using cio-das08 Jr. with the help of someone on this forum (cj), I thought I solved the problem by that when I want to change the sample rate I can not find my device inTime base, and the acquisition is made with a sample rate that Ido not know, but when I check hardware Clocked; of hardwaresetup, I find my device in time bases, but when execution, I found a message that says invalid option
    my question is how can I change the sample rate of my devicecio-das08jr
    Attachments:
    hardware Setup.GIF ‏42 KB

    hello
    I have not found the solution to control the sample rate of cio-das08jr, please help me it urgent
    Attachments:
    sample rate.GIF ‏40 KB

  • Alternative low cost suppliers for LV compatible I/O cards

    I'm looking for a low cost LV compatible card to use in my lab on Windows
    PC's by students, because the original NI cards are not so cheap. Number of
    I/O, resolution and speed is not so important, but it must work properly.I
    don't want to use the "German" solution with a SoundBoard, because its quite
    limited. It must have at least 4 I/O and 8 or 12 bit resolution. Has anayone
    any experimence with other suppliers than National Instruments in Europe?
    Thanks!

    Thanks for the info, i will certainly investigate it next week!
    Marc
    "kevin" schreef in bericht
    news:Y6Y5a.9680$[email protected]..
    > In article <3e57dd24$0$83869$[email protected]>, "Marc Thijs"
    > wrote:
    >
    > > I'm looking for a low cost LV compatible card to use in my lab on
    > > Windows PC's by students, because the original NI cards are not so
    > > cheap. Number of I/O, resolution and speed is not so important, but it
    > > must work properly.I don't want to use the "German" solution with a
    > > SoundBoard, because its quite limited. It must have at least 4 I/O and 8
    > > or 12 bit resolution. Has anayone any experimence with other suppliers
    > > than National Instruments in Europe? Thanks!
    >
    > Check o
    ut my response to this post:
    >
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5
    06500000008000000505B0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEX
    T_QUESTION_0=Is+it+possible+to+acquire+an+analog+input+without+a+DAQ+board&U
    SEARCHCONTEXT_QUESTION_S=0
    >
    > Just go to MeasurementComputing.com. I've used these boards for several
    > years now and haven't had many problems. I would strongly suggest the
    > CIO-DAS08/JR for $179(US):
    >
    http://www.measurementcomputing.com/cbicatalog/cbiproduct.asp?dept%5Fid=117&
    pf%5Fid=183&mscssid=N1UUA2JCKE0P9PWU130KXM64XNRX1SS4
    >
    > I'm sure they'll provide you an educator discount. Oh yeah, these guys
    > aren't in Europe so perhaps the added S/H won't make them so cheap...
    >
    > Good luck,
    > -Kevin

  • Job J_BNFECALLRFC não numera NF em contingência por local de negócio.

    Olá bom dia!
    Por gentileza, alguém poderia me ajudar?
    Estamos com o seguinte problema.
    O job do decouple J_BNFECALLRFC não numera NF em contingência.
    (CALLRFC= 3)
    Segue procedimento realizado:
    1) Habilitado a emissão de contingencia por local de negócio ou região.
    2) Criado uma nota (writer) com o mesmo BP ou região.
    (nesse caso o flag posted. cont. da aba nf-e data não está flegado e o tpemiss = 1)
    3) No monitor nenhuma das duas colunas referente a conting estão com X
    4) Status no monitor:
    Action Status = engrenagem
    Process step = A (Numbering is done in batch - no manual action required)
    NF-e Log = bandeirinha vermelha (verificando o log aparece a seguinte msg: Region Or Branch are in Contingency - Send NF-e not possible)
    5) NF-e nr: fica em branco, não numera.
    Mesmo desabilitando a contingência se executo o Job J_BNFECALLRFC, continua sem numerar a NF.
    Alguém já passou por esse problema?
    PS.: para a contingência realizada através do monitor, também não está funcionando, mas para esse erro vou abrir uma nova Thread
    Obrigada,
    Moní

    Estou com o mesmo problema. Ao entrar em contingência, com o decouple 3, as NFe's não são numeradas e o flag de contingência não está preenchido. Após retirar as NFe's da contingência, não consigo enviá-las, pois não possuem numeração.
    O job J_BNFECALLRFC está escalonado para ser executado de 1 em 1 minuto.
    Estamos no SP23 com todas as Notas do 24 e 25 aplicadas.
    Moni, vc descobriu qual era o problema para este seu caso?
    Audria.

  • NFe por Local de Negócios - Atribuição SD e MM

    Olá,
    Em nossa empresa temos vários Locais de Negócios, que também sáo várias Company Codes.
    Exemplo:
    CompCode 01
    Local Negócios 01
    CompCode 02
    Local Negócios 02
    Temos que implementar a NFe em apenas alguns Locais de Negócios, não em todos. O porém é que nossos tipos de documentos de venda são comuns a todos os Company Codes e Locais de Negócios ( e os tipos de nota fiscal são atribuídos aos tipos de documento de vendas).
    Com o cenário acima, a minha dúvida é: temos como criar e imprimir uma Nota Fiscal no modelo 1/1A em um Local de Negócio mesmo que os seus Tipos de Nota Fiscal estejam flegados como NFe (tanto em SD como em MM)?
    Em tempo:
    A determinação Business Place / Nota Fiscal Type (aberto pelas sapnotes na view J_1B_NFTYPEBRCHV) não nos atende, pois temos vários tipos de Nota Fiscal por Local de Negócios;
    Obrigado desde já,
    Adriano Cardoso

    Oi Adriano,
    se vc tiver na obrigatoriedade, 100% das suas notas tem que ser eletronicas.
    Imagino que, se vc quer fazer parte eletronica e parte normal, imagino que ainda nao está na obrigatoriedade, correto?
    De qualquer maneira, acho que vc pode usar a BAdI CL_SD_NFTYPE para isso; nela vc consegue redeterminar a categoria de nota por item da ordem de vendas e fazer o split entre notas eletronicas e normais.
    Att.
    Henrique.

  • FI - AA - Ajuda para anular encerramento de exercício por área de avaliação

    Companheiros,
    Sou novo na parte de configuração e parametrização do SAP, estou trabalhando no módulo FI. Recebi a tarefa de atualizar os dados de FI-AA de um ambiente de treinamento. Esse ambiente está muito desatualizado. Estou tentando encerrar um exercício de 2005, na transação AJAB, porém, depois de ter depreciado automaticamente e manualmente todos os períodos contábeis, o sistema informa que para uma área de avaliação o período que desejo encerrar já está encerrado. Quando verifico as áreas de avaliação na transação OAAR, algumas áreas estão com vários exercícios, a frente, encerrados. E quando tento reiniciar o exercício, o sistema me informa que "Exercício encerrado não pode ser reinicializado".
    Como posso verificar esse problema?
    Existe alguma maneira de saber o que há de pedência para tais áreas de avaliações?
    Qualquer ajuda é muito válida.
    Obrigado!!

    Olá,
    Roda a AJAB novamente e verifica se houve o encerramento de todas as áreas.
    Att.
    Marssel

  • How to populate the configurator UI using CIO

    Requirement : Based on the user entered string (Basemodel.Option1.Options2.Optiopn3.Options4.Option5) a free text at sales order line. In case of bad line(meaning any one of the options is invalid) the user hits the configurator button and the valid options need to be populated to the configurator UI. As of now i able to populate one value. I am missing some where when i am trying to populate multiple options. Below is the java code which iam using.
    I tried using ArrayString and by result set but no luck :( , Please let me know if any one came accross this type of requirement.
    //The class CfgExtTest contains two methods, namely displayAttributes and getCountrySelected.
    //The displayAttributes accepts a runtime node as a parameter, through which the connection to the database can be established.
    //Once a connection is established, the getCountrySelected method can be used to obtain the value entered in the DFF for the Order Header Id.
    //The java code also selects the option from an Option Feature which matches the option selected in the DFF.
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.StringTokenizer;
    import oracle.apps.cz.cio.IOption;
    import oracle.apps.cz.cio.IRuntimeNode;
    import oracle.apps.cz.cio.LogicalException;
    import oracle.apps.cz.cio.NoSuchChildException;
    import oracle.apps.cz.cio.TransactionException;
    import oracle.apps.cz.utilities.NameValuePairSet;
    import oracle.apps.cz.cio.*;
    public class Configtestui {
    public void displayAttributes(IRuntimeNode irn){
    try{
                   Configuration config = irn.getConfiguration();
                   InformationalMessage iMsg1 = new InformationalMessage("config---->"+config, irn);
                   config.addInformationalMessage(iMsg1);
              ConfigTransaction tr = config.beginConfigTransaction();
              InformationalMessage iMsg2 = new InformationalMessage("ConfigTransaction---->"+tr, irn);
              config.addInformationalMessage(iMsg2);
    String country= getCountrySelected(irn);
    InformationalMessage iMsg3 = new InformationalMessage("getCountrySelected---->"+country,irn);
    config.addInformationalMessage(iMsg3);
    try{
              config.commitConfigTransaction(tr);
              IRuntimeNode udcc = irn.getChildByName("Select Monitor");//Select Hard Drive
              IOption option = (IOption)udcc.getChildByName(country);
              option.setState(IState.TRUE);
              catch(Exception e)
              Configuration conf = irn.getConfiguration();
              ConfigTransaction trans = conf.beginConfigTransaction();
                   InformationalMessage iMsg = new InformationalMessage("Exception caused while reading property - First", irn);
                   config.addInformationalMessage(iMsg);
                   try{
                        config.commitConfigTransaction(trans);
                   catch(Exception ee){
    catch (Exception le){
         public String getCountrySelected(IRuntimeNode baseNode)
              Connection conn = baseNode.getConfiguration().getContext().getJDBCConnection();
              PreparedStatement pStmt = null;
              ResultSet rs;
              String UDC=null;
              String sql = "select ATTRIBUTE2 from cz.CZ_CONFIG_ATTRIBUTES" ;//"select attribute2 "+ "from oe_order_headers_all ooha ";//+ "where ooha.header_id ="+orderid;
              try
              pStmt = conn.prepareStatement(sql);
              rs = pStmt.executeQuery();
              if (rs.next())
                   UDC = rs.getString(1);
              System.out.println(UDC);
              rs.close();
              pStmt.close();
                        // Close database cursors.
              catch(Exception e){
              return UDC;
         }

    Hi Pankaj,
    Thanks a lot for your reply. I am very new to java and configurator extensions.
    There is an option feature "Select hard drive" on UI and 2GB ,10GB , 20GB are my options.
    I am trying to select 2GB on the UI. Iam fetching this value from a table '"Select selection from xxcz.TEST_CONFIG"' using this query.(below is my code)
    <some part of code where iam fetching the question and selecting its option >
    IRuntimeNode udcc = irn.getChildByName("Select Hard Drive");
    IOption option = (IOption)udcc.getChildByName(country);
    option.setState(IState.TRUE);
    My requirement i have multiple options from different questions to select in UI.. Can i select directly option ( as in my example 2GB) ? PLease let me know you thougths on this.
    -------------------------- Entire code ---------------------------------
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.StringTokenizer;
    import oracle.apps.cz.cio.IOption;
    import oracle.apps.cz.cio.IRuntimeNode;
    import oracle.apps.cz.cio.LogicalException;
    import oracle.apps.cz.cio.NoSuchChildException;
    import oracle.apps.cz.cio.TransactionException;
    import oracle.apps.cz.utilities.NameValuePairSet;
    import oracle.apps.cz.cio.*;
    public class CreateConfig {
         public void displayAttributes(IRuntimeNode irn){
              try{
         Configuration config = irn.getConfiguration();
              InformationalMessage iMsg1 = new InformationalMessage("config---->"+config, irn);
              config.addInformationalMessage(iMsg1);
              ConfigTransaction tr = config.beginConfigTransaction();
              InformationalMessage iMsg2 = new InformationalMessage("ConfigTransaction---->"+tr, irn);
              config.addInformationalMessage(iMsg2);
    String country= getModelOptions(irn);
    InformationalMessage iMsg3 = new InformationalMessage("getCountrySelected---->"+country,irn);
    config.addInformationalMessage(iMsg3);
    try{
              config.commitConfigTransaction(tr);
              IRuntimeNode udcc = irn.getChildByName("Select Hard Drive");
              IOption option = (IOption)udcc.getChildByName(country);
              option.setState(IState.TRUE);          
              catch(Exception e)
              Configuration conf = irn.getConfiguration();
              ConfigTransaction trans = conf.beginConfigTransaction();
                   InformationalMessage iMsg = new InformationalMessage("Exception caused while reading property - First", irn);
                   config.addInformationalMessage(iMsg);
                   try{
                        config.commitConfigTransaction(trans);
                   catch(Exception ee){
    catch (Exception le){
    public String getModelOptions(IRuntimeNode baseNode)
              Connection conn = baseNode.getConfiguration().getContext().getJDBCConnection();
              PreparedStatement pStmt = null;
              ResultSet rs;
              String UDC=null;
              String sql = "Select selection from xxcz.TEST_CONFIG" ; // < Here iam getting value 2GB one of the option under 'Select Hard Drive'
              try
              pStmt = conn.prepareStatement(sql);
              rs = pStmt.executeQuery();
              if (rs.next())
              UDC = rs.getString(1);
              rs.close();
              pStmt.close();
              catch(Exception e){
              return UDC;
         }

  • Start Configuration Using CIO

    Hi,
    I am using CIO object to start a Configuration from OA Framework. below is the code followed by the error am encountering.
    ======= Start Code =========
    Context context = new CZWebAppsContext("HostName","Port","vis");
    System.out.println("------------- Context object created ----------");
    ConfigParameters cp = new ConfigParameters(79160); // 79160 is Model ID.
    System.out.println("------------- ConfigParameters object created ----------");
    CIO cioObject = new CIO();
    System.out.println("------------- CIO object created ----------");
    Calendar modelLookupDate = Calendar.getInstance(); // current date and time
    cp.setModelLookupDate(modelLookupDate);
    System.out.println("-------------Start CZ Libraries ----------");
    cioObject.checkForCZLibraries();
    System.out.println("------------- CZ Libraries ----------");
    Configuration config = cioObject.startConfiguration(cp,context);
    System.out.println("------------- Configuration object created ----------");
    ========= End Code ==========
    ====== Error Log =========
    oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.UnsatisfiedLinkError, msg=no czlce in java.library.path
    at oracle.apps.fnd.framework.OAException.wrapperException OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:864)
         at OAErrorPage.jspService(OAErrorPage.jsp:35)
    ======== Error Log =======
    Could any one plz help me in finding the solution?
    Regards,
    Adarsh

    Thanks Mukul. I got the session id.
    Could you help me with my next step.
    I need to launch the configurator UI to create new configurations and pass back the headerid and rev number to the current page.
    I am confused here and need some guidance.
    Should I follow Oracle® Configurator,Extensions and Interface Object Developer’s Guide Release 11i -->Example 5–1 Creating a Configuration Object (MyConfigCreator.java)
    or should I refer to chapter 9 Session Initialization, and initialize the cz's UI servlet.
    Actually I hardcoded the values in the initialize xml and was able to launch the particular UI which I had hardcoded. I do not know how to retrieve ui_def_id for the particular model name I enter in the form.It needs to be dynamic , than hardcoded.
    Here is what I did:
    <form action=................/CZInitialize.jsp method="post" id="test1" name="test1">
    <input type="hidden" name="XMLmsg" value='<initialize>
    <param name="database_id">skm123_dbc</param>
    <param name="user">test</param>
    <param name="pwd">1234abc</param>
    <param name="calling_application_id">708</param>
    <param name="responsibility_id">24190</param>
    <param name="ui_def_id">186540</param>
    <param name="ui_type">JRAD</param>
    Please Help.
    Thanks

  • Initializing Configurator session thru CIO

    Hi,
    I am looking for a 'sample java code' to understand how to initialize Configurator session thru CIO.
    I did go thru the 'Oracle Configurator Extensions and Interface Object Developer’s Guide' , but the sample code provided over there is too simple.
    I am looking for something more, a sample code which can help me understand how to 'choose options', 'populate value' thru the CIO.
    Akhil

    Akhil,
    I have an example of working with initializing a Configurator session. In my first example, I started by doing all of the java within a JSP. Eventually, I was able to put the java into specific classes and call these classes and methods from a JSP. In my scenario, the JSP was the vehicle for launching the application, but it is not required. I am sure you can do the same from a pure-java program as well.
    An example of the important Java aspects that were used are listed below:
    //Set some default variable values
    String dbcFileName = "<path to DBC file>";
    CIO cio;
    Context context;
    String errMessage = "No errors";
    IRuntimeNode rootNode = null;
    Configuration cfg = null;
    //set the context and create the cio object
    context = new CZWebAppsContext(dbcFileName);
    cio = new CIO(); // Create shared global CIO
    // Create the ConfigParameters object and set non-default parameters
    int modelId = 34272620;
    String lineId = "155184891"; //used to pass oe line id as client_line
    ConfigParameters cp = new ConfigParameters(modelId);
    java.util.Calendar modelLookupDate = Calendar.getInstance(); //current date and time
    //start the configuration using the cio object previously created
    try {
      cp.setModelLookupDate(modelLookupDate);
      cp.addUserParam("client_line", lineId);
      cfg = cio.startConfiguration(cp, context);
      rootNode = (IRuntimeNode)cfg.getRootBomModel();
    } catch (Exception e) {
      errMessage = e.getMessage();
    //This part was important.  For some reason, when you launch the model, the ROOT node is NOT selected as we would normally expect
    //This part of the code will select the top/root node of the configuration.
    String exceptionOutput = "no errors";
    if (rootNode instanceof StateNode) {
         StateNode stateRootNode = (StateNode)rootNode;
         try {
              ConfigTransaction tr = cfg.beginConfigTransaction();
              stateRootNode.setState(IState.UTRUE);
              cfg.commitConfigTransaction(tr);
         } catch (Exception e) {
              exceptionOutput = "Exception Encountered: " + e.getMessage();
    //Here you can now begin side-affecting the model using your standard CIO calls (eg. set values, select options, etc.).  Be sure to use Config Transactions.
    //I have noticed that if you have CXs that you want to execute at the end of the configuration, you will need specifically tell the config object to execute the event.
    //I don't recall exactly how this was called, but it should be documented in the JavaDoc or in the CX Guide.
    //Now we have to close out the session
    String errMessageB = "No errors";
    long configHdrId = 0;
    long configRevNbr = 0;
    boolean configValid = false;
    boolean configComplete = false;
    try {
      cfg.saveNew();
      configHdrId = cfg.getConfigHeaderIdLong();
      configRevNbr = cfg.getConfigHeaderRevisionLong();
      configValid = cfg.isValid();
      configComplete = cfg.isComplete();
      cio.closeConfiguration(cfg);
      context.releaseJDBCConnection();
      context.free();
    } catch (Exception e) {
      errMessageB = e.getMessage();
    }Edited by: JasonBatzlaff on Nov 20, 2012 7:33 AM

  • CIO-API: Configuration beeing used when updating rules

    Hi,
    We're currently facing some issues when using the CIO-API to open an exisiting configuration, modify it and then save it again:
    Since we had some minor issues in one of our configurator-extension-rules I changed that rule, updated it in configurator developer, tested it and published the new model to our testing environment. When opening "open" configurations from within order management, my new rules apply. However when using the CIO-API to access an exisiting model, the API still uses the old Model and the old extension-rules.
    My API-Access is as follows:
    CIO cio = new CIO();
    ConfigParameters cp = new ConfigParameters(configHeaderId, configRevNumber);
    Configuration config = cio.startConfiguration(cp, pCpContext);
    //to some modifications
    config.save();
    cio.closeConfiguration(config);
    When I modify this by adding "cp.setRestoreModelId( 281280);" before starting Configuration, my new model is used. However I don't understand why this is necessary and why this is contrary to what happens in order management.
    Could someone clarify how exactly this is working? And: What happens when saving my model using the API? Does it always stay on the "old" level or does it get migrated when explicitly setting the latest restoremodelid on open or are there other circumstances when it's getting 'migrated'?
    And is there an easy way to always use the latest modelId? For now I'd do the following select-statement:
    select newpub.modelid from cz_model_publications oldpub, cz_model_publications newpub,cz_config_hdrs czh
    where czh.config_hdr_id=123708240 and czh.config_rev_nbr=1
    and oldpub.model_id=czh.component_id
    and newpub.top_item_id=oldpub.top_item_id
    and newpub.deleted_flag=0
    But this seems a bit ugly?
    We have no effective-dates or usages on our model if this is of any interest.
    Regards,
    Johannes

    trol how it is restored/relaunched
    1) config_model_lookup_date:-      Date to look up the publication for the configuration Model
    For restored configuration: the saved value of effective_date(cz_config_hdrs), or SYSDATE, as determined by RestoredConfigDefaultModelLookupDate in CZ_DB_SETTINGS
    Don't be surprised if you don't find RestoredConfigDefaultModelLookupDate in the table
    2) config_effective_date:- The date used to filter effective nodes and rules
    For restored(your case) effectie_date(cz_config_hdrs) that was saved is used as default. We can change this using settings
    Now when we launch from OM the above are derived and sent as input parameters(based on your settings). If you want how your isntance is deriving let me know
    For CIO unless you pass default are used.
    Infact when in my code I used the below always to set it explicitly.
    ConfigParameters cp = new ConfigParameters(latestModelId);
    java.util.Calendar modelLookupDate = Calendar.getInstance();
    cp.setModelLookupDate(modelLookupDate);
    --you can add setEffectiveDate to be safe
    Since you explicity set the restoremodelid that is taking care of it. But genereally the same can be achived by setting date parameters.          
    If you have any questions around this area you can reach me directly.

  • Launch Configuration using CIO object

    Hi,
    I am trying to launch Configuration using CIO object.
    plz find the code below, that am using.
    ===========START CODE==================
    Context context = new CZWebAppsContext("hostName","portNumber","dbcFileName");
    System.out.println("------------- Context object created ----------");
    ConfigParameters cp = new ConfigParameters(79160);
    System.out.println("------------- ConfigParameters object created ----------");
    CIO cioObject = new CIO();
    System.out.println("------------- CIO object created ----------");
    Configuration config = cioObject.startConfiguration(cp,context);
    System.out.println("------------- Configuration object created ----------");
    IUserInterface ui = config.getUserInterface();
    System.out.println("------------- UI object created ----------");
    ui.navigateToScreen("Page-1");
    System.out.println("------------- Page navigation ----------");
    =============END CODE==================
    am getting the following error after CIO object is created, while trying to start the configuration, at cioObject.startConfiguration(cp,context). The hostName, portNumber and dbcFileName are correctly provided.
    ============START LOG ====================
    ------------- Context object created ----------
    ------------- ConfigParameters object created ----------
    ------------- CIO object created ----------
    java.lang.RuntimeException: Null JDBC Connection returned from connection pool.
    Contents of CZWebAppsContext error stack: AOLJ_JAVA_EXCEPTION (MESSAGE=Not able to create new database connection. Cause:java.sql.SQLException: Io exception: The Network Adapter could not establish the connection)
    SECURITY-No gateway reconnect
    SYSTEM-ERROR (MESSAGE=Io exception: The Network Adapter could not establish the connection)
         at oracle.apps.cz.common.CZWebAppsContext.getJDBCConnection(CZWebAppsContext.java:116)
         at oracle.apps.cz.dio.DbTransaction.<init>(DbTransaction.java:61)
    ==============END LOG=======================
    plz help me in finding the solution.
    Regards,
    Adarsh

    Adarsh,
    Looks like the parameters passed in the constructor call are not valid ones and hence the database connection is not getting done.
    Context context = new CZWebAppsContext("hostName","portNumber","dbcFileName");
    Check the above call carefully and its parameters. I guess the dbcFileName might be the reason as other 2 entries are pretty easy to know.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to import CIO Configurator Extension jar file?

    Hello:
    while I am studying the CIO Configurator Extension, I can not find to import the
    oracle.apps.cz.cio.*; jar file to JDeveloper
    I import czclient.jar and czdb.jar files but did not find CIO jar file
    Does any one has idea where to get the cio jar file.
    Please help
    Sam

    Can you please send me the cio jar you have managed
    to create. It would be of great help.Sushil, in general this is not viewed as a good practice.
    The CIO jar file used to be shipped by Configurator development, but this ceased many releases ago. Nowadays, if you use a jar file, you run the risk of it becoming obsolete when you apply a Configurator patch.
    Each configurator patch has the potential to change zero to many of our java classes. Our fixes may be either in the CIO, or in other portions of the product. Using a jar file from another customer has two obvious problems: (1) It will only be of use if you both are on the same Configurator release; and (2) it will only be of use until you apply a patch.
    Once a patch is applied you cannot rely on the results you get from that jar file, because it is possible that one or more CIO classes have changed. This increases the risk of slowing down both your development and debugging process by forcing you to track down problems where behavior differs between runtime (which uses the latest class files) and your development environment (which is using an obsolete jar file).
    The best practice we can suggest is to have your JDevelopment system refer to a custom library you create that points to the actual $CZ_TOP on the instance. In effect, you no longer need the CIO jar file, because you are referring to the files on the instance. This eliminates the risks I pointed out above, because you always point to the same data being used at runtime.
    If this is not feasible, then you (or an administrator with access) will need to build the jar file on that instance. You'll need to repeat this each time the system is patched for Configurator, for the reasons above. I would recommend not building a jar file of the CIO, but instead of the entire CZ stack. Configurator has a lot of dependencies, so doing this eliminates all of the intra-product dependencies. You may still find inter-product dependencies to other Apps classes depending upon what you're doing in your extensions, so having access to the $APPL_TOP is handy while setting this up.

  • Scusate io ho un iphone 3e ho problemi con la musica. riesco benissimo a metterla sull'iphone ma però mi da le canzoni mischiate, cioè ogni canzone parte, poi c'è un attimo di silenzio e riparte da un altro pezzo. come posso fare?

    scusate io ho un iphone 3e ho problemi con la musica. riesco benissimo a metterla sull'iphone ma però mi da le canzoni mischiate, cioè ogni canzone parte, poi c'è un attimo di silenzio e riparte da un altro pezzo. come posso fare? 10 PT

    Forse trovata soluzione, provate così:
    Fate il Backup di tutto
    Fate triplo-click sulla linea sottostante per selezionarla per intero:
    ~/Library/Application Support/SyncServices/
    Click destro o control-click sulla linea selezionata
    Selezionare "Mostra nel Finder" dal menu contestuale.
    Verrà individuata la cartella della riga sopra contenente un solo file.
    Chiudete iTunes.
    Spostate nel cestino il file contenuto nella cartella.
    Riaprite iTunes e provate la sincronizzazione.
    Good luck!

  • Ao responder ou reenviar mensagem o cursor não vai para o início do texto! Como corrigir isto?

    Não encontrei nenhuma opção que resolvesse este problema.

    Diego, o problema é no corpo da mensagem que eu estou respondendo ou encaminhado. Ao redigir o texto da resposta ou do encaminhamento, o cursor vai para o fim do texto da mensagem que eu recebi. O correto é o cursor ir para o início da mensagem, para que o destinatário leia primeiro o meu texto, e abaixo a mensagem que recebi. Obrigado pela atenção.

Maybe you are looking for

  • My sound does not work on my ipad.

    My mute button is not on and I still have no sound in my ipad

  • Problem with Flexmotion 7344, UMI 7764 and servo driver parts

    Hi to all of you, I've a great problem with my motion system. This is formed by: 1.Flexmotion 7344, cable and UMI 7764 (NI-kit) 2. 2 servomotor and 2 incremental encoder 3. 2 Motor drivers The problem is that the motor drivers (AXOR MICROSPEED) can'

  • Code FF :( Please Help MSI 890FXA-GD70

    Specs: MSI 890FXA-GD70 AM3+ AMD 890FX SATA 6Gb/s USB 3.0 ATX AMD Motherboard AMD Phenom II X6 1090T Black Edition Thuban 3.2GHz Socket AM3 125W G.SKILL Ripjaws Series 8GB (2 x 4GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) EVGA GeForce GTX460 1 GB Sup

  • Incorrect ADT version when compiling using updated AIR SDK in Flash Builder

    I was wondering if anyone else has come across adt version issues when compiling with Flash Builder. I just downloaded Flash Builder 4.7 (I had 4.6 installed previously).  I upgraded due to AIR SDK issues when trying to send my app to iOS.  I downloa

  • Problems with my matrix...

    Hi, I get this error when I try to run through this part of my code: "java.lang.NullPointerException" What am I doing wrong?     int counter1=0, counter2=0, sum=0;     Double temp1, temp2, result;     Double[] Array1, Array2;     Double[][] newMatrix