VI locks up when front panel is displayed

Hi
Firstly, I apologise if I’ve sent this to the wrong forum – I’m not sure if this is a TestStand or Labview related issue or possibly both.
I have a test procedure developed using Labview 7.1 and TestStand 3.1. It’s run from TestStand’s Operator Interface VI (full version), and executes about a dozen TestStand sequences in turn which call lower level VIs that perform the actual tests.
The code was written on a Dell GX240 Pentium 4 PC, with Windows 2000 + SP4 installed and runs without a hitch. However, I also have a second PC, same model & spec, but running Windows XP + SP3 instead of Win2K. I’ve also installed the same versions of Labview & TestStand on it, and copied across all my TestStand sequences & VIs into the same working directory. However, when I run the program on this machine, again using the same Operator Interface, it executes until about half way through and then hangs up.
In several tests, I call up a graphical user interface VI which displays a picture and prompts the operator to click on either a ‘Pass’ or ‘Fail’ button – the actual text being passed as a parameter. When the lock up occurs, the front panel is displayed, but there’s no picture and the buttons are blank. Up to that point, previous calls to the VI have executed ok.
If I modify the step that causes the problem, to call another VI - for example, a sub VI that doesn’t display a front panel - the new VI executes and the program continues to run. If I then change this VI’s configuration so that it’s front panel is displayed at run time, the problem re-occurs - the front panel outline appears but everything then freezes.
Attempting to close the front panel window, results in either error code –18001 and the message ‘an error occurred accessing the Labview ActiveX automation server’ being displayed or the Windows prompt to close Labview as it’s not responding. Usually, clicking ‘End Program’ causes the PC to crash out & re-boot.
Skipping TestStand sequences, whether they execute the GUI VI or not, just moves the point where the lock up occurs further down the list of tests, to the next step where the GUI VI is called. It’s almost as if something isn’t being closed properly when the program runs, and eventually reaches some limit, but why this doesn’t appear to effect the Windows 2000 PC, I’m at a loss. 
Very much appreciate anyone’s thoughts.
Thanks
Bruce

Hi Bruce,
I found a KnowledgeBase article relating to the error you are seeing.
It describes error 18001 "Error occurred accessing LV activeX automation server". 
Let me know if this helps you out.
This problem may also be due to how you have configured the Distributed COM (DCOM) settings on your machine. You will need to ensure that your DCOM settings allows the LabVIEW ActiveX Server to be launched and accessed through ActiveX automation. Even Administrator accounts can be denied launch and access permissions. To modify these permissions follow the steps below for Windows XP:
Login to Windows using a UserID that has administrator privileges.
Select Start»Run and enter dcomcnfg.exe. This displays the Component Services dialog window.
Navigate to Component Services»Computers»My Computer and select DCOM Config. Ignore the warnings that may appear.
Right-click on LabVIEW Application, TestStandLVRTS or the name of your LabVIEW ActiveX Server and select Properties to open the LabVIEW Application Properties dialog window. Select the Security tab. 
You must give permission to the appropriate users so that they can access the LabVIEW server. You should give everyone access permissions and appropriate users launch permission. Only users who have launch permission will be able to access the server. Add permissions by selecting Customize and Edit for each of the three permission settings and manually adding permissions for each user.
I doubled checked that LabVIEW 7.1 and 3.1 are compatible with windows XP and they are.  Just to make sure, it is 32bit or 64bit you are using?
Let me know how you get on.
Kind Regards
Lewis Gear CLD
Check out my LabVIEW UAV

