Dynamic LabVIEW dialogue called front TestStand not coming to front

I've created a bespoke dialogue box that does things such as auto size to the text etc in LabVIEW. We call this vi from LabVIEW and TestStand - from LabVIEW it's fine, but from TestStand it appears behind TestStand and I can't find a way to get it to appear on top of TestStand - there is obviously the 'Show front panel when called' option, but as we are doing some pre-processing before showing it we cannot use this option - I've also tried 'Fp is frontmost' in the dialogue properties but still no cigar.
Just hoping that someone knows a way to programmatically make it appear on top of all current open windows - maybe there's some sort of Windows functionality you need to use.
Any ideas greatly received,
David Clark
CLA | CTA
CLA Design Ltd
Hampshire, England

Someone here mentioned those vi's so I'm going to try and do a bit of investigation with them and see what I can come up with - had a brief look and it didn't seem to do that much so I assume that I was using them in the wrong way - and there is another problem, and that is that we have certain standalone LabVIEW vi's that do things such as calibrating power meters and it's going to be a bit of a bummer if I have to constantly pass in the TestStand sequence context to these vi's just to get them to appear on top of TestStand as then they won't be particularly standalone and it means changing alot of VI interfaces which is going to upset a lot of people!
I'll have a play about with them tomorrow and see what I can do with them, but Ideally I'm looking for a standalone solution whereby I can have a bit of code encapsulated within the bespoke LabVIEW dialogues that just ensures that whenever they get called be it from LabVIEW or TestStand, they are always on top.
Many thanks for your reply, and I'll get back to you when I know a bit more,
David Clark
CLA | CTA
CLA Design Ltd
Hampshire, England

