Sequencer clearing with DLL references

HI,
I have two VI each one of them communicate with same library (.net).
when I run each of them individual it works fine. but when i tried to run it using Test stand, 1st step (1st VI) is working but it does not pass in the second step (2nd VI).
I think the problem comes from the library, where when i tried to run 4UUTs using batch technique, only one unit is passing the test and the remainng uuts are failing. 
how i can make sure the library is totally closed from the VI and/or Teststand as well.
note: the function of the vi is to communicate to the UUT using com port (4 seperate ports for each UUTs).
thanks a lot

AEC ENGINEER,
There could be a number of things going on. It could be something as simple as simply not changing the com port correctly, or we may not be closing out the device reference, or a number of other things. Could you post a simple example or some screenshots of the code so we can try to see if there is anything that looks out of place? 
Regards,
Kyle Mozdzyn
Applications Engineering
National Instruments
Regards,
Kyle M.
Applications Engineering
National Instruments

Similar Messages

  • Clear Customer with cheque reference at BRS

    Hi,
    At the time of BRS FF67, can we clear Customer account with Cheque as reference? If so how the system will findout the particular Open Item? i mean, how the system will know that this cheque is to this particular Open Item, and clear it. I know we can clear with document no, reference, but with cheque no? i am unaware of it.
    Can anyone through some light on this.
    Satish

    Hi,
    Yes check number is known only when the actual check is cut by the Customer and this cannot be maintained at the time of posting the Billing document. In my view Check number cannot be a criteria for matching / clearing.
    Thanks
    Murali.

  • Teststand deployment build fails with dll dependency

    Hi guys,
         I am struggling with test stand deployment  for 3 days. hope somebody can help.  ( I am using teststand 4.0 nd labview 8.5 and .net 2.0)
         I have sequence files, with many subVi' s and .net assmeblies with dependancies, added to  workspace , and when i run the sequence file, it works fine. 
      Specifically,  the sequence file  calls many Vi's, some of which use the .net assembly  from "C:\program files\National instruments\labview 8.5\use.lib" ( and not specifically from the folder where the Vi resides), and still it works.
       However, when i build ths same using deployment utility (figure 1),  these assemblies and other go to    "\\installation directory\data"  and  the build fails(figure 2), as  the  "property node  " for the .net assembly( build using  c# public static class) gets invalid( figure 3).
    Figure 2:
    Figure3:
    Now,   the same VI  in  different  folder ( C:\development...) is able to reference the assembly from   "C:\program files\National instruments\labview 8.5\use.lib"( I had added the refernce from labview project initially from different location, but after copying the file to this location, VI's still worked)  and works fine (figure 4).
                                              Figure 4:
    I have tried adding   "\\installation directory\data"   Teststand search directory, but no luck.
    I have following questions:
    is it manadatory to keep the dl's and their dependencies in the same folder, in which VI's use them, for sucessful build  through deployment ? if yes, by default, these would go to "\\installation directory\data", which is different from "installation directory\...VI directory\   , and would not work still?
    it is mandatory to add the VI's that use .net assemblies to labview project, for sucessful deployment?  if yes, how do we add a  labview project to testsand workspace?
    If the assembly can be added to Global assembly cache, would this solve the problem of 'unsucessfull build" of installer , and even if it does, how can (a) I add the assembly to GAC on development system  (b) make sure that installer installs the assembly to GAC on deployed system (through deployment utility)?
    other than above, does anybody have other  solution to  my problem?
    I am already late for deployment of project to customers, and need immediate help.
    Thanks
    vivu

    Hi Jon.
    Thanks for replying.  The .net assembly was created  in visual studio, by different engineer.  I tried  using  'c:\prog fil\nat inst\labview 8.5\user.lib' as the source path, and  keeping  destination to   (1)  \\target\data  (2) \\target\subVI location that uses this  assembly  (3) \\lNI directory\\labview8.5\user.lib.
    all of thse did not help.  
    Anyways, I asked my colleague to change the .net assembly, so that one of the VI that was using property node, now, just uses 'invoke node" ( and source dll was changed by using c# method instead of property to achive same result)n and then, I rebuild the deployment choosing source and deployment paths as above. none of them worked, except when i choose deployment to be  "\\target\subVI" location that uses this  assembly .
    So, this works and I was satisfied.  However, after deploying, I run into strange problem.
    ( pleas note that I just created 1 seqeunce file out of 5, that are part of the worskpace,rest everything was done by a guy 8 years back, and although I am well versed with labview, teststand is new to me).
     When I run the test on bhild machine, before any of the sequence file executes, a dialog box opens as below:
    Once thse values get populated, then steps in the chosen sequence file execute.  I found that this  is done by a VI  , that might be called by some of the sequence file or by some Testsand directory( which I don't know , as I did not create it). Vi is shown  below:
    However, when i deploy the test, on the deployment machine, as I run the test,  it does not complain about any missing .dll or broken VI's, but the dialog box disappears, just does not come up.
    As you can see, the only thing i changed from previous deployment was adding following files in deployment : zoundshearingnet.dll and commifnet.dll for the .net deployment, and I do not beleive this should change the VI/VI call that loads the dialog box at the start.
    I am also exporting  the station globals and testexec.ini files as below:
    however, I do get warning in deployment:
    So, I have the following questions:
    1) does this warning have anything to do with the missing dialog box?
    2) as I understand, the VI that  flashes the dialog box at the start, use "sequence context" and then "start modal dialog".  I tried running the test on build machine, and pasue it, and then, run this VI. it fails on "start model dialog", but that could be because perhaps I am not supoposed to run ot this way? is there a way I could debug this Vi with teststand?
    3) Can i know, how is this VI called by testand and who calls it? If i start opening each sequence file, which have hundeders of VI's and subVI's, it will take me hours to do that. 
    4) so, basically, the problem is that  when a sequence is run, a VI interacts with the sequenec and opens a dialog, which after deployment . fails to do so. are there any such examples that i could refer to, to help me understand how this works?
    Thanks
    vivu

  • Down payment not cleared with invoice trans f-54

    Hi All,
    I need help with down payment clearing with invoice. Purpose is to have open residual item for not paid invoice part.
    I made such steps:
    1. Vendor down payment request, trans F-47, (for instance) 90Eur
    2. Make down payment, trans F110, 90Eur
    3. Vendor invoice receipt, trans. FB60, 115Eur
    4. Clear down payment, trans. F-54.
    The problem is that clearing document is created, but actually down payment for 90Eur and invoice for 115Eur are not cleared, and residual item for 25Eur is not created. Using payment program (F110) again system suggest to pay whole invoice sum - 115Eur - that is quite dangerous.
    I will be very thankful for your help.

    Hi,
    Have you cleared down payment against the invoice no. in F-54 ?
    If you do so, there will be a link between  the invoice & down payment document no. During F110, system will select both the documents together.
    Also check in T code FB00 (Editing options) under "Open Items" tab, whether "include invoice reference" check box is selected.
    If not, then select this check box & try the transaction once again.
    Hope this helps you.
    Regards,
    Ashutosh

  • Unable to clear Qmtsrv.dll attributes

    Dear All,
    We are having an issue while installing communication station.here the deatils go..
    Background:
    We are in the process of Installing the Communication Station SP6. We are following SAP Communication Installation Manual from CD.
    Components:
    OS: 2003 Enterprise Edition
                CRM: 4.0 SP10
    Issues:
                We have installed Microsoft Visual Studio Runtime Environment, Microsoft .Net Frame work and SAP Gateway as per manual. When we try installing communication station we got the error message at the end of installation say that “Unable to clear Qmtsrv.dll attributes”.
    Appreciate your response

    hi,
    we have the same problem here.
    CRM 4.0 and the Errormessage "Unable to clear Qmtsrv.dll attributes" while installing Communication Station 4.0 SP6.
    The default Authentication Level is on "none" and the Default Impersonate Lebel is on "Identify".
    We stopped all instances of our SAP System before starting the installation.
    It´s running on Windows Server 2003 64-bit.
    .NET and Visual Runtime is already installed.
    I hope you can help us with this issue.

  • Crete group with WM reference

    Hi, 
    when I post GI via outbound delivery, the following error occurred:
    "Delivery has not yet been completely processed by WM"
    But I have finished the following steps:
    1. VL06P, create picking via outounb delivery monitor, sequence function --> create group with WM reference
    2. LT0S: create transfer order for multiple outbound deliveries
    3. LT12, confirm transfer order.
    but the picking status was not updated to the outbound delivery, why?
    Kindly please advise.
    Thanks!

    Hi Csaba,
    Thanks for your reply.
    The transfer order has been confirmed successfully, and I could see corresponding information in the document flow of outbound deliveries.
    My current thought is, create a single transfer order for multiple outbound deliveries, and confirm this single transfer order, then post GI in each outbound delivery individually, but the problem is, transfer order has been confirmed but the status was not updated to the picking status in the outbound deliveries.
    Kindly please advise again.
    Thanks.

  • WeakReference is cleared while other references are created

    Is it possible that while a weak reference is being cleared, another reference is created to the object, resulting the get() method of the reference to return null although the object still exist in memory? I have the following example code:
    WeakReference ref = new WeakReference(new Object());
    Object obj1 = ref.get();
    Object obj2 = ref.get();
    if(obj1 != null && obj2 == null)
    System.out.println("obj1 is not null and obj2 is null!!!");
    }Is it possible that the reference is cleared in parallel to this code, means that GC started cleanup and in the mean time the code calls the first get() and has a reference, while the second get() is after the cleanup and will return null? I'm seeing this in a more complex code that I have but didn't manage to reproduce it with a simple case. I'm using weak references for caching and at some point have a "miss" in the cache although the object is still in memory and has referneces.
    Thank you!
    Noam

    I do like to have the behavior of WeakReference in my application since soft references cause the application to consume large amount of real memory and this is a problem (it'll prevent other applications from using this memory).
    Here is more detailed code - below is the class which is used for caching. I might be able to replace it with WeakHashMap - I'll also try it. But basically, it gives the same functionality.
    public class ReferenceCache implements IAlarmClockRegistration
         private static Logger log = Logger.getLogger(ReferenceCache.class);
         public static final long DEFAULT_CLEAN_INTERVAL_MILLI = 1 * 60 * 1000; // 1 minute
         public static final int REFERENCE_TYPE_STRONG = 1;
         public static final int REFERENCE_TYPE_SOFT = 2;
         public static final int REFERENCE_TYPE_WEAK = 3;
         private long m_lCleanIntervalMilli = DEFAULT_CLEAN_INTERVAL_MILLI;
         private Map m_mapReferences = new HashMap();
         private ReferenceQueue m_rqQueue = new ReferenceQueue();
         private int m_iReferenceType;
       public ReferenceCache()
            this(REFERENCE_TYPE_WEAK);
         public ReferenceCache(int iReferenceType)
             m_iReferenceType = iReferenceType;
             register();
         private Reference createReference(Object obj, String key)
              switch(m_iReferenceType)
                   case REFERENCE_TYPE_STRONG : return new StrongReferenceWrapper(obj, key, m_rqQueue);
                   case REFERENCE_TYPE_SOFT   : return new SoftReferenceWrapper(obj, key, m_rqQueue);
                   case REFERENCE_TYPE_WEAK : return new WeakReferenceWrapper(obj, key, m_rqQueue);
                   default: throw new RuntimeException("unknown reference  type");
         public synchronized void put(String id, Object obj)
              if (log.isDebugEnabled())
                   log.debug("put() - id=" + id);
              Reference ref = (Reference)m_mapReferences.get(id);
              if(ref != null)
                   ref.clear();
              m_mapReferences.put(id, createReference(obj, id));
         public boolean referenceExists(String id)
              if (log.isDebugEnabled())
                   log.debug("referenceExists() - id=" + id);
              Reference ref = (Reference)m_mapReferences.get(id);
              return (ref != null);
         public synchronized Object get(String id)
              if (log.isDebugEnabled())
                   log.debug("get() - id=" + id);
              Reference ref = (Reference)m_mapReferences.get(id);
              if(ref == null)
                   log.debug("get() - ref is null");
                   return null;
              return ref.get();
         public synchronized void clear(String id)
              if (log.isDebugEnabled())
                   log.debug("clear() - id=" + id);
              Reference ref = (Reference)m_mapReferences.get(id);
              if(ref != null)
                   ref.clear();
                   m_mapReferences.remove(id);
                   synchronized(ref)
                        ref.notify();
         private synchronized void clean()
              log.debug("clean() - [in]");
              Reference reference = null;
              while (null != (reference = (Reference) m_rqQueue.poll()))
                   String key = ((IReferenceWrapper)reference).getKey();
                   m_mapReferences.remove(key);
         private void register()
              AlarmClock.getInstance().register(m_lCleanIntervalMilli, this);
         public void wakeUp(long id)
              try
                   clean();
              catch(Throwable t)
                   log.error("wakeUp() - caught exception", t);
              finally
                   register();
    }This is how the cache is used:
         public boolean store(IDirectoryEntry entry) throws Exception
              synchronized(m_lckRefMap)
                   // here there is some code to store object on disk
                   m_cache.put(entry.getUniqueID(), obj);
                   return true;
         public Object retreive(String strKey) throws SQLException
              synchronized(m_lckRefMap)
                   // look in the cache first
                   IDirectoryEntry entry = (IDirectoryEntry)m_cache.get(strKey);
                   if(entry != null)
                        return entry;
                                                    // here there is a code to read object from disk
                  }

  • Help required with understanding References and finalizers

    Background
    I have an online Application which has been developed over 6 years now. It is a Website CMS and runs 300 simultaneous sites per webserver. For the first time I am experiencing capacity / performance issues. I switched from SUN Java to JROCKIT in 2006 which speeded evertything up by 200% but now I have periods of the day where The memory fills up and I get Swapping which leads to 100% cpu utilization - mainly in I/O. I have upped the RAM in the server as a solution and now I want to see if I can do anything to reduce my memory footprint.
    Specifically : The question
    I have captured stats which I can view in Mission Control and it shows that the number of Weak References increases continuously over a 4 hour period (also the number of Phantom references shows similar behaviour). Therefore I suspect a memory leak - Also I suspect that this is of my own making since I have not realy had to deal with this before. The thing is I cannot clearly see how to proceed and identify what my error is.
    I have spent a couple of weeks reading loads of docs about weak / stong etc.. references but I realy need a bit of help with zeroing in on a starting point. I know that I release objects by setting them to null but I now expect that this is not realy good enough.
    Anyway - before I ramble too long, If there is anyone with relevant experience and a few minutes I would be very gratefull to hear from them.
    Regards
    Jonathan Carter
    Glimworm IT
    Amsterdam

    Hi Jonathan,
    Reference objects and finalizers are a frequent cause of performance issues. The reason is that 1) objects tend to be kept alive longer, leading to an increase in live data and more frequent GC and 2) processing of these objects during GC is expensive, which leads to more time spent in GC, i.e. long pause times.
    There are various ways you can approach your issue. One is to use -Xverbose to see what you find. If you are using JRockit R27.2 or later, run with "-Xverbose:referents" to get a list of all reference objects at every GC. More info:
    http://edocs.bea.com/jrockit/jrdocs/refman/optionX.html#wp1029960
    Note that you can enable verbose logging during runtime through "jrcmd <pid> verbosity set=referents" and later disable it using "jrcmd <pid> verbosity set=referents=warn". No JVM restart required.
    If you send your JRA recordings to jrockit-improve AT bea DOT com, we'll try to take a look at them.
    -- Henrik

  • Remove bad dll reference after content data migration sharepoint 2007 - sharepoint 2010

    I have 400 subsites under one root site and we need to remove one DLL reference from default.aspx Home page of each sub site.
    Assmbly ref like this.
    <%@ Register TagPrefix="WpNs0" Namespace="DS.DSQueryWebPart" Assembly="DS.DSQueryWebPart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=709ed70a96eaa5cb"%>
    This assmebly is not used anywhere .
    This assembly is reflecting in subsite default.aspx after the content database migration sharepoint 2007 to sharepoint 2010.
    Is there any way we can remove this bad reference through database query or any other way around
    sarav

    Hi,
    If are sure that this is the only customization in the default.aspx page, then you can safely  go into Site Settings -> Site Actions -> Reset to site definition -> Select Reset specific page to site definition version and enter the default.aspx
    page url. This will replace the customized page with the original site definition page. The process can be automated using PowerShell/C# Code. Here is an example:
    using (SPSite site = new SPSite("http://aissp2013/sites/Team/"))
       foreach(SPWeb web in site.AllWebs)
      using(web)
      SPFile file = web.GetFile(web.Url + "/default.aspx");
      if (file.Exists)
      file.RevertContentStream();
    The main part here is to get hold of the default.aspx file and use RevertContentStream() to reset it to site definition page.
    However, if there are other customizations as well, then you will need to get hold of the Project or WSP file and remove the reference there and then run update-spsolution powershell command to update to new WSP.
    Thanks,
    Nadeem
    Please remember to up-vote or mark the reply as answer if you find it helpful.

  • Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro

    Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro when plugged in with a dvi to mini dvi cable. Any ideas what to do to make it work? I lugged the 23" 2500 miles into the wilderness and I need help

    Okay, here's an update: the DVI to ADC adapter does work with the Apple displays that I have tried, but it won't work with the Formac. I have tried multiple time to contact them, but to no avail... they don't even respond to threats of posting my opinion of them, which is this:
    DON'T BUY ANYTHING FROM FORMAC! They make quality products, but their customer service is a big time joke! They won't take care of you.

  • Payment order clearing with EBS in SAP

    Hi All,
    I am little confused with Payment order clearing with EBS. Actually the process is as below.
    1. We create an invoice for Vendor - FB60 / MIRO
    2. We make the payment through F110, which creates a payment order but this will not post the payment document. Here, the payment order will be generated for payment ref.
    We should clear that Invoice by uploading the EBS.
    I have created a posting rule as below
    Posting rule Z092
    Posting Area 1
    Debit side
    Posting key 25
    Acc Symbol (Debit) - Blank
    Credit side
    Posting key 50
    Acc Symbol (Credit) - Main Bank Account
    Document type - KZ
    Posting type - 1
    Assigned Ext. Trans. Type to posting rule as below
    Ext. Trans. Type 702    +   Posting rule Z092    Interpretation Alog - 29
    The below is the error i am getting while uploading the EBS stmt in FF_5
    I am getting the error saying "Error: (F5 104) Vendor * is not defined in company code XXXX".
    The Accounting entry should be
    Dr  Vendor   A/C
    Cr  Main Bank A/C

    Hi Raju ,
    The Problem seems to be that the payment order number is extended with your company code number due to which the system is not recognizing your payment order. Give one more try by just entering the payment order number and deleting the co code and year after that, just like below.
    88,0000002157
    88,/06590719801706 0000002157
    88,0000002157
    Thanks,
    Suresh

  • Clearing with customer & Vendor

    I have customer who is vendor and vendor who is customer.I have assigned customer no in vendor master and vice versa. I forgot to click the indication Clearing with cust/vend. I have posted the TRansactions now i Have ticked the Clearing with cust/ Vend.
    How to i Set off line item with cust and vendor .
    One more thing is in f-32 clear customer we can clear clearing doc. or we can clear open item also and sett off customer and vendor.
    As per my knowledge if u do partial payment then my orginal Invoice wil show as open item and one more line item wil b generated with clearing document M I right? Is there any setting in ECC 6. through which partial payment will directly get cleared.
    plz need some input regardin clearing doucment
    I have tried but unable to come to conclusion
    thanks thanks a lot
    Regards
    Anamika

    Anamika
    The whole logic of having a partial item is that the open item will remain open until the whole amount is paid. There is no meaning in clearing it completely when there is a partial clearing. For the customer clearing, you select other accounts, select the vendor account and the account type K and clear the open items. Let me know if it helped.
    Karthik

  • Error while creating the sales order with billing reference

    hi alll
    i am getting error while creating the sales order with billing reference.The line items are coming in grey.I am not able to change the items as well as the quantity field.Can u guide me
    cheers
    shalsa007........

    Dear SAP SD 007
    I can confidently tell that an enhancement or an user exit has been applied in your scenario
    You have to check that
    Normally when creating a sales order with respect or referring billing documents the qty will be in editable mode and it is standard problem
    Your people has solved the standard problem by enhancement
    Usually OR--LF-PGI----F2 (SAY THE QTY IS 25 UNITS)
    Now you are creating returns order with reference to F2 in the return order type Re there is a standard issue that user can edit the qty to 30 from the original 25
    To solve this only your people have used userexit
    Line items and qty greyed out means definately there is some enhancement or user exit applied
    You have to check that
    Regards
    Raja

  • Credit note with invoice reference are not concatenate in F110

    When I create a credit note with invoice reference by VA01, the fields payment term,  Baseline date for due date calculation, Assignment and Payment method are copied correctly from invoice to credit note, but in FI document the field invoice ref.  'BSEG-REBZG' is not filled. So when I run the transaction F110 Automathic Payment (for Italy) the invoice is rigthly payed but the credit not is included into Exceptions with the note 'No pymt possible because items with a credit bal.still exist'. If I put in the field 'BSEG-REBZG'  the reference to  the invoice, the one and credit note are concatenated and I have a rigth parzial payment.
    There is a way to have this link when I post the Fi document by vf01-vf02 without putting it manually using FB03?
    Thank you in advance
    Gianluca.

    hiii
    please refer thi link reconciliation in 2005
    https://websmp208.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000789632007E
    i would suggest you to upgrade your version, as reconciliation is very easy in higher versions
    please refer sap note no 1051038.
    Thanks
    Rizz
    Edited by: Mohammed Riyaz on Apr 24, 2009 4:01 PM

  • Credit Memo with the reference of multiple Billing document

    Hi SD Gurus,
    I wanted to create credit memo with the reference of multiple billing document for a single customer.
    Is it possible in standard SAP? If YES please tell me HOW…
    Thanks in advance...
    Ratish Patil

    hello, friend.
    yes, you actually can.  first you enter VA01 and choose the document type.  press ENTER.
    then in the order Overview screen, go to SALES DOCUMENT > CREATE WITH REFERENCE.  a dialog box will ask you which billing document you want as reference.  enter the document number and press COPY.
    you can repeat this process as many time as you wish.  the items of the referenced documents will be copied into your Sales Document.
    hope this helped.  reward if useful.
    jty

