How to run ni-daq examples within BorlandC 5.02

The results of compilation and runnig within BorlandC 5.02 IDE are below.
Info :Compiling C:\Program Files\National Instruments\NI-DAQ\Examples\BorlandC\Ai\aionepoint.c
Warn : aionepoint.c(78,2):'iRetVal' is assigned a value that is never used
Warn : aionepoint.c(56,2):'iStatus' is assigned a value that is never used
Info :Linking C:\Program Files\National Instruments\NI-DAQ\Examples\BorlandC\Ai\AIonePoint.exe
Error: Error: Unresolved external 'AI_VRead' referenced from C:\PROGRAM FILES\NATIONAL INSTRUMENTS\NI-DAQ\EXAMPLES\BORLANDC\AI\AIONEPOINT.OBJ
Error: Error: Unresolved external 'NIDAQErrorHandler' referenced from C:\PROGRAM FILES\NATIONAL INSTRUMENTS\NI-DAQ\EXAMPLES\BORLANDC\AI\AIONEPOINT.OBJ

Hello;
There is a good KnowledgeBase at www.ni.com that talks about how to run NI-DAQ examples at Borland. You might want to double check that to see if you are including all the necessary files.
If you go to NI home page and type +ni-daq +example +run +borland, the first result of the search is the link to that KB.
Hope this helps.
Filipe

