The code runs fine for 1 time. NOR-DAQ: command requires controller gpib controller

Hi all

My labview code is attached. He controls a powersupply lakeshore, keithley and sourcemeter multi-meter and a GM08 Gaussmeter.
The code works perfectly on the 1st round.
However, on the 2nd round, the initialization for the sourcemeter (KE2400) returns an error.
The code works well again after cessation of the VI and it works again.

I have no idea why this is happening, any advice would be helpful thank you! (as with all tips to make my code better in general)

My big loop is of my readings on average.

If the error occurs at initialization, then the question is not the shift registers. All of your entries to the initialization did not all local variables or something weird, so it has nothing to do with the values changing with each race. That leaves the issue lying with the instrument itself, or communication with the instrument.

When you first run the application is complete, there are errors? Run VI close very well to close the connection?

I suggest you do a little test VI passing right through the screw, using the Sourcemeter to see if you can dial in on the problem. If you test VI initializes and works fine again and again, then it might be a problem with your errors or manipulation of communication management.

Tags: NI Software

Similar Questions

  • Cannot READ the CODE of REDEMPTION for Itunes gift card

    Cannot READ the CODE of REDEMPTION for Itunes gift card

    Take it back to the shop. It has nothing to do with MS

  • Hi, I got my subscription for the year running last for Photoshop and Lightroom. Because I had the good idea to download the 2015 CC of Photoshop, I return to the evaluation period. I would like to know, when this period ends, will I get my subscribed v

    Hi, I got my subscription for the year running last for Photoshop and Lightroom. Because I had the good idea to download the version of Photoshop CC 2015 (I thought it was just an update...), I get to the evaluation period.

    I would like to know, when this period expires, will I get my purchased version back or should I get a new subscription?

    If I get a new subscription, one is cancelled automatically, or do I have to do something else?

    Thanks a lot for the answers!

    If you are subscribed to the creative cloud, Creative Cloud 15 updates are included.

    If when you updated, all or part of the CC apps show 'trial start or buy now' in the creative cloud desktop application, please see this link:

    https://helpx.Adobe.com/manage-account-membership/CC-reverts-to-trial.html

  • Starter or connection loss if the session is inactive for short time

    Hi all

    I'm using Oracle 11.2.0.3. APEX 4.2.2. APEX listener 2.0.3. Server GlassFish 4.0.

    If I leave the idle session for some time about 10 minutes, and then when I come back and you click a link in any (for example tab) in the application.

    It takes a few seconds to answer. and sometimes I get: Oops! Google Chrome does not have to connect to... so if I update, it works fine.

    During this 'Choke', I see in the status bar (on the lower right corner) of Google Chrome. 'Connection... '. «Or «pending the my_server...» »

    What could be the reason? Who barely get this problem?

    Kind regards

    Hello

    I used Glassfish 3. XXX and it works very well... it looks like APEX doesn't she get Galssfish 4

    Kind regards

  • IPhone does not accept the code to check for text messages

    II phone does not accept the code verification for the transfer of messages text imac

    Maybe these articles will help:

    Get a verification code and connect with authentication to two factors - Apple Support

    If you don't receive your check or reset email - Apple Support

    If this is not the case, can you explain a little more detail what exactly is your problem?  Or see the 'Contact us' at the bottom of the second article.

  • Below the Code works fine but the counter shows 1 even there is no filled vacuum still

    Here is the code to get the vacuum filleds (counter);

    Form1. Page1.notification.NumericField1::ready:layout - (FormCalc, client)

    var FilledRows = 0

    for i = 0 upto Body.Table1.Row1.instanceManager.count - 1

    If (Body.Table1.Row1 [i] .drp_names EQ null) then

    FilledRows = FilledRows + 1;

    this.rawValue = FilledRows;

    endif

    ENDFOR

    the code in Javascript to check if the value of the counter is zero

    Form1. Page1.save_as::click - (JavaScript, client)

    If (notification. NumericField1.rawValue == 0) {}

    xfa.host.messageBox ("this will save your form as a PDF form, means that you can change it later once more","save form", 3, 0);

    app.execMenuItem ("SaveAs") ;}

    on the other

    {xfa.host.messageBox ("you have:" + notification.)} NumericField1.rawValue + "void highlighted fields", "Empty fields", 3, 0) ;}

    FormCalc if you assign a value of fields at the end of your script, otherwise I can replaced by an arithmethical or a Boolean result of the script itself.

    var FilledRows = 0
    for i = 0 upto Body.Table1.Row1.instanceManager.count - 1 do
        if (Body.Table1.Row1[i].drp_names.inNull eq 1) then
              FilledRows = Sum(FilledRows, 1)
        endif
    endfor
    $ = FilledRows;
    
  • Creation of XML with the Code - 1086: syntax for Version error

    Hi all

    I use AS3 CS6 Flash Pro.

    I am trying to create an XML file I can add child to other similar XML file data. This is the format XLIFF channels Panel uses to manage data translation.

    The file is by design descendant compatiable to AS2. I don't really want to import the XML in a file.

    var TEMP:XML = <?xml version="1.0" encoding="UTF-8"?>
    <xliff version="1.0" xml:lang="en">
      <file datatype="plaintext" original="ZMP_en.fla" source-language="EN">
        <header></header>
        <body>
        </body>
      </file>
    </xliff>
    trace(TEMP);
    
    

    1086: syntax error expecting semicolon before version - on line 2 of the code

    I will be adding other XML snippets as children of < body >.

    Thank you

    Try:

    var TEMP:XML = 
      
        
    trace(TEMP);
  • The code running is not for users not registered...

    Hi all

    I have a problem with Oracle Portal. I'll try to explain it clearly ;)

    If I put this code in a dynamic page and I add this dynamic page to a portal page:


    declare

    v_caid portal.wwsbr_all_folders.caid%type;

    Start

    HTP. P (' step 1 < br / > < br / > ');

    Select f.caid in the portal.wwsbr_all_folders v_caid f where f.name = "XXXXX";

    HTP. P ("step 2 < br / > < br / > '");

    end;


    It only works if I am connected to my portal. Otherwise, this code print never ' step 2 ' (step 1 it print still, independently, you are logged in or not). It seems that it is not possible to execute the query, if the user is not logged on the portal and I need could be done. I'm looking for a solution to no avail. The page has been setup for public users can view them.

    I tried to run Grant execute on SITE. WWSBR_ALL_FOLDERS to PORTAL_PUBLIC; (I read on this forum) but I get an error ORA-02204.

    Thanks in advance and please, sorry about my poor English level ;)

    Best regards.

    Hello

    In your browser, go to the page that you use in your query. Go to properties, then on the Access tab. This page is public? If your query do not find the information, since the view wwsbr_all_folders security uses to check if a user (public or connected) has access to the page. If the user does not access or the page is not public, the view does not return a record for her. This is why there is a difference between the query when you are logged in or not.

    Concerning
    Johan

  • Problem running streets $ travel 2007 after running fine for several months.

    I installed MS streets & trips 2007 on my new Dell w / Vista Home Premium 64 bit and it worked fine until a few days ago. Now the message "your registry settings for this application were not copied corectly. To correct these settings, run Setup again for this application from the location where you originally installed IT."is displayed. I uninstalled S & T, reinstalled, but the same thing happens. No error is indicated during the installation.

    http://www.Microsoft.com/communities/newsgroups/en-us/default.aspx?DG=Microsoft.public.streets-trips

    I advise you to ask your question in the Newsgroup S & T, dealing with these problems.

    See you soon. Mick Murphy - Microsoft partner

  • Automatic shut down of the code MyRio update in real time

    I try to run this code flashing and conduit, which works, but I have, what I want now is when the digital input is pushed to stop the execution. Then continue where it left off when the input is wrong again. If someone could take a look at this and give me any ideas would be great. The way I have now, it will not work because the initial state is false and it must be true to run. So I had initially changed what I had in the business structure reading from true to false, and then he ran. But as soon as I click on the digital input that does not stop running. So if someone could help me get the Vi to stop running until the entry is not thorough and true once still keep the same value, it would be greatly appreciated.

    Hello

    I downloaded and took a peek at your code.  It sounds like you were on the right track with how you thought about this, but you must make a few changes to make it work quite as you expect.  I made a few changes, including the flat removal of the structure of sequence and logic of initialization.  You can add things that I have deleted if they are relevant to your project.  I'll download my modified here, let me know if that helps.

  • Apple do not send the code to verifly for me

    Dear iTunes Store Support,

    I have an Apple ID, but I can't active two-step VERIFICATION
    because the National telephone code is wrong. I live in the Viet Nam and my code phone is + 84, but has chosen to step two, App using + 848. This is why I can't the activation code on my phone.

    Please correct the error! Thank you!

    ---

    Dear Apple Team

    WEATHER vung điện thoại Cup gia Việt Nam trời here + 84, tuy Nhiên, trong lựa chọn mặc định trời Apple laº¡i nests here + 848 Đỗ khi Chung toi nhập điện thoại nests nhận ma is number sai số (vi dụ: với số điện thoại * be there + *, tuy Nhiên No. laº¡i thanh *).

    Do vậy toi khong nhận được ma vao điện thoại. Điều nay there see toai vi toi lo lắng cho việc bảo mật trời minh khong xac minh 2 bước được thể.

    < personal information under the direction of the host >

  • After updating to the latest computer firefox on the internet running slower, taking more time to go to the links and sites.also if I click on an e-mail link the link keeps refreshing like mailto and custom stop opening new tabs very quickly, having to st

    Since the installation of updated, when you use internet, e-mail all slowed and takes time to go to Web sites to download pictures on email.
    also when I click on an e-mail link to send the emails tab bar refreshing guard and open a new tab very quickly what I can read cos its so fast is mailto this happened several times on various websites, I clicked on an email that we link on grangerhertzog.com yesterday and he did.

    You get this problem if you select the Firefox program to manage a file if you get an 'Open with' dialog box.

  • Serial number on creative Suite 5.5, design standard is not recognized and the code error 5 for Indesign and illustrator

    I need my Mac operating system reloaded and now can no longer access create Suite 5.5 Design Standard after I installed it.

    I am currently Mac OS x version 10.8.5

    When I try to open InDesign or Illustrator I get a message that said "configuration error 5." and I am encouraged to contact 'support Adobe' (what I've done and they are no help at all) and when I try to open Adobe Photoshop and enter the serial number of my product, it says "this serial number is not valid for this product".

    Help, please?

    Thanks in advance.

    ATTENTION... any request for use of Skype is a SCAM... Adobe does not use Skype

    Please post the real Userid here so Adobe can ban this user from the forums

  • How the disc auto play when the menu is displayed for some time?

    I used to make DVD with other software and has always been able to have Autostart the DVD if the remote control does not say 30 seconds.  I couldn't find this option in Encore CS5.  Did I miss something or someone could tell me how to do it with yet?

    Thank you!

    I'm not entirely sure what you mean by "having the autostart DVD." I guess you are talking about having a game of particular film, or gave you the answer later, for the program 'play together' (film/playlist?) start.

    Select the first menu of the game. In the properties panel, in the query tab, deselect 'keep forever,' set the duration to 20 seconds (or other), then on the standard tab, set the end action of the movie/playlist you want to play.

  • My Ipad has a problem of color, color appears on the screen or displays for some time and it is not possible to work.

    4 iPad.

    version: 9.3 (13E233)

    capacity: 27.1 GB

    iOS 9

    Can you describe the issue in more detail?

Maybe you are looking for