Managing shared hardware along multiple executions

Hi,
I would like to know if there is a clean and efficient way to manage executions so they can access some shared test hardware in a FIFO method.  The test setup includes four units connected to an RF switch that selects which unit has access to a spectrum generator.  I would also like the executions to run independantly. I looked at the different process models shipped with Teststand 2013, but none seem to do exactly what I want.  The Batch Process model needs the UUTs to be tested as a group.  Does the Parallel Process model allow the sharing of test equipment between executions?
Can this be done with the Sequential Process model by using specific synchronization steps like Lock or Notification?
Thanks in advance for your help,
Christian

It uses the batch model but you can do the same thing with the parallel model or the sequential model.
Also, if you name a lock with an * as the first character then it can be shared across engines.
Regards,
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • Multiple Executions Plans for the same SQL statement

    Dear experts,
    awrsqrpt.sql is showing multiple executions plans for a single SQL statement. How is it possible that one SQL statement will have multiple Executions Plans within the same AWR report.
    Below is the awrsqrpt's output for your reference.
    WORKLOAD REPOSITORY SQL Report
    Snapshot Period Summary
    DB Name         DB Id    Instance     Inst Num Release     RAC Host
    TESTDB          2157605839 TESTDB1               1 10.2.0.3.0  YES testhost1
                  Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:     32541 11-Oct-08 21:00:13       248     141.1
      End Snap:     32542 11-Oct-08 21:15:06       245     143.4
       Elapsed:               14.88 (mins)
       DB Time:               12.18 (mins)
    SQL Summary                            DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
                    Elapsed
       SQL Id      Time (ms)
    51szt7b736bmg     25,131
    Module: SQL*Plus
    UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL,0) + NVL(ACCT_DR_BAL,
    0)) FROM ACCT WHERE ACCT_TRN_DT = (:B1 ) AND TEST_ACC_NB = ACCT_ACC_NB(+)) WHERE
    TEST_BATCH_DT = (:B1 )
    SQL ID: 51szt7b736bmg                  DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
    -> 1st Capture and Last Capture Snap IDs
       refer to Snapshot IDs witin the snapshot range
    -> UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL,0) + NVL(AC...
        Plan Hash           Total Elapsed                 1st Capture   Last Capture
    #   Value                    Time(ms)    Executions       Snap ID        Snap ID
    1   2960830398                 25,131             1         32542          32542
    2   3834848140                      0             0         32542          32542
    Plan 1(PHV: 2960830398)
    Plan Statistics                        DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
    Stat Name                                Statement   Per Execution % Snap
    Elapsed Time (ms)                            25,131       25,130.7     3.4
    CPU Time (ms)                                23,270       23,270.2     3.9
    Executions                                        1            N/A     N/A
    Buffer Gets                               2,626,166    2,626,166.0    14.6
    Disk Reads                                      305          305.0     0.3
    Parse Calls                                       1            1.0     0.0
    Rows                                        371,735      371,735.0     N/A
    User I/O Wait Time (ms)                         564            N/A     N/A
    Cluster Wait Time (ms)                            0            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                        0            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     2            N/A     N/A
    Sharable Mem(KB)                                 26            N/A     N/A
    Execution Plan
    | Id  | Operation                    | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | UPDATE STATEMENT             |                 |       |       |  1110 (100)|          |
    |   1 |  UPDATE                      | TEST            |       |       |            |          |
    |   2 |   TABLE ACCESS FULL          | TEST            |   116K|  2740K|  1110   (2)| 00:00:14 |
    |   3 |   TABLE ACCESS BY INDEX ROWID| ACCT            |     1 |    26 |     5   (0)| 00:00:01 |
    |   4 |    INDEX RANGE SCAN          | ACCT_DT_ACC_IDX |     1 |       |     4   (0)| 00:00:01 |
    Plan 2(PHV: 3834848140)
    Plan Statistics                        DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
    Stat Name                                Statement   Per Execution % Snap
    Elapsed Time (ms)                                 0            N/A     0.0
    CPU Time (ms)                                     0            N/A     0.0
    Executions                                        0            N/A     N/A
    Buffer Gets                                       0            N/A     0.0
    Disk Reads                                        0            N/A     0.0
    Parse Calls                                       0            N/A     0.0
    Rows                                              0            N/A     N/A
    User I/O Wait Time (ms)                           0            N/A     N/A
    Cluster Wait Time (ms)                            0            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                        0            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     2            N/A     N/A
    Sharable Mem(KB)                                 26            N/A     N/A
    Execution Plan
    | Id  | Operation                    | Name         | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | UPDATE STATEMENT             |              |       |       |     2 (100)|          |
    |   1 |  UPDATE                      | TEST         |       |       |            |          |
    |   2 |   TABLE ACCESS BY INDEX ROWID| TEST         |     1 |    28 |     2   (0)| 00:00:01 |
    |   3 |    INDEX RANGE SCAN          | TEST_DT_IND  |     1 |       |     1   (0)| 00:00:01 |
    |   4 |   TABLE ACCESS BY INDEX ROWID| ACCT         |     1 |    26 |     4   (0)| 00:00:01 |
    |   5 |    INDEX RANGE SCAN          | INDX_ACCT_DT |     1 |       |     3   (0)| 00:00:01 |
    Full SQL Text
    SQL ID       SQL Text
    51szt7b736bm UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL, 0) +
                  NVL(ACCT_DR_BAL, 0)) FROM ACCT WHERE ACCT_TRN_DT = (:B1 ) AND PB
                 RN_ACC_NB = ACCT_ACC_NB(+)) WHERE TEST_BATCH_DT = (:B1 )Your input is highly appreciated.
    Thanks for taking your time in answering my question.
    Regards

    Oracle Lover3 wrote:
    Dear experts,
    awrsqrpt.sql is showing multiple executions plans for a single SQL statement. How is it possible that one SQL statement will have multiple Executions Plans within the same AWR report.If you're using bind variables and you've histograms on your columns which can be created by default in 10g due to the "SIZE AUTO" default "method_opt" parameter of DBMS_STATS.GATHER__STATS it is quite normal that you get different execution plans for the same SQL statement. Depending on the values passed when the statement is hard parsed (this feature is called "bind variable peeking" and enabled by default since 9i) an execution plan is determined and re-used for all further executions of the same "shared" SQL statement.
    If now your statement ages out of the shared pool or is invalidated due to some DDL or statistics gathering activity it will be re-parsed and again the values passed in that particular moment will determine the execution plan. If you have skewed data distribution and a histogram in place that reflects that skewness you might get different execution plans depending on the actual values used.
    Since this "flip-flop" behaviour can sometimes be counter-productive if you're unlucky and the values used to hard parse the statement leading to a plan that is unsuitable for the majority of values used afterwards, 11g introduced the "adaptive" cursor sharing that attempts to detect such a situation and can automatically re-evaluate the execution plan of the statement.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Binding a Shared Varable to multiple MODBUS registers

    A simple question, but can't seem to find an answer:
    I have a project library with a serial MODBUS i/o server setup. In this library I have several shared variables that are bound to registers on the remote device through the MODBUS protocol, and this works fine if each variable is bound to read a single register (e.g. Modbus1\D400001). What is the appropriate syntax to bind a single shared variable to multiple consectutive registers? If I set the Shared Variable type to "Array of UInt32" can I specify something along the lines of Modbus1\D400001-D400100 ? So far this doesn't seem to be working, or at least hasn't displayed anything when creating an array indicator and binding this shared variable to the indicator. Thanks,
      --David
    Sorry, forgot to mention this is LabView 9.0.1 with the DSC module.
    Solved!
    Go to Solution.

    Hi Underscore_c, 
    Take a look at this help document:
    http://zone.ni.com/reference/en-XX/help/371618E-01​/lvmve/dsc_modbus_using/
    This document should also be in your LabVIEW help.  You'll notice that you can call an array of registers by preceding the address by "A". 
    For example, 
    A400008L8 is an array of values of length 8.  
    There is an example called "Modbus Datatype Extension" that should get you started in the right direction. 
    Dave T.
    National Instruments
    FlexRIO & R-Series Product Support Engineer

  • Multiple Execution of VIs in TestStand

    Hi everybody,
    I'm trying to run multiple VIs with TestStand. Right now I'm using the
    ActiveX command : Engine.NewExecution to start multiple Sequences which
    contain 1 VI. To communicate between these Sequences, I have to use
    StationGlobals. Is there a possibility to use one Sequence File with
    all my Subsequences and LabVIEW steps, that could be called once and
    then executes the steps at the same time, so that I don't have to use
    StationGlobals and different Files.
    Thanx Jens
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

    Jens,
    If you are calling VIs of the same name and if those VIs display their
    front panel, those VIs cannot be set to reentrant. However, we made a
    step type that works around this issue. You can download an example
    named, "Step Type that Executes LabVIEW Code Modules in Parallel" from
    the NI examples database at:
    http://digital.natinst.com/explprog.nsf/web%2Fswgrp?
    OpenView&Start=1&Count=500&Expand=7.1#7.1
    This example also requires TS 1.0.1. If your VIs don't display their
    front panels, then you should make your VIs reentrant as I mentioned in
    a previous message.
    You can always get to the examples DB from www.natinst.com/support
    Paul
    In article <7sg52h$77c$[email protected]>,
    [email protected] wrote:
    > Thank you very much,
    > you are rig
    ht, I want to execute the same vi twice with TestStand (I'm
    > already using StationGlobals for the communication). I will upgrade
    > then the next days.
    >
    > Best Regards
    > Jens
    >
    > In article <7sd87g$3bj$[email protected]>,
    > [email protected] wrote:
    > > Hi Jens,
    > >
    > > You will need to use station globals or a file to communicate. Each
    > > execution makes its own runtime copy of FileGlobals and these
    runtime
    > > copies are not shared between the different executions.
    > >
    > > I'm not sure if you are attemption to run VIs of the same name at
    the
    > > same time. If so, you can set those VIs to be Reentrant. But you
    > > will need to upgrade to TestStand 1.0.1. You can upgrade at
    > > www.natinst.com/advisor. It is a free upgrade.
    > >
    > > Thanks,
    > > Paul Mueller
    > > National Instruments
    > >
    >
    > Sent via Deja.com http://www.deja.com/
    > Before you buy.
    >
    Sent via Deja.com http://www.deja.com/
    Before you buy.

  • Device manager - GEN2 hardware info ? :-)

    hi,
    I have two questions:
    1. who provides device manager information,
    is it the hardware provider ?
    2. Anyone has a list of supported hardware
    for AII 4.0 (so gen2) - readers, printers
    or maybe someone could share the names
    of the ones he/she used in this projects? 
    (I'm mainly interested in thos working in Europe
    but the ones that work in the USA are also welcomed)
    Thanks
    Regards,
    michal

    Hi Michal,
    I am not aware of hardware for SAP AII 4.0. But here is the information which may probably help you, Zebra Technologies, a global leader in on-demand printing solutions for business improvement, introduced the world's first RFID smart label printer/encoders designed to interoperate with SAP AG's Auto-ID Infrastructure(AII)v2.1.
    The new Zebra XML-based solution enables SAP users to implement compliant "slap-and-ship" RFID solutions, without costly middleware and associated integration efforts. SAP's AII v2.1 enables RFID-based supply chain management (SCM) and supply chain execution (SCE) processes across the enterprise.
    Zebra co-defined and co-developed the data, protocol, and process elements of smart label creation within SAP's AII v2.1 and today offers the only RFID printer/encoders that directly interoperate with the SAP application.
    This is the link of the press release
    http://www.zebra.com/id/zebra/na/en/documentlibrary/pressreleases/2005/rfid_printer_encoders.File.tmp/011705_SAP_RFID_printer.pdf
    Hope this information is useful to you
    Thanks & Regards,
    Pawan P.Khilari

  • We have created shared folder on multiple client machine in domain environment on different 2 OS like-XP,Vista, etc. from some day's When we facing problem when we are access from host name that shared folder is accessible but same time same computer when

    Hello All,
    we have created shared folder on multiple client machine in domain environment on different 2 OS like-XP,Vista, etc.
    from some day's When we facing problem when we are access from host name that shared folder is accessible but same time same computer when we are trying to access the share folder with IP it asking for credentials i have type again and again
    correct credential but unable to access that. If i re-share the folder then we are access it but when we are restarted the system then same problem is occurring.
    I have checked IP,DNS,Gateway and more each & everything is well.
    Pls suggest us.
    Pankaj Kumar

    Hi,
    According to your description, my understanding is that the same shared folder can be accessed by name, but can’t be accessed be IP address and asks for credentials.
    Please try to enable the option below on the device which has shared folder:
    Besides, check the Advanced Shring settings of shared folder and confrim that if there is any limitation settings.
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Sharing Library with Multiple Users on  SAME COMPUTER

    My wife and I use Windows XP Pro. We imported all of our CDs to the iTunes on her user account. How do I access or import the library to the iTunes on my account? I want to avoid logging into her account to listen to the music.
    The help index has info on sharing music for multiple computers on a network but I didn't see an answer for sharing music between multiple user accounts in XP on one computer. PLEASE HELP!!!!

    Use tweakUI, google on it to get it and install it.
    More details are here or do a search discussions for "TweakUI" if you need more.
    http://discussions.apple.com/thread.jspa?messageID=1175181&#1175181

  • How do I manage apple id on multiple devices

    How do I manage Apple ID on multiple devices.  I changed on my iMac but can't change on my iPhone or iPad.

    in addition, if you want to change the iCloud (which you probably do), do
    settings->iCloud->Delete Account
    Then log in with yours.  Be sure to note the settings first, because it will forget them.

  • Is it possible to access a single Lightroom catalogue mounted on a shared drive from multiple computers, each with an individual Lightroom install?

    Is it possible to access a single Lightroom catalogue mounted on a shared drive from multiple computers, each with an individual Lightroom install?
    Thanks.
    Steve Greenberg

    No, Lightroom catalogs cannot be on a networked (shared) drive, and they do not support simultaneous multi-user access

  • What is the best way to create shared variable for multiple PXI(Real-Time) to GUI PC?

    What is the best way to create shared variable for multiple Real time (PXI) to GUI PC? I have 16 Nos of PXI system in network and 1 nos of GUI PC. I want to send command to all the PXI system with using single variable from GUI PC(Like Start Data acquisition, Stop data Acquisition) and I also want data from each PXI system to GUI PC display purpose. Can anybody suggest me best performance system configuration. Where to create variable?(Host PC or at  individual PXI system).

    Dear Ravens,
    I want to control real-time application from host(Command from GUI PC to PXI).Host PC should have access to all 16 sets PXI's variable. During communication failure with PXI, Host will stop data display for particular station.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.

  • What is the best approach to converting LV7.1 tags to LV2012 shared variables in multiple VIs?

    What is the best approach to upgrading from LV7.1/DSC tags to LV2012/DSC shared variables, in multiple VIs running on multiple platforms? Our system is composed of  about 5 PCs running Windows 2000/LV7.1 Runtime, plus a PLC, and a main controller running XP/SP3/LV2012. About 3 of the PCs publish sensor information via tags across the LAN to the main controller. Only the main controller is currently being upgraded. Rudimentary questions:
    1. Will the other PCs running the 7.1 RTE (with tags) be able to communicate with the main controller running 2012 (shared variables)?
    2. Is it necessary to convert from tags to shared variables, or will the deprecated legacy tag VIs from LV7.1 work in LV2012?
    3. Will all the main controller VIs need to be incorporated into a project in order to use shared variables?
    4. Is the only way to do this is to find all tag items and replace them with shared variable items?
    Thanks in advance with any information and advice!
    lb
    Solved!
    Go to Solution.

    Hi lb,
    We're glad to hear you're upgrading, but because there was a fundamental change in architecture since version 7.1, there will likely be some portions that require a rewrite. 
    The RTE needs to match the version of DSC your using.  Also, the tag architecture used in 7.1 is not compatible with the shared variable approach used in 2012.  Please see the KnowledgeBase article Do I Need to Upgrade My DSC Runtime Version After Upgrading the LabVIEW DSC Module?
    You will also need to convert from tags to shared variables.  The change from tags to shared variables took place in the transition to LabVIEW 8.  The KnowledgeBase Migrating from LabVIEW DSC 7.1 to 8.0 gives the process for changing from tags to shared variables. 
    Hope this gets you headed in the right direction.  Let us know if you have more questions.
    Thanks,
    Dave C.
    Applications Engineer
    National Instruments

  • How to config a shared cache for multiple environments with C API

    How to config a shared cache for multiple environments with C API?  Just like Java edition. Chapter 2. Database Environments
    I want to open large number of databases, at least 10,000. But as the counts of databases opened increase, the db->open operation become very slow. It almost cost 2 hours to 10,000 databases.
    So I try to distribute these databases to multiple environments ( for example, 5 envs ). And in order to improve the efficient of memory use, I want to share cache between envs.

    Hi,
    It is not clear what you meaning about multiple environments. Do you mean these environments are in different directories or  in the same directory ? If you mean environments in different dirs share the same cache, it is interesting why you need that.
    If you do not use DB_PRIVATE to open the environment, the created cache will be on disk, in the environment directory, so it can be shared by multiple processes and multiple threads. Currently, the cache file is in the environment directory, and we do not support specifying a separate directory for cache only.
    Regards,
    Oracle Berkeley DB.

  • What is 9fee28000000 under shared hardware in my finder window, this has suddenly appeared.

    What is 9fee28000000 under shared hardware in my finder window, this has suddenly appeared.

    Yes it appears to be something on the network, however I haven't added any devices and don't own any PCs!  I've had the same network configuration for some time - this device has just appeared.
    I was hoping someone else might have seen this device ID before as I certainly did not add it knowingly.

  • I already subscribed for Rights Management, but can't I sign setting up Microsoft Right Management Sharing Application.

    I already subscribed for Rights Management, why can't I sign in using Microsoft Right Management Sharing Application.
    Ayman Saleh

    Hi Ayman,
    I see you have asked a similar question as me. My post is below:
    http://social.technet.microsoft.com/Forums/en-US/de1ff57b-34a0-4970-b9e4-cd9854fc0772/rms-sharing-app-configuration-fails?forum=rmscloud
    I have included details of the
    aadrmprep_silent.log as mentioned by Eddie for my issue.
    Would be good to see if you have the same issue as me.
    Eddie - I have Windows 7 SP1 already. Do you have any other suggestions for why this
    error might occur?
    Thanks. 

  • Installing data quality management for sap for multiple sap system

    Hello folks,
    I have an Requirement where i need to install data quality management for sap in multiple sap system.
    I have installed it successfully for one system .
    here my data services is installed in one server with rfc server as windows services in same server.
    i have done the required configuration in ecc side.
    my question is how do i use same data services jobs which are configured as real time services for both my sap connection?
    in simple terms how do i installed dqm for multiple sap system having single data services server.
    thanks,
    Shubhangi.

    Hi Vishal,
    Regarding DQM Please refer the below Link.
    Links:
    http://scn.sap.com/community/data-services/blog/2013/07/18/i-installed-dqm-for-sap-you-can-too
    or you can also refer below SNotes given by SAP:
    1732816 - How to manually import DQM ATL files correctly after failed install
    Note 1732816 - DQM Adapter Dataflow installer fails on Data Services 4.1
    Links:
    https://service.sap.com/sap/support/notes/1732816
    Thanks,
    Daya

Maybe you are looking for