Maybe you are looking for

  • Problem with "Row-specific or Cascading Lists in Table Layout"

    Hello, friends! I have read article "Row-specific or Cascading Lists in Table Layout" written by Steven Davelaar. I have maked several table layouts with this technique and it worked fine. But now I have one problem, and this problem is very strange.

  • OC4J 10.1.3.2, JPA and Hibernate 3.2 Exception on Deployment

    I can't get my simple web application to deploy in my standalone oc4j container. The European organization that I working for wants to use the new technologies out there. Part of the testing is getting oc4j working with hibernate. My web application

  • Getting an error in this select

    Hi, i am getting an error on this select select add_months(to_date('31-MAR-'||'to_char(to_date('31-MAR-2011')','YYYY'))-12) from dual Kindly help !!!

  • Adobe Reader 9 does not open

    Hi<br /><br />I am running windows pro SP3.  Installed Adobe Reader 9.  Since then no pdf document will open from web or file.  I have copied and pasted the error document that is sent electronically to Microsoft.<br /><br />This problem occurs too w

  • Neo2P 3500+ 90nm problem

    Have neo2plat and had everything going ok with 3500 130nm cpu. System was great - once I had all drivers/bios updated. Was like this for a few weeks. Then I got a new 90nm 3500+. Though it would be a simple swap, but boy was I wrong. Boot to windows