IDLJ - HelloWorld example code problem

Hello,
i have a problem to get the CORBA HelloWorld example code
running.
compiling worked well, but as i started the HelloServer class
the java.lang.UnsupportedClassVersionError Exception is thrown
with Unsupported major.minor version 50.0.
i've compiled the code with jdk 1.6.0,
classpath is set to
/usr/local/jdk1.6.0/jre/lib/:.
any help would be great,
thx in advance,

i think i did as i set the classpath to
/usr/local/jdk1.6.0/jre/lib/:.
i did also try to set it directly to the rt.jar in the subdirectory /jre but
it didn't work .
could you please add more detail?
there's no /usr/local/jre1.6.0 in /usr/local so i thought
the jre must be the one in the jdk directory.
Thx

Similar Messages

  • Application.onConnectAccept example code problem

    Hi All,
    I'm trying to understand how client calls work and I'm stuck
    on a problem. I'm using the client code and the server code that is
    given as an example in the livedocs entry about
    Application.onConnectAccept:
    http://livedocs.adobe.com/fms/2/docs/00000656.html#107504
    That entry contains the following simple client side code
    (slightly adjusted for my URI and application name):
    nc = new NetConnection();
    nc.connect("rtmp://localhost:119/richard_at_home","jlopes");
    nc.onStatus = function(info) {
    trace(info.code);
    nc.doSomething = function(){
    trace("doSomething called!");
    And the following simple server side code:
    // When using components, always load components.asc.
    load("components.asc");
    application.onConnect = function(client, username){
    trace("onConnect called");
    gFrameworkFC.getClientGlobals(client).username = username;
    if (username == "hacker") {
    application.rejectConnection(client);
    else {
    application.acceptConnection(client);
    // Code is in onConnectAccept and onConnectReject statements
    // because components are used.
    application.onConnectAccept = function(client, username){
    trace("Connection accepted for "+username);
    client.call("doSomething",null);
    application.onConnectReject = function(client, username){
    trace("Connection rejected for "+username);
    When I run the code connecting to localhost it works fine
    – almost immediately I see the trace
    NetConnection.Connect.Success
    doSomething called!
    but if I cnahnge the URI to my remote server, after a brief
    wait I see the trace:
    NetConnection.Connect.Success
    So despite having identical main.asc files the remote server
    is failing to successfully call "doSomething" on the client. At
    first I wondered if this was a network or a firewall issue, but
    that seems unlikely since such issues should make the "onStatus"
    call fail too.
    Can anyone see what's wrong? If not has anyone got any
    debugging tips I could use to work it out?
    Cheers,
    Tim.

    i think i did as i set the classpath to
    /usr/local/jdk1.6.0/jre/lib/:.
    i did also try to set it directly to the rt.jar in the subdirectory /jre but
    it didn't work .
    could you please add more detail?
    there's no /usr/local/jre1.6.0 in /usr/local so i thought
    the jre must be the one in the jdk directory.
    Thx

  • JSAPI : Problems with the speech recognition HelloWorld example

    I just started off with JSAPI. And I immediately ran into problems. These are the configurations and the stuff I did:
    My system:
    OS: WinXP
    JDK: JDK 6 Update 10
    IDE: Netbeans 6.0
    I downloaded the FreeTTS.zip from the FreeTTS site [http://freetts.sourceforge.net/docs/index.php] . I expanded it and in the lib folder I ran the jsapi.exe and as a result jsapi.jar war generated.
    I included this jar in my project lib as jar.
    Then I copy pasted HelloWorld speech recognition example code given in the site : [http://java.sun.com/products/java-media/speech/forDevelopers/jsapi-guide/Recognition.html#11644]
    First it gave a compile time error that
    rec.deallocate();throws an exception which needs to be handled. Accordingly I surrounded it with a try catch block and caught the exceptions in the manner given below:
       try{
             rec.deallocate();
                        System.exit(0);
                    } catch (EngineException ex) {
                        Logger.getLogger(HelloWorld.class.getName()).log(Level.SEVERE, null, ex);
                    } catch (EngineStateError ex) {
                        Logger.getLogger(HelloWorld.class.getName()).log(Level.SEVERE, null, ex);
    Now the code was compiling without problems.
    When I executed the code a runtime exception (NullPointerException) was thrown at the line
          rec.allocate();  in the psvm(String args[])
    Can anybody please explain to me where I am going wrong? Or is there something more that needs to be added in the code?
    Anxiously waiting to hear from your end.
    Thanks and regards,

    Hi All,
    I am using following code
    import javax.speech.*;
    import javax.speech.synthesis.*;
    import java.util.Locale;
    public class HelloWorld {
         public static void main(String args[]) {
              try {
                   // Create a synthesizer for English
                   Synthesizer synth = Central.createSynthesizer(
                        new SynthesizerModeDesc(Locale.ENGLISH));
                               synth.waitEngineState(Synthesizer.ALLOCATED);
                   //Synthesizer synth = Central.createSynthesizer (null);
                   // Get it ready to speak
                   synth.allocate();
                   synth.resume();
                   // Speak the "Hello world" string
                   synth.speakPlainText("Hello, world!", null);
                   // Wait till speaking is done
                   synth.waitEngineState(Synthesizer.QUEUE_EMPTY);
                   // Clean up
                   synth.deallocate();
              } catch (Exception e) {
                   e.printStackTrace();
    }and i am also getting following error
    java.lang.NullPointerException
            at HelloWorld.main(HelloWorld.java:18)My class path is set to
    jsapi.jar (extracted from freetts 1.2.1)
    freetts.jar
    Please i didn't find any solution from past replies so please do help me someone to solve this...
    Thanking You....

  • Problem when using IRoomInfoReader/IRopomUsers in SDN example code

    Hi I am working on EP 6.0 SP2 P31, KMC 6.0 SP2 P31 and making Room development with NW Developer Studio. From https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/knowledge management and collaboration developers guide.html  I got the room extension example in com.sap.netweaver.kmc.roomextension.zip. I just add a ON_AFTER_CREATE_ROOM and code for handling this event before adding
    IRoomInfoReader roomInfo = (IRoomInfoReader)context.getValue(RoomExtensionParameter.ROOM_INFO);
    or
    IRoomUsers roomUsers = (IRoomUsers)context.getValue(RoomExtensionParameter.ROOM_INFO);
    (in order to retrieve the newly created room’s owner's id)
    The example code is working, the extensions are visible, they can be added to our room template and room can be created successfully with this template.
    After adding one of these two commands program stops just before this command line and there is no error message recorded in the log file.
    Does this KMC release version support using these two interfaces? Thanks for help.
    Best regards.
    Wang

    Hi Wang,
    as a lucky guy working on SP2, you have all logs at hand - did you check both \usr\sap\<id>\j2ee\j2ee_00\cluster\server\managers\console_logs\...error.log as well as \usr\sap\<id>\j2ee\j2ee_00\cluster\server\managers\log\portal\logs\knowledgemanagement.x.log ?!
    Did you try to log extensively? try/catch every Exception?
    Both interfaces do exist on SP2 P31.
    Did you check which class context.getValue(RoomExtensionParameter.ROOM_INFO) in fact produces?! (If not null, ask for .getClass().getName().)
    Hope it helps
    Detlev

  • HelloWorld example problem...

    something seems to be wrong when i try to run the HelloWorld example as if it doesnt echo anything back...
    1)i am building all the necessary files
    2)i edit the script file and add powerup powerdown and select applet (just as durangova explained in a previous message!)
    3) i run cref -o demoee
    4)in different window i run apdutool HelloWorld.scr and this output comes out:
    C:\test\helloworld\javacard>apdutool HelloWorld.scr
    Java Card ApduTool (version 0.15)
    Copyright (c) 2001 Sun Microsystems, Inc. All rights reserved.
    Opening connection to localhost on port 9025.
    Connected.
    Received ATR = 0x3b 0xf0 0x11 0x00 0xff 0x00
    Select the installer applet
    CLA: 00, INS: a4, P1: 04, P2: 00, Lc: 09, a0, 00, 00, 00, 62, 03, 01, 08, 01, Le
    : 00, SW1: 90, SW2: 00
    CLA: 80, INS: b0, P1: 00, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b2, P1: 01, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 01, P2: 00, Lc: 16, 01, 00, 13, de, ca, ff, ed, 01, 02, 04
    , 00, 01, 09, a0, 00, 00, 00, 62, 03, 01, 0c, 01, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: bc, P1: 01, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b2, P1: 02, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 02, P2: 00, Lc: 20, 02, 00, 1f, 00, 13, 00, 1f, 00, 0e, 00
    , 0b, 00, 36, 00, 0c, 00, 67, 00, 0a, 00, 13, 00, 00, 00, 6c, 00, 00, 00, 00, 00
    , 00, 01, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 02, P2: 00, Lc: 02, 01, 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: bc, P1: 02, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b2, P1: 04, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 04, P2: 00, Lc: 0e, 04, 00, 0b, 01, 00, 01, 07, a0, 00, 00
    , 00, 62, 01, 01, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: bc, P1: 04, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b2, P1: 03, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 03, P2: 00, Lc: 11, 03, 00, 0e, 01, 0a, a0, 00, 00, 00, 62
    , 03, 01, 0c, 01, 01, 00, 14, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: bc, P1: 03, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b2, P1: 06, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 06, P2: 00, Lc: 0f, 06, 00, 0c, 00, 80, 03, 01, 00, 01, 07
    , 01, 00, 00, 00, 1f, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: bc, P1: 06, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b2, P1: 07, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 07, P2: 00, Lc: 20, 07, 00, 67, 00, 02, 10, 18, 8c, 00, 01
    , 18, 11, 01, 00, 90, 0b, 87, 00, 18, 8b, 00, 02, 7a, 02, 30, 8f, 00, 03, 3d, 8c
    , 00, 04, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 07, P2: 00, Lc: 20, 3b, 7a, 05, 23, 19, 8b, 00, 05, 2d, 19
    , 8b, 00, 06, 32, 03, 29, 04, 70, 19, 1a, 08, ad, 00, 16, 04, 1f, 8d, 00, 0b, 3b
    , 16, 04, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 07, P2: 00, Lc: 20, 1f, 41, 29, 04, 19, 08, 8b, 00, 0c, 32
    , 1f, 64, e8, 19, 8b, 00, 07, 3b, 19, 16, 04, 08, 41, 8b, 00, 08, 19, 03, 08, 8b
    , 00, 09, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 07, P2: 00, Lc: 0a, 19, ad, 00, 03, 16, 04, 8b, 00, 0a, 7a
    , Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: bc, P1: 07, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b2, P1: 08, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 08, P2: 00, Lc: 0d, 08, 00, 0a, 00, 00, 00, 00, 00, 00, 00
    , 00, 00, 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: bc, P1: 08, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b2, P1: 05, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 05, P2: 00, Lc: 20, 05, 00, 36, 00, 0d, 02, 00, 00, 00, 06
    , 80, 03, 00, 03, 80, 03, 01, 01, 00, 00, 00, 06, 00, 00, 01, 03, 80, 0a, 01, 03
    , 80, 0a, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 05, P2: 00, Lc: 19, 06, 03, 80, 0a, 07, 03, 80, 0a, 09, 03
    , 80, 0a, 04, 03, 80, 0a, 05, 06, 80, 10, 02, 03, 80, 0a, 03, Le: 00, SW1: 90, S
    W2: 00
    CLA: 80, INS: bc, P1: 05, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b2, P1: 09, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: b4, P1: 09, P2: 00, Lc: 16, 09, 00, 13, 00, 03, 0e, 25, 2c, 00, 0c
    , 05, 0c, 06, 04, 08, 05, 10, 0c, 08, 09, 06, 09, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: bc, P1: 09, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    CLA: 80, INS: ba, P1: 00, P2: 00, Lc: 00, Le: 00, SW1: 90, SW2: 00
    C:\test\helloworld\javacard>
    i can see that some Lc fields have data but all the Le fields have 00..
    does this mean that the response apdus carry no data??
    if so why this happen??
    shouldnt it echo back something?
    can anybody clear this to me?
    thanks a lot in advance!!!!!

    In the previous u have replied "You now have to issue apdu commands for the hello world applet"
    here what ur meant to say, hope it is command apdu to the card if so pls tell us how to supply command apdu to the card. Do we write the seperate host application that includes ctlistener classes, service classes etc., ?

  • Is there example code for using Ni488 and PCI-GPIB card in non controller mode?

    Is there example code for using Ni488 and PCI-GPIB card in non controller mode?

    cymrieg,
    Your code looks good to me. What is the problem? What happens when it fails? What is the IBSTA value on the controller, and at what point in the code does it stop? What is the IBSTA value on the slave, and at what point does it stop?
    One thing is that you might not want to call IBCLR() in a loop on the device. At the beginning of the program is fine...This will send a clear command to the device and will clear out any LACS and TACS bits that might be set. Also your IBDEV call shouldn't be in a loop.
    Hope this helps, but let me know if you need more information.
    Scott B.
    GPIB Software
    National Instruments

  • Incoming payments - payment on account example code for 8.8

    Hi
    Would anyone have example code for SAP B1 8.8 of an incoming payment - payment on account example please
    Thanks
    Regards Andy

    Hi Ed
    Thanks
    I actually had a problem with my own code but it turned out someone gave me the wrong gl code to use !
    Thanks again
    Regards Andy

  • Asking for example code (RFComm Bluetooth Application)

    hello there, i almost give up on finding a way to connect a client application using widcomm sdk on pc to server application using jsr82 j2me on mobile ph0ne ...
    anybody can give me an example code for connecting both of them ...
    if u can, or have some advice for me please give me that valueable thing...
    my recent not working application :
    - server deployed on mobile phone using jsr82 j2me
    - client on pc using widcomm sdk visual c++ .net
    or may be u can correct and give me advice for my code bellow...
    Server (JSR82) :
    private static final UUID APP_UUID = new UUID("F0E0D0C0B0A000908070605040302010", false);
    private static final String URL = "btspp://localhost:"+APP_UUID+";name=My App;authorize=false";
    private static final String APP_ID = "My App";
    private static final int ATTR_ID = 0x1234;
    try {
    localDevice = LocalDevice.getLocalDevice();
    localDevice.setDiscoverable(DiscoveryAgent.GIAC);
    notifier = (StreamConnectionNotifier)Connector.open(URL);
    DataElement base = new DataElement(DataElement.STRING, APP_ID);
    record = localDevice.getRecord(notifier);
    record.setAttributeValue(ATTR_ID, base);
    connection = notifier.acceptAndOpen();
    catch(Exception e) {
    System.err.println(e.getMessage());
    Client (Widcomm SDK) :
    StartDiscovery(m_BdAddr, m_pServiceGuid)CSdpDiscoveryRec Sdp_Record;
    if ( ReadDiscoveryRecords(m_BdAddr, 1, &Sdp_Record, m_pServiceGuid) )
    UINT8 scn;
    SDP_DISC_ATTTR_VAL *pVal;
    if ( Sdp_Record.FindRFCommScn(&scn) )
    //if(Sdp_Record.FindAttribute(0x1234, pVal))
    I can't find an RFComm channel number from server (the j2me one)
    regards, Arch_Cancer
    // sorry my bad english
    Edited by: Arch_Cancer on Jun 20, 2008 12:03 AM

    Still looking for solutions. Looks like many Z-W88 users are having trouble with iPhone only. Assistant does not ask for pairing code, just ask confirmation of a six digit number or Bluetooth device.
    Also this problem is more common on recent iOS versions.
    There is not info about how to force iPhone to ask for pairing code, and support at stores have no idea how to make it work either, so I'm kind of stuck with this.
    If anyone have any ideas I'm open to them...
    Thanks :)

  • Error in Running Synchronous HelloWorld Example

    Hi All,
    I am new to Oracle business process manager so I am facing problem in running simple Synchronous HelloWorld example.When I build in an eclipse BPEL designer I got the following error :
    Buildfile: C:\Documents and Settings\dcb\workspace\SyncHelloWorld\build.xml
    main:
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10071]: unresolved xpath function
    [bpelc] [Description]: in line 37 of "C:\Documents%20and%20Settings\dcb\workspace\SyncHelloWorld\SyncHelloWorld.bpel", could not resolve xpath function "", because function "bpws:getVariableData" not registered.
    [bpelc] [Potential fix]: please make sure to register this function in xpath-functions.xml file located under domain config directory and make sure that function prefix is mapped to correct namespace in <process> activity.
    [bpelc] .
    BUILD FAILED
    C:\Documents and Settings\dcb\workspace\SyncHelloWorld\build.xml:28: Validation error
    Total time: 2 seconds
    I would appreciate if someone could tell me the cause of this error.Thanks.
    Kashif

    Hi,
    I copied my project into the non whitespaced directory i.e C:\OraBPELPM_1\workspace\SyncHelloWorld
    and I checked the xpath-functions.xml file at location $BPEL_HOME/\integration\orabpel\domains\default\config,getVariableData function and it is there.
    But still I am getting the following error:
    Buildfile: C:\OraBPELPM_1\workspace\SyncHelloWorld\build.xml
    main:
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10071]: unresolved xpath function
    [bpelc] [Description]: in line 36 of "C:\OraBPELPM_1\workspace\SyncHelloWorld\SyncHelloWorld.bpel", could not resolve xpath function "", because function "bpws:getVariableData" not registered.
    [bpelc] [Potential fix]: please make sure to register this function in xpath-functions.xml file located under domain config directory and make sure that function prefix is mapped to correct namespace in <process> activity.
    [bpelc] .
    BUILD FAILED
    C:\OraBPELPM_1\workspace\SyncHelloWorld\build.xml:28: Validation error
    Any suggestions would be appreciated.
    Kashif

  • Bugs in "Oracle 9iJDeveloper Handbook" Example Code

    Does any one know why the BC4J "DataHandler Component" Tag does not work? I'm looking at page 132 of the "Oracle9i JDeveloper Handbook", were it discusses executing the LocDept.jsp code example.
    Problem is, the First Previous Next Last Navigation Bar does not work properly -- only the first and last rows are displayed from the result set.
    I am not the only one experiencing this -- a prof. at the college where I'm taking classes can't get it to work either.
    Is this a bug in the BC4j library -- does anyone have a fix. I'm running JDev 9.0.4.0.0 build 1347.

    This practice in the book was developed with JDev 9.0.3 build 988 (late beta) and confirmed with build 1035 (production). I remember some issues with the navigator control in earlier builds but had not experienced that one with the 988 and 1035 builds. It is possible some bug was introduced on this control between 9.0.3 and 9.0.4. If you are able to get your hands on an earlier 9.0.3 version, you would be able to confirm that.
    Additionally, you could try to generate a full BC4J JSP application from the New gallery. It contains the navigator bar and, if it works there, you could compare the JSP files to see if there are any differences.
    Regards,
    Peter Koletzke

  • Error when using example code

    Hi all,
    im trying to create a program for communication over a LAN network with a spectrum analyser.
    when i use a standard example code i get errors like this one:
    [Linker error] undefined reference to `viOpenDefaultRM@4'
    did i made a fault in linking?

    DAV C++ uses a GCC based compiler. The VISA DLL is compiled with MSVC. This will cause a problem with the calling convertions used and expected.
    Basiclly the visa DLL uses 'viOpenDefaultRM' but the GCC expects viOpenDefaultRM@4, and thus can't find it in the DLL. You can solve this manually.
    The basic steps are:
    1. Generate a .def file from the DLL for example with pexports.
    2. correct the .def file so all the functions have the correct decorations as expected by GCC.
    3. Create a new import library,
    For more infomation see this post about the same issue with NI-DAQmx
    An other option would be to use the Visual Studio 2005 express editions?
    And in some configuration you will need to buy a license to use NI-VISA: http://www.ni.com/visa/license.htm
    Hope this helps
    Karsten

  • Error 200428 in linux example code

    Hi All;
    I'm trying to use the mx daq-base on a redhat 9.0 system. I have a 6031E installed(pci). I've installed the hardware, then the software and compiled the example code. When I try to run the writeDigPort example I get;
    Device indentifier is invalid.
    DAQmxBase Error: -200428
    lsdaq reports:
    NI 603E: "Dev2" (PXIO::16::0)
    Nay ideas?
    Pat

    After further looking into the problem I'm getting an error -200220
    here is the suspect code
    char chan[] = "dev1/port0:1";
    error1= DAQmxBaseCreateDOChan(taskHandle,chan,"",DAQmx_Val​_ChanForAllLines);
    DAQmxBaseGetExtendedErrorInfo (errBuff, 2048);
    printf("\nDAQmxBaseCreateDOChan returned %d %s",error1,errBuff);
    This gives the following output
    DAQmxBaseCreateTask returned 0
    DAQmxBaseCreateDOChan returned -200220 Device identifier is invalid.
    Data to write: 0x55
    DAQmxBaseGetExtendedErrorInfo returned -200428 Value passed to the Task/Channels In control is invalid.
    Anyone have any idea?
    Pat

  • Labview - LIN Goepel 3072 - Example code

    Is there example code for managing with Labview the LIN communications with the Goepel card PXI3072?
    I've bought the card to Goepel (it's indicated on the NI web) but I've only one sample and the manual guide, I'm searching on the forums but I don't find additional support.
    If someone can help me ...
    Thanks,

    Hi Ihb,
    You should have found some examples along with the Drivers provided in the CD which comes along with the card. If not, you can contact Goepel and they can provide them.
    Also, using the card is not that difficult. As long as your header command construction is ok, you should not have problems since this is the basic foundation for sending commands to the card.
    Regards,
    Ashm01

  • Example code labview rt8.0

    Does example code exist to connect to a remote PXI chassis running LV RT 8.0? 
    I would like to access a DAQmx compatablie card using an executable running on a laptop.  The laptop would be connected to the PXI chassis using a TCIP crossover cable.  The executable would use the remote DAQmx card on the PXI RT chassis.  This is a piece of cake to do in LV 7.1. In LV 7.1 when the executable is launched on the laptop, a choice of execution target is given.  I can select Labview windows, or "150.254.0.2" real time controller.  When "150.254.0.2" is selected, the application loads via TCIP to the PXI controller and runs.  The front pannel VI stays open on the laptop allowing the button pushing or text entering, whatever is needed to make the program happy. This is then run on the PXI controller with no problems.
    See application note:  http://zone.ni.com/devzone/conceptd.nsf/webmain/81​B6674F3556599B862568CF005D26C6
    How to do in LV 8.0 please?  Thanks. 

    Hello Takata:
    You are right. This option existed in 7.1 but no longer exists in 8.0. This is due to the massive internal differences between the way 8.0 and 7.1 work. As of right now there is no example code that exists currently to do this. We are working on a utility that will accomplish this and will notify as soon as it is complete. However, as of now the same thing can be accomplished by using FTP and VI Server. Basically a wrapper VI around the executable that would download the files to the target and run them dynamically.
    We apologize for the inconvenience related to this issue and are trying our best to come up with a solution soon.
    Best Regards,
    Jaideep

  • Awesome Site with Example Code For All Classes

    Very cool site that has example code for all the Java classes and APIs. You can submit example code yourself too!
    http://www.kickjava.com/

    kevjava wrote: Some things that I think would be useful:
    Suggestions reordered to suit my reply..
    kevjava wrote: 2. Line numbering, and/or a line counter so you can see how much scrolling you're going to be imposing on the forum readers.
    Good idea, and since the line count is only a handful of lines of code to implement, I took that option. See the [line count|http://pscode.org/stbc/help.html#linecount] section of the (new) [STBC Help|http://pscode.org/stbc/help.html] page for more details. (Insert plaintiff whining about the arbitrary limits set - here).
    I considered adding line length checking, but the [Text Width Checker|http://pscode.org/twc/] ('sold separately') already has that covered, and I would prefer to keep this tool more specific to compilation, which leads me to..
    kevjava wrote: 1. A button to run the code, to see that it demonstrates the problem that you wish for the forum to solve...
    Interesting idea, but I think that is better suited to a more full blown (but still relatively simple) GUId compiler. I am not fully decided that running a class is unsuited to STBC, but I am more likely to implement a clickable list of compilation errors, than a 'run' button.
    On the other hand I am thinking the clickable error list is also better suited to an altogether more abled compiler, so don't hold your breath to see either in the STBC.
    You might note I have not bothered to update the screenshots to show the line count label. That is because I am still considering error lists and running code, and open to further suggestion (not because I am just slack!). If the screenshots update to include the line count but nothing else, take that as a sign. ;-)
    Thanks for your ideas. The line count alone is worth a few Dukes.

Maybe you are looking for