Similar Messages

  • Call Server not coming up

    ICM 7.5
    CVP 7.0
    The call server is not coming up.
    here is the log from voice browser.
    13:15:08 Initializing Event Management System (EMS) Library.
    13:15:08 Trace: EMS Server pipe Customer\Voice Browser\VBEMSPipe enabled for Customer\Voice Browser\VB
    13:15:08 Trace: Release 7.0.1, Build 1190
    13:15:08 Trace: INFO: Registry base = CVP\Customer\Voice Browser
    13:15:08 Trace: INFO: Process Name = VB
    13:15:08 Trace: INFO: ICRRoot = C:\Cisco\CVP\bin
    13:15:08 Initializing Node Manager Library.
    13:15:08 Trace: INFO: Voice Browser Reading Registry...
    13:15:08 Trace: Monitor Server pipe Customer\Voice Browser\VBCmdPipe enabled for Customer\Voice Browser\VB
    13:15:08 Trace: Monitor Server pipe Customer\Voice Browser\VBReadOnlyCmdPipe enabled for Customer\Voice Browser\VBReadOnly
    13:15:08 Trace: INFO: Voice Browser initializing globals...
    13:15:08 Trace: INFO: VBRegistry::SetRegNotify Setting Registry trace
    13:15:08 Trace: INFO: Voice Browser starting threads...
    13:15:10 Trace: INFO: Resolving IP address for ICMGRPCVP1
    13:15:12 Trace: INFO: IP address for ICMGRPCVP1 is 10.20.20.60
    13:15:12 Trace: INFO: Gatekeeper configured is 10.20.61.92;SIDEA;1719. Registration attempts will start with first GK in this list until a successful registration occurs
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: maxCalls(defined in radvision config as Q931.maxCalls) = 1400
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: maxIVRPorts = 130
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: maxTotalCalls = 555
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: takebackPercentage = 0
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: startingRtpPort = 16384
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: radConfigPath = C:\Cisco\CVP\VoiceBrowser\Config.val
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: pktInterval = 20
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: adminMode = 1
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: RaiMaxThreshold = 90
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: RaiMinThreshold = 80
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: Codec = g711Ulaw64k
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: CpuMaxThreshold = 99
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: CpuMinThreshold = 94
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: CpuHealthCheck = 0
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: CpuSustainedTime = 15
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: CpuOverloadReject = 0
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: PerfmonIntervalTimer = 5000
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: MemMaxThreshold = 80
    13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: MemMinThreshold = 60
    13:15:12 Trace: INFO: Voice Browser Main Thread Active...
    13:15:12 Trace: INFO: H.225 Call signalling address of Voice Browser is 10.20.20.60:1720
    13:15:12 Trace: INFO: Voice Browser Trace Mask is 0x101083
    13:15:12 Trace: INFO: Initial registration with gatekeeper
    13:15:12 Voice Browser communication to the Gatekeeper successful, alarm cleared.
    13:15:12 Trace: SYSLOG: Server: STATUS=2, Port: =H323,NAME=H.323Ser?+wSTATUS=2
    13:15:12 Trace: INFO: H323CallMgr::sendRAI: Successfully sent RAI for resource unavailability
    13:15:12 Trace: INFO: LongPoll Failed -- Got OUT_OF_SERVICE from Call Server
    13:15:13 Trace: INFO: Starting HEALTH long poller to Call server localhost:8000/cvp/VBServlet
    13:15:13 Voice Browser to Call Server localhost:8000 connection unsuccessful.
    13:15:13 Voice Browser cannot access any Call Servers and is no longer accepting calls.
    13:15:13 Voice Browser ICMGRPCVP1 is out of service.
    13:15:13 Trace: INFO: H323CallMgr::sendRAI: Successfully sent RAI for resource unavailability

    Dear Geoff;
    I am facing the same thing, but in the OAMP is shown to be down and not able to get any statistics on this CVP Call Server.
    Actually the PG01, PG02 and PG03 are enabled in the router registry (while PG01 for CUCM PG, PG02 for CVP Call Server PG and PG03 for the Media Routing PG).
    It was working before and I was receiving calls on it, but suddenly this happened.
    Actually, an upgrade happened from version 7 to version 8 and we imported new licenses for the VXML Server but did not import new licenses for the CVP Call Server. Could be a license issue because we have to import the new license to change from version 7 to version 8?
    Thanks in advance for the help.
    Regards
    Bilal

  • TestStand not passing VISA info to LabVIEW

    Hi All,
    I am encountering a problem passing a VISA resource name to LabVIEW (2014) from TestStand (2014) which I cannot for the life of me understand or solve.  Thus and so, I would be exceptionally grateful for any help.
    I have two Thurlby Thandar LXI power supplies in a test rack, each with unique IP and socket addresses, of the form (TCPIP0::192.168.0.3::9221:OCKET).  I have a LabVIEW project which contains a number of VIs, each related to the various functions of the PSUs, which are called from TestStand as appropriate.
    I'm calling the LabVIEW 'Initialise.vi' in TestStand within a "ForEach" loop to individually extract the PSU's addresses from an array, open a session, then store the SessionNumber, but the resource name data doesn't seem to make it through to the VI's front panel VISA control.  I've checked, checked and re-cheked that the correct values are being pulled from the array, I've even tried putting the LabVIEW call in a sub-sequence, just so that I can verify the data is not being corrupted in any way, but all seems to be well.  It's as if the link between TestStand and LabVIEW is somehow broken.
    To clarify the issue, on the very first run, the VISA information does get through, but subsequent runs retain this value, rather than overwriting it with the next value in the array.  Setting the Run Options of the LabVIEW Action step type to Load Dynamically then Unload after step executes overcome this issue, but cause problems when trying to control the PSU later on in the test sequence.
    The most maddening thing is that this used to work up until a couple of weeks ago, but unfortunately I can't remember what, if any, changes I may have made.
    I've reinstalled TestStand and LabVIEW, but it hasn't solved the problem.
    I've made the VI re-entrant, but that doesn't make any difference (in truth it shouldn't, as although the VI is called numerous times, all calls are sequential rather than simultaneous, so re-entrancy shouldn't be an issue).
    I've configured the PSUs in MAX and given them aliases and tried the addresses direct, but that makes no difference either.
    I've also tried performing the same exercise of passing data to LabVIEW just using strings and that all works fine, it just seems to be an issue with VISA resource names.
    I have a suspicion I've checked or un-checked a check-box somewhere in the bowels of TestStand that's causing all of this, but haven't a clue how to find it.
    If anyone can shed some light on this why this issue is occurring, or could even just point me in the direction of some utility which could sniff dataflow between TestStand and LabVIEW, I would be very grateful.  
    Many thanks in advance

    Personally, I use Action Engines to handle my instrument resources.  You can call the AE directly in TestStand.  What I typically do is have a string input for name and then do a quick lookup for the desired VISA Resource to then control the instrument.  This keeps all of the VISA stuff (including resource references) in LabVIEW.  Have never had a problem with doing it this way.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • I am trying to have some LabVIEW code called in a New thread exit when the testStand sequence terminates

    I have a Sequence that launches a sequence in a New Thread that happens to launch some LabVIEW code.  The problem is when the LabVIEW code finishes, it will not close even when the TestStand sequence terminates. Is there a way to tell this LabVIEW code to Exit, I've tried the Quit LabVIEW function, but that causes a C++ RunTime Error.  The LabVIEW code does end though, and it is set in the VI properties to:
    Checked - Show Front Panel When Called
    Checked - Close Afterwardds if originally closed
    The sequence call that the LabVIEW code is launched from has the following options:
    - New Thread
    Unchecked - Automatically wait for the thread to complete at the end of the current sequence
    Unchecked - Initially Suspended
    Unchecked - Use single threaded apartment
    Any clues on this would be appreciated.

    Hi ADL,
    Everything should close correctly if you check the checkbox "Automatically wait for the thread to complete at the end of the current sequence" in the thread settings.
    With it unchecked, I am seeing the behavior you are. 
    Gavin Fox
    Systems Software
    National Instruments

  • How to change Enumerator programmatically in LabVIEW called in Teststand

    How to change Enumerator programmatically in LabVIEW called in Teststand ?
    I know that Enumerator cannot be changed programmatically since the data type itself different from other controls like Ring and Combo box. 
    My application  involves in Property loader which will load the list of names to Enumerator during Initialization. And the same shall be used by operator to select in further steps for testing. I tried with Ring and combo box but it doesn't works because its not giving dropdown option in TestStand Steps to select the name.
    I need a drop down and also programmatically changing the value of the same variable. I had gone through all forum solutions regarding Enum, but I couldn't get any work around for this.
    Please suggest me a solution or best work around to do this.
    Thanks,
    Vijay
    L&T Limited
    Certified LabVIEW Developer
    India.

    Can you provide an example of how a ring control/combo box does not work?  This should be the way to do what you want unless I am misunderstanding exactly what you want to do.  In theory you could have a dynamic enumerator type, but there are lots of hoops to jump through using VI server and scripting and it is not worth the effort.  Aesthetically, you can make the ring control and enumerated data type look exactly the same.  I would be using a ring control.
    Please post an example of how it does not work.

  • Is it possible to call a VI that is inside a LabVIEW executable from a TestStand sequence?

    I have created a custom TestStand operator interface and have modified the default sequential process model to display a UUT information dialog that prompts for more information than just the UUT serial number.  This UUT information dialog is a LabVIEW VI.  To distribute the operator interface, I build it into an executable.  As part of the build process, I make a copy of the UUT information dialog VI (which is part of my operator interface project) and place it in the same folder as the executable.  I have then configured the sequential process model to call the dialog VI from this location.  It would be really nice if I could embed the UUT information dialog VI inside the operator interface executable so that I could distribute just an executable instead of an executable and separate VIs.  Is this possible?  In other words, is it possible to call a VI that is inside a LabVIEW executable from a TestStand sequence just like a standard LabVIEW VI call?

    Ryan,
    The dialog that you've created isn't being directly called by the OI at all and shouldn't need to be included in the same directory as the OI for distribution. Since you are modifying the PreUUT of the default process model, you will give the path to the VI in that step, create a deployment and then manually copy the VI to the directory referenced in the step. The VI is considered a support file for the process model and is not related to the OI at all.
    Test Engineer - CTA

  • While loop stuck in LabVIEW when VI called by TestStand only

    LabVIEW 8.5, TestStand 4.0, Windows XP-SP3
    The issue I’m facing is a different behavior of a LabVIEW VI whether it is called independently (in the LabVIEW environment: normal behavior) or from TestStand (unexpected behavior).
    In the same VI, I've wired in parallel, so they can execute in parallel:
    a call through “System Exec”, to a program which prompts for a user's answer. The case I’m concerned is when the answer will never come...
    a while loop, managing a timeout which finally kills the program above when it waits infinitely for a user's answer
    Just to be more precise for those who’d try reproducing the issue (but you might just have a look at the enclosed VI): in my case the program is the command line WinSCP.com. WinSCP prompts when it wants you to accept the host’s private key which is not in its cache. Don’t be afraid if you’re not used to WinSCP, the concern here is LabVIEW + TestStand.
    What happens when we’re stuck in the “System Exec”:
    under LabVIEW: it works fine, as expected; while stuck in the “System Exec”, the while loop executes in parallel
    when the same VI is called in a TestStand sequence step (ActiveX automation server to the LVdevelopment system), it does not run the while loop (we're stuck in both System Exec and inside the loop). The only way to release everything is to manually kill the program called by the System Exec through Windows Task Manager.
    For information, all tasks: TestStand (SeqEdit), LabVIEW and program (WinSCP) show 0% CPU and their memory usage is stable.
    Have you an explanation for this unexpected / different behavior of the VI, only because it is called from TestStand?
    Enclosed is the VI.
    If you actually want running it, you might have WinSCP installed and a valid session to an accessible host (adapt path to WinSCP and session name), and do not put the host key in the cache!
    Note: you won't see the same issue with other programs or commands called by System Exec (e.g. netsh, ftp...) even if they await a user's prompt.
    Thanks for your help!
    Solved!
    Go to Solution.
    Attachments:
    CheckLabVIEWLock.vi ‏26 KB

    Have you tried changing the Preferred Execution System of the VI from 'same as caller' to 'other1'.
    Regards
    Ray Farmer

  • VFL Speaker sound from both the front speakers while FR sound is not coming out at all.

    I have a creative gigaworks s750 connected to a xtreme gamer sound card. The system was working absolutely fine but now it has started behaving very strangely; system is playing back Front Left Speaker sound from both the front speakers while Front Right sound is not coming out at all. If i click the front right speaker in audio console speaker setup wizard, no sound comes. However when i click the front left speaker, sound comes out of both speakers. I counter checked it with playing 5.1 dts movie and muting all the speakers except the front left one from ac3 filter, sound came out of both the front speakers. However when i muted all the channel except the front right, no sound was coming out of front right speaker.
    Message Edited by hussain on 06-10-2009 10:26 PM

    Just want to add another relieved reader of this thread.  I had lost the sound to my speakers even though I had sound to headphones. I was convinced it was a damaged headphone jack because I had pushed the headphone plug in harder the last evening when my wife complained that she could still hear the speakers while I listened with the headphones.  The next morning--no speaker sound.
    I spent a few hours searching the web to see how to disassemble a satellite A505 and get to the jack.  But I wasn't even sure I could get a proper replacement jack that fit, and I was concerned that small damage, say to the ribbon connectors could render the computer useless--a large price to pay for just missing audio.  
    Fortunately, I stumbled onto this thread and I recalled I had put the unit to sleep the night before--something I don't usually do, but I didn't want all the Chrome web sites to have to reload so I just put it to sleep.
    When I put it to sleep again and fired it up--Sound!  I am so glad to find this solution so I just want to let people know it remains a viable option.
    Doug

  • Subtemplate footer is not coming when calling from the main template

    Hi All,
    The footer from the subtemplate is not coming in the output when calling from the main template. Does anybody worked on the subtemplate?
    If the same footer is put in the main template, it is displaying.
    Please respond as this is a critical issue for us.
    Thanks,
    Ambadas

    Hi Tim,
    Thanks for your reply. Here is syntax which I got from the Oracle BI Publisher blog. And this is to just test locally.
    http://blogs.oracle.com/xmlpublisher/2006/04/11?import:file:///C:/temp/HeaderFooter.rtf
    <?import:file:///d:/test/GEPOPRINT_GER_GER.rtf?>
    <?import:file:///d:/test/GEPOPRINT_US.rtf?>
    <?for-each@section:G_HEADERS?>
    <?if:POH_REPORT_NAME='GER PO w/GERMAN Data'?>
    <?call-template:PO_GERMAN?>
    <?end if?>
    <?if:POH_REPORT_NAME='US Purchase Order'?>
    <?call-template:PO_US?>
    <?end if?>
    <?End for-each?>
    And I don't have any footers in the main template but in the subtemplate I have the respective footers. If you want, I can send all the RTF's to you directly.
    Let me know.
    Thanks,
    Ambadas

  • Passing telnet session between LabVIEW calls from TestStand

    From TestStand I am calling VI's from telnet.llb.
    In one TestStand step  am opening a telnet session to an IP address and collecting the telnet connection (U32). In the next TestStand step I pass the telnet connection  to a telnet write VI but get this error.
     "Dequeue Element in Acquire Semaphore.vi:1->Telnet Write.vi:1->Telnet Write.vi.ProxyCaller"
    The telnet open, write, read, and close work great if I pass the telnet session number within the same VI. But I need to keep the session open between calls from TestStand because one huge VI is not feasible.
    thank you
    josh
    Solved!
    Go to Solution.

    Hi,
    Maybe the following link can help
    http://forums.ni.com/t5/NI-TestStand/Can-a-Telnet-session-be-passed-from-1-vi-to-the-next-in-test/m-...
    Regards
    Ray Farmer

  • Finder windows not coming to front and other issues

    Hey Guys,
    I've been having some issues with finder not coming to the front when clicking on the Finder icon on the dock, like it used to.
    Also, if I have a finder window on the front, and I click to an application behind it, the application doesn't come back in front again.
    Anyone else having these issues, anyone know of a fix? Not sure if it's related, but in the force quit window, finder is shown twice?
    It's happening on both my macbook pro and my mac pro, both running mavericks.

    Do you have StuffIt Deluxe installed? If so, see this thread:
    http://discussions.apple.com/thread.jspa?messageID=4195602
    What is happening is that your Finder is crashing.
    Francine
    Francine
    Schwieder

  • AE comps not showing in Dynamic link dialogue

    I am trying to import several (25) AE comps into a new PPro project but the comps do not show in the dynamic link dialogue window.
    All I get is the folder of work comps and not my final comps.
    Any Ideas?
    Also any way to batch import these?  I know... longshot, but I thought I'd ask.
    Thanks In advance.
    Mark

    Are you using the media browser to import?  In the example below I have two comps in a old movie template I use for various reasons, which is created outside the project and then imported via the media browser. 

  • Backlight not coming on after call ended and phone returned to horizontal

    Hi all. As from the title, the Iphone would not lit the backligt and get ready for use after ending the call, while the screen has gone to "sleep" and is beeing tiled down to horizontal position to be used...
    I have to touch the Main button to keep usiong it.
    Most of all I need is confirmation it is about hardware issue. Setting are o.k.
    Looking forward for your experiences.
    Cheers...

    Another thing to look at. Did you initiate the call? If not, was the phone locked when you received the call. If the phone was locked when you received the call, then the phone will relock when the call is over. This is normal operation.
    If you initiated the call and when you end it the phone goes dark, then that is not normal operation. Check what the previous poster said, and if necessary, go through the troubleshooting procedures, power phone off/on, reset, restore from backup or as new phone. Go as far as needed in the troubleshooting until the phone functions normally.

  • Error Code -2147467259 when custom FrontEnd Callback is called from Teststand.

    Hello,
    For the project I am working on, the standard LoginLogout sequence has to be overriden from a custom one. The sequence i implemented does the following: A connection to a database, located on a virtual machine at my pc, is initially opened, the user name and password are given by the user through a message popup and the information is compared to the database entries. If the username and password are valid, a new TestStand user with the corresponding user information and priviliges is created and set as current user. If not, the procedure is repeated five times and if it ends unsuccessfully, the user account is blocked.
    The implemented sequence works just fine when I run it independently in TestStand, while I'm logged in as administrator using the standard TestStand Front End callback. When I added it in the LoginLogout sequence in the FrontEndCallbacks.seq in C:\Users\Public\Documents\National Instruments\TestStand 2010 SP1\Components\Callbacks\FrontEnd in order for this to be called instead of the standard one, I received the following errors:
    1. Error HRESULT E_FAIL has been returned from a call to a COM component. Error Code= -2147467259
    This error appears immediately after I open the sequence editor. (see also attached images
    2. LABVIEW: (Hex 0x80004005) Unspecified error.
    This error appears when I run the customized user interface in LabVIEW that calls the FrontEnd callback in the TtestStand public folder. After the error message appears my custom login dialog pops up and after the user logs in (the procedure works as expected) and then presses OK to the error message, the vi stops. It cannot execute further.
    I suspect that there is a problem when connecting to the database but I cannot understand what it is or why this is happening since the sequence runs without problems in Testand.
    Could someone help?
    Thank you very much!

    I am sorry for the omission. As seen during a highlighted execution of the GUI, the error appears after the call of IApplicationMgr.Start (see attached image).
    Attachments:
    error_blogdiagram.png ‏72 KB

  • Stopping labview loop when terminating teststand

    Hi,
    If I have a labview step which is called from teststand, which is in a loop, what property can I query (or does one exist), where I can conditionally exit my labview loop when the "terminate" button is pushed in teststand?  I see there are "termination monitor" tools in the teststand palatte in labview, but the "terminating" boolean does not go true when I initiate the terminate in teststand.  I have a simple test vi set up to test it, does not seem to function this way. 
    Thanks
    David J.
    Solved!
    Go to Solution.

    David
    see attached example with TS 2010 and LV 2011. It shows how to use Termination Monitor and how to use LV modules to close asynchronuously running VIs.
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.
    Attachments:
    TerminationMonitor.zip ‏21 KB

Maybe you are looking for