Why can I read from my instruments in LabView only when NI Spy is open?

This is a recurring problem, but I hope someone has an idea of what may be causing it. I have two older (c. 1992) instruments that we use for simple measurements. One is a Newport PMC-400 actuator driver/motion controller, the other is a EG&G/Princeton Applied Research 5302 lock-in amplifier. I am using Labview 6i with a PCI-GPIB card.
The instruments themselves work fine, and seem to run somewhat reliably if NI-Spy is open. However, if we close NI-Spy, the GPIB seems to "lock up" and time out, requiring resets of all the instruments. This seems to be something related to either command termination or timing.
Any thoughts/hints/solutions would be greatly appreciated.

Hi JFoley,
The reason this happens is usually related to the instrument! Certain older instruments communicate with the GPIB board in such a way that they indicate that they are able to receive data before they really are. This was a nice trick back in the day when computers were slower, and it could get away with �lying� about its state as it would make the instrument look faster than it was! With the faster computers of today it throws off the bus timing and can cause problems.
You may be able to resolve the timing problems, either by introducing delays between GPIB commands, or by changing the GPIB bus timing to the slowest setting (in the GPIB Configuration Utility). The first option is usually successful, but the second option is less effective becau
se it only affects the time that the GPIB controller waits before valid data is on the bus and the DAV line is asserted (a step in the GPIB handshaking that occurs each time a byte of information is sent to the device).
Hope this helps out!
Best Regards,
Aaron K.
Application Engineer
National Instruments