Similar Messages

  • Any LabVIEW 2009 Front Panel Gage displayed as Continuous 360 deg circle?

    Any LabVIEW 2009 Front Panel Gage displayed as Continuous 360 deg circle? I want to display a Motor position on the LabVIEW Front Panel as 360 degree circle. Is there any way to make the gage display as a continous 360 deg circle?
    Solved!
    Go to Solution.

    dbaechtel wrote:
    The knobs, gages and dials, none of them seem to be designed for 360 degree continuous operation. Of course I can set the scale for 0 to 360, but I can not get rid of the gap between 0 and 360.
    How do I set up a gage to display a Continuous 360 degrees without a gap between 0 and 360?
    To change the gap, grab the high marker line and move it to the desired place (To change the origin, grab the low marker).
    Also, don't forget to wrap the raw data into the 0..360 range if it falls outside. Here's a quick example (LabVIEW 8.0).
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    360degreeGauge.vi ‏9 KB

  • Graph stalls when front panel is adjusted

    So I am trying to debug a code that someone previously wrote. I am a bit familiar with the code but as I mentioned did not write it myself. The deal is that when Im in running the front panel and the graph is graphing time vs any other parameter, if you press any button on the front panel or if a sub-vi gets called the graph will stall and one has to manually reset the graph. I am not too sure why this is going on. Attached are a few screen shots of where this section of the code lives. There is a stacked sequence with two subdiagrams and it is also being called in the event structure inside one of those subdiagrams. I could also upload the whole code if needed.
    Thanks for the help guys
    Attachments:
    Graphing front panel.doc ‏456 KB

    OK, I was able to get to the code by selective unzipping.
    As a first step, you should eliminate all these value property nodes and replace them with plain local variables instead. The code os causing excessive thread switching and spends way too much time in the UI thread.
    Overall, there is way too much code. For example you have in the "graphed parameter" event the same property node in every single case of the inner case structures. These property nodes belong after the case structure, only once instance each needed!
    (Sorry, I have to do some other things now. Will look at it a little more later.....)
    LabVIEW Champion . Do more with less code and in less time .

  • Refresh graph properties (colors...) when front panel not opened

    I have a problem with setting the plot properties of a multiple xy-graph.
    I first pass the data (n plots, number variable) to the graph control, THEN I set the according properties like color, line style etc. by a property node beginning with "active plot" followed by the properties. So when I set them, the xy-graph is already initialized with n plots.
    Afterwards, I take the graph picture and save it to a bitmap-file.
    That works fine as long as the front panel is opened or the number of plots and their attributes stays constant. But if the panel is closed (which is the default of that VI) and the number of plots changes, I get only as many plots plotted correctly as there are shown in the plot legend
    - regardless of if the legend is shown or not.
    I don't like the idea of having a huge legend on the panel which still might be too small sometimes or having the legend scaled by it's height-property in pixels.
    What I need is something like a .refresh-method that forces the graph to update even if the front panel is closed. Any idea how to do this?
    Cheers & thanks, Daniel

    The issue you are seeing is because LabVIEW doesn't update the controls/indicator of a front panel that is not open. This is done to save computer resources. The simple way around this is to use VI server to open the front panel for it to update and then close it again. You can use the VI property FP.position to move the window offscreen where it can't be seen and perform the open/close. This will get you the results you are after while still allowing the illusion of a closed front panel.

  • Clearing Previous Front Panel before displaying a new one.

    hi,
    My problem is clearing the old front panel. What I have is a VI with a CONFIG button. When user presses the config button front panel # 2 appears. There is a NEXT button on from panel #2. When you press the NEXT button front panel #3 pops up. The problem is that front panel # 2 stays in the background behind the new front panel # 3. What do i have to do to cancel the prevoius front panel? 
    Solved!
    Go to Solution.

    This will cancel the pervious window.  Your booleans should be inside the event structure.
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home
    Attachments:
    start with this VI-2.vi ‏8 KB
    2.vi ‏17 KB
    3.vi ‏14 KB

  • How to stop my 1553 Remote terminal application from locking up the Front Panel when the Bus Controller application is causing msgs traffic over the 1553 bus. This simulation uses WIN98SE with excalibur ISA cards.

    This simulation has several transmit and receive messages. The fastest message refresh rate is set to 50Hz (20 ms).

    Hi,
    Can you provide some more information about what hardware and software you are using? What is your application? Thanks!
    JenK

  • Firewire drives won't mount when front panel is in use

    Does anyone else have this problem? My firewire drives (some, not all) will not mount when the firewire cable from my deck is plugged into the fron panel on my G5. Weird. When I unplug it, they instantly mount. I'm running 10.3.9, and I'm wondering if this is something that has been fixed in Tiger? Any other solutions?

    stay away from belkin cards though, nothing but reported problems.
    www.macsales.com
    www.macgurus.com
    both great places for products like these. i put a siig card in my g4 from macsales and i've never had a firewire related problem of any kind.
    also, i see you use a g4, the apple discussion site for your computer is a great place to have expansion and other questions answered. be sure and do a search before posting.

  • Front panel of a vi pops up when i start my top level vi how can i stop this

    i have a vi that whos front panel should display when the user clicks a front panel button(test instructions),
    however this vi pops up when i run the top level vi. I can manually close the vi, but how do i stop this?
    i tried modifying the Sub VI Set up properties, but that doesnt work.
    Solved!
    Go to Solution.

    Hi jknapp,
    As egraham has pointed out, you can customize the window appearance of your sub VI from the VI Properties.  If you go to File » VI Properties, then under Category select Window Appearance and then Customize..., you should be able to control how the sub VI appears.  Hope this helps!
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • No Cellular network after front panel display replacement.

    Dear all
    I recently changed my broken front panel LCD display of iphone 4S. The phone works fine and no operating issues. However my SIM is not detected. I tried following
    1. Reset network settings: It did not help
    2. While phone is ON, I removed the SIM tray but no error message of "No SIM card installed" appeared. So is the hardware damaged?
    3. When I am turing location services ON, i do not see that in status bar too.
    3. In Reset options, following options are in grey: Reset all settings, and Erase all content and settings. --> does that mean I have to update the iOS is the only choice? Right now I am on 6.1.2 and my iphone is JB.
    Please kindly advise if you have any solutions.

    Sounds like the hardware is FBAR as well as an OS issue

  • How do reduce the space between the front panel and the display area

    I am trying to reduce the space between the front panel and display area but i am not able to reduce the space

    A picture would be very helpful in demonstrating what you are having trouble with.
    Lacking that, I will guess.
    VI Properties >>> Windows Size
    lets you define the minimum size of a FP window.
    Well that's my guess!
    Did I win?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Front Panel of select VI's pop up upon start-up

    I have a main VI which organizes about 200 test cases(also VI's). However when I load the Main VI, about 50-60 of the front panels from different VI's load. I've checked most of the settings and can't figure this it out. Is there anything I'm missing. Someone suggested a VI Server...what's that? Is the only way to have the front panel load one at a time, to make the VI's load dynamically?

    Let me see if I understand your problem correctly. Are you saying that when you load your main VI, but before you run it, the subVI's front panels are displayed? If that's the case, there's a couple of ways that this could be happening. First, in the VI that has the subVI, right click on the subVI and select SubVI Node Setup. Make sure that Open Front Panel When Loaded is not checked. Second, open the subVI itself and go to VI Properties>Window Appearance. If the Custom radio button is selected, click on the Customize button and see if Show Front Panel When Loaded is checked.

  • How to make some part of front panel transparent?

    There is a property node to make a front panel completly transparent...but is there anything that only makes some part of the vi transparent like if I define a decorative block in the vi which takes 1 quardant of front panel and I have a control to make it transparent during runtime...
    And moreover the frontpanel transparent property makes the whole window transparent, is there any way to retain toolbar of window like stop, run button when front panel is transparent??

    Hi,
    Have a look at this VI (attached). To make it work you need to create an image mask as a .png (open paint, colour in the areas that you want to become invisible and save it as a .png). The VI diffentiates between white areas and black areas of the mask you create, the black areas will become transparent and the white areas will remain the same- this will be implemented on your front panel. I've included an example of a possible paint image in "mask2.png".
    You may also want to play around with the resolution of the mask created in paint, this will effect how the program works (I advise you use a lower resolution than your display- I used 500x300)
    NT: If the front panel controls disappear, go into the block diagram window and attach a false constant instead of a control. Let me know if this works
    Cheers, Tom
    Attachments:
    custom window.zip ‏107 KB

  • Front panel remains after terminating lavbiew application

    I have created an application from a LabView VI.  I'm launching the application from LabWindows.  I'm monitoring for the application to terminate.  However, when I terminate the LabVeiw application, the LabView front panel is displayed and the LabWindows application terminated function doesn't see it as terminated until I close the front panel.  Why is the VI front panel being displayed when the application is terminated.  I have the program to run in dialog center screen.  Once the application terminates, the dialog disappears and the LV front panel appears. 

    I like to put the Close invoke node inside of a Conditional Disable Structure.  This way the front panel only closes when you are running an EXE and not when you are playing with the code.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Close Front Panel.png ‏10 KB

  • I am getting a Remote Panel displayed on the remote display outside of browser. How tdo I force the panel to display in browser.

    I have several machines running LabVIEW 8.2.1 my application uses remote panels embedded in a browser to display the front panel of the running VI. One machine is responding with the brower window coming up, but when the VI is launched it is displayed on the remote machine as a stand-alone remote front panel. About half of the machines have had InternetToolkit intalled, at least one machine that is working does not. the machine in question does not. Could this be part of the problem.
    The enclosing web pages are generated by a .Net web server running on port 80, LabVIEW web server on port 81.
    Example object block from the generated page. Other than machine and vi information I do not se any differences between the applications.
    <!-- LVRemotePanel -->
    <OBJECT ID="LabVIEWControl" BORDER=1
        CLASSID="CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807A​E"
        CODEBASE="ftp://ftp.ni.com/support/labview/runtime/windows/8​.2/LVRunTimeEng.exe"
        WIDTH="722" HEIGHT="740" >
        <PARAM name="server" value="http://hostname.domain.class:81" />
     <PARAM name="LVFPPVINAME" value="Force.vi">
     <param name="REQCTRL" value="true">
     <EMBED src="http://hostname.domain.class:81/.LV_FrontPanelProt​ocol.rpvi82" LVFPPVINAME="Force_13.vi"
     REQCTRL="true"  WIDTH=722 HEIGHT=740 TYPE="application/x-labviewrpvi82"
     PLUGINSPAGE="http://digital.ni.com/express.nsf/express?openagen​t&code=ex3e33&">
      </EMBED>
    </OBJECT>
    Any thoughts or help greatly appreciated.
    Thanks,
    Phil

    Kevin,
    Thanks for the reply.
    Attached is a screen shot of the problem. This is from my home machine which does not have a LabVIEW environment installed, but does have runtime plug-ins for 7.1 & 8.2.1. I also get similar results on my development machines.
    The serving machines are all on campus.
    The remote front panel on the left is what I expected to see embedded in the 'loading ....' field on the Web page on the right.
    The application [ The iLab Project ] is complex and uses a collection of .Net Web Services to provide access to remote labs using the Internet.
    Access to an iLab Lab Server running on port 80 is authorized by a Service Broker, normally running on another machine. The Lab Server, LabVIEW environment and measurement hardware are normally on the same machine, iLab Lab Server using port 80, LabVIEW WebServer using port 81.
    Once the user is authorized and redirected to the Lab Server the Lab Server ensures that LabVIEW is running and the specified VI is loaded, a web page is generated on port 80 that includes the OBJECT block to display the front panel from port 81. Example OBJECT block included in my original post.
    I have used this code on three other 8.2.1 Lab Servers with different VI's and the Front panel is displayed in the web page as expected.
    Variations of the code have been used since LabVIEW 7.0. Prior to version 8.2 the InternetToolkit, GWeb Server and a custom CGI VI were used to generate the contents of an in-line frame to display the Front Panel. Since 8.2 I generate the Object block directly as part of the aspx processing. Is it possible I need the InternetTookit installed even if it is not used, I'm pretty sure one of my working systems has never had the toolkit installed, the machine in question has not.
    I hope this makes my problem clearer, any help, pointers or further questions will be appreciated.
    Phil
    Attachments:
    remotePanelBehavior1.jpg ‏216 KB

  • Calling the front panel of a sub.vi

    Is there a way to call the front panel of a sub.vi so that as soon as the sub.vi begins to execute, its front panel is displayed?
    Solved!
    Go to Solution.

    LarsUlrich wrote:
    That link you posted... is that a function I can find from the block diagram somewhere?  I'm looking for it but can't seem to find it (also I am running a pretty old labVIEW 8.5) and I have no clue what the "VI methods" class is. 
    It's a method for a VI reference. You create a reference to a VI (for example, by using the Open VI Reference function), and then connect it to an invoke node. Select the method from the popup list.
    The settings in VI properties will probably be fine, but I can't find it either, (there are 12 menu tabs, after all) and it probably isn't labeled as obviously as "open front panel when run."  My guess is under "execution," maybe the run when opened selection?
    VI Properties -> Window Appearance -> Customize.
    EDIT: The method you used applies only to that instance of the subVI. If you have the subVI in several places on your block diagram, then the other instances are not affected. This would be applicable if your subVI is an information dialog or something.

Maybe you are looking for

  • BI-IP change characteristic value in FOX

    Hello Guys, i want to change the characteristic value in FOX. Therefore the FOX runs through all char combinations to identify the highest number for the char test. This step works fine, but i cant write the value for maxloop in the cube. If i try, o

  • Use of parameter sets with prepared INSERTS via Oracle's ODBC driver 8.1.6.4

    Oracles ODBC driver, version 8.1.6.4, allows for driver configuration of three different batch auto commit modes. If I select COMMIT ALL SUCCESSFUL STATEMENTS and cause my app to execute a prepared and parameterized INSERT statement that makes use of

  • Opne hub (info spoke) delta reset

    hi gurus, how to reset the infospoke delta becoz when i was loading to infospoke it has failed due to no data for selection records.the status change to red. Next day again loading to same infospoke ( daily load) becoz of that red status again it fai

  • Desktop Software doesn't work/ Can't Sync BB thru USB cable

    I bought a new micro SD for my BB and as soon as I plugged in the BB with the SD inside my desktop software went haywire. Doesn't want to link up with the BB device, won't back up the data on my phone - nothing! So I followed some bad advice and unin

  • Can I setup a folder on the time capsule for sharing between computers not on my network?

    I'm wanting to be able to share files between family members that don't live in the same household. How would I set up a single folder on my Time Capsule so everyone can use it as a shared network drive between Windows and Mac systems, with security?