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

Similar Messages

  • 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

  • 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 :)

  • Problem in connection SUP 2.1 application and X-CODE 4.2.1

    Hello, I have a problem with the development of a native application in X-Code, is experiencing an error when making the connection between application server and SUP, this is the error "[ERROR] [SUPMessageClient.m: 47] - Operation failed, Unable to access the key, "someone has gone through this and can help me? I thank

    thanks for reply, I solved the problem...
    1 - I created a new user in SCC
    2 - I reset to default settings IOS Simulator

  • Does anyone have an example code to use mx:ViewStack with my application.

    Does anyone have an example code to use <mx:ViewStack>
    with my application.
    I don't know about how to put value to it and use value in
    it.

    http://livedocs.adobe.com/flex/2/langref/mx/containers/ViewStack.html#includeExamplesSumma ry
    That should be what you're looking for.

  • 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

  • The application has encountered a problem and needs to close

    I'm building an application on LV using TABs, FPGA DLLs and DLLs that comunicate with CAN, GPIB and PCI devices.
    The program apears to work properly but sometimes, and I can't see the patern, it crashes with the error "the application has encountered a problem and needs to close..."
    Sometimes the error apears when I'm trying to exit the program, some other times it crashes before that.
    I can't find the error because the program may work well for several hours and then crash or it crashes after 5 minutes of working with it.
    Any clues on what is going wrong?
    Regards,
    Daniel Coelho
    Daniel Coelho
    VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
    Controlar - Electronica Industrial e Sistemas, Lda
    Solved!
    Go to Solution.

    I'm still going through the example, but since the error ocours sporadicaly this could take some time to pinpoint the error.
    I was reviewing the code and I was wondering about some simple things, like:
    - I have to many local variables, could this be causing somekind of an error?
    - since I'm using DLLs on my code, are there a way to make sure that all DLLs are loaded and unloaded correctly?
    My program has a TAB with a simple TestStand user interface and when I change TABs I close the teststand ui; when I use that user interface I load and unload the same DLLs that I use on the other TABs, i. e., when using the UI I load all the DLLs that comunicate with the devices and when I change TABs I unload all the DLLs because on each separate TAB I can control those devices indicidually.
    It's a bit hard to explain but I think I managed
    Is there some truth on my questions? If so, what could I do?
    Daniel Coelho
    VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
    Controlar - Electronica Industrial e Sistemas, Lda

  • 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

  • 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

  • Biller Direct / UCES example code or ear

    I am implementing UCES (UCES = Biller Direct + ISU functionality). According to Biller Direct Modification documentation (http://help.sap.com/saphelp_erp2005vp/helpdata/en/05/8d763ee8f9e946e10000000a114084/frameset.htm) (under Integrating Separate Customer Functions),
    "The SAP Biller Direct delivery contains example code for customer-defined enhancements in the .ear file that you can use as template for implementing your own functions. After you have unpacked the application as set out in the implementation guide, you can find folder \docs\customerExtensions. "
    The ear file or example should have CustomerExtendAction.java, CustomerExtendRootBean.java, CustomerExtendDataBean.java and etc files.
    I don't have these files in \docs\customerExtensions folder.
    Please send a copy to me if you have it. My email is [email protected]
    Thank you.

    The problem has been solved by SAP. SAP has created a SAP Note 1083420. The Note has the sample codes attached.

  • DrawHouse code problems...

    Hello All,
    Forgive my ignorance...
    i am writing very simple code to draw a very simple house....My problem is this code must function as an applet and an application combined. So far I have it working as an applet.....but, whenever I execute the application it produces a frame that is empty...any help would be appreciated..The code follows..can you see the problems I cannot...I believe the problem lies in my main method...
    import javax.swing.JApplet;
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.image.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class DrawHouse extends JApplet
                   public static void main(String[] args)
    Frame f = new Frame(); //Create a new frame object
    DrawHouse drawHouse = new DrawHouse(); //Create an instance of DrawHouse
    //Add the new instance into the frame
         //     getContentPane().setBackground( Color.WHITE );
              f.setLayout(new FlowLayout());
              f.add( drawHouse );
    f.setSize(600,600);
    f.setVisible(true);
    //An "anonymous" inner class used to close the window
    f.addWindowListener( new WindowAdapter()
    public void windowClosing(WindowEvent we)
    System.exit(0);
    drawHouse.init(); //Call the applet's init method
    } //End of main
    public void paint( Graphics g )
              //super.paint( g );
              Graphics2D g2d = ( Graphics2D ) g;
              g2d.setColor( Color.BLUE );
              g2d.drawRect(10,10,600,600 );
              g2d.fillRect(10,10,600,600 );
         Polygon polygon2 = new Polygon();
    g2d.setPaint( new GradientPaint( 10, 400, Color.GREEN, 400,500, Color.YELLOW, false) );
         polygon2.addPoint( 10, 400 );
    polygon2.addPoint( 400, 500 );
    polygon2.addPoint( 10, 700 );
    polygon2.addPoint( 10, 700 );
    g2d.fillPolygon( polygon2 );
    //house image
    BufferedImage buffImage = new BufferedImage( 10, 10,
    BufferedImage.TYPE_INT_RGB );
    Graphics2D gg = buffImage.createGraphics();
    gg.setColor( Color.WHITE );
    gg.fillRect( 0, 0, 10, 10 );
    gg.setColor( Color.RED );
    gg.fillRect( 2, 4, 7,9 );
    // paint buffImage onto the JFrame
    g2d.setPaint( new TexturePaint( buffImage,
    new Rectangle( 10, 10 ) ) );
              // g2d.setColor( Color.RED );
              g2d.drawRect(10,300,150,200 );
              g2d.fillRect(10,300,150,200 );
              //garage image
         BufferedImage buffImage2 = new BufferedImage( 10, 10,
    BufferedImage.TYPE_INT_RGB );
    Graphics2D gg2 = buffImage2.createGraphics();
    gg2.setColor( Color.WHITE );
    gg2.fillRect( 0, 0, 10, 10 );
    gg2.setColor( Color.RED );
    gg2.fillRect( 2, 4, 7,9 );
    // paint buffImage onto the JFrame
    g2d.setPaint( new TexturePaint( buffImage2,
    new Rectangle( 10, 10 ) ) );
              // g2d.setColor( Color.RED );
              g2d.drawRect(160,400,100,100 );
              g2d.fillRect(160,400,100,100 );
              // windows images
    g2d.setPaint( new GradientPaint( 20, 300, Color.WHITE, 40,500, Color.BLUE, false) );
              g2d.drawRect(20,320,40,40 );
              g2d.fillRect(20,320,40, 40 );
              g2d.setPaint( new GradientPaint( 20, 300, Color.WHITE, 40,500, Color.BLUE, false) );
              g2d.drawRect(90,320,40,40 );
              g2d.fillRect(90,320,40, 40 );
              g2d.setPaint( new GradientPaint( 20, 300, Color.WHITE, 40,500, Color.BLUE, false) );
              g2d.drawRect(20,380,40,40 );
              g2d.fillRect(20,380,40, 40 );
              g2d.setPaint( new GradientPaint( 20, 300, Color.WHITE, 40,500, Color.BLUE, false) );
              g2d.drawRect(90,380,40,40 );
              g2d.fillRect(90,380,40, 40 );
                        //front door image
              g2d.setColor( Color.ORANGE );
              g2d.drawRect(55,430,40,70 );
              g2d.fillRect(55,430,40,70 );
                        //garage door image
                   g2d.setColor( Color.BLACK );
              g2d.drawRect(160,430,90,70 );
              g2d.fillRect(160,430,90,70 );     
         }//end paint
         }// end class DrawHouse

    Hey Cepahlic,
    The key to running a program as an application and an applet, for me anyway, is to add a main method to the applet.. Now...I am know expert and am actually a novice to JAVA so it took me awhile to get the code correct. I will post code here that I did not right but is a great example of a program that functions as both an applet and an application..Basically you create the applet with a main method where you create a frame
    object and add your program as an object within the frame(this will let it function as an application). At the end of the main method you will use your program instance and add it to an .init() method..example in the code is dateTime2.init(); You must remember to add a window closing event in the code as well or you will not be able to exit your application..The code I posted here I picked apart and studied till I figured out what was going on..I AM SURE YOU CAN DO THE SAME!!! Then I wrote some of my own to test..It was a lengthy process but well worth the effort.
    hope this helps.........
    /* DateTime2.java
    * A Java Application and Applet in one demonstrating different ways of
    * getting the date, time, and day of the week.
    * Khim Theng
    * [email protected]
    * Last modified on 05/16/2000
    import java.applet.Applet;
    import java.awt.*;
    import java.util.*; //Used for Date and Calendar
    import java.text.*; //Used for DateFormat and TimeFormat
    import java.awt.event.*; //Needed for WindowAdapter and Listener
    public class DateTime2 extends Applet
    private static Date now; //Date variable
    //Add a main method to enable the applet to run as an application
    public static void main(String[] args)
    Frame f = new Frame(); //Create a new frame object
    DateTime2 dateTime = new DateTime2(); //Create an instance of DateTime2
    //Add the new instance into the frame
    f.setLayout(new BorderLayout());
    f.add("Center", dateTime);
    f.setSize(200,255);
    f.setVisible(true);
    //An "anonymous" inner class used to close the window
    f.addWindowListener( new WindowAdapter()
    public void windowClosing(WindowEvent we)
    System.exit(0);
    dateTime.init(); //Call the applet's init method
    } //End of main
    public void paint(Graphics g)
    Calendar today; //Calendar variable for day of the week
    String dateTimeString; //String variable for date and time
    String dateString; //String variable for date
    String timeString; //String variable for time
    String dayOfWeekString; //String variable for day of the week
    int positionX = 20; //Variable to hold the x coordinate
    int positionY = 20; //Variables to hold the y coordinate
    setBackground(Color.white); //Set the background of the applet to white
    now = new Date(); //Set Date variable now to the current date and time
    dateTimeString = DateFormat.getDateTimeInstance().format(now); //Command to format both the date and time
    dateString = DateFormat.getDateInstance().format(now); //Command to format the date
    timeString = DateFormat.getTimeInstance().format(now); //Command to format the time
    today = new GregorianCalendar(); //Create a new Gregorian Calendar
    today.setTime(now); //Set the time to the present
    String weekDay[] = new DateFormatSymbols().getWeekdays(); //Capture the days of the week in an array
    dayOfWeekString = weekDay[today.get(Calendar.DAY_OF_WEEK)]; //Get the current day of the week
    g.setColor(Color.black); //Set the forground color to black
    g.drawString("Display the date and time:", positionX, positionY);
    positionY+=20; //Increment position y by 20
    g.setColor(Color.blue); //Set the forground color to blue
    g.drawString(dateTimeString, positionX, positionY); //Draw the datetime string at position x and y
    positionY+=40;
    g.setColor(Color.black);
    g.drawString("Display the date separately:", positionX, positionY);
    positionY+=20;
    g.setColor(Color.blue);
    g.drawString(dateString, positionX, positionY); //Draw the date string at position x and y
    positionY+=40;
    g.setColor(Color.black);
    g.drawString("Display the time separately:", positionX, positionY);
    positionY+=20;
    g.setColor(Color.blue);
    g.drawString(timeString, positionX, positionY); //Draw the time string at position x and y
    positionY+=40;
    g.setColor(Color.black);
    g.drawString("Display the day of the week:", positionX, positionY);
    positionY+=20;
    g.setColor(Color.blue);
    g.drawString(dayOfWeekString, positionX, positionY); //Draw the dayOfWeek string at position x and y
    } //End of paint
    } //End of DateTime2

  • Question on the example code 8253eventcount.c

    Hi.
    I saw the example code 8253eventcount.c before in the NI-DAQ6.9.x. That is very useful.But i still confuse that "Do i need to set up each clock pulse duration?". From the program, it seems that the counting process solely depends on the function NIDAQDelay(sec).....
    By the way, if i am now using an old version of NI-DAQ6.8.5, How can i update some calculated voltages for each 1ms. Although i have read and followed the procedures in the user mannual of lab-pc+,but, i am still not sure how to program the counterA2 with appropriate update interval. Could anyone give me an example code? It seems that no examples are given in the version of NI-DAQ6.8.5.
    I am now using lab-pc+ with Ni-daq6.8.5 by using c++ and win
    dows95 as my working platform.Please help me in anyway! Thanks!
    Attachments:
    Lab_PC+_AO.cpp ‏2 KB

    The NIDAQDelay() is only in there to control how often the program checks the current count on the counter. If it is set to 1 seconds, it will read the counter every one second and return how many counts have been read since the start. If you take that function out, the program will check the counter as fast as it can which will tie up your CPU.
    As to your question about calculated voltages, can you be more specific as to what your application is and what you are trying to do, I'm a little confused.
    Brian

  • Error while calling COM routines via application prog(return code 1028533-)

    Hello Expert,
    In Interactive Demand Planning ( /SAPAPO/SDP94 ), when I'm trying to load data in a planning book , error
    'Error while calling COM routines via application program (return code 1028533-)' is encountered.
    In my selection id, i have only two locations....there is no material selection. 
    When I select the 1st location and load the data its getting loaded properly.....but when i select the 2nd location and try loading data ...the above error is coming.
    I did run /SAPAPO/TS_LCM_CONS_CHECK but the problem persist.
    Any advise to fix this issue would be much appreciated.
    Thanks.
    Tom

    Hi Tom,
    Please see if below exiting threads help you.
    COM error 40134 in Interactive Planning on SCM 5.0 Support Pack SAPKY50011
    Error for COM Routine application program (return code 40028)
    Thukral

  • My iTunes won't detect my iPhone that has to be restored via iTunes *because if pass code problems* and its running iOS 7.2

    my iTunes won't detect my iPhone that has to be restored via iTunes *because if pass code problems* and its running iOS 7.0.4

    If itunes is comming up and saying it can't read the device because it's locked with a passcode, you may have to put your device into recovery mode first.
    To put your device in recovery mode: (Following these steps will erase your device and reset everything to factory defaults)
    1) press and hold the power button until you see the slide to power off option
    2) swipe to power off
    3) Press and hold the home button while the device is off and connect it to your computer. Continue holding the home button until you see a graphic with the iTunes logo with a picture of a USB cable below it.
    4) iTunes should give you a message that it has detected a device in recovery mode. Click ok and then select Restore iPhone. iTunes will download a fresh copy of iOS and then wipe the device and restore it. Depending on the speed of your computer's internet connection this may take a while. Just leave the iphone connected to your computer until it's finished.
    If itunes is not detecting it at all or is Not giving you the message that the phone is locked with a passcode, you may end up having to reinstall itunes. This seems to be a fairly common problem after the most recent itunes update (11.1.5)
    If this is the case and you happen to be running a windows based computer you will have to uninstall itunes in this order from your programs and features option in control panel:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Then download and reinstall itunes from itunes.com try putting your device into recovery mode again and restore.
    Hope this helps.
    Cheers.

  • 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

Maybe you are looking for

  • Under the Sharepoint Central Administration the Mange Services of the Reporting Services is not in started mode..

    The Reporting services Application is displaying and showing in Running state.. But under the Manage Services is not allowing to Start.. Pls help ASAP. Thanks Vinay

  • Bypass Scenario-- Need help.

    Hi Experts, New to XI.. Iam doing a bypass scenario.. I got the IDoc-XML from source and i need to route it to SAP system. There is no need of doing any design part for this scenario? No need of doing any mapping to acheive this?? No need to import i

  • Error: Installing EM Grid 10.1.0.3 and Oracle 10.2

    Hi folks, I've been looking through the pre-installation notes for EM Grid. Wondering if I missed the JDBC requirements. Maybe thick JDBC? How can we check this on Linux? I get an error while installing EM Grid on Windows. I'm using an existing Oracl

  • How to talk to a human tech for Aperture

    I use Sigma SLR for professional use and need support from Aperture, I also own standard pro cameras as the 1D family but like the quality of the Foveon. I've been emailing through email support but feel I'm getting nowhere. I like Sigma RAW and feel

  • ToolTip Help needed

    I have seen similar requests, but no clear and working answers to this problem: I have a JPanel upon which I draw. when the user hovers over the JPanel (and maybe has to click, but I haven't decided), I would like a tooltip that displays information