Pass cluster to an asynchronous vi

I have an asynchronous vi that I need to pass a container to while it executes. I am able to pass individual members of the container to the VI by using TestStand's "Get Variable" subVI in LabView. However, this subVI does not support passing containers. Is it possible to pass a container to an asynchronous VI while it executes?

Doug answers it in this post:
http://forums.ni.com/t5/NI-TestStand/Pass-Cluster-Type-Value-from-TestStand-to-UI-Using-TestStand-AP...
To summarize:
You have to get the individual elements one at a time.
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • By passing Cluster Table BSEG ?

    What is the science of using Cluster tables? I mean why are cluster tables used for ? + HOW CAN I BY PASS CLUSTER TABLER to get the data quickly ??

    Hi,
    The famous BSEG table is a cluster table.
    It is as was correctly stated part of the Accounting Document Segment. It is part of the Pool cluster RFBLG and lives in the package: FBAS (Financial accounting 'Basis').
    You can't read a cluster table exactly the way you read a database (old speak, transparent table).
    You can use a program to read called RFPPWF05
    Note 435694: Display BSEG item by calling FB09D (modified FB09)
    Other possiblity: Other possibility: CALL DIALOG 'RF_ZEILEN_ANZEIGE', but since this is a dialog I don't think this would work.
    In any event go to FBAS Package (development class) to see your business objects, class library and functions.
    you must use keyfields bukrs , belnr, gjahr
    (so 1st select table bkpf) to select bseg.
    or use secondary index tables:
    bsas, bsis, bsik, bsak, bsid, bsad
    Cluster Table : Cluster tables are logical tables that must be assigned to a table cluster when they are defined. Cluster tables can be used to strore control data. They can also be used to store temporary data or texts, such as documentation.
    A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field.
    One of the possible reasons is for instance that their content can be variable in length and build up. Database manipulations in Abap are limited as well.
    But pool and cluster table is a many to one relationship table. This means many pool table store in a database table which is know as table pool.
    All the pool table stored table in table pool does not need to have any foreign key relationship but in the case of cluster table it is must. And pool and cluster table is basically use to store application data.
    For pool and cluster table you can create secondary index and you can use select distinct, group for pool and cluster table. You can use native SQL statement for pool and cluster table.
    Regards,
    Raj.

  • Pass cluster through DLL to Teststand

    I have to pass  Time Stamp & number thr'  a cluster in a DLL to Teststand
    thts  generating error  System Level Exception.[Error Code: -17502] 
    the Cluster ProdOrder(in pic ) is generating Issues
    Attachments:
    clustertoDLLpass Error.PNG ‏149 KB

    the Custom datatype tht I have to generate for this Cluster in teststand  cld be also   the culprit
    I have added the Mytypes ini file  where I have defined     the datatype as ProdorderMYINI
    Attachments:
    MyTypes.ini ‏3 KB
    testDLL_CLUSTER.seq ‏5 KB
    clusterPO1.vi ‏9 KB

  • Passing cluster to subVI

    Hi all,
    I have tried searching everywhere for solutions, but have not been successful.
    I am trying to use clusters and subVI’s for the first time and I am fairly new to labview.
    Instead of wiring individual elements to a subvi, I have come to learn that it is easier to pass clusters to my subVI.  I have attached a screenshot of a simple example.
    Suppose that I have the variables, x,y,z & a, I bundle these controls in the main VI but would like to pass them into the subVI. I know that I can create an identical input cluster in the subVI, and then wire that to the subVI pattern.  I  have two problems with this:
    1)      If I am passing different clusters of 10 or so elements to different subVI’s, it gets annoying creating an identical cluster in each subVI
    2)      If I rename one of the variables in the main VI eg. x becomes t, then wouldn’t that mess up the subVI?
    I am sure that this is a basic concept, but I have not found any info.
    Thanks in advance for your help.
    Solved!
    Go to Solution.
    Attachments:
    Untitled.png ‏15 KB

    Thank you so much everyone! Just a bit confused on the process if I am wrong
    Here is what I am doing, where am I going wrong?
    (1) I have bundled various data that I will be using, using the bundle function (as per the attached image).
    (2) I right click this bundle function and go Create --> Indicator, then the second attached figure appears
    (3) I right click this new indicator and go Advanced --> Customize
    (4) Save it as a typedef
    (5) then it asks me if I want to replace the original cluster with the new typedef (ctl file), I say yes
    (6) then the indicator icon changes, but there is a red dot (picture attached).
    (7) If I add another line to the bundle function the line between the indicator and the bundle function breaks
    Attachments:
    bundle.png ‏1 KB
    cluster.png ‏2 KB
    cluster2.png ‏2 KB

  • Passing cluster of moderately large size across vi's

    If I have a choice of passing in a cluster or an element of cluster from one vi to another
    vi which one should I use? I would like to pass in the cluster for convenience, but I am not
    sure if the cluster is passed by reference or memory copy internally. The cluster is about
    200 bytes and the function will be called repeatedly in a 10 msec timer.
    Any suggestion will be much appreciated. Thanks.
    Ratin

    Unless you are modifing the value of any of the elements of the cluster, LabVIEW shouldn't make a copy of the cluster as it's passed around.
    If you are modifing a value, it may, or may not make a copy. If you have LabVIEW 7.1, there's a tool you can use to see where LabVIEW creates copies of data. Open the block diagram and in the tools menu, go down to 'Advanced', then select 'Show Buffer Allocations'. This will place a small black box on the terminals where data is copied.
    I generally pass the entire cluster and unbundel the items I need inside the subVI.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Pass Cluster into LabVIEW Generated DLL using __cdecl

    I'm using a DLL generated with LabVIEW 7.1 to calculate IIR filter coefficients in a application I'm writing in C++. The DLL contains several different functions. The function prototype in question looks like this:
    long __cdecl ButterworthCoefficients(unsigned long filterType,
    double samplingFreqFs, long order, double lowCutoffFreqFl,
    double highCutoffFreqFh, TD1 *IIRFilterCluster);
    where "TD1" is an output that contains the IIR filter coefficients generated by the function. TD1 looks like this:
    typedef struct {
    unsigned long filterStructure;
    TD2Hdl ReverseCoefficients;
    TD2Hdl ForwardCoefficients;
    } TD1;
    TD2Hdl is a handle to a 1-D array containing doubles.
    My question relates to how to pass the TD1* parameter into the function. If I simply declare TD1 and leave it uninitialized and pass it's address to the function I get a windows access violation read error. So I assume I have to create and populate the entire TD1 structure in my C++ source file, allocating memory for the arrays, before passing the TD1 address to the function. When I try to do that I get a LabVIEW error "Fatal Internal Error memory.cpp, line 638".
    Any ideas on how to make this work?

    Ok, I fixed my problem. I had to set the TD2Hdl elements in the TD1 structure to NULL before passing the TD1 address to the function. I think this makes sense because if you look at the Butterworth Coefficient.vi that I used to generate the DLL, the inputs to the CIN in that VI's block diagram are empty arrays. So I guess by setting the TD2Hdl elements to NULL, it tells LabVIEW that you are giving it an empty array, which is what the CIN was expecting.
    Hopefully this helps anyone else who has this same sort of problem.

  • 2012 New Cluster Adding A Storage Pool fails with Error Code 0x8007139F

    Trying to setup a brand new cluster (first node) on Server 2012. Hardware passes cluster validation tests and consists of a dell 2950 with an MD1000 JBOD enclosure configured with a bunch of 7.2K RPM SAS and 15k SAS Drives. There is no RAID card or any other
    storage fabric, just a SAS adapter and an external enclosure.
    I can create a regular storage pool just fine and access it with no issues on the same box when I don't add it to the cluster. However when I try to add it to the cluster I keep getting these errors on adding a disk:
    Error Code: 0x8007139F if I try to add a disk (The group or resource is not in the correct state to perform the requested operation)
    When adding the Pool I get this error:
    Error Code 0x80070016 The Device Does not recognize the command
    Full Error on adding the pool
    Cluster resource 'Cluster Pool 1' of type 'Storage Pool' in clustered role 'b645f6ed-38e4-11e2-93f4-001517b8960b' failed. The error code was '0x16' ('The device does not recognize the command.').
    Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster
    Manager or the Get-ClusterResource Windows PowerShell cmdlet.
    if I try to just add the raw disks to the storage -- without using a pool or anything - almost every one of them but one fails with incorrect function except for one (a 7.2K RPM SAS drive). I cannot see any difference between it and the other disks. Any
    ideas? The error codes aren't anything helpful. I would imagine there's something in the drive configuration or hardware I am missing here I just don't know what considering the validation is passing and I am meeting the listed prerequisites.
    If I can provide any more details that would assist please let me know. Kind of at a loss here.

    Hi,
    You mentioned you use Dell MD 1000 as storage, Dell MD 1000 is Direct Attached Storage (DAS)
    Windows Server cluster do support DAS storage, Failover clusters include improvements to the way the cluster communicates with storage, improving the performance of a storage area network (SAN) or direct attached storage (DAS).
    But the Raid controller PERC 5/6 in MD 1000 may not support cluster technology. I did find its official article, but I found its next generation MD 1200 use Raid controller PERC H 800 is still not support cluster technology.
    You may contact Dell to check that.
    For more information please refer to following MS articles:
    Technical Guidebook for PowerVault MD1200 and MD 1220
    http://www.dell.com/downloads/global/products/pvaul/en/storage-powervault-md12x0-technical-guidebook.pdf
    Dell™ PERC 6/i, PERC 6/E and CERC 6/I User’s Guide
    http://support.dell.com/support/edocs/storage/RAID/PERC6/en/PDF/en_ug.pdf
    Hope this helps!
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Lawrence
    TechNet Community Support

  • Making some elements of cluster invisible

    I have a cluster indicator as shown. Cluster contains a Num ‘has linear test passed?’
    I am passing cluster’s reference to the parent VI.
    If Num=0, I want to hide only the Num keeping rest of the cluster visible in the parent VI.
    How can I just make one num optionally invisible?
    Thanks
    Sandeep
    Attachments:
    Create LinearTest Report Ref.vi ‏350 KB

    I have to echo Dynamik's comments. this is an odd construct.
    Dynamik, you missed the "_1" version you were useing.
    Sandeep,
    Just hit ignore, open the diagram and replace the missing VI with the one you posted.
    Here is another variation where I took the liberty of redefining your output type, just to make things easier.
    Make sure you close yours before you open the VI "SetClusterVisabilityCreateLinearTestReportRef.vi"
    Ben
    Message Edited by Ben on 09-15-2005 08:13 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    SetClusterVisabilityCreateLinearTestReportRef.vi ‏168 KB
    CreateLinearTestReportRef1.vi ‏351 KB

  • DBCA: Issue Creating a cluster database in RAC

    Hello Expert,
    We encountered some issues while trying to create a cluster database. The issue is:
    When running DBCA to create a cluster database, we seem unable to bring up the screen where we can choose "Oracle Real Application Cluster database". It only allows us to create single instance database. We must have missed some steps. Any suggestions?
    1. Below are the specs:
    * OS: Enterprise Linux Enterprise Linux AS release 4 (October Update 6) 2.6.9 67.0.15.0.1.ELsmp
    * Oracle Version: 10.2.0.3 with cluster on 2 nodes (for example: xxx1 and xxx2)
    * CRS version: 10.2.0.3
    * Running ASM with DATA, REDO, TEMP, FRA diskgroups
    * OCR and Voting disk on shared raw devices
    2. Results from running crs_stat
    $ crs_stat -t
    Name           Type           Target    State     Host
    ora....D1.lsnr application    ONLINE    ONLINE    xxx1
    ora....rd1.gsd application    ONLINE    ONLINE    xxx1
    ora....rd1.ons application    ONLINE    ONLINE    xxx1
    ora....rd1.vip application    ONLINE    ONLINE    xxx1
    ora....D2.lsnr application    ONLINE    ONLINE    xxx2
    ora....rd2.gsd application    ONLINE    ONLINE    xxx2
    ora....rd2.ons application    ONLINE    ONLINE    xxx2
    ora....rd2.vip application    ONLINE    ONLINE    xxx2 3. Result from cluster verify on node 1...
    $ cluvfy stage -post crsinst -n xxx1
    Performing post-checks for cluster services setup
    Checking node reachability...
    Node reachability check passed from node "xxx1".
    Checking user equivalence...
    User equivalence check passed for user "oracle".
    Checking Cluster manager integrity...
    Checking CSS daemon...
    Daemon status check passed for "CSS daemon".
    Cluster manager integrity check passed.
    Checking cluster integrity...
    Cluster integrity check passed
    Checking OCR integrity...
    Checking the absence of a non-clustered configuration...
    All nodes free of non-clustered, local-only configurations.
    Uniqueness check for OCR device passed.
    Checking the version of OCR...
    OCR of correct Version "2" exists.
    Checking data integrity of OCR...
    Data integrity check for OCR passed.
    OCR integrity check passed.
    Checking CRS integrity...
    Checking daemon liveness...
    Liveness check passed for "CRS daemon".
    Checking daemon liveness...
    Liveness check passed for "CSS daemon".
    Checking daemon liveness...
    Liveness check passed for "EVM daemon".
    Checking CRS health...
    CRS health check passed.
    CRS integrity check passed.
    Checking node application existence...
    Checking existence of VIP node application (required)
    Check passed.
    Checking existence of ONS node application (optional)
    Check passed.
    Checking existence of GSD node application (optional)
    Check passed.
    Post-check for cluster services setup was successful. 4. Result from cluster verify on node 2
    $ cluvfy stage -post crsinst -n xxx2
    Performing post-checks for cluster services setup
    Checking node reachability...
    Node reachability check passed from node "xxx2".
    Checking user equivalence...
    User equivalence check passed for user "oracle".
    Checking Cluster manager integrity...
    Checking CSS daemon...
    Daemon status check passed for "CSS daemon".
    Cluster manager integrity check passed.
    Checking cluster integrity...
    Cluster integrity check passed
    Checking OCR integrity...
    Checking the absence of a non-clustered configuration...
    All nodes free of non-clustered, local-only configurations.
    Uniqueness check for OCR device passed.
    Checking the version of OCR...
    OCR of correct Version "2" exists.
    Checking data integrity of OCR...
    Data integrity check for OCR passed.
    OCR integrity check passed.
    Checking CRS integrity...
    Checking daemon liveness...
    Liveness check passed for "CRS daemon".
    Checking daemon liveness...
    Liveness check passed for "CSS daemon".
    Checking daemon liveness...
    Liveness check passed for "EVM daemon".
    Checking CRS health...
    CRS health check passed.
    CRS integrity check passed.
    Checking node application existence...
    Checking existence of VIP node application (required)
    Check passed.
    Checking existence of ONS node application (optional)
    Check passed.
    Checking existence of GSD node application (optional)
    Check passed.
    Post-check for cluster services setup was successful. Thanks!
    Edited by: user10454776 on Mar 14, 2009 7:40 PM
    Edited by: user10454776 on Mar 14, 2009 8:11 PM

    user10454776 wrote:
    Hello Expert,
    We encountered some issues while trying to create a cluster database. The issue is:
    When running DBCA to create a cluster database, we seem unable to bring up the screen where we can choose "Oracle Real Application Cluster database". It only allows us to create single instance database. We must have missed some steps. Any suggestions?Hello non-expert.
    Until you provide some hints about operating system for each of the RAC machines, the networking you have installed (and whether you have the interconnect running), the shared disk mechanism (and whether it is confirmed shared raw or ASM), the Oracle software versions, whether your systems passed cluster verify ... we would be wasting our time guessing.

  • SubVI with Cluster

    Hi
    I want to pass Cluster to SubVI.
    Could anybody tell me how to make SubVI know Cluster data without create any cluster in SubVI?
    Thank you in advance.

    Hi MS_CJ,
    use a "cluster" reference and not a special type, then you can pass all clusters to your subvi.
    Mike
    Attachments:
    Unbenannt1.PNG ‏10 KB

  • Cluster-wide JNDI replication

    I have a question about cluster wide JNDI replication. I am on weblogic
              7.0 sp2, solaris 8. I have 2 weblogic servers in a cluster and two
              asynchronous JVM's connect to this cluster. The two weblogic servers
              would be w1 and w2 and the JVMs would be j1
              w1 creates a stateful ejb. The handle to this ejb is put on the JNDI
              tree. A JMS message is created which contains the key to the handle
              object. A JMS message is sent which is picked up by one of the JVM's say
              j1. j1 tries to do a lookup of the handle using the key in the JMS
              message and it is not able to find the handle object.
              The reason is that j1 is trying to connect to the w2 to find the handle.
              The change to the jndi tree is not propagated to w2 yet and hence the
              error. Any ideas on why it would take so long to communicate the jndi
              tree? My jndi tree has hardly anything in it. There are a couple of JMS
              connection factories and 3 ejbs and couple of JMS queues.
              Would appreciate any kind of help. I am going to migrate storing the ejb
              handles to another persistent store instead of the jndi tree but till
              then any insight into this problem would be helpful.
              Please don't advice solutions like using Thread.sleep and trying again
              Thanks,
              Shiva.
              

    Shiva,
              > I have a question about cluster wide JNDI replication. I am on weblogic
              > 7.0 sp2, solaris 8. I have 2 weblogic servers in a cluster and two
              > asynchronous JVM's connect to this cluster. The two weblogic servers
              > would be w1 and w2 and the JVMs would be j1
              >
              > w1 creates a stateful ejb. The handle to this ejb is put on the JNDI
              > tree. A JMS message is created which contains the key to the handle
              > object. A JMS message is sent which is picked up by one of the JVM's say
              > j1. j1 tries to do a lookup of the handle using the key in the JMS
              > message and it is not able to find the handle object.
              >
              > The reason is that j1 is trying to connect to the w2 to find the handle.
              > The change to the jndi tree is not propagated to w2 yet and hence the
              > error. Any ideas on why it would take so long to communicate the jndi
              > tree? My jndi tree has hardly anything in it. There are a couple of JMS
              > connection factories and 3 ejbs and couple of JMS queues.
              That's an interesting problem. The handle should have enough information
              to locate the EJB. Are you explicitly trying to connect to W2 from J1 or
              something? That part didn't make sense to me.
              (While it's a different approach, if you need to share data real-time in a
              cluster, use our Coherence Java clustered cache software.)
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com/coherence.jsp
              Tangosol Coherence: Clustered Replicated Cache for Weblogic
              "Shiva P" <[email protected]> wrote in message
              news:[email protected]...
              >
              

  • How to Get Previous Month Salary for a particular employee?

    Hi
    I am developing a report to get the Net Pay Difference from Previous month.
    I am using logical database pnp.
    My question is how can we get the last month (Previous from current selected month) salary of perticular employee. I read the thread which is related to this but I can't understand the reply's. I think it is due to that I am new in ABAP and my experience in only 22 days. If someone reply with code example then it will more helpful for me.
    Also If you can tell me the table name from where we can get the salary of particular month of particular employee then it will also helpful for me.
    Regards
    Iftikhar

    Hi,
    Payroll data is stored in cluster tables.
    You can either use macro for retrieving the data or Function module.
    1. Use FM -CU_READ_RGDIR for getting the RG directory values.Pass  
      employee Number and molga.You will get all the sequence Numbers from this
      FM.
        The last record will be the latest  one.
    2.  Then Use FM - PYXX_READ_PAYROLL_RESULT for getting the payroll  
         results table.Pass cluster ID- 'IN'  ,pernr ,sequence number for which period
          you want (In your case ,current period minus   1) and
          READ_ONLY_INTERNATIONAL            = 'X',
    3. You will get all the results from PAYROLL_RESULT                     = it_result
      Then you can loop this internal table like LOOP at it_result-inter-rt into wa..
    Get the net pay value(/560 wage type)
    Reward points if helpful.
    Regards,
    Manoj.

  • Using async in an AIR application?

    After reading this FlexUnit tutorial:
    http://www.adobe.com/devnet/flex/articles/flashbuilder4_tdd.html
    I downloaded the files here:
    http://download.macromedia.com/pub/developer/flashbuilder4_tdd_source.zip
    ...and changed the project, FlexUnit4Examples, to an AIR application via FlashBuilder.  After I did that, it no longer passes all of its asynchronous tests.
    Do asynchronous tests have any issues or limitations with AIR?

    The problem I had was not related to FlexUnit.  It was the way I was tried to access the file system when it was an AIR application.  I used FileStream instead of what was in the tutorial that worked with a web base application, which was HTTPService.
    Since I am new with unit testing, I assumed that it was the test that was coded wrong.  I suppose I havent trusted my unit tests enough, since it told me that my source code was incorrect.

  • Terminating event and abap oo class

    Hi, gurus,
    I 'd like to know how the terminating event works.
    for example,  i define a custom abap oo class (which has been implemented the interface of IF_WORKFLOW), and i want to use it as the terminating event of a standard task.
    could you please tell me how does it works?
    1. there must be an instance defined in the container of the task?
       which must be instanciated in the run time?
    2. then in another abap report, i simply raise the event defined as the terminating event, using the same key, then the pending task will be terminated?
    could you pls provide more information on this ?
    thanks and best regards.
    Jun

    Hi Jun Zhang,
    An event that is used to stop a workflow or task, or change the behavior of an already started workflow is called Terminating Event.
    If the event linkage is active and the linkage rules are satisfied, the status of the work item is set to COMPLETED.
    Defining Event Linkage  Terminating event linkage consists of 2 parts.
    Type linkage which specifies business object type, event name, generic name for event receiver (WORKITEM for terminating events of tasks or EVENTITEM for wait for event steps)
    Instance linkage which identifies the particular receivers (I.e. work item Ids) per object instance.
    Terminating event linkages can be seen in SWE3.
    For terminating events, along with Business object and Event a Container Element should be specified that holds the Object Instance.
    Terminating Event for Workflow is available from Release 6.10 only. This is defined in Basic Data of Workflow Builder.
    Binding Definition is optional for Terminating Events. Binding can be defined b/n event container and workflow container to pass event information to the workflow if required. That is the only way of passing information from an asynchronous method to the task that started it.
    Thanks and Regards,
    Prabhakar Dharmala

  • How to create Groups and Group Leaders in Clusters.

    Hi,
    As we know in unicast there is one to one communication and there are groups to control the Thread
    Management, How the Groups and the Group Leaders are created.
    Regards,
    Vardhan.

    Unicast clustering uses TCP/IP sockets to pass cluster messages between members. To avoid requiring each cluster member
    to have connectivity to every other cluster member, WebLogic Server uses a group leader strategy whereby the oldest member
    of the group (in other words, the server that was started first) is designated the group leader. All members of the cluster
    connect to the group leader so that the group leader acts as the relay point for cluster messages between members.
    If the group leader goes down, the next oldest member becomes the new group leader.
    As you can imagine, the group leader strategy works well for small groups but becomes less efficient as the number of members
    of the group grows large. As such, WebLogic Server uses a multiple group leader strategy where it limits the number of members
    in a group to 10. If the cluster is larger than 10 members, WebLogic Server splits into two or more groups, each with their own
    group leader. The group leaders themselves are all interconnected to minimize the number of hops that a cluster message must
    traverse to reach all cluster members.

Maybe you are looking for