Similar Messages

  • I bought an eBook from iTunes. I can view/read it perfectly on my iPhone but when I try to open the eBook file on my iPad, I get the error message, "Cannot open book. This book is protected by an incompatible technology." Any ideas for me? thx

    i bought an eBook from iTunes. I can view/read it perfectly on my iPhone but when I try to open the eBook file on my iPad, I get the error message, "Cannot open book. This book is protected by an incompatible technology." Any ideas for me? thx

    Welcome to the Apple Community.
    I have seen previous versions mentioned in a pop up message before on iCloud.com, but I'm not really sure at all how it would help, as I couldn't get it to do anything.
    The best advice I have at this time is to back up your work on your iOS device by regularly saving it to iTunes, if anything goes wrong you can then either load it into the numbers app again on the device or recover it via iTunes on your computer.
    My syncs are immediate, I never get chance to see if it works in the background, sorry.

  • I used an American Express card to purchase my Ipad from Apple online. I have an Apple ID. why can't I use Amex as my payment method when signing in to Itunes?

    I have an Apple ID, created when I recently purchased an ipad from Apple online. I used my Amex as payment method. Why can I not use my Amex as payment method when signing in to iTunes for the first time?

    Yup, I'm a Kiwi, living in sunny Blenheim. Just seems odd that I can use Amex for purchasing in the Apple store but not in the iTunes store. Perhaps the higher charge set by Amex is not  economic for small purchases? Anyway,
    I know now what to do now - buy an iTunes gift card and enter the activation code to redeem and sign up. Sorted! Thanks Kappy for taking an interest in my query.

  • Why can't EXS find my instruments and samples?

    Why can't EXS find my Instruments and Samples?
    LPX 10.0.7
    I have had issues with this problem before, and have spent a few hours looking throughout the many related threads on this forum and on Logic Pro Help without finding a workable solution.  So I will jump in again and hope for someone to shed some light on this.
    Here is the scenario- I have two rigs, one in my studio and another on my laptop (2.5 gh Intel core 2 Duo with 4GB RAM). I have a duplicate of my sample library on a portable drive, which I take with me when I'm using my laptop. I recently copied a Project I'm working on from the portable drive to my main system. When I open the project, I get a message telling me that certain (not all) EXS files are not found.
    Some further pertinent info:
    I have not saved the EXS files with the project- the project uses a sizable template and that would be cumbersome.
    All of the EXS instruments/samples in the Project are there on both my internal sample drive and the portable drive.
    The aliases linking my Application support Logic folder and the sample drive are correct and in place.
    This happens whether I have the portable drive mounted on my main rig or not. And whether I open the Project from the portable drive or from the copy on the internal drive.
    I have reindexed the internal sample drive with Spotlight. Didn't help.
    I have refreshed the Instrument menu from within EXS. Didn't seem to do anything.
    Anyone?

    Hi Sig! Thank you very much for your reply. But my version is iLife 11, and it should have an iWeb and iDVD

  • Why can I print from my iPhone and not my iPad? I have been able to do it in the past and have tried a hard reset but it can no longer find the printer.

    Why can I print from my iPhone and not my iPad? I have been able to do it in the past. I have tried a hard reset but it still cannot find the printer.

    In addition to rebooting the router and the iPad, I would reset the printer as well. Unplug the printer from power and do the same with the router. Leave the router unplugged for about 30 seconds. Plug the router in first and let it totally start up, plug the printer in again, and then reboot/reset the iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If that doesn't work, you can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. Your WiFi passwords, location services, device preferences all have to be re-entered. You will not lose any data or media whatsoever.

  • Why can't GB let me use 'electric guitar' option when using Nio 2/4 interface - I have to use real instrument and miss out on all the effects. Is this normal for all interfaces?

    Why can't GB let me use 'electric guitar' option when using Nio 2/4 interface - I have to use real instrument and miss out on all the effects. Is this normal for all interfaces? The Nio reads hte guitar but GB doesn't....

    Usually effects packages are AU plugins that would have no effect on track selection. Interfaces should have no control over what kind of track you can select. I really think something else is going on her maybe something you overlooked.
    Did you choose the input channel in the track info pane. Try both channel 1 mono or channel 2 mono. Make sure the track is record enabled.

  • Hello all, I saw this message in my Iphone 5 notes. it reads " Stop! who are you? And why can I read your and you my notices??" Please has anyone had any similar experience? Any suggestions/solution would be greatly appreciated. Thanks

    Hello all,
    I saw this message in my Iphone 5 notes.
    It reads " Stop! who are you? And why can I read your and you my notices?? "
    I did not write it.
    Please has anyone had any similar experience?
    Any suggestions/solution would be greatly appreciated.
    Thanks

    oliverMili wrote:
    Hello all,
    I saw this message in my Iphone 5 notes.
    It reads " Stop! who are you? And why can I read your and you my notices?? "
    I did not write it.
    Please has anyone had any similar experience?
    Any suggestions/solution would be greatly appreciated.
    Thanks
    I had a similar experience with mac e-mail where apparently someones ICLOUD id for their Iphone was created with an Alias I had @mac.com for years.  Originally thought the mail was phishing and deleted without opening - then received forwarded mail from the other persons non-apple account - so gave feedback through mail to apple and also sent an email to the other persons non-apple account from a non-apple account telling them I was getting their mail because it was my alias.    
    That person did get apple to untangle the accounts so I did have to reset my password once it was done.
    So one option would be to contact apple support to get them to find out what is going on with your account.
    E-mail contact of the other person was easy once I had a legit account to send to -- don't know how you would contact the other person in notes.

  • Windows Easy Transfer (WET) Issues with External Hard Drive - "Can't read from the source file or disk"

    I work for Office Depot, in the tech department. Basically, one of our associates was supposed to do a data backup, and re-install Windows 7, then transfer the files back. He used Windows Easy Transfer and compacted everything into a 163 GB file. 
    Now comes the hard part. When we try to put it back on his computer ((drag-and-drop to the desktop) which has been wiped back to factory settings using the recovery partition), it stops at 79.5 GB remaining (you know how it doesn't give you a % of completion,
    it just shows how many GB are remaining) and then says "Can't read from the source file or disk" and gives you an option to try again, or cancel. It gets hung up on the same point each time.
    Normally, this wouldn't be a huge issue, but the contents on the drive are his wife's architect blueprints and interior design stuff, along with wedding photos, etc, which are the only copies they have. On top of those, they have court documents and other
    important files that we are unable to access now.
    I wasn't involved with this transfer, so I'm trying to clean up the mess as best I can. I remembered that the customer's wife was Russian, and had some files typed with a Russian keyboard, so on and so forth. I wonder if that's the issue? If not, I really
    have no idea how to manually extract things from a ".mig" file, or how to diagnose what area is potentially corrupted.
    In light of this situation, we tried using "Recuva" to recover the files post-wipe, but everything was corrupted or unable to be opened, and it also extracted and recovered all of the "useless" photos, such as the skype logos, up and
    down arrows for browsers, etc (it was 160,000+ photos).
    Trying to avoid a potential lawsuit, unhappy customer, and costing the company lots of money to see if professionals can get into this external hard drive.
    Other relevant information:
    We used a Toshiba 500 GB (465 GB) external hard drive.
    Customer's computer is an HP Pavilion P6000 Series (Model No. p6520y) running Windows 7 Home Premium 64-bit Service Pack 1.
    Any other information that is needed can be provided, thanks in advance, and hopefully we can find a solution to this issue quickly!
    -John

    I think there's a lack of understanding somewhere.
    "If you even can't start the process, please unplug it from your new PC. Then head back to your new computer and plug
    the external drive back in to your new computer. "
    Unplug from new, head back to new, plug it back in? That doesn't make much sense! Haha.
    I knew what you meant though, somewhat. When I search through the drives after clicking yes (Has windows easy transfer
    already saved your files blah blah blah) I click on the transfer file and it says "Windows Easy Transfer could not open the file".
    Rather than drag-and-drop the file to the desktop, I now tried to double-click on the file itself while it was plugged
    into the computer. It opened, and it started transferring until it was about 70% completed, and then an error popped up saying "WET can't open the easy transfer file, make sure your USB device is plugged in or check your internet connection". 
    I checked, and the USB hard drive's light wasn't on. Now, I unplug it and plug it back in, and the light comes back on,
    so I click Retry, and it resets the bar back to nothing and says "Transfer time: 1 minute".
    Rather than continue trying, I clicked "Cancel" instead of Retry, and it says "Your transfer did not complete successfully."
    It says to click "view report" for more information, but there's no "view report button".
    At the moment, I am scanning the External Drive for bad sectors using the check disk tool in properties. It's frozen
    at "0 USN bytes processed".

  • IProblems=Can't read from/write to and Flipping through songs

    Yeah I'm getting the error "Can't read from or write to.", and the iPod itself will turn on, but when I put it on a playlist or album, it starts flipping through all the songs before it even gets a chance to play part of the songs. What gives?

    Please do a Restore - which erase all the music on your iPod.
    http://www.apple.com/support/ipod/five_rs/

  • "Can't read from or write to disk...." iPod error

    I recently switched from my old PowerBook G4 (running Leopard 10.5.2) to a newer MacBook Pro (running Leopard 10.5.5). I migrated my account and permissions from the PB to the MacBook Pro, and everything is working just fine except for iTunes (version 8.0.2) and my older 160 GB iPod Classic (running 1.1.2).
    NOTE: THE VERSION OF iTunes ON THE PB WAS VERSION 8.0.1.
    Since the migration, I've been getting this "can't read from or write to disk..." error whenever I attempt to sync my iPod to iTunes. Previously, I'd never had any problems. I have tried to restore the iPod using iTunes - didn't work. I have tried different USB to dock connector cables - didn't work. I have even tried completely re-formatting the iPod using Disk Utility - didn't work. Everytime I begin syncing the iPod, it starts out just fine. At varying degrees of completion it ALWAYS fails with the same error.
    I had an idea. I tried syncing the iPod to a different computer - my G5 4 x 2.5 GHz (running Leopard 10.5.5) with iTunes (version 8.0.2). I still got the same error. I haven't dropped it, submerged it in water or done anything to it that would otherwise compromise its functionality. So, I'm at a loss.
    PLEASE! PLEASE! PLEASE!
    Does anyone have any other suggestions? - OTHER THAN BUYING A NEW IPOD

    UPDATE:
    OK, after the visit to my Genius Bar; I thought of a variable that wasn't previously considered. Because their transfer of media was successful without the slightest hitch, I had to figure out something else.
    Everytime I had tried to sync the iPod with my various Macs, I was using the same process. Since all of my music and movies "live" on an external 500 GB drive, I was attempting to use that same drive whenever I would try to sync. It occurred to me that possibly the failing was in the drive and not the iPod.
    I have part of that library on a Power Mac G4 867 DP (running 10.4.9). I updated the iTunes on that machine to 8.0.2, connected the iPod and made a successful transfer of a large amount of media!
    My only problem now is that I can't figure out how to get the 500 GB drive to stop hanging on transfer and update of my Genius information. The drive just completely stalls and I get the spinning wheel from iTunes and the application ceases to respond. When I force quit iTunes, the drive recovers fine. I don't have any problems transferring data to and from it and Disk Utility reports that the drive is healthy.
    I have tried re-installing iTunes on all affected Macs - didn't help. I believe my problem may exist in the iTunes Library file or in the associated .xml document. My only concern is that if I do a completely fresh install of iTunes where those files would be re-created, I would lose all of my play and ratings data as well as the information about when my files were added. On a related note, when playing the music from this drive through iTunes. I don't have any issues at all.
    ANY SUGGESTIONS?

  • Utl_file can't read from my directory

    hello
    I am trying to load XML data from an xml file into a CLOB object and i am getting an error in the unlikely segment of the code. The following code can't read from the directory specified by the utl_file_dir parameter.
    I am setting the "utl_file_dir" parameter at the sys level and dont have it in the SPFILE (initialization) file.
    sys@LOCAL> ALTER SYSTEM SET UTL_FILE_DIR='C:\XMLBOOK\Examples\Chapter25\src\xml' SCOPE=SPFILE;
    System altered.
    sys@LOCAL> shutdown
    sys@LOCAL> startup
    sys@LOCAL> select name,value from v$parameter where name like '%utl_file_dir%';
    NAME VALUE
    utl_file_dir C:\XMLBOOK\Examples\Chapter25\src\xml
    sys@LOCAL> DECLARE
    2 v_xmldoc DBMS_XMLDOM.DOMDocument;
    3 v_parser DBMS_XMLPARSER.parser;
    4 v_out CLOB;
    5 v_dir VARCHAR2(200) :=
    6 'C:\XMLBOOK\Examples\Chapter25\src\xml';
    7 BEGIN
    8 -- New parser
    9 v_parser := DBMS_XMLPARSER.newParser;
    10 -- Setting up the parsing parameters
    11 DBMS_XMLPARSER.setValidationMode(v_parser, FALSE);
    12 DBMS_XMLPARSER.setPreserveWhiteSpace(v_parser, TRUE);
    13 -- The v_dir has to be a valid directory in the UTL_FILE_DIR
    14 DBMS_XMLPARSER.setBaseDir(v_parser, v_dir);
    15 -- Parsing the XML file
    16 DBMS_XMLPARSER.parse(v_parser, 'contact.xml');
    17 -- Getting the XML DOMDocument
    18 v_xmldoc := DBMS_XMLPARSER.getDocument(v_parser);
    19 -- Print out the result
    20 DBMS_LOB.createtemporary(v_out,FALSE,DBMS_LOB.SESSION);
    21 DBMS_XMLDOM.writetoClob(v_xmldoc, v_out);
    22 DBMS_XMLDOM.writetoFile(v_xmldoc,v_dir||'/out.xml');
    23 :out := v_out;
    24 DBMS_LOB.freetemporary(v_out);
    25 END;
    26 /
    DECLARE
    ERROR at line 1:
    ORA-29280: invalid directory path
    ORA-06512: at "SYS.UTL_FILE", line 18
    ORA-06512: at "SYS.UTL_FILE", line 424
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 15
    ORA-06512: at "XDB.DBMS_XMLPARSER", line 90
    ORA-06512: at line 16
    sys@LOCAL>
    It would be great if i get some help here.
    Thanks.

    try this:
    create directory test_d as 'F:\OracleXML';
    DECLARE
    v_xmldoc DBMS_XMLDOM.DOMDocument;
    v_parser DBMS_XMLPARSER.parser;
    v_out CLOB;
    -- v_dir VARCHAR2(200) := 'F:\ORACLEXML'; don use this
    BEGIN
    v_parser := DBMS_XMLPARSER.newParser;
    DBMS_XMLPARSER.setValidationMode(v_parser, FALSE);
    DBMS_XMLPARSER.setPreserveWhiteSpace(v_parser, TRUE);
    DBMS_XMLPARSER.setBaseDir(v_parser, 'TEST_D');
    DBMS_XMLPARSER.parse(v_parser, 'newtab.xml');
    v_xmldoc := DBMS_XMLPARSER.getDocument(v_parser);
    DBMS_LOB.createtemporary(v_out,FALSE,DBMS_LOB.SESSION);
    DBMS_XMLDOM.writetoClob(v_xmldoc, v_out);
    DBMS_XMLDOM.writetoFile(v_xmldoc,'TEST_D'||'/out.xml');
    -- :out := v_out;
    DBMS_LOB.freetemporary(v_out);
    END;

  • J2ME: Can't read from input stream?

    I'm trying to create a simple message service between a server and J2ME client. But everytime I try to read from DataInputStream (dis) i get Exceptioons. How come? It works just fine to send messages to OutputStream.
    I've tried several different methods... This is my latest try (client). You'll find the server below.
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class clientMIDlet extends MIDlet implements CommandListener {
    private Command exitCommand;
    private Command sendCommand;
    private Command receiveCommand;
    private Command clearCommand;
    protected Display display; // The display for this MIDlet
    protected TextBox textBox;
    final int MAX_LENGTH = 2048;
    private ContentConnection connection = null;
    private OutputStream os = null;
    private DataInputStream dis = null;
    StringBuffer buffer = new StringBuffer("");
    public clientMIDlet() {
    // Max lenght of received messages
    display = Display.getDisplay(this);
    exitCommand = new Command("Exit", Command.EXIT, 1);
    sendCommand = new Command("Send", Command.SCREEN, 1);
    receiveCommand = new Command("Receive", Command.SCREEN, 1);
    clearCommand = new Command("Clear", Command.SCREEN, 1);
    private void sendMess (final String message) {
    String msg = message + "\n";
    try {
    os.write(msg.getBytes());
    os.flush();
    } catch (IOException e) {
    System.err.println("Error in sendMess while sending " + msg);
    private String getMess() throws IOException {
         int c;
         try {
         System.out.println("encoding: "+ connection.getEncoding());
         System.out.println("lenght: "+ connection.getLength());
         System.out.println("type: "+ connection.getType());
    System.out.println("Using buffer.. This row never prints..");
         try {
              for (int ccnt=0; ccnt < connection.getLength(); ccnt++) {
              c = dis.read();
              buffer.append((char)c);
    } finally {
              dis.close();
    } catch (IOException x) {
    System.out.println("Problems with data connection");
    return buffer.toString();
    * Start up the Hello MIDlet by creating the TextBox and associating
    * the exit command and listener.
    public void startApp() {
    // Start a socket to comminicate with the server.
    // Server variables.. Should be submited by the user
    String host = "192.168.1.20";
    String port = "7080";
         String serverName = "socket://" + host + ":" + port;
    // Connect to server in order to receive response string
    try {
         connection = (ContentConnection)
              Connector.open(serverName,Connector.READ);
    } catch (Exception e) {
    System.out.println("Failed to connect to server!!!");
    try {
         System.out.println("encoding: "+ connection.getEncoding());
         System.out.println("lenght: "+ connection.getLength());
         System.out.println("type: "+ connection.getType());
    dis = connection.openDataInputStream();
    } catch (Exception e) {
    System.out.println("Can not read from connection");
    textBox = new TextBox("Hello MIDlet", "Hello!", 50, TextField.ANY);
    textBox.addCommand(exitCommand);
    textBox.addCommand(receiveCommand);
    textBox.addCommand(sendCommand);
    textBox.addCommand(clearCommand);
    textBox.setCommandListener(this);
    display.setCurrent(textBox);
    * Pause is a no-op since there are no background activities or
    * record stores that need to be closed.
    public void pauseApp() {
    * Destroy must cleanup everything not handled by the garbage collector.
    * In this case there is nothing to cleanup.
    public void destroyApp(boolean unconditional) {
    * Respond to commands, including exit
    * On the exit command, cleanup and notify that the MIDlet has been destroyed.
    public void commandAction(Command c, Displayable s) {
    if (c == exitCommand) {
    destroyApp(false);
    notifyDestroyed();
    } else if (c == receiveCommand) {
    try {
    System.out.println(getMess());
    //textBox.setString(getMess().toString());
    } catch (Exception e) {
    System.err.println("Could not write message to display");
    } else if (c == sendCommand) {
    sendMess(textBox.getString());
    textBox.setString("Message sent");
    Server:
    import java.net.Socket;
    import java.net.ServerSocket;
    import java.io.IOException;
    import java.io.BufferedReader;
    import java.io.PrintWriter;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    class User {
         private Socket socket;
         private BufferedReader in = null;
         private PrintWriter out = null;
         public User(final Socket mySocket) {
              this.socket = mySocket;
              try {
                   in = new BufferedReader(
                   new InputStreamReader(
                        this.socket.getInputStream(), Server.CS));
                   out = new PrintWriter(
                   new OutputStreamWriter(
                        this.socket.getOutputStream(),Server.CS));
              } catch(IOException e) {
    System.out.println("Server could not create user sockets");
         public String get() {
              String response = null;
              try {
                   response = in.readLine();
              } catch(IOException e) {
    System.out.println("Server could not read response");}
              return response;
         public void put(final String response) {
              out.print(response);
    out.flush();
         public void finalize() {
              try {
                   in.close(); out.close(); socket.close();
              } catch (IOException e) {;}
    class ConnectionHandler implements Runnable {
         private final User[] users;
    private String chatString;
         public ConnectionHandler(final Socket socket_user1, final Socket socket_user2) {
              users = new User[] {new User(socket_user1), new User(socket_user2)};
              //:Send users their initial state:
         public void run() {
    boolean master = true;
    users[0].put("OK");
              users[1].put("wait");
    System.out.println("ConnectionHandler started.");
              while(true) {
    chatString = users[(master ? 0 : 1)].get();
    System.out.println("User" + (master ? 1 : 2) + ":" + chatString);
                   users[(master ? 1 : 0)].put(chatString);
                   master = !master;
    public class Server {
         public final static String CS = "ISO-8859-1";
    public static void main(String[] args) throws IOException {
              int port = 7070;
    if (args.length == 1) {
    port = Integer.parseInt(args[0]);
         System.out.println("Server started on port " + port + "...");
    final ServerSocket serverSocket = new ServerSocket(port);
              while(true) {
    final Runnable task = new ConnectionHandler(serverSocket.accept(),
    serverSocket.accept());
              final Thread thread = new Thread(task);
              thread.start();
    }

    You've got to be kidding me...
    I'm trying to create a simple message service between
    a server and J2ME client. But everytime I try to read
    from DataInputStream (dis) i get Exceptioons. How
    come? It works just fine to send messages to
    OutputStream.What exceptions get thrown? What line numbers do they get thrown from? Do they always get thrown, or only in certain situations? Put your code in [code ] blocks (http://forum.java.sun.com/faq.jsp#messageformat, for Christ's sake, how many times do people need told to do that... it should just be written write on top of the page that you type your posts in... oh wait... IT IS!)

  • Can't Read from Source File

    Hi Guys
    I'm using PPr CS5 on Win7 64bit.
    I'm not sure if this is strictly for here but can I pick your brains please? I edited in PPr and exported three versions of the same video to AVI (mainly different intros and titles) and they all play fine. I back up my movies to an external disk but one of them always creates an error in the back-up "Can't Read from Source File". The file sizes are 5.3gb for the offending movie and 8.3 for the other two.
    I know the answer is to re-export the movie but I'm just trying to get a bit of a handle what could have caused this problem in the first place and if this is a common problem?
    Any views?
    Regards,
    Graham

    That doesn't help much.  What exactly are you doing when you get the error message?
    Are you trying to open a PP project which contains the file?
    Are you trying to play a sequence which has clips from that file?
    Are you trying to play it in a media player?
    Are you trying to import the file into PP?

  • LR can't read from the preview cache - how correct?

    After a harddish crash I can't open the Catalog. I get a message that the program can't read from the preview cache. Can I restore the preview cache sommehow? Can I resotre the preview cache from a backup?
    Best Regards Håkan Hall

    Error when starting program

  • How can I read from a file line by line?

    Hi!
    Could someone post some code or explain how can I read from a file, and want I to read a line each time. How can I go to line number N?
    Thanks

    hi,
    u can try this:
    try     {
          // open text file
          BufferedReader in = new BufferedReader(new FileReader(fileName));
          String line=in.readLine();
          while((line=in.readLine()) != null) {
          System.out.println(line);
          }The go to line number N i m not so sure.
    Cheers
    Jerry

Maybe you are looking for

  • How do I limit home sharing to my own computer and apple tv

    I have a renter in my home......how Can I use home sharing on my mac and apple tv without the renter having access to my computer

  • How to call a method of a view in popup view

    Hi Experts, I have created WDJ program. It has  3 views - view1, view 2 and 1 pop up view. view1 and view2 are in window1. popup view is in window2. There are input and output plugs in view1 and view2. view1 and view2 are connected by navigation link

  • PKCS#11 Read Access

    Hi, I have a simple question. Using the SunPKCS11 it is possible access to the public certificate (or other public objects) in the smartcard without the user PIN? Thank�s.

  • Is anyone having problems with blends on a Mac?

    I have a Macbook Retina and I have downloaded a trial of Illustrator CS 6, which I will probably purchase.  I have a file where I have used some blends, and when I save the file back to CS 5 or just as a PDF from CS 6, It messes up my blends.  Am I d

  • An unknown error has occured when downloading apps on my ipad

    Im trying to download an app on my ipad but everytime i try it says unknown error has occured and it shuts down the proccess. what should i do???