Similar Messages

  • How to run a specific LOVs within a single form? [SOLVED]

    Hi people,
    I am new to forms.I have two LOVs in a single form LOV7 and LOV25.one is created through wizard and other is created manually.while i execute the form automatic lov(LOV7) gets displayed.but what i should do to run the manually created LOV25?.am using forms 6i with oracle 9i.thanku
    With Regards
    VIDS
    Edited by: vidusnat on Apr 25, 2009 2:39 AM

    Hai vidusnat,
    In forms, set the control property List Of Values.
    In this case the property will be set by the LOV name which u have created through wizard(LOV7).
    select the LOV name(LOV25) which u created manually.
    Or U can set this property by code also.
    SET_ITEM_PROPERTY('control NAME', LOV_NAME, 'lov name');
    or in the KEY-LISTVAL Procedure, u can call the desired LOV.
    DECLARE
         Bln_Temp BOOLEAN;     
    BEGIN
         IF condition1 THEN
              Bln_Temp := SHOW_LOV('lov 1 name');
    ELSE
              Bln_Temp := SHOW_LOV('lov 2 name');
         END IF;
    END;     
    Regards,
    Manu.

  • How to run jsp(jdbc) example on tomcat5.0.30

    Hi all,
    I am using tomcat5.0.30 and oracle8.0.5

    there is a tutorial in the tomcat documentation, follow that.

  • How to run long background jobs in ADF applications

    Hi,
    I'm looking for some guidance on how to run an asynchronous job within an ADF application with proper progress notification in the current page.
    Let's assume we have some long running task (e.g. generating notification emails from a bunch of rows in my view object and send them) with the corresponding classes implemented in the DataModel as part of the business logic (e.g. a class that sends a mail to a given recipient).
    Let's assume all the relevant methods can be exposed in the appmodule's client interface so they can be invoked from the ViewController if needed.
    In my jspx page I have implemented the standard af:poll+af:progressIndicator mechanism to give feedback about the running task, backed by a custom BoundedRangeModel
    with methods getValue() and getMaximum(). This works.
    However, all the examples I've found on the net are very very simplistic and only deal with simple counters or countdowns.
    But how to actually implement the whole mechanism in a real life scenario? How do I run the job itself and make it give feedback to my BoundedRangeModel class
    (which in turn is used by the progressIndicator on the page)?
    Is there a recommended way to do this within ADF apps? I've tried to search something about asynchronous method execution in ADF but there seems to be nothing out there.
    Do I need to use standard Java techniques such as a separate Thread running a Runnable worker? Should I use an observer/observable pattern to notify BoundedRangeModel
    and update its internal variables (current value and maximum)? Would this work across a Datacontrol interface?
    Is anything of this allowed within the ADF framework or I'm just gonna break the whole framework model because do-it-yourself concurrent programming isn't allowed in a multithreaded pooled environment?
    Some explanation about the current recommended best practices and/or some practical examples or articles about that would be great.
    (BTW: I'm using version 11.1.1.2.0 and yes, I've checked the contextual events thing too, but that's just an inter-page communication mechanism so it has has nothing to do with what I need to do.)

    Hi
    I have implement a "Runner" class to generate a pdf to every customer of a mailmerge file, which was uploaded. Its simply easy to do something like this. Just add a button, bound the button with a methode out of you applicationModule and start your implementing Thread in this methode.
    public class Runner implements Runnable {
        private String docFileName;
        private String csvFileName;
        private byte[] csvData;
        private byte[] docData;
        private FtpClient client;
        private String category;
        public Runner(String category, String docFileName, byte[] docData,
                      String csvFileName, byte[] csvData, FtpClient client) {
            this.category = category;
            this.docFileName = docFileName;
            this.docData = docData;
            this.csvFileName = csvFileName;
            this.csvData = csvData;
            this.client = client;
        public void run() {
    }In your applicationModule, you can start your Runner like this:
            Runner runner =
                new Runner(category, docFileName, docData, csvFileName, csvData, client);
            new Thread(runner).start();And to the problem with your progressBar. I would create a managedBean with a HashMap<String, HashMap<String, String>>. Every thread you start, add a HashMap<String, String> to this hashmap with the id of the username/session/whatever (must be bound to the user, which starts the thread). This added HashMap<String, String> should be used by your thread to put some status-information into. Now you can try to bind this info to your progressBar.
    I dont know if this will work, it is just an idea ;-)
    Regards
    Majo

  • How to run the Invoices in different groups within the batch in AP

    Need to know that how to run the Invoices in different groups within the batch. This will be of very helpful when we deal with lot of lines under one batch. (e.g) like somewhere we issued a Corporate Card to all the employees Via Bank Of America. Every Month they will send the complete details of all the employees who ever swiped the corporate provided BOA. Accordding to Natco all those lines should be loaded as One Invoice so that a Single Payment can be provided to BOA and it will also makes their life easier. This standard program sometimes it works normal sometimes it will run like a TORTOISE. So thats why in the manual they suggested to use GROUP ID to split the Invoice Load.
    So plz tell me how we can run it
    plz give me the solution
    thanks

    can you give me some material or document on that so that i can read actuaaly i need to make doc on it..

  • How to run the parameter form example report :pform_report.jsp

    how to run the parameter form example report : pform_report.jsp ?
    I got these error message:
    Reports Error Page
    Sat Oct 18 11:58:24 CST 2003
    javax.servlet.jsp.JspException: rwlib-1: REP-6106: (, 4 L, XML 1h��/�� ' PI with the name 'xml' can occur only in the beginning of the document.'.
    javax.servlet.jsp.JspException: rwlib-1: REP-6106: (, 4 L, XML 1h��/��
    PI with the name 'xml' can occur only in the beginning of the document.'.
         at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:180)
         at examples.tools._pform__report._jspService(_pform__report.java:79)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:66)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:539)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:285)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:771)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:152)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:796)
         at java.lang.Thread.run(Thread.java:484)

    repost !
    please help!

  • How to run a spool program in unix environment within a shell script

    Hi
    I have written a spool program , which i run from SQL * PLUS
    using
    @'path of the spool file having extension .sql'
    Now i want to include this spool program within the shell script , please help me , how to do it.
    Thanks in advance ..

    user8703472 wrote:
    Thank You Sir for the reply .
    #!/bin/ksh
    ORACLE_SID=<SID>; export ORACLE_SID
    ORACLE_HOME=<ORACLE_HOME>; export ORACLE_HOME
    $sqlplus / as sysdba <<-EOFSQL1 >> output.log 2>&1
    spool /tmp/a.log
    select * from v\$instance
    spool off;
    EOFSQL1
    Please explain me this statement $sqlplus / as sysdba
    and also what a.log contains .
    i have the user id and password for the DB.
    should i write something like this
    $sqlplus -Uusername -Ppassword -Sservername
    i know how to run a procedure from isql(sybase DB)
    Ahh.... but oracle is not just sybase under a different name.
    It would be a good investment in your career to go to tahiti.oracle.com. Drill down to your product and version. There you will find the complete doc library.
    You should spend a few minutes just getting familiar with what kind of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there. Learning where to look things up in the documentation is time well spent on your career.
    For your immediate task, spend a few minutes looking through the SQLPlus User Guide and Reference.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Look in your alert log and find all the non-default initialization parms listed at instance startup. Then read up on each one of them in the Reference Manual. Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files, then bounce what you see there in the network administrators manual.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    But this project , i need to run the spool program from with in a shell script .We see what you mean, but the term "spool program" has no meaning in Oracle and only serves to cloud the issue. I know you are used to using this term with other products, but "When in Rome ...."
    >
    Thank You in advance ..

  • How to map and oprerate/run Vending Machine operations within SAP

    How to oprerate/run Vending Machine operations within SAP. Does SAP has this functionality to manage Vending Machine based business processes, operations and logistics.

    Have you considered using Google before posting or, perhaps, contacting your local SAP sales office?
    http://www.google.com/search?hl=en&q=SAPVendingMachines

  • How to run a top down allocation within BPC NW

    Hi,
    I tried to reply the "How to run a top down allocation within BPC NW" i've found in the SDN download area. I made step by step the same of the paper i check several times all the Scripts the package, the process chain, but i haven't found any mistake.
    I made from the beginning in another appset, copy from appshell
    But my result isn't the same as in the paper. My final template is empty without data.
    After running the package (it ends without error) i check the detail and in the formula log
    in some lines it says things like "No records generated" or "records queried out".
    I don't know what happens.
    Anybody who had tried before, could help me?
    Thanx in advance

    Hi,
    Based on the Entity dimension sheet provided in the How to guide, the allocation should be done in the ratio of 15:70:5:10. If you have maintained the same and the amount you want to allocate is 50000, then the allocation will be 7500, 35000, 2500, and 5000.
    Hope this helps.

  • How to Run the MDK Sample Example Application in SAP NWDS

    Hi all,
    As i go through the MDK 2.5 i have physically under gone with all option that are included in
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eba3a7-0601-0010-b982-92f1fca3258a
    this site and imported the Example 1 Application in nwds, but when try to run it,this application asking to mention some main Class option .
    tell me which class should i mention to run the example1 application.
    so please help me out of it ,
    thanks and Regards,
    Venu

    hi Venu Gopal,
    Welcome to the SDN and Mobile Community.
    Pl. check my weblog on this "Execute and Debug Applications from NWDS". /people/arunkumar.ravi/blog/2006/02/22/execute-debug-your-mi-code-from-nwds
    I've explained how to run the application from NWDS itself.
    Regards
    Arunkumar R

  • In running the datalgr example, I get the error NIDAQ32.dll cannot start.... then program exits. Version of NI DAQ is 6.9.2, using MS C++.

    In running the datalgr example, I get the error NIDAQ32.dll cannot start.... then program exits. Version of NI DAQ is 6.9.2, using MS C++.

    Since this is a DAQ question more than a Measurement Studio for VC++ question, I'd recommend you repost it to the DAQ forum.
    Cheers,
    Azucena

  • How to run examples

              Can anybody help me in running the examples coming in wl5.1. I am hard time
              figuring the documentation to run the examples.....
              Is there any step by step procedure listed in the doc....
              Thanks,
              sk
              

              Each example has details on how to run it. There is an HTML file
              included in each examples directory.
              For example, to run the JDBC examples for Oracle, you could start with
              the following page:
              http://www.weblogic.com/docs51/examples/jdbc/oracle/Package-examples.jdbc.oracle.html
              Note that this page is also copied into your examples directory under
              your Weblogic installation.
              Good luck!
              Thanks,
              Michael
              shiva katta wrote:
              >
              > Can anybody help me in running the examples coming in wl5.1. I am hard time
              > figuring the documentation to run the examples.....
              >
              > Is there any step by step procedure listed in the doc....
              >
              > Thanks,
              >
              > sk
              Thanks,
              Michael
              -- BEA WebLogic is hiring!
              Check our website: http://www.bea.com/
              

  • How to Run a Top Down Allocation within BPC NW - Excel Files

    Hello
    I Read the article How to Run a Top Down Allocation within BPC NW and I would like to replicate the sample. Where can I get the supporting excel files with dimension data.
    Thank you

    Hi,
    The dimension data are available alongwith the how to guide. You need to click on the "attachments" sign to see the attached files.
    Hope this helps.

  • How to run oracle cm sdk examples in a standalone mode?

    I encountered some difficulty on how to run the examples provided by CM SDK Developer's Guide,such as SimpleConnection.I deployed my develop enviroment in two computers,installed only oracle JDeveloper in one computer,while installed Oracle10g,Oracle AS and Oracle CM SDK on the other computer.But when I tried to run the example on the computer which was only installed Oracle JDeveloper,I always failed.I have no idea of how to run the example in a standalone mode.I hope someone who familiar with Oracle CM SDK can help me solve the problem or give me some advice.Now I list the errors which appeared when I ran the example,SimpleConnection.
    C:\Oracel JDeveloper904\jdk\bin\javaw.exe -ojvm -classpath C:\Oracel JDeveloper904\jdev\mywork\Workspace2\Project1\classes;C:\Oracel JDeveloper904\jdev\lib\jdev-rt.jar;C:\ias\cmsdk.jar;C:\ias\uix2.jar;C:\ias\classes12.jar;C:\ias\emPid.jar -DIFS.DOMAIN.Name=ifs://zhao:1521:zyh:IFSSYS -DIFS.STANDALONE.Mode=true -DIFS.SCHEMA.PASSWORD=manage oracle.ifs.examples.devdoc.connection.SimpleConnection
    Connecting...
    oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefaultService)
    oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (SmallServiceConfiguration)
    java.sql.SQLException: Io Òì³£: The Network Adapter could not establish the connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)      
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:431)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:515)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:345)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(LibraryService.java:618)
    at oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(LibraryService.java:503)
    at oracle.ifs.beans.LibraryService.startService(LibraryService.java:366)
    at oracle.ifs.examples.devdoc.connection.SimpleConnection.main(SimpleConnection.java:17)
    Process exited with exit code 0.

    The CMSDK uses the oci8 interface to connect to the database. The classes12.jar file has to correspond to the appropriate ocijdbc9.dll file; and the ocijdbc9.dll file is dependent on about 26 other DLLs beginning with oci*.dll and ora*.dll.
    I've found that the 10.1.0 and 9.2.0 database client releases contain the wrong oci*.dll family (at least for JDeveloper) and I use the 9.0.4 AS Client tree in my path when I work with CMSDK.
    My quick test is to see if I can connect to my database using JDeveloper Connect DBMS with the oci8 connection method. This seems to put out some reasonable error messages explaining why it failed, e.g. it tells you that it couldn't find the right DLL dependency.

  • How to run exception using JSP?

    How to run exception using JSP?

    Why would you need the <%%> between the if else blocks? Even if you attempt to write some data within the blocks in java, you will still get an error. For example, this is illegal:
    if(done)
        System.out.println(true);
    System.out.println("Hello World");
    else
        System.out.println(false);
    }The compiler is expecting the 'else' to be directly after the body of the if. If it encounters anything else, it will complain. So you cannot do this in jsp either, regardless if it's a different technology, it's the same compiler.

Maybe you are looking for