PCI-6509 example program doesn't run

I can compile the "Write Dlg Chan-Watchdog Timer.dsw" sample program, but when I run it I get errors. Please help me to understand what I am doing wrong.
Attachments:
PCI6509_output.rtf ‏1 KB

Anna,
When I tested this example with the PCI-6509, I did not receive any errors. However, if I intentionally delayed the resetting of the watchdog timer, I was able to generate the -200644 error. The following function performs this reset:
DAQmxErrChk( DAQmxControlWatchdogTask(wdTaskHandle, DAQmx_Val_ResetTimer));
Did you make any modifications to the example? To troubleshoot this issue further, you should try increasing the watchdog timer's timeout using the following function:
DAQmxErrChk (DAQmxCreateWatchdogTimerTask(device,"wd",wdTaskHandle,timeout,physChan,expirationState,NULL));
Spencer S.

Similar Messages

  • I can see the Safari icon on my iPhone screen, but the program doesn't run. I have checked the settings and it is on and not restricted. Can I delete the application and reinstall it?

    I can see the Safari icon on my iPhone screen, but the program doesn't run. I have checked the settings and it is on and not restricted. It seems that the application has simply stopped running. The little "searching" icon just spins and spins. Can I delete the application and reinstall it?

    You can't delete it. you will need to do a restore.
    Restore: http://support.apple.com/kb/HT1414

  • Ps cs6 on imac(2011)3,4gh. intel core i7,16gB 1333 mhz ddr,graphic-radeon hd 6970m 2048 mb. since uploade yosemite, programe doesn't run fluently

    Hello everybody.
    i update to yosemite, ps cs6 extended 13.06 x 64
    wont run anymore as fast like before.
    the program is slow like in the 90ths.
    several function wont work as well.
    can t  erase. or the selecting (rectangle) tool wont work in some moments.
    getting default messages like, that i selected less than 50 % pixels even if i select the whole screen.
    i use a wacom. i update it . not sure if the problem is the hardware.
    but before, without yosemite , i was very happy with the program.
    can somebody please help.
    thanks

    i tried out the above link, thanks , and did what the video said.
    one thing is solved.
    but it sill have some problems with the short cuts.
    if i select an area and choose the brush tool to fill out the selection and than choosing , lets say cmd+v , it won't do it.
    somehow the program doesn't react as smooth if i'am in the brush mode.
    Thank you for your help

  • Silverlight application (example.xap) doesn't run when call in other pages using "Object tag"

    Hi!
    I have silverlight 3 installed with Visual studio 2008. installation is fine.
    I have created a  silvelight application including a test page.
    In my test page I used the "object tag" to call my application as it is suggested since silverlight 3:
    <object type="application/x-silverlight-2"
    data="data:application/x-silverlight,"
    width="450" height="220">
    <param name="source" value="MySilverlightApplication.xap"/>
    </object>
    At the run time, using the test page my application runs as expected. But when i call the same application in another page i have created, nothing happens: the web page is blank. I wonder why it works with the test page created at the same time with the
    silverlight application ( i have checked the radio button that required the test paged creation during the process of the silverlight application) and why it doesn't work with a page created separately.
    Thank you for your help!
    Joel

    Hi Andy!
    Hi Qimin!
    Thank you for your helps. But i want to let you know that the html code i wrote in my post is just an example so I will complete my post with more information.
    0- I have visual studio 2008 installed with silverlight 3.
    1- I have created a web project with a master page (my master page has a content page )
    2- I added a silvelight application: carousel.xap (during its creation I've accepted to add a test page: carouselTestPage.aspx)
    3- I added a main page Home.aspx: which inherits from the master page created in step 1, then I call my silverlight application in this content page using the object tag.
    Result of the tests during run time:
    My silverlight application carousel.xap works fine when I test it with the
    carouselTestPage.aspx.
    But my silverlight application carousel.xap doesn't work with the main page I added to my web project. the web content page is blank.
         Here below the script of the carouselTestPage.aspx
    and for the Pages_Home:
    carouselTestPage.aspx code
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
    <title>carousel</title>
    <style type="text/css">
    html, body {
    height: 100%;
    body {
    padding: 0;
    margin: 0;
    #silverlightControlHost {
    height: 100%;
    text-align:center;
    </style>
    <script type="text/javascript" src="Silverlight.js"></script>
    <script type="text/javascript">
    function onSilverlightError(sender, args) {
    var appSource = "";
    if (sender != null && sender != 0) {
    appSource = sender.getHost().Source;
    var errorType = args.ErrorType;
    var iErrorCode = args.ErrorCode;
    if (errorType == "ImageError" || errorType == "MediaError") {
    return;
    var errMsg = "Unhandled Error in Silverlight Application " + appSource + "\n" ;
    errMsg += "Code: "+ iErrorCode + " \n";
    errMsg += "Category: " + errorType + " \n";
    errMsg += "Message: " + args.ErrorMessage + " \n";
    if (errorType == "ParserError") {
    errMsg += "File: " + args.xamlFile + " \n";
    errMsg += "Line: " + args.lineNumber + " \n";
    errMsg += " + args.charPosition + " \n";
    else if (errorType == "RuntimeError") {
    if (args.lineNumber != 0) {
    errMsg += "Line: " + args.lineNumber + " \n";
    errMsg += " + args.charPosition + " \n";
    errMsg += "MethodName: " + args.methodName + " \n";
    throw new Error(errMsg);
    </script>
    </head>
    <body>
    <form id="form1" runat="server" style="height:100%">
    <div id="silverlightControlHost">
    <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
    <param name="source" value="ClientBin/carousel.xap"/>
    <param name="onError" value="onSilverlightError" />
    <param name="background" value="white" />
    <param name="minRuntimeVersion" value="3.0.40624.0" />
    <param name="autoUpgrade" value="true" />
    <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none">
    <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/>
    </a>
    </object><iframe id="_sl_historyFrame" style="height:0px;width:0px;border:0px"></iframe></div>
    </form>
    </body>
    </html>
    2. Home.aspx code:
    <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/MyMasterPage.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Pages_Home" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="MyContent" Runat="Server">
    <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
    <param name="source" value="~/ClientBin/carousel.xap"/>
    <param name="background" value="white" />
    <param name="minRuntimeVersion" value="3.0.40624.0" />
    <param name="autoUpgrade" value="true" />
    <param name="enableHtmlAccess" value="true" />
    <a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">
    <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none"/>
    </a>
    </object>
    <iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px">
    </iframe>
    </asp:Content>
     so the application source is correctly supplied in the object tag description. so I wonder why it doesn't work with a separate content page in the same web project and work with this embedded Silverlight Test page.
    Thank you for your helps.
    Joël

  • Using 3rd Party packages when creating jar - program doesn't run

    I am using the xerces and xom packages for xml etc in my program.
    It works fine when run from a command prompt, but as soon as I package it into a jar I get the java.lang.NoClassDefFound error for the nu.xom.Builder class (one of the 3rd party classes.)
    Reading through these forums has yielded several suggestions, none of which work.
    I am probably making some massive stupid mistake, but cannot see it...
    My manifest:
    Manifest-Version: 1.0
    Created-By: 1.6.0 (Sun Microsystems Inc.)
    Main-Class: be.bavardage.vocab.VocabGUI
    Class-Path: serializer.jar xercesImpl.jar xercesSamples.jar xml-apis.jar xom-1.1.jar
    using the jar comand line prompt:
    jar cfm vocab.jar MANIFEST.MF be\bavardage\vocab\*.classCan anyone give me any indication as to what I am doing wrong...

    bavardage,
    I too am reading forum messages to try to do just what you originally wanted to do. I have 3rd party JARs and I have always first extracted them and then turned around and JAR'ed them up into my single Remote.jar (actually I'm so new to Java that I don't yet change things that aren't broken and this was working when I got it)
    jar  xf  jakarta-oro-2.0.5.jar
    jar  xf  jasperreports-1.2.1.jar
    jar  xf  iReport.jar
    jar cmf  mainClassSpec  Remote.jar  *.class  org/  net/  it/I am reading the forums for a way to NOT do this. My reason is because I want to make the application Java Web Start (JAWS) capable. By zipping all the JARs up into one I end up with a JAR over 6 MB! I am also adding internationalization and I really need to keep the ListResourceBundle classes in a separate JAR so I can keep adding languages and not cause the entire 6 MB file to be downloaded each time.
    Using Java Web Start is the real motivating force here. I need to keep all JARs separate so that when there are code changes or new languages only one small JAR will be downloaded again by JAWS not the huge iReport.jar file at 4,218KB nor the somewhat smaller jasperreports...jar at 1,225KB (at 64KB jakarta-oro...jar is hardly worth mentioning) .
    I will watch this thread to see if you or anyone else later comes up with the information to reference external JARs (while in a Java Web Start environment).
    So to put it in a question format, can anyone provide some information about referencing external JARs in a normal environment and will it work in a JAWS environment (I do know the technique for specifing and downloading multiple JARs in a JNLP file)?
    Hopi(ng)

  • Classes compile but program doesn't run????

    Hello all.
    I am working on certain program and all the classes compile but when I try to run the app. I don't get anything displayed. I am using BLUEJ as editor and I currently have JDK-1.3.1_06 installed. I am running WIN-2000-PRO.
    I also tried running the program from command line and these are the errors I was getting:
    Exception in thread "main" java.lang.NoClassDefFoundError: snapshop (wrong name: SnapShop)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    It says wrong name, but I am sure that's correct.
    THANKS EVERYBODY FOR THE HELP.

    nope, there is NOTHING WRONG WITH THE INSTALLATION
    when you get "wrong name snapshot (SnapShot)" it means "I (java.exe), have been called with the arguments 'java snapshot', yet I cannot find the 'snapshot' class. However there is a class named 'SnapShot', which I think you may be referring to"
    what command line program are you using? methinks something may be auto-lowercasing what you type before passing it on to the system
    Also on unix style systems is it valid and runnable to have 2 classes where the only difference in the name is casing?

  • I have Dell XPS (windows 8.1): error: "this program won't run on this pc"

    Greetings, I just purchased a Dell XPS with Windows 8.1. I have tried to load Irfanview, Kompozer, FileZilla, and other software that I have run, most on XP and even on MacOS, but the downloaded software will not run or install on my new Windowx 8.1. This
    is terribly frustrating! I also don't understand why there is no "start" button that leads you to the software you have installed. 
    Please help. Thank you. 

    Press the Windows key on your keyboard.
    To get Start menu press + X
    Further references
    Where is the Start menu?
    If you wish to get the conventional  Start button  then download and install
    Classic Shell
    some older programs might run poorly or not run at all. If an older program doesn't run correctly or doesn't install, start the Program Compatibility Wizard, which simulates an earlier version of Windows. You can :-
    Make older programs compatible with this version of Windows
    S.Sengupta, Windows Entertainment and Connected Home MVP

  • Running a Struts Example Program

    Hello,
    Im working on a course work about jakarta struts & I dowloaded an example program from a site, but I can not run it as it always gives me the same error(below). I also tried to run one simple one that I created my self, but still doesn't work giving me the same error. The engine Im using is Tomcat 4.0.6, If you have any Ideas of why this happens, please let me know. THANK U.
    //type
    Exception report
    //message
    Internal Server Error
    //description
    The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
         at org.apache.jsp.welcome$jsp._jspService(welcome$jsp.java:87)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    //root cause
    java.lang.NoClassDefFoundError
         at org.apache.jsp.welcome$jsp._jspService(welcome$jsp.java:59)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    so did you look at welcome to see if you could figure out whats giving
    you the problem?

  • How to program PCIE-6509 with C#

    Hi there,
    I have an NI PCIe-6509 digital IO card. I want to program to set the 96 chanels high/low by using C# programming language and I have no idea where to start. Can someone point me to the right direction? Is there any sample C# code related to NI PCIe-6509?
    Ps. i am using windows 7, 64bit operating system and visual studio 2010.
    Regards

    You might have to uninstall and reinstall the DAQmx driver again.
    Here are the snapshot for your example references.

  • I am able to log into itunes, but the homepage doesn't appear.  The program is also running very slow.  Help!

    I am able to log into itunes but the homepage doesn't appear.  What is causing this?  The program is also running very slow.

    Your  music will only be where you put it.
    It has always been very basic to always maintain a backup cop of your computer.
    Certainly you did not have our computer serviced without making sure your backup copy was up to date.
    In some countries you can redownload some content:
    Downloading past purchases from the App Store, iBookstore, and ...

  • Java 1.5_16 Compiles my programs but doesn't Run?

    I am using Dr Java and I have a lot of old programs that I would like to run.
    I had to start over and re-download the Java JDK. I tried 1.6.7 but I got an error that it couldn't
    locate the source, so I went back to Java 1.5.16, which was the oldest version I could find on java.,
    and now my programs are compiling but when I run them, I get a message in the bottom bar
    "Running Main method of Current Document" and nothing happens (even after a few minutes).
    This is happening on very simple small programs that should run instantly.
    It is happening for all of the old programs that I am able to compile.
    I think I was using JDK 1.5.6 when I first wrote these programs.
    Any suggestions?
    Thanks,
    Jesi

    You're probably "running" one of the classes that doesn't produce any output. The main() method is intended to be an application's entry point, not someplace you just cram all your code. You'll want to learn about methods and how objects communicate with each other. Have a look at the following:
    The Java� Tutorial - Trail: Learning the Java Language
    Good luck!
    ~

  • NI PCIe-6509 register level programming

    I'm asking National personnel, who is responsible for device driver developing, to give me information about register level programming. Programming this board using DAQmx software is too slow for us - about 2,5MHz is the maximum for one pin.
    I've already have RLP for PCI version of this board, but PCIe is different - only one BAR is available - and size of memory region also differ (512K). I've written skeleton kernel module for this board - and now problems to attach to hardware, but information absence stops me to progress further.
    Please, help me.

    Yes, RLP for the PCIe-6509 is different than for the PCI-6509. Looking at the hardware itself, you can see we've used different ASICs. The newer express revision has two STC3 ASICs while the previous PCI revision has two STC2 ASICs. These chips are different as you've encountered and thus their programming is also different.
    Unfortunately, we do not have any RLP information for the STC3 at this time, nor do we have projections for when it will be made available. If this is an urgent need, please contact your local sales or support engineer and we may be able to work with your further.
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

  • I get errors When running the example programs SampleMetadataDiscoverer10g

    I installed database is 10g release 2 on Windows XP,and AWM version is 102010A.
    When running the example programs SampleMetadataDiscoverer10g.java to get the OLAP metadata,I get the following errors:
    oracle.express.idl.util.OlapiException: java.sql.SQLException: ORA-37158: CLOB &#25110;&#21487;&#21464;&#25968;&#32452;&#36755;&#20837;&#21442;&#25968;&#38169;&#35823;: (&#24773;&#24418; 6)
    ORA-06512: &#22312; "SYS.GENSERVERINTERFACE", line 46
    ORA-06512: &#22312; line 1
    at oracle.express.idl.ExpressConnectionModule.ServerInterfaceStub.connect(ServerInterfaceStub.java:694)
    at oracle.express.olapi.data.full.ExpressDataProvider.connect(ExpressDataProvider.java:436)
    at oracle.express.olapi.data.full.ExpressDataProvider.initialize(ExpressDataProvider.java:282)
    at oracle.olapi.examples.chapter4.MyConnection10g.connectToDB(MyConnection10g.java:126)
    at oracle.olapi.examples.chapter4.SampleMetadataDiscoverer10g.initialize(SampleMetadataDiscoverer10g.java:57)
    at oracle.olapi.examples.BaseExample.execute(BaseExample.java:32)
    at oracle.olapi.examples.BaseExample.execute(BaseExample.java:46)
    at oracle.olapi.examples.chapter4.SampleMetadataDiscoverer10g.main(SampleMetadataDiscoverer10g.java:44)
    Closing JDBC connection.
    Closed the connection.
    please..can someone give me some advice? thanks!

    I got the same error while doing "dp.initialize()"
    I fixed this error by chang the the "olap_api.jar class12.jar" to "o4j.jar".
    But i can't explain that.
    Can anyone tell me why?
    By the way , the "olap_api.jar class12.jar" are copy from the %ORACLE_HOME%\10.2.0\db_1\olap\api\lib .

  • PLSQL compiles but doesn't run.. I've declared it everywhere but still..

    PLSQL compiles but doesn’t run.. I’ve declared it everywhere but still..
    Afternoon.. Hopefully a quick one for someone.. I’m trying to run a Concurrent Program in ORACLE Financials using a Data Template derived BI Publisher report.
    Error message received..
    SUBIXCLT module: UofS Expense Claim Tracking Report
    +--------------------------------------------------------------------------
    All Parameters: raisedby=:status=:claimant=:expense_date_from=:expense_date_to=:LP_ORDERED_BY=Expense Report Number
    Data Template Code: SUBIXCLT
    Data Template Application Short Name: PO
    Debug Flag: N
    {raisedby=, claimant=, expense_date_to=, expense_date_from=, status=, LP_ORDERED_BY=Expense Report Number}
    Calling XDO Data Engine...
    [060410_025628319][][STATEMENT] Start process Data
    [060410_025628324][][STATEMENT] Process Data ...
    [060410_025628329][][STATEMENT] Executing data triggers...
    [060410_025628329][][STATEMENT] BEGIN
    SUBIXCLT.claimant := :claimant ;
    SUBIXCLT.expense_date_from := :expense_date_from ;
    SUBIXCLT.expense_date_to := :expense_date_to ;
    SUBIXCLT.raisedby := :raisedby ;
    SUBIXCLT.status := :status ;
    SUBIXCLT.lp_ordered_by := :lp_ordered_by ;
    :XDO_OUT_PARAMETER := 1;
    END;
    l_flag Boolean;
    BEGIN
    l_flag := SUBIXCLT.BEFOREREPORT(L_ORDERED) ;
    if (l_flag) then
    :XDO_OUT_PARAMETER := 1;
    end if;
    end;
    [060410_025628356][][EXCEPTION] SQLException encounter while executing data trigger....
    java.sql.SQLException: ORA-06550: line 4, column 33:
    PLS-00201: identifier 'L_ORDERED' must be declared
    ORA-06550: line 4, column 1:
    PL/SQL: Statement ignoredThe Data Template
    The Data Template
    <?xml version="1.0" encoding="utf-8" ?>
    - <dataTemplate name="UofS_OutstandngExpenses_Report" defaultPackage="SUBIXCLT" dataSourceRef="FINDEV" version="1.0">
    - <properties>
      <property name="xml_tag_case" value="upper" />
      <property name="include_parameters" value="true" />
      <property name="debug_mode" value="on" />
      </properties>
    - <parameters>
      <parameter name="claimant" dataType="character" defaultValue="" />
      <parameter name="expense_date_from" dataType="date" defaultValue="" />
      <parameter name="expense_date_to" dataType="date" defaultValue="" />
      <parameter name="raisedby" dataType="character" defaultValue="" />
      <parameter name="status" dataType="character" defaultValue="" />
      <parameter name="lp_ordered_by" dataType="character" defaultValue="" />
      </parameters>
    - <dataQuery>
      <dataTrigger name="beforeReportTrigger" source="SUBIXCLT.BEFOREREPORT(L_ORDERED)" />
    - <sqlStatement name="Q1">
    - <![CDATA[
    SELECT DISTINCT
    erh.invoice_num,
    pap.full_name EMP_CLAIMING,
    DECODE(NVL(erh.expense_status_code, 'Not yet Submitted (NULL)'), 'CANCELLED', 'CANCELLED',
         'EMPAPPR', 'Pending Individuals Approval',      'ERROR', 'Pending System Administrator Action',
         'HOLD_PENDING_RECEIPTS     ', 'Hold Pending Receipts', 'INPROGRESS', 'In Progress', 'INVOICED', 'Ready for Payment',
         'MGRAPPR', 'Pending Payables Approval', 'MGRPAYAPPR', 'Ready for Invoicing', 'PAID', 'Paid',
         'PARPAID', 'Partially Paid',     'PAYAPPR', 'Payables Approved',     'PENDMGR', 'Pending Manager Approval',
         'PEND_HOLDS_CLEARANCE', 'Pending Payment Verification',     'REJECTED', 'Rejected',     'RESOLUTN',     'Pending Your Resolution',
         'RETURNED',     'Returned',     'SAVED',     'Saved',     'SUBMITTED',     'Submitted',     'UNUSED',     'UNUSED',
         'WITHDRAWN','Withdrawn',     'Not yet Submitted (NULL)') "EXPENSE_STATUS" ,
    NVL(TO_CHAR(erh.report_submitted_date,'dd-MON-yyyy'),'NULL') SUBMIT_DATE,
    NVL(TO_CHAR(erh.expense_last_status_date,'dd-MON-yyyy'),'NULL') LAST_UPDATE,
    erh.override_approver_name ER_Approver,
    fu.description EXP_ADMIN,
    erh.total,
    erh.description 
    FROM
    AP_EXPENSE_REPORT_HEADERS_all erh,
    per_all_people_f pap, fnd_user fu
    WHERE erh.employee_id = pap.person_id
    AND fu.user_id = erh.created_by
    AND NVL(erh.expense_status_code, 'Not yet Submitted') NOT IN  ('MGRAPPR', 'INVOICED', 'PAID', 'PARPAID')
    AND pap.full_name = NVL(:claimant, pap.full_name)
    AND TRUNC(erh.report_submitted_date) BETWEEN NVL(:expense_date_from, '01-JAN-1999') AND NVL(:expense_date_to,'31-DEC-2299')
    AND fu.description = NVL(:raisedby,fu.description)
    AND erh.expense_status_code = NVL(:status,erh.expense_status_code) &LP_ORDERED_BY
      ]]>
      </sqlStatement>
      </dataQuery>
      <dataTrigger name="beforeReportTrigger" source="SUBIXCLT.BEFOREREPORT(L_ORDERED)" />
    - <dataStructure>
    - <group name="G_XP_CLM_TRACKNG" source="Q1">
      <element name="INVOICE_NUM" value="INVOICE_NUM" />
      <element name="EMP_CLAIMING" value="EMP_CLAIMING" />
      <element name="EXPENSE_STATUS" value="EXPENSE_STATUS" />
      <element name="SUBMIT_DATE" value="SUBMIT_DATE" />
      <element name="LAST_UPDATE" value="LAST_UPDATE" />
      <element name="LP_ORDERED_BY" dataType="varchar2" value="SUBIXCLT.LP_ORDERED_BY" />
      </group>
      </dataStructure>
      </dataTemplate>The PL SQL..
    The PL SQL..
    CREATE OR REPLACE PACKAGE Subixclt IS
    L_ORDERED  VARCHAR2(50);
    RAISEDBY VARCHAR2(50);
    STATUS VARCHAR2(50);
    CLAIMANT VARCHAR2(50);
    LP_ORDERED_BY VARCHAR2(50);
    FUNCTION BEFOREREPORT(L_ORDERED IN VARCHAR2) RETURN VARCHAR2;
    EXPENSE_DATE_FROM DATE;
    EXPENSE_DATE_TO DATE;
    --RETURN VARCHAR2;
    END;
    CREATE OR REPLACE PACKAGE BODY Subixclt IS
    FUNCTION BEFOREREPORT(L_ORDERED IN VARCHAR2)RETURN VARCHAR2 IS
    BEGIN
    Fnd_File.PUT_LINE(Fnd_File.LOG,'L_ORDERED'||L_ORDERED);
    DECLARE
    LP_ORDERED_BY VARCHAR2(50);
    L_ORDERED  VARCHAR2(50);
    RAISEDBY VARCHAR2(50);
    STATUS VARCHAR2(50);
    CLAIMANT VARCHAR2(100);
    EXPENSE_DATE_FROM DATE;
    EXPENSE_DATE_TO DATE;
    BEGIN
    IF (LP_ORDERED_BY='Expense Report Number') THEN
         LP_ORDERED_BY :='order by 1 asc;';
      ELSIF (LP_ORDERED_BY='Person Claiming') THEN
         LP_ORDERED_BY :='order by 2 asc;';
      ELSIF (LP_ORDERED_BY='Submit Date') THEN
      LP_ORDERED_BY :='order by 4 asc;';
      END IF;
    RETURN(L_ORDERED);
    --RETURN NULL;
    END;
    END;
    END;Thanks for looking..
    Steven
    Edited by: Mr_Alkan on Jun 4, 2010 3:35 PM

    One has to initialise a session first for use with Oracle Apps if you want to make it run as a concurrent job.
    Any decleration within your package will not be recognised unless initialisation is sucessful.
    Investigate the built-in packages:
    FND_GLOBAL - for initialisation
    FND_SUBMIT - for setting session relevant parameters
    -- function returns true or false depending on whether the initialisation was sucessful or not
    create or replace function is_Init_OK (p_User_Name       in varchar2
                                          ,p_Responsibility  in varchar2
                                          ,p_Language        in varchar2) return boolean as
      b_Set_NLS   boolean;
      b_Set_Mode  boolean;
      r_ISet      fnd_Init := Get_Init_Set(p_User_Name, p_Responsibility);
      begin
        -- 1
        fnd_global.apps_initialize(r_ISet.User_ID, r_ISet.Resp_ID, r_ISet.App_ID);
        -- 2
        b_Set_NLS := fnd_submit.set_nls_options(p_Language);
        -- 3
        b_Set_Mode  := fnd_submit.set_mode (false);
        return (b_Set_Mode and b_Set_NLS and (    (r_ISet.Resp_ID is not null)
                                              and (r_ISet.User_ID is not null)
        exception
          when others then
            return false;
    end is_Init_OK;
    -- for example
    declare
      l_User_ID number = 'IMPORT_POST'; --- import post user
      l_Resp    number =  'Import and Posting responsibility' -- import posting responsibility
      l_Language varchar2(100) := 'AMERICAN';
      b_Init boolean := false;
      INIT_EXCEPTION exception;
    begin
      b_Init := is_Init_OK(l_User_ID, l_Resp, l_Language);
      if (not b_Init) then
        raise INIT_EXCEPTION;
      end if;
      -- conitnue with your processing
      exception 
        when others then
          when INIT_EXECPTION then
          when others then
    end;
    /

  • My program won't run.

    i'm brand new to java and i'm working on the examples to learn the language. i followed all the instructions from this page www.netbeans.org/kb/articles/gui-functionality.html. it complies just fine and when i click run it doesn't give me any errors, it just doesn't run.
    i'm using NetBeans IDE 5.5 with JDK 6.0 Bundle.
    thanks,
    -Aaron

    here's my out put on compile(F9):
    init:
    deps-jar:
    compile-single:
    BUILD SUCCESSFUL (total time: 0 seconds)
    here's my output on run(shift+F6):
    init:
    deps-jar:
    compile-single:
    run-single:
    BUILD SUCCESSFUL (total time: 1 second)
    and then nothing hapens. the examples that come with netbeans 5.5 compile and exicute when i compile and run, but my program doesn't. i feel like i have to be missing a step. a checked box or a bit of simple code, but i have no idea what it could be.

Maybe you are looking for

  • How to display a header on each page of the smartform?

    Hi, I have a main window with a header and a table.I want my header to be displayed on each page of the form when the table streches on several pages.In my case,my header is a template and i want it to be displayed every time my table is longer than

  • Problems installing Oracle8i Personal Edition

    Please help i have windows Me and i just purchased and oracle tool kit for my course which i am takig in school. the cd that i have is Version 8.1.5 for windows 98 is there a win me version becuase it don't want to install on my PC thanks

  • I press "Manually manage music and videos"

    hello:) why cant I press "Manually manage music and videos" when i connect my ipod nano touch to my air?

  • The welcome screen is loading every time I start up Firefox (version 5)

    I recently upgraded to version 5. Every time I start Firefox up, the "welcome to Firefox" screen is loaded in a second tab. I don't want it to load every time. The first time I launched the program was enough.

  • LMS 3.2 DFM-all devices QUESTIONED-SNMP Timeout

    I imported 26 devices to DFM. All devices became QUESTIONED, error is SNMP timeout. Here are the troubleshooting steps that I tried: 1. rediscovered devices 2. deleted and rediscovered devices 3. increase snmp timeout settings 4.re-entered snmp strin