How to run vi continuous when the VISA read timeout happens

Hello

I'm using LabView 2010 through a series of Agilent 6000 Oscilloscope. The Oscilloscope reads data from another experimental machine which will occasionally fail due to failure of the sample. When the machine breaks down, it ceases to send signals to the oscilloscope and leads to the error timeout of read VISA and the vi It is over.  Is it possible that I can run the vi permanently when the error occurs? For example, when the error occurs, it stores the error in the thread of the error. When the vi read the error code of the wire, it sends a command to stop my experimental machine then stop the vi.

So far, it stops simply during the execution of the visa, playback function. In that case, why do we mistake in and out? Vi stop just when the error occurs.

Thank you

Laurent


Tags: NI Software

Similar Questions

  • How to run an application when the cell phone is power on

    I want to run an application when the cell phone is power on. It runs in the background, how so, please give me a code, I don't know, thanks

    It is enough to set project properties in JDE as shown on the attached photo (check below: screenshot.png).

  • How to run repair downloads when the local disk (c) is bad, system32, rundll

    I am home with one leg broken, broken arm, a broken jaw and having my left shoulder replaced, my question, can I me pls someone, anyone, to come and go in my store and get my sled 5lb.hand, I have six kids and they will get no money, in any case, my snowmobile accident, me in front of this infernal thing two months ago. So you can surmise I don't know anything about computers, but I managed to eek exist on this subject, now all I get is not a valid windows, system32, rundll rasapi32 image, I tried to download stuff to repair, but everything on the local drive (c :)) how that will help its just put more wood on the fire I can say) , and I can't get one, that is running. signed, broke and in maine.thanks. PS.it all started after I lost the sound on my speakers.

    Hello

    ·         Are you able to boot to the desktop normally?

    If you are not able to boot to the desktop then, I suggest to do a restore of the system from the recovery console and check if you're able to start on the system or not.

    How do I recover from a corrupted registry that prevents Windows XP startup

    http://support.Microsoft.com/kb/307545

  • How is it that some machines running windows vista, when the router is updated or changed, they show "limited or local only" when you reconnect then wireless.

    problems with wireless Vista "local only".

    How is it that some machines running windows vista, when the router is updated or changed, they show "limited or local only" when you then reconnect wireless... nothing else was changed on those computers and other devices can connect ok?

    Hello

    Each router is assigned to the specific address (called IP address or IP address). And each router maintains its own database (called as base of router) to follow the networking devices communicate with him. When the router is changed, the particular router is unable to detect the device, especially the network card to communicate with the computer.  Since he does not have details of the database of network devices, communicate with him.

    • You are able to access the Internet?

    Try the steps mentioned below and check:

    Method 1:

    Step 1: Enable or disable a network adapter and then check:

    http://Windows.Microsoft.com/en-CA/Windows-Vista/enable-or-disable-a-network-adapter

    Step 2: Run Network Diagnostic tool and check:

    Network connection issues: http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-connection-problems

    Method 2: Wi - Fi and in Windows network connection issues:

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Reference links:

    Of network connectivity status incorrectly as 'Local' only on a Windows Server 2008 or Windows Vista-based: http://support.microsoft.com/kb/947041

    Setting up a wireless network: http://Windows.Microsoft.com/en-us/Windows-Vista/setting-up-a-wireless-network

    Connection to wireless with Windows Vista: http://technet.microsoft.com/en-us/library/bb878035.aspx

    Hope it works.

  • How to solve a problem when the windows setup program does not open a program, says I need to install it. and an error message 1706

    How to solve a problem when the windows setup program does not open a program, says I need installation cd and a 1706 error message happens.

    Hi PAtwoodwu,

    1. what program are you trying to install?

    2. did you of recent changes on the computer?

    3 does happen with all programs?

    Check and make sure that the Windows service install is running on the computer.

    (a) click on start to reduce this includes this image, click run , type services.msc , and then press enter to open Services.

    (b) right click on the Windows Installer service and then click Properties.

    (c) if the box Startup type is set to Disabled, change it to Manual.

    (d) click on OK to close the Properties window.

    (e) right click on the Windows Installer service and then click Start. The service should start without errors.

    (f) click on the file menu, and then click exit.

  • How to add multiple lines when the button is clicked

    How to add multiple lines when the click on button now is just add a row .plz give me idea how... waiting for answer

    / public final class screen extends MyScreen
    {
    /**
    * Creates a new object of MyScreen
    */
    ObjectChoiceField obj1 obj2, obj3, obj4.
    Table of String() = {'101 ', ' 102'};
    String of shadow [] = {"Shade1", "Shade2"};
    Rolls of string [] = {'101 ', ' 102'};
    String cutting [] = {"100-150", "150-200"};
    Chain of selectedindex1, selectedindex2, selectedindex3, selectedindex4;
    LabelField lbl1 lbl2, lbl3, lbl4;
        
    GFM LinedGridFieldManager;
    HFM HorizontalFieldManager, hfm1, hfm2 hfm3;
    VerticalFieldManager vfmMain;
        
    public MyScreen()
    {
        
    Set the displayed title of the screen
    hfm1 = new HorizontalFieldManager (HorizontalFieldManager.NO_VERTICAL_SCROLL |) HorizontalFieldManager.NO_VERTICAL_SCROLLBAR);
    hfm2 = new HorizontalFieldManager (HorizontalFieldManager.NO_VERTICAL_SCROLL |) HorizontalFieldManager.NO_VERTICAL_SCROLLBAR);
    hfm3 = new HorizontalFieldManager (HorizontalFieldManager.NO_VERTICAL_SCROLL |) HorizontalFieldManager.NO_VERTICAL_SCROLLBAR);
    HFM = new HorizontalFieldManager (HorizontalFieldManager.FIELD_RIGHT);
    vfmMain = new VerticalFieldManager (Manager.NO_VERTICAL_SCROLL |) Manager.NO_HORIZONTAL_SCROLLBAR);
            
    obj1 = new ObjectChoiceField ("", graph, 0, FIELD_LEFT);
    obj2 = new ObjectChoiceField ("", blind, 0, FIELD_LEFT);
    Obj3 = new ObjectChoiceField ("", rolls, 0, FIELD_LEFT);
    Obj4 = new ObjectChoiceField ("", cuts, 0, FIELD_LEFT);
            
    LBL1 = new LabelField("");
    LBL2 = new LabelField("");
    lbl3 = new LabelField("");
    lbl4 = new LabelField("");
            
    ButtonField btnAdd = new ButtonField ("ADD", FIELD_RIGHT);
            
    GFM = new LinedGridFieldManager (4, LinedGridFieldManager.VERTICAL_SCROLL);
            
    hfm1.setMargin (20, 0, 10, 0);
    hfm1. Add (new LabelField ("Chart"));
    hfm1. Add (obj1);
    hfm1. Add (new LabelField ("Shade"));
    hfm1. Add (obj2);
            
    hfm2. Add (new LabelField ("Rolls"));
    hfm2. Add (Obj3);
    hfm2. Add (new LabelField ("Cuts"));
    hfm2. Add (Obj4);
    HFM. Add (btnAdd);
            
    GFM. Add (new LabelField ("Chart"));
    GFM. Add (new LabelField ("Shade"));
    GFM. Add (new LabelField ("Rolls"));
    GFM. Add (new LabelField ("Cuts"));
            
    vfmMain.add (hfm1);
    vfmMain.add (hfm2);
    vfmMain.add (hfm3);
    vfmMain.add (hfm);
    vfmMain.add (new SeparatorField());
    vfmMain.add (gfm);
    Add (vfmMain);
            
    btnAdd.setChangeListener (new FieldChangeListener()
    {
    ' Public Sub fieldChanged (field field, int context) {}
    TODO self-generating method stub
    selectedindex1 = chart [obj1.getSelectedIndex ()];
    selectedindex2 = shade [obj2.getSelectedIndex ()];
    selectedindex3 = rolls [obj3.getSelectedIndex ()];
    selectedindex4 = cuts [obj4.getSelectedIndex ()];
                    
    While (LBL1. GetText(). Equals("") | LBL2. GetText(). Equals("") | lbl3. GetText(). Equals("") | lbl4. GetText(). Equals(""))
    {
    LBL1. SetText (selectedindex1);
    LBL2. SetText (selectedindex2);
    lbl3. SetText (selectedindex3);
    lbl4. SetText (selectedindex4);
                    
    GFM. Add (LBL1);
    GFM. Add (LBL2);
    GFM. Add (lbl3);
    GFM. Add (lbl4);
                    
    }
    }
    });
    }
    }

    Hi Piya,

    I run your code, and according to your logic that it works correctly.

    It's adding that line only once because according to your logic that one line can be added to MDT, if you do not want to add line on each click on the button, follow these steps:

    selectedindex1 = chart [obj1.getSelectedIndex ()];
    selectedindex2 = shade [obj2.getSelectedIndex ()];
    selectedindex3 = rolls [obj3.getSelectedIndex ()];
    selectedindex4 = cuts [obj4.getSelectedIndex ()];

    Lbl1 LabelField = new LabelField("");
    Lbl2 LabelField = new LabelField("");
    LabelField lbl3 = new LabelField("");
    LabelField lbl4 = new LabelField("");
    If (LBL1. GetText(). Equals("") | LBL2. GetText(). Equals("") | lbl3. GetText(). Equals("") | lbl4. GetText(). Equals(""))
    {
    LBL1. SetText (selectedindex1);
    LBL2. SetText (selectedindex2);
    lbl3. SetText (selectedindex3);
    lbl4. SetText (selectedindex4);
                    
    GFM. Add (LBL1);
    GFM. Add (LBL2);
    GFM. Add (lbl3);
    GFM. Add (lbl4);
                    
    }

  • If time machine is incremental how it removes previous versions when the disk is full, without breaking the chain, so do not be able to restore all changes since the first full file

    If time machine is incremental how it removes previous versions when the disk is full, without breaking the chain, so do not be able to restore the file with any changes made since the full backup first file...

    If the TM drive storage is full TM automatically deletes the version the oldest files for the new incremental backups can be made. Thus, in this case you cannot restore the versions that TM deleted because it takes more storage.

  • can not be run Zoo Tycoon, when the running game does not appear anything, help me! my computer is Win7

    original title: subject zootycoon
    my computer can not be run Zoo Tycoon, when the running game does not appear anything, help me! my computer is Win7

    Hello

    1. what version of Zoo tycoon you play?

    2. is it works much earlier?

    I suggest to run the game as administrator and check.

    I suggest you to follow the steps from the links and check out.

    Improve the performance of your computer game

    http://support.Microsoft.com/kb/815069

    The problems of the game performance

    http://Windows.Microsoft.com/en-us/Windows7/fixing-game-performance-problems

  • How to add two lines when the second row is not visible, but also gets the first data line too?

    Mr President

    Jdev worm is 12.2.1

    How to add two lines when the second row is not visible, but also gets the first data line too?

    I want to add two lines like below picture, but want the second to remain invisible.

    tworows.png

    I asked this question but my way of asking was wrong, that's why for me once again.

    Concerning

    Try to follow these steps:

    1. in the database table to add the new column "JOIN_COLUMN" and add the new sequence "JOIN_SEQ".

    2. Add this new column in the entity object. (You can add this in entity object by right clicking on the entity object and then select "Synchronize with database" then the new column and press on sync)

    3. in your bookmark create button to create only one line NOT 2 rows.

    4 - Open the object entity--> java--> java class--> on the entity object class generate and Tick tick on the accessors and methods of data manipulation

    5 - Open the generated class to EntityImpl and go to the doDML method and write this code

      protected void doDML(int operation, TransactionEvent e)
      {
        if(operation == DML_INSERT)
        {
          SequenceImpl seq = new SequenceImpl("JOIN_SEQ", getDBTransaction());
          oracle.jbo.domain.Number seqValue = seq.getSequenceNumber();
          setJoinColumn(seqValue);
          insertSecondRowInDatabase(getAttribute1(), getAttribute2(), getAttribute3(), getJoinColumn());
        }
    
        if(operation == DML_UPDATE)
        {
          updateSecondRowInDatabase(getAttribute1(), getAttribute2(), getAttribute3(), getJoinColumn());
        }
    
        super.doDML(operation, e);
      }
    
      private void insertSecondRowInDatabase(Object value1, Object value2, Object value3, Object joinColumn)
      {
        PreparedStatement stat = null;
        try
        {
          String sql = "Insert into table_name (COLUMN_1,COLUMN_2,COLUMN_3,JOIN_COLUMN, HIDDEN_COLUMN) values ('" + value1 + "','" + value2 + "','" + value3 + "','" + joinColumn + "', 1)";
          stat = getDBTransaction().createPreparedStatement(sql, 1);
          stat.executeUpdate();
        }
        catch (Exception e)
        {
          e.printStackTrace();
        }
        finally
        {
          try
          {
            stat.close();
          }
          catch (Exception e)
          {
            e.printStackTrace();
          }
        }
      }
    
      private void updateSecondRowInDatabase(Object value1, Object value2, Object value3, Object joinColumn)
      {
        PreparedStatement stat = null;
        try
        {
          String sql = "update table_name set column_1='" + value1 + "', column_2='" + value2 + "', column_3='" + value3 + "' where JOIN_COLUMN='" + joinColumn + "'";
          stat = getDBTransaction().createPreparedStatement(sql, 1);
          stat.executeUpdate();
        }
        catch (Exception e)
        {
          e.printStackTrace();
        }
        finally
        {
          try
          {
            stat.close();
          }
          catch (Exception e)
          {
            e.printStackTrace();
          }
        }
      }
    
  • How to run dynamic Action when clicking on a link in a report

    APEX V4.2.3

    DB EA 11.2

    APEX listener V2.0.5.287.04.27

    13 blue-gray theme

    IE9.0.8112

    FF26.0

    I have classic report and I would like to launch a dynamic action (together a show has confirmed and the value of the alert, submit the page, then run a process) when the user clicks on a link in a report or click on #ID #.

    I can write the real actions that I just need to know what to write behind the report link that will serve as a trigger for the DA?

    Thanks in advance

    PaulP

    It's the link attribute

    onClick = "if (confirm (' do something for #ENAME # with EMPNO: #EMPNO #'")) {$s('P5_ENAME_CLICKED','#ENAME#') ;};$s('P5_ID_CLICKED','#EMPNO#');doSubmit()""

    It's getting a bit long on a single line, if you want, put it in a function

    However, fixed, forgotten pair of single quotes as soon as possible.

    Now you have 2 bind variables to use in the process of page after submit.

    : P5_ENAME_CLICKED and: P5_ID_CLICKED

    I've updated the example page, http://apex.oracle.com/pls/apex/f?p=14308:5

    Good luck.

  • How to validate an entry when the focus leaves the intensity absorbed in

    How to validate an entry when the focus leaves the intensity absorbed in a form?

    "Ansury" wrote in message
    News:garo90$L71$1@forums. Macromedia.com...
    > Not AFAIK. Event.Target has a reference to the object that sent the
    > event. In livedocs:
    >
    > "Every event object has a goal and a currentTarget property that help."
    > you
    > Hold where it is being spread. The target
    > property
    "> return to the sender of the event.
    "
    >
    > BUT...
    > Your if statement will never evaluate true because you compare one
    > UITextField to a TextInput. A UITextField (stored internally in a
    (> TextInput, it makes the text) actually dispatches the event.

    currentTarget gives you the object on which the event actually listener
    attached to...

  • I have a 6 and when I said an iMessage that he will tell me when the person read it then it will say delivered once again so I don't know when it was read

    I have a 6 more and when I send an iMessage he tells me when the person read it then it will say delivered once again so I don't know when it was read

    I have exactly the same problem since I updated to 9.3, the 9.3.1 update didn't fix either. Apple support think it could be a software problem or operations and I have tried literally everything! Have you found a solution for this yet?

  • How to remove run as administrator when the box is already turned off?

    Hello

    For complicated reasons, I put a program runs as an administrator, by checking the box in the properties.
    Solved the initial problem, but then the program has had an update and now I need to run normally to solve the problem. This is why I don't want the program run with elevated privileges.
    I went back to the properties and unchecked the box, but in fact nothing has changed: the shield appears always in the corner of the icon of the program, I always wonder confirmation whenever I run the program.
    When I return in the box properties is displayed unchecked so I can't UN check new.

    I tried:

    Box uncheck 'run as administrator' in the tab 'change settings for all users.

    Restart

    Deleting the files local and re - install

    I am running Windows 7 family Premium-64 bit, with a single user (admin).

    What is going on?

    For reference, the reason I want to remove admin privileges is that this program is supposed to run at startup, but high blocks UAC with privelidges startup programs.

    Thank you

    Andreas

    Then, they are different versions of the same program.  If it's the shield, it is programmed by the developer to require administrative rights.  You can enable each time with the UAC dialog box (or you can turn off UAC to keep everything running as an administrator all the time, obviously not recommend).  In otherwise, know if you install a hotfix or update the program, because only the person or the developer who built it can change the programming.

  • How to run a function in the oracle plsql object when the object dies

    I have an object plsql function member as exec_last.
    I want this procedure that is called when the plsql object is cleaned or when the accommodation session this object dies.

    In C, we have a system call as atexit(). Is there such a feature in Oracle 10 g or no workaround using embedded java.

    This feature is required to empty the contents stored in the plsql in the object to the database, when the program terminates.

    Thank you
    Best regards,
    Navin Srivastava

    navsriva wrote:

    Is there a better way to cache in memory.

    What is the Oracle buffer cache? It is exactly that - a cache for data blocks. The two new blocks (created by inserting new rows) and existing blocks (used by selects, updates and deletions and reused (freespace) inserts).

    The Oracle buffer cache is a cache of very mature and sophisticated. Trying to do "+ best +" to the db, buffer cache in another layer of software (such as PL/SQL) is mostly a waste of time and resources... and invariable introduced another layer of s/w which simply increases the number of moving parts. This in turn usually means increased complexity and slow performance.

    Why use the treatment in bulk from PL/SQL? The basic answer is to reduce switching between the PL and engine SQL context.

    During the execution of a code to insert data in SQL, the data must be passed to the SQL engine, PL PL engine must perform a context to the SQL engine switch so that it can process these data and execute the SQL statement.

    If there is a 1000 lines of inserts, this means that a 1000 context switches.

    In bulk treatment makes the "+ pipe communication / data + ' between the two biggest ones. Instead of passing data from one line to the SQL engine via a context switch, a collection of in bulk / picture of a 100 lines is passed. There are now only 10 changes of context necessary to push this 1000 lines of the PL engine to the SQL engine.

    You can do the same on any other client SQL... (remember, that the PL itself is also a SQL client). You can, using C/C++ for example, do exactly the same thing. When the row data to the SQL engine to insert, pass a collection of 100 rows instead of the data for a single line.

    The exact result of the same benefits as in PL/SQL. A pipe communication more, allowing more data to be transferred to and from the SQL, with engine for result less context switching.

    Of course, a context switch ito C/C++ is much more expensive than in PL/SQL - as the engine PL is located in the same physical process as the SQL engine. Using C/C++, this will usually be a separate process, to communicate with the SQL engine on the network process.

    The same applies to other languages, such as Java, c#, Delphi, Visual Basic, and so on.

    It not be wise to introduce another layer of s/w, the motor of PL/SQL and the customer "+ insert +" stored in his memory structures... and then use the PL engine to '+ flower' + for the SQL engine via a process control in bulk.

    It will be faster and more scalable, have the language of the client with treatment directly and dealing with the SQL engine directly in bulk.

    Simple example. What is SQL * Loader program (written in C), use? It uses no PL as a proxy to move data from a CSV file into a SQL table. He calls SQL directly. It uses a treatment in bulk. It is very fast to load data.

    There is an exception to this rule. What PL is used as a layer of processing and validation of business. Instead of the client code, implementation of this logic, it is done using LP. The customer then will not is more manually add an invoice to the table of the INVOICES for example. He called the procedure of PL/SQL AddNewInvoice instead - and this procedure does everything. It checks the valid client code. Ensures that there are stocks of the products ordered on the invoice. Etc.

    But in this scenario, PL is not used a flea market "buffer cache. It is used for what it was designed for - a correct application inside the database layer.

  • How to edit scanned documents when the output options are PDF files

    I have a printer of HP Photosmart Plus b209a-m.  How I edited the documents I'm scanning when the 3 output options are to create PDF or Tiff files?

    The button "scan" on the window of HP solutions says that you can "analyze and edit text with or without graph documents." Also, this website solutions indicates that I can edit documents that I scan.  But the 3 output to 'scan' options to create a PDF file, to send a PDF file or to create a Tiff file. I think that all of these types of files are not editable. I was not able to find an option to create text or Word files.

    Thanks for your help,

    Jim

    JSD says:

    I have a printer of HP Photosmart Plus b209a-m.  How I edited the documents I'm scanning when the 3 output options are to create PDF or Tiff files?

    The button "scan" on the window of HP solutions says that you can "analyze and edit text with or without graph documents." Also, this website solutions indicates that I can edit documents that I scan.  But the 3 output to 'scan' options to create a PDF file, to send a PDF file or to create a Tiff file. I think that all of these types of files are not editable. I was not able to find an option to create text or Word files.

    Software that comes with the printer HP Photosmart Plus B209a there OCR package in it. However, we can always install it by simply following procedure below:

    (1) perform a disk cleanup. (Start > all programs > Accessories > system tools > disk cleanup)

    (2) open the link below and save it on desktop OCR software

    FTP://ftp.HP.com/pub/Printers/ocragent/hpcom_OCR_140_003.exe

    (3) run the file after the download is complete.

    (4) if the error is displayed to indicate "this update does not support all of the HP device... ", do not close the message. It is very important.

    (5) open file folder

    (6) file open 7z

    (7) find the folder "ocr_web_pack".  Copy this folder on the desktop.

    8) click OK in the error message

    (9) open the "ocr_web_pack" file that is copied on the desktop and double-click "SETUP. "EXE" file

