VI Works Single Step at a Time, But Not When Run Normally

I'm very new to LabView and have created a simple VI to record a single measurement from my HP 34401A Multimeter over an RS 232 connection.
The problem that I'm having is that the VI only works when I run it a single step at a time (clicking the single step button until it's completed).  When I try to run the entire thing though, I get the following error:
Error -1073807339 occurred at VISA Read in Untitled 2
Possible reason(s):
VISA:  (Hex 0xBFFF0015) Timeout expired before operation completed.
After reading through the help page for that error, I tried adding a time delay, but that did not fix the problem.
(http://digital.ni.com/public.nsf/allkb/874B379E24C0A0D686256FCF007A6EA0)
NI I/O Trace didn't provide any answers for me, but I've attached a shot.  Lines 1-13 are from the single step run, the rest are from attempting to run the entire thing at once.
Can anyone please help me understand what's going on here?  Thanks in advance!
If anyone is interested:
Windows 7
LabVIEW 2009
HP 34401A Multimeter
RS 232 connection is through a USB-Serial adapter
Solved!
Go to Solution.
Attachments:
Front Panel and Block Diagram.png ‏112 KB
NI IO Trace.png ‏91 KB

The only thing I can think of is that you are sending the remote command and then not waiting long enough for it to complete.  The manual states:
It is very important that you send the
SYSTem:REMote command
to place the multimeter in the remote mode. Sending or receiving data
over the RS-232 interface when not configured for remote operation can
cause unpredictable results.
And I think we are experiencing unpredictable results.
i don't know if you can change the command into a query by using the *OPC? command, but using that could solve it - or we could run into the same issue because of the caveat mentioned above.  Maybe you have to put a manual wait in between the remote command and the write command.
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

Similar Messages

  • TS1559 my ipod touch 1g upadate now 3.1.3 but my wifi still Greay Out . i am following this steps lot of time but not result . please tell me 100 % solution of greayed wifi ! please

    my ipod touch 1g upadate now 3.1.3 but my wifi still Greay Out . i am following this steps lot of time but not result . please tell me 100 % solution of greayed wifi ! please

    See:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    One user reported that placing the iPod in the freezer fixed the problem.
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar

  • I can  hear via speaker phone and talk but not when in normal mode

    I can  hear via speaker phone and talk but not when in normal mode

    Try to disable hardware acceleration.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://support.mozilla.org/kb/how-do-i-upgrade-my-graphics-drivers

  • UIImpersonator tests work in FlashBuilder, but not when run from Ant

    I'm in the process of converting a Flex 3 project to use FlexUnit4 tests.
    Everything compiles in Flashbuilder 4.5 and runs nicely. I've converted all the tests
    to use flexunit 4, which highlighted a few issues, but nothing too major, and all the
    tests now pass when run in Flashbuilder.
    So... now, I'm trying to convert the CI build to use the 4.5 SDK and flexunit4. So far,
    so good. Everything runs and I get a nicely formatted JUnit report. Unfortunately, though,
    any test that uses the UIImpersonator fails with an async method timeout, suggesting that
    the CreationComplete event hasn't fired.
    Here's a typical example of one of my UI test cases:
              [Test(async, ui)]
              public function testAvailableProductsSetupAdminForSell() : void {
                   var view:OrderBasketView = new OrderBasketView();
                   var user:CfxUser = new CfxUser();
                   user.admin = true;
                   ModelLocator.instance.userDetails = user;
                   view.buyOrSell = OrderType.SELL;
                   helper.createComponentAndAddListener(view, this, availableProductSetupAdminForSellCreationComplete);
              private function availableProductSetupAdminForSellCreationComplete(event:Event, view:OrderBasketView) : void {
                   Assert.assertTrue(view.availableProductTypes.contains(ProductType.PRODUCT_1));
                   Assert.assertTrue(view.availableProductTypes.contains(ProductType.PRODUCT_2));
                   Assert.assertTrue(view.availableProductTypes.contains(ProductType.PRODUCT_3));
    and helper.createComponentAndAddListener looks like this:
            public function createComponentAndAddListener(view:UIComponent, testCase:Object, creationComplete:Function) : void {
                   _view = view;
                   _view.addEventListener(FlexEvent.CREATION_COMPLETE, Async.asyncHandler(testCase, creationComplete, 4000, _view));
                   UIImpersonator.addChild(_view);
    If I use FlexGlobals.topLevelApplication.parent.addChild(_view) in place of UIImpersonator.addChild(_view), all the tests pass.
    I was wondering if it's a function of the fact that my helper class has no metadata that indicates it's a ui test, but that wouldn't explain why it works in FlashBuilder and not when run with ant.
    I also wondered if it was a function of running with headless server set to true, but when I changed it to false the same thing happened.
    My environment is:
    ubuntu 11.04
    ant 1.7.1
    Sun jdk 1.6.0_26
    Flex SDK 4.5.1.21328
    FlexUnit 4.1.0-8-4.1.0.16076
    I'm using the auto-generated TestRunner.mxml
    Any thoughts, anyone? Now that I can get it to work by adding the UI components to the topLevelApplication, at least I can make progress, but I'd like to get to the bottom of the problem, because that shouldn't be necessary.
    Thanks in advance,
    -Chrisl

    Changing to the topLevelApplication did not work. What's funny is that it then failed on a completely unrelated test by hanging and never returning... I'm thinking there must be something else that is going on here, but it's not clear what... :-/ Here is an example of my setup/teardown and a test that work great in the UI but not in CI...
    [Before(async, ui)]
    public function setUp():void
        _fromToList = new FromToList();
        _fromToList.setStyle('skinClass', FromToListSkin);
        Async.proceedOnEvent(this, _fromToList, FlexEvent.CREATION_COMPLETE, 1000);
        FlexGlobals.topLevelApplication.parent.addChild(_fromToList);
        // UIImpersonator.addChild(_fromToList);
    [After(ui)]
    public function tearDown():void
        FlexGlobals.topLevelApplication.parent.removeChild(_fromToList);
        // UIImpersonator.removeChild(_fromToList);
        _fromToList = null;
    [Test(async)]
    public function should_remove_selected_item_in_to_list_to_from_list():void
        _fromToList.fromArrayList = _dpArray;
        _fromToList.toArrayList = _toDpArray;
        var sequence:SequenceRunner = new SequenceRunner(this);
        sequence.addStep(new SequenceSetter(_fromToList.toList, { selectedItem: _toDpArray[1]}));
        sequence.addStep(new SequenceWaiter(_fromToList.toList, FlexEvent.VALUE_COMMIT, 100));
        sequence.addStep(new SequenceCaller(_fromToList, _fromToList.remove));
        sequence.addStep(new SequenceWaiter(_fromToList, FromToListChangeEvent.FROM_TO_LIST_CHANGE_EVENT, 100));
        sequence.addAssertHandler(handleListHasChangedThenRemoveEvent, {});
        sequence.run();
    private function handleListHasChangedThenRemoveEvent(event:FromToListChangeEvent, passThruData:Object):void
        assertThat(_fromToList.toArrayList.length, equalTo(_toDpArray.length - 1));
        assertThat(_fromToList.fromArrayList.length, equalTo(_dpArray.length - _toDpArray.length + 1));
        assertTrue(_fromToList.fromArrayList.contains(_toDpArray[1]));
    So you can see that I'm using Sequences to manage waiting for stuff to get updated in the background, and basically testing when I select an item in a list and act on it that it updates the model like I expect. Again, works GREAT in the UI Runner.
    I'm open to suggestions...

  • Dynamic Parameter List works on desktop but not when run on Crystal Server

    Hi,
    I have a report, and the database command query takes one parameter ({?Year}. There is a second parameter used for a record select which is a dynamic paramenter list (multiple select, required). When running the report from Crystal Reports 2008 on my desktop, it first prompts for a year, and then once that is entered, it will come back with the list (of Companies) to select from. It works very smootly and as desired.
    But when I load this report to Crystal Reports 2008 Server, it will ask for the year (which is a static list), and this is good, but then it comes back with an empty dynamic select list on the next screen.
    Are there any special caveats that I need to be aware of in regards to dynamic lists when running from the CR server?
    Thanks!

    Hi Pat, 
    This should work but a couple of things to check: 
    1)  Are the two parameters linked to the same database?  If the parameters are linked to fields from different tables in different databases then you need to make sure you set the Database Configuration and have the report log on to both databases. 
    2)  Are Crystal Reports and Crystal Server the same version?  I had problems with parameters after we upgraded to 2008.  We had to install the latest service packs for both Crystal 2008 and the Enterprise Server.  Then we installed Crystal 2008 on the same machine the Enterprise Server was on.  Crystal Reports and the Enterprise Server share some common files.  Some of those files were updated for Crystal but not for the Enterprise Server yet.  Once we synched them our reports have run fine. 
    Good luck,
    Brian

  • Text caption visible on slide but not when running project

    I am using Captivate v4.
    I have one slide of 64 where the text cpation is seen on the slide and runs correctly when using F3 - but when I run the project / F10 the text caption does not appear.
    I have copied the slide with this error onto a blank project as i assumed the project might be corrupt - but the same happens on the blank project.
    Help please...anyone ?
    Noel

    Thanks Rod and Rick,
    Not sure what was the cause of the problem - but have fixed it now.
    After trying many things, including copying the project onto a new blank Captivate project - none of which worked, I did the following and the problem was fixed.
    Working on the original project and the slide with the error - I removed the text caption that was not working (for the nth time) and thought I would try one more time to put the text caption back using a different font.....
    When I opened the text caption option I noticed there are "two" options for the transparent text caption one above the line and one below, see below;
    I selected the transparent option below the line...and it worked OK.
    Have to assume that the ones above the line are the most recently used, and I must have been using this one without noticing which one I was selecting - and there was something wrong with the one above the line.
    Staring to think I need to upgrade to v5.5 - but not convinced it is the right thing to do.
    Thanks again guys,
    Noel

  • Report data shows up in Builder but not when run on web

    I have a report that pulls up the data just fine when run in Builder but when I run it on the web, it shows up, no errors, with no data...just blank.
    I am using a global temp table to do this.
    Any ideas on what might cause this to happen?
    Thank you for ANY suggestions!!
    --KWien                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    Are you sure you are using all the parameters (that work in Builder) in the URL?
    Gicu

  • SQL Query Works in MS SQL Server 2008 but not when using Database Toolkit

    I have this SQL query:
    DECLARE @DataTypeTable TABLE (
    Name varchar(128),
    TypeID INT)
    --Add comma delimeted data type names to temp table
    INSERT INTO @DataTypeTable (Name)
    SELECT * FROM WhatWeShouldDoRead.func_Split(@DataTypeTrimmed,',')
    SELECT Name FROM @DataTypeTable
    Which takes a comma delimited string and returns the string as a table.  It works correctly in Microsoft SQL Server Management Studio.  When I run this as a stored procedure  I get back nothing.  There are no errors, SQL or otherwise.  I've verified that I am connected to the correct database and that the stored procedure is loaded by changing the no error string that is reported from this stored procedure (that code is not shown in the above example).  Has anyone seen this problem before, or have any experiance with SQL/Labview interfaces to tell me what I'm doing wrong?
    Thanks in advance. 
    Solved!
    Go to Solution.

    After doing some more research it appears that the database toolkit cannot interface with any table results from any type of temp table.  It may have to do with the fact that MS SQL 2008 stores temp tables in a seperate database (tempdb) and not the database you are currently connected to.  See this link for a good artical on temp tables:
    http://databases.aspfaq.com/database/should-i-use-a-temp-table-or-a-table-variable.html
    If possible,  I'd like a someone to prove me wrong, but for now will have to settle for exporting the contents of a temp table through a string.

  • FONT ISSUES: Fonts work perfectly in Indesign 5.5 but not when dragged into CC.

    When I open a file using Indesign 5.5, it is absolutely perfect. When I drag it to Indesign CC, it tells me that there are fonts missing. Then I cannot update those fonts because they dont appear. My font management software (Suitcase Fusion) is completely up to date. It has become a big problem for us.
    Thanks!

    Problem solved. Thanks Ken Rice, tht obviously helped.
    Peter, yes, we had checked that yesterday, thanks.
    Willi, That was plan b according to Adobe support. I'm pretty sure that packaging the file while in 5.5, then opening in CC would have worked.
    Plan A (from Adobe support) worked which was copying the necessary fonts from the system (or from packaging the file in 5.5), into The fonts foler located in "Applications-->Adobe InDesign CC-->Fonts".
    Thanks all for your help!

  • ORA-01843: not a valid month . Receive this error when running report in reporting services but not when running query in BIDS

    sql server 2008 r2
    RS2008 r2
    I can execute the query in BIDS 2008 with out a problem and I can run on our RS2005 server without a problem
    But when I deploy report and run on our RS2008 server I get the error
    An error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for dataset 'NIR'. (rsErrorExecutingCommand)
    ORA-01843: not a valid month 
    QUERY:
    select * from NIR_QUARTERLY where birth_date between :PARAM1 and :PARAM2
    order by PT_CODE

    CAUSE
    The problem is caused by not using VALID dates values in the dataset.
    - This data problem was masked in the original version as the Predicate(s) used can change between versions of Oracle
    - Oracle does *not* guarantee the same explain plan or the specific order of predicates used between versions of Oracle
    Reviewing the  EXPLAIN PLAN for both versions revealed in this case:
    1) The table was partitioned
    2) The EXPLAIN PLANS were not the same due to how the partitions were accessed
    3) If the same query was used against a non-partitioned table using the same data, the following error would always occur
       ORA-01843: not a valid month
    4) The problem string value was in this case found to include the string value of  '0000-00-00'
      The ORA-01843 occurred when using the TO_DATE function against '0000-00-00'
    There is *no* Year= '0000' Month= '00' or day = '00' -- therefore the  ORA-01843: not a valid month
    --Prashanth

  • Playing playlists on apple TV:  It worked at one time, but not now.  Home sharing is on, on the computer, but AppleTV wants me to turn it on!

    Trying to play playlist on Apple TV.  It worked at one time, but not now.  Home sharing is on, on the computer; but apple TV keeps asking me to turn home sharing on.
      What gives?

    Hello hobartco,
    Home sharing will, indeed, need to be set up on your Apple TV, as well.
    Setting up Home Sharing for Apple TV (2nd generation and 3rd generation)
    http://support.apple.com/kb/HT4352
    Cheers,
    Allen

  • HT4061 My phone can't turned on. I tried to press the home button and main button at the same time, but not working. what should I do?

    Iphone 4s can't turned on, goes total black. Tried to press button and main button at the same time, but not working. what should I do?

    recovery mode
    open itunes on computer
    plug cable into computer not iOS device
    turn phone off
    hold home button and plug cable into phone.  do not release home button until an itunes graphic appears on device.
    look to computer should have message about recovery mode click ok and restore
    Peace, Clyde
    if u need an article see
    http://support.apple.com/kb/HT1808

  • Hello I have Problem in Apple Iphone 5 i already change it 2 time but not working properly, hello I have Problem in Apple Iphone 5 i already change it 2 time but not working properly

    Dear sir,
    I Purchases Iphone 5 when its launch but from first day I am facing network problem and call dropping i already change the phone 2 time but not solve the problem so I request you to give my money back so I can buy other phone if you are not give me proper reply I go through with consumer protection council.
    Regards
    Jitendra Hundia
    +91 999 8111777

    We are users. We aren't going to give you anything. You are not talking to Apple.
    What carrier are you using? Aircel and Airtel are the only supported carriers in India. If you're using a different carrier, then switch to one that's supported.

  • I cannot get GPS Only to work on my ipad3 (4g version, but not on an active cell plan, and wifi off).  Is there some new requirement in 7.1 or 7.1.1 to have cell and/or wifi enabled for GPS to work? I am testing with MotionX

    It seems like I cannot get GPS only to work on my ipad3 (4g version, but not on an active cell plan, and wifi off).  Is there some new requirement in 7.1 or 7.1.1 to have cell and/or wifi enabled for GPS to work? I am testing with MotionX, garmin blueChart mobile, and a GPS monitoring tool. All show no signal. If I turn on cell and wifi,  it says I get gps signal, but can't tell if that is from the GPS chip, or just from cell and wifi only (maybe with some gps mixed in)?  Any ideas on how to get iPad working with GPS only??

    Roger that.  Thanks for your time.
    System:
    Windows 7 64bit
    Processor: AMD phenom IIX4 965
    RAM:  Gskill Ripsaw F3-12800CL7D-4GBRM (2-2GB sticks)
    GPU:EVGA Classified Nvidia GeForce GTX 560 Ti 448 core
    PSU: Kingwin 1000W laser gold (LZG-1000)
    Yes. tried the one ram stick, no go.  I have been trying to boot off/install the windows 7 disk but am unable to get to the point where windows starts installing after its gathering information portion of the install.  I can get to the disk selection screen of the install with the WD HD on SATA port 2 but then get the "cant install messages" when I try to select the Vertex 3.  Yes I can see the Vertex 3 Drive as well as the WD drive at this point.  some times I have to hit "scan" a couple of times.

  • Code is working fine with OIM9102 BP14 patch but not in OIM9102 BP20.

    Using OIM API calls, I am able to fetch usr_key and ugp_key succesfully when utilityFactory is initialized with system admin login.
    When utilityFactory is intialized with non system admin ID, usr_key and ugp_key is returning as "0".
    This code is working fine with OIM9102 BP14 patch but not in OIM9102 BP20. Do user need any access right to invoke API calls ? Any thing related to this is changed in this patch?
    Environment details:
    OIM 9102BP20
    Websphere 6.1

    No, no more rights are needed. If it is working fine into BP older than this one, raise a SR and ask support guys to file a bug. But you have to show them step-by-step working into the older one and not working on newer. It is quite difficult happen, but maybe this feature broken on new business patch 20.
    I hope this helps,
    THiago Leoncio.

Maybe you are looking for

  • Two Apple Tvs - one iTunes account

    I bought two Apple TVs - and want to have them sync to one iTunes account. After I bought the second Apple TV and synced it to my iTunes account, my iTunes account doesn't recognize the first Apple TV. I can ping it - so it's on the network. I've gon

  • Urgent : GET/ SET Parameter

    Hi All, I want to use an internal table of one program in another in runtime only, Program A will call Program B and the internal table in Program A have to be used in Program B. Can anyone tell me how to use the complete internal table in that way i

  • Automated XML - Placeholder Structure Question

    I'm testing XML import for a series of publications that need use automated layouts...having never attemped this. But I am confounded regarding the placeholder structure and how it should mirror the XML structure and am banging my head against a wall

  • Send JDBC - XI - Recv SOAP

    HI, I  want to retrieve the data from Database and send this into Webservice ? I dont have any Idea How to configure the receiver SOAP adaptor and the creation of WSDL file Can anyone help me with the complete example of Sender Jdbc -> XI -> Receiver

  • Win 7 install permission issues

    Hello, I had the flash player crash, so iI uninstalled it now i can't reinstall due to permission issues.  I have done the steps recommended in the troubleshooting, but has i run them, I see alot of failed operations in the dos window.