Is it possible to debug VIs being run on a deployed TS System?

I have a VI that is intermittently wandering off into left field to look at all the dandelions. It's being run from TestStand (base deployment engine) on a deployed system. I'd like to debug it from my development box.
Is there a way, perhaps along the same lines as the LV App Builder 'Enable debugging' option, to hook my development system into the VI as it's executing on the deployed system?
I've dug around a bit, and keep finding the notes on App Builder, but haven't seen a way to do it through TS.
Thanks for any help
Tom McManus
Message Edited by Thomas McManus on 07-13-2009 02:11 PM

Hi Tom,
You will not be able to remotely access a VI that has been called by TestStand.   You can, however, create a debuggable DLL (with the problematic VI), and remotely connect to that.  To do this, you will need to rebuild your VI as a shared library and enable debugging on the Advanced Tab of the Application Builder.  Once this is complete, you will need to change the step type to C/C++ DLL.  You will also now need to manually configure your parameters for this step.  Lastly, you will need to re-deploy your system.  Once the the TestStand Application is running, you can go to Operate»Debug Application or Shared Library from the LabVIEW Getting Started Window on the development machine.  From here you can access the shared library that is running.
The other options you have, as I mentioned, are to bring the VI over to the development machine and debug there, activate the full version of TestStand on the deployment computer, or purchase a debug-deployment license.  I hope this was helpful!
Cheers,
Kelly R.
Applications Engineer
National Instruments