Maybe you are looking for

  • V5.8 DVD player: error-70012

    Dear Apple community, I use a MacBook Pro 13 "(mi-2010) and replaced the Superdrive (SD) by a 750 GB HD (using the iFixit statement)." At the time I build on the 750 GB HD, it had Mac OS X 10.11.1. I noticed recently that the DVD player (v.5.8) not s

  • reinstalling hardware

    When you try to find the driver for my dvd/cd on mydesktop I accidentally uninstalled hardware.  How can I reinstall?

  • Get the 80070026 error during the installation of Windows Vista SP2

    Everyway that I try to run my automatic updates for windows I get the error message with the error Code 80070026.  I have Vista service Pack 1.  I do not know there is an update for me who keeps my computer at risk or with this problem. I've also dis

  • SM Bus Controller / USB 3.0 drivers Win7

    Hey,. I know that this has been posted a million times, but for some reason any has not been posted for my specific model of HP laptop.  I have a G6 - 2288CA.  I upgraded from windows 8 for windows 7 because I can't bear windows 8. I realize that HP

  • How to restore Del support Centre?

    I own a laptop computer computor of led studio.  I am constantly advised - usely in the middle of a project, Del support centre has stopped working. Q1: How can I remove those annoying advises from my screen? Q 2.  can I restore Windows Del support -