Similar Messages

  • Enable remote debugging in a running JVM

    Is it possible to debug an application, which is already running in the server without restarting. If so how? if not what is the reason?
    steps:
    1. run the application in the server with out adding the debugging arguments.
    2. once server is up, debug the application.
    Thanks!!

    yes, i believe it is possible. it's kind of obscure information, but it is basically similar to the ability of jvisualvm to dynamically attach to running java processes (in later versions of the jdk). this is enabled via some platform specific means of communication which dynamically starts the remote jmx agent within the running jvm (the last bit being the part that is relevant to your question). i don't know off-hand what incantations are necessary, but google should be able to find something about dynamically starting agents in running java vms.
    sure enough (and it seems to be related to the Attach API, which is what jvisualvm uses): http://osi.fotap.org/2008/06/27/dynamically-installing-agents-in-java-6/
    Edited by: jtahlborn on Nov 6, 2010 9:33 AM

  • Is it possible to debug "CL_HTTP_PLAIN_OUTBOUND" FROM HTTP RECEIVER ADAPTER

    Hi All,
    In my PI interface the data from R/3 ( using abap proxy ) is getting posted on a external server using HTTP receiver adapter .
    I assume that it triggers this class when you run the HTTP receiver adapter  -CL_HTTP_PLAIN_OUTBOUND
    Please let me know how can i enable debugging for triggering this class.
    Please let me know the steps to debug this class by triggereing from SAP PI system ( when we run the interface on PI system )
    Regards,
    Reddy

    Hi ,
    i am not sure about this,i wolukd prefer developing JAVA Proxy or File Adapter . try this code it read the data from website, try in you stand alone application,it is able to read or not.
    you will face two problems,you have to convert CSC file to XML it is not possible in HTTP Adapter,
    import java.lang.*;
    import java.util.*;
    import java.net.*;
    import java.io.*;
    class URL2AC
            public static void main(String args[]) {
           try {        
              URL url = new URL("http://www.XXXXXXX.com/raj.txt");
              URLConnection uc = url.openConnection();
              BufferedReader in = new BufferedReader(new InputStreamReader(uc.getInputStream()));
              while (in.readLine()!=null)
                   System.out.println(in.readLine());
           catch(Exception e) {
              e.printStackTrace();
    Regards,
    Raj

  • Is it possible to debug a Job which already executed in the Background.

    Hi Friends,
    My Z program has a bug when run it in Quality System.
    If I run this program in foreground to debug, its giving TIME OUT dump.
    If i try to run it in Background and started DEBUG mode using JDBG.
    Still one of the table fetch gives TIME OUT dump.
    Is there any possibility to DEBUG the already executed job?
    Regards,
    VIJI

    Hi,
    If the job is running go to SM50..
    Select the process:
    In the menu..Program/session -> program -> debugging..
    OR
    Fix the break points.
    2) Create job.
    3) Go SM37
    4) Select the job and write "jdbg" in command line.
    1) Use Transaction SM50. This would give you a view of all the background
    processes running in the server.
    2) Choose your background process from the list and got to
    MENU "Program/Mode"->"Program"->"Debugging".
    Regards,
    Suresh Kumar

  • [Xcode] Error from Debugger: Program not being run

    All of a sudden my Cocoa-AppleScript projects are not being run with *Build and Run* in Xcode 3.2.2. Well, most of them anyway - some old, and some downloaded projects are OK, but projects that ran OK yesterday give me an error today:Running…
    No executable file specified.
    Use the "file" or "exec-file" command.
    No executable file specified.
    Use the "file" or "exec-file" command.
    The program being debugged is not being run.
    The program being debugged is not being run.
    No project settings were changed (I don't even use the debugger, just the console), and the only thing that I've done in the mean time is a software update. The only thing new from that was a Java update, which I don't think should have had anything to do with it. I was having the same problem even building new blank projects, but I've since updated to 3.2.4 and reset the Xcode preferences, which at least got the blank projects going again.
    I've compared some of the settings between projects that work and projects that don't, but I have no idea what to look for. The built applications will run when double-clicked by themselves, just not in Xcode.
    Update: zipping the project files and then unzipping them seems to fix the issue, but I would like to know what to look for that could have caused this problem.

    AHA! Well, although I could have sworn I ran some of these projects from their current location, the problem wound up being related to characters in the name of one of the containing folders.
    I sometimes use leading spaces in the folder names to get them to sort to the top of the list, but even doing that you sometimes need to use additional characters to get the items to sort in the desired way. One of the characters I used (a tilde) seems to get expanded by one of the underlying utilities - my archived projects were in this folder, while other downloaded examples (and copies I had made to other locations) worked since they were outside of the problem folder. It was weird that pretty much everything else ran correctly, though.
    Lesson learned - do NOT use characters that may be special to a shell script in any of your project file paths.

  • Code to determine which jobs are being run in the database

    Hello
    I'm using Oracle 9
    If it is possible I would like to write an SQL statement that determines what DBMS_JOB's are stored and being run in the database.
    Thanks
    Doug

    you can try this code:
    SELECT r.sid,
           r.job,
           r.this_date,
           r.this_sec,
           SUBSTR(what,1,40) what
      FROM dba_jobs_running r,
                   dba_jobs j
    WHERE r.job = j.job;hope this helps.

  • Is it possible to debug WL Server via a JPDA

    Is it possible to debug WL Server via a JPDA debugger (such as Kamira
    Bugseeker) when WL Server is running as an NT Service? Are there
    recommended changes to the cmdLine parameter in installNtService.cmd (its in
    the samples)?

    Is it possible to debug WL Server via a JPDA debugger (such as Kamira
    Bugseeker) when WL Server is running as an NT Service? Are there
    recommended changes to the cmdLine parameter in installNtService.cmd (its in
    the samples)?

  • What's the possible reason to cause dbcc running automatically?

    I have a sp which truncates a large table(large 3G) and insert data into the table again(rebuild data for this table). When I run it on a production, it is fine.
    but when I run it on a dev, it is very slow. After check the info in detail, I found there are lot of dbcc running during the sp running time.
    when running the sp, got output like frequently:
    09:35:58.865
    DBMS
    mysyb -- SQL Text: exec myproc ...
    09:35:58.896
    DBMS
    mysyb -- DBCC execution completed. If DBCC printed error messages, contact a user with System Administrator (SA) role.
    09:35:58.912
    DBMS
    mysyb -- DBCC execution completed. If DBCC printed error messages, contact a user with System Administrator (SA) role.
    09:36:00.599
    DBMS
    mysyb -- DBCC execution completed. If DBCC printed error messages, contact a user with System Administrator (SA) role.
    Not sure why. Before running the sp, somebody try to partition this table and then remove the partition. not sure if this is the reason.
    So how to find out the reason for this dbcc? it is running automatically. If dbcc checktable or dbcc reindex will resolve this problem?

    I can't think of any obvious way to trigger a dbcc on those actions, aside from rewriting sp_extendsegment, etc. to include a dbcc command.
    A couple more possible approaches:
    1)  If the dbcc is one that doesn't normally send output to the client except for the "dbcc exection complete" message, then turning on switch 3605 will direct the output to the errorlog and possibly allowing us to figure out which dbcc command(s) are being run, which may help figure out why and how they are being run.   ("undocumented" DBCCs like page, usedextents, etc. don't send output to the client by default)  3605 won't  help if the dbcc is one that normally sends output to the client (checkdb, checkindex etc.), nothing additional will be sent to the ASE errorlog.
    set switch on 3605
    go
    execute <yourprocedure>
    go
    2) You might run your procedure under the stored procedure debugger utility sqldbgr and step through it while watching the output to see what statements trigger the dbcc message.
    -bret

  • How many users and how often a particular discoverer report is being run?

    Hi there,
    We run discoverer(4i) reports from portal. The question is:
    How to find out the number of users and how often a particular discoverer report is being run?
    Many Thanks in advance.
    Naren

    I know in the 9 versions of discoverer is there is a Discoverer v5 Business Area that is included out of the box. You have to have the stats turned on inside of the pref.txt. But that BA has all of the information to create queries about who, what, parameters, etc. You'll have to check and see if its part of 4i.
    Matt Topper
    Senior Consultant
    TUSC, The Oracle Experts.

  • How to determine if reports are being run/used

    I have two Crystal report environments.  One being version 7.5 and the other is version 10.  Between them, there is a very large number of reports (1000's) that accumulated over the years. I am looking for a way to be able to tell which reports are being run and actually used. By used I mean actually being pulled from the repository.   I do not know all the specific details of the environments and not a CR expert so it is hard for me to provide too much more details.  Any help or suggestions on how to try to determine which reports are being used is greatly appreciated.

    You mention; "Crystal report environments"
    and
    "pulled from the repository"
    Question is; what is the Crystal report environment in your definition? E.g.; what is the actual product? It could be what used to be called Crystal Info (v 7), Crystal Enterprise (v. 10). Or it could be an app written by someone in your organization. Or it could be an app written by a 3rd party.
    In any case, getting answers for these products will be difficult as you're looking at products that are close to 10 years out of support (v. 10) and well over 10 years out of support (v. 7).
    - Ludek

  • Is it possible to have podcasts being played in chronological order instead of reversed chronological order in an iPod Classic?

    Is it possible to have podcasts being played in chronological order instead of reversed chronological order in an iPod Classic? It is not an issue, just something that irritates me as I want to be able to listen to them in chronological order.

    Yes, but you need to make a custom playlist to do so. There is no option on the classic to reverse the playback order.
    tt2

  • Is it possible to debug the selection screen???

    Hi Frdz,
    Is it possible to debug the selection screen.
    eg: if i want to know what is happening in PBO and PAI modules of the selection screen i am not able to debug that.
    Even in code if i click on MODULES present in PBO and PAI modules it is saying MODULE doesnot exist!!!!. So i can't put the break point. even if i press /h it will go to Report events like INITIALIZATION, AT SELECTION-SCREEN but not PBO and PAI modules!.
    Also what is the meaning of exclamatory mark here(Before select option name)
    MODULE !SO_UDATE.
    MODULE !SO_UNAME.
    Thanks,
    Vinod.

    Hi Vinod,
    Double click on the module and then put the break point for the first statement of it. It will work.
    Reward points if useful.
    Thanks,
    Khan.

  • The database is at release 8.52. The PeopleTools being run require database

    Created a DEMO system using PeopleTools 8.51 and HCM 9.0 . Connecting through Application Designer shows the message 'The database is at release 8.52. The PeopleTools being run require databases at release 8.51.
    Do I need to run rel851.sql to change the level of database to 8.51 from 8.52 ???
    Thanks,
    Venu.

    Hi,
    You have downloaded HCM Revision 5, which is deliverd with PeopleTools 8.52.03.
    Oracle is delivering revision recuts of applications now a days, instead of one release per applications.
    Whant to know more about revision recuts, see following
    http://www.youtube.com/watch?v=1zE4aOobdr0
    Running the rel script, will upgrade you PeopleTools, you cannot downgrade.
    You will have to install PeopleTools 8.52.03.
    Also see the readme on eDelivery on HCM 9.0
    PeopleSoft Human Capital Management and Campus Solutions 9.0 – Revision 5: This part (number V30469-01) has replaced the PeopleSoft Enterprise Human Resources Management System (HRMS) and Campus Solutions 9.0 media (part number B34591-01), the PeopleSoft Enterprise Human Resources Management System and Campus Solutions 9.0 - Revision 1 media (part number V20635-01) and the PeopleSoft Enterprise Human Resources Management System and Campus Solutions 9.0: Feature Pack – March 2011 media (part number V24852-01). New installations of PeopleSoft Human Capital Management and Campus Solutions 9.0 should use this part. If you have already installed the original HRMS and Campus Solutions 9.0 (part number B34591-01) media, Revision 1 (part number V20635-01) media, or Feature Pack - March 2011 (part number V24852-01) media, you should install the Maintenance Packs or bundles available on My Oracle Support; you should not install this part. The PeopleSoft Human Capital Management and Campus Solutions 9.0 – Revision 5 media includes all maintenance posted through December 27, 2011 (up to PeopleSoft HCM and CS Maintenance Pack 13, PeopleSoft HRMS Bundle #18, PeopleSoft Campus Solutions Bundle #23, PeopleSoft Payroll Tax Update 11-F, and Global Payroll Update 2011-F). If you install this media, you do not need to separately install these maintenance packs or bundles. All installs of HCM and Campus Solutions 9.0 – Revision 5 require PeopleTools 8.52.03 or higher*. Please check the upgrade documentation for the PeopleTools requirements for your specific upgrade path. For additional information on PeopleSoft Feature Packs, please go to My Oracle Support.
    Regards,
    Hakan

  • Labview opens all VIS in Run mode

    LV2013 PDS is opening all VIs in Run Mode.  This is a global problem, not specific to one or a specific number of VIs.
    If I create a new VI, save it, close it and re-open it, it's in Run Mode, not Edit mode.  Nothing is set to Run When Opened, nothing is set to be locked without a password.
    It's only on this installation; if I take my code to another machine, there's no issue.
    I have deleted the labview.INI file, but the behavior repeats itself.
    Any ideas?

    Jed_Davidow wrote:
    SCC is not configured; I use perforce, but it's not configued to use it or to treat read-only as locked.  I have also checked out all the filed ahead of time with P4, so LV never sees them locked.  The folders themselves are not read-only.
    Also, I have created VIs outside of my P4 folder, and I have the same trouble.
    Example:
    Launch LV:  Create a blank VI (comes up in Edit mode).
    Save to Desktop (not within P4 control) as test.VI
    Close
    Open test.VI ---> It's in Run Mode
    I have never seen this happen before.
    Neither have I 
    I'll assume a reboot was attempted and did not change anything.  I would attempt a repair of LabVIEW from the control panel and another restart. 
    Jeff

  • How it is possible to debug the transfer of an order from CRM to ECC

    Hello,
    how is it possible to debug the coding when a CRM sales order is replicated to R/3?
    The outbound of SCM APO and/or the inbound of SAP R/3?
    Thank you in advance.

    Hello,
    Data flow from CRM to R/3 is like below:
    - Write the data to outbound queue of CRM
    - Wrtie data to Inbound queue of R/3
    - Validation and Save in R/3
    So you can debug from CRM outbound queue, by de-registering the queue in txn:SMQR
    R3AI_<OBJECT-NAME> In case of Initial Load
    R3AR_<Request-Name> In case of Request Load
    R3AD_*                           In case of Delta load
    Similarly you can de-register the queue in R/3 as well to debug the R/3 inbound queue.
    As you might be aware that MW generic module CRM_UPLOAD_TO_OLTP, would be called for any data transfer
    between CRM to R/3. You can start debugging from this point.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

Maybe you are looking for

  • Adobe in Design CS6 crashes when exporting to pdf

    I am running MAC OSX version 10.8.5 and every time i am trying to export a pdf from inDesign CS6 is chrashing. And i am doing the same loop again and again with the same results. The inDesign file is large (<8gb) and most of the items inside are embe

  • Pivot table alternating row colors

    Hello, In ADF 11g, is it possible to format a pivot table so row colors will alternate? 1st row gray, second row white, 3rd row gray and so on.. Can i determine which row is a DataCellContext object in ? Thanks.

  • RMAN Backup Archieve log

    We are using rman to backup the archive log files. Due to space constraints in the disk, all the existing archivelog files are moved to another drive. In the init.ora also, the new archive log location is changed. Now we are not able to take backup o

  • PDF created is ENORMOUS! Why?

    Hi, here goes, my first post here.... I created 2 * jpgs of a form, I then set them to A4 size, then I went to Acrobat Pro, and merged files into a single PDF. Great!, then  I opened the document, yikes! it fills the screen at 31%, actual size it's g

  • Please, Help With CardLayout

    This is my first time to actually attempt to use CardLayout. I have an applet that I am working on. Following is a copy of this applet. It compiles correctly as it is, but when I try to view it in the appletviewer, a message at the bottom of the wind