Auto schedule pick an instrument multiple dmm

hi
I am trying to use the test stand auto scheduler
I have a test setup with 2 DMMs of the same model. I don't really mind which DMM I use for measuring a voltage since they will be connected to the DUT via a matrix switch.
I have written a sequence which will be re-used over and over on multiple DUTs and it requires access to a DMM.
Can test stand automatically pick a free DMM and switch it through to the test point I need? or do I need to specify which DMM I want to use?
Any ideas?

A lot of these questions will become answered as you become more familiar with TestStand.
However, let me see if I can try to answer them here:
Each VI is set up to call the different DMMs.  So that is not a problem.  The key is knowing which one to call.  This is done using the Preconditions and Pre Expressions for each of the steps.  You can see that the preconditions are set to look at the acquired resource.  This way you know which step to call.  Also you could set the switching for those steps to use the correct paths through you switch matrix as well.  This is where it gets tricky though because you have to make sure that a path for DMM1 will never conflict with a path for DMM2.  Because if they do then you cannot have 2 DMMs.
If you look at the Use Auto Scheduled Resource step for the DMM section you will notice that it identifies 2 resources.  By the very nature of how autoscheduling works when you declare 2 like that only 1 has to be used in order for that testsocket to satisfy that section.  Any of the resources scheduled in the auto scheduler are actually "soft" resources.  This means that they just exist in software.  Even though you have hardware physically out there the soft resources are just used to lock so threads don't tromp on each other. 
TestStand knows that the DMM is available because another thread has released that soft resource.  And then the testsocket just grabs whichever one is available.
The NI TestStand Reference Manual should help you out.  There is a section on page B-25 which talks about Auto Scheduling.
Also, not sure if this example helps out either:
http://zone.ni.com/devzone/cda/epd/p/id/6528
Hopefully this helps.   It's kinda hard to explain I wish there was more documentation out there for this.
Let me know if you still need further clarification.
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • Use Auto Schedule dynamic lock

    Hello
    The setup is as follows:
    My customer wants to run 4 individual test fixtures off the same PC. Each test fixture will run at least 4 parallel tests at the same time using the parallel model. For now we can assume that it is the same sequence that is executed across all sockets and fixtures. This may change but the same lock conditions will persist over different sequences.
    What i need to do is to lock steps and resources, both internaly in a fixture and across all fixtures. Here is where my problem lies.
    If i use a regular lock then i can acomplish this, all i need to do is keep track of what fixture is actually executing the steps. I can lock on a parameter, say Parameter.Fixture. Or just lock globaly ignoring what fixture is actually executing.
    But if i try to Use Auto scheduling then this will not work. Im not all that familiar with the auto schedule functionality but it looks like if i use the same parameter, it locks on the actual parameter rather than the value the parameter holds. What i then tried was to use an array as the lock, the expression would then typically be Locals.Locks[Parameter.Fixture]. But this didnt sit well with the execution that threw me a -17502 Error. I cant use double lock expressions as that may allow a single fixture to aquire them both.
    The customer would like to use auto scheduling to lower test times. Typically there would be a unique instrument used over all fixtures that would be treated as a single resource, while some test steps cant be executed at the same time within a fixture (radio tests which intereferes across sockets).
    Anyone have an idea on how to create a dynamic lock expression that the step will accept, or have i missed something fundamental with the Auto Scheduling step?
    / Nimgaard
    Solved!
    Go to Solution.

    Thanks for the input.
    @James: Ok, then i think i got it right. I will probably post in the suggestion as i think it would be better to support lock on what the expression evaluates to rather than the component of the expression itself. I can however see why it works as it does because if you got an instrument handle then its easy to just use that handle as the lock. And when you look at the examples, it looks like actual hardware on a single test environment is what was in mind.
    @dowNow: I cant do that because each fixture has its own hardware. If i put a global lock they will wait for each other which will create unnecessary long test times, and if i put one lock/hardware then any fixture can access hardware it doesnt have physical access to. At the same time, the customer wants to run it all in one application on one computer, the idea is to be able to have an operator load the different fixtures and run the tests without having to run between stations/computers. I checked the example and placing the steps is easy enough. I also have it running correctly with regular locks but that will also increase the test times as the internal resources in the test equipment will have to wait in sequence instead of using the first available resource.
    Another question:
    The issue is obviously tied to the OI as they want to run it on one computer, if they didnt want that then it wouldnt be a problem really. As far as i can tell, all executions are shared within the same AppManager. Would it be right to think that sequences that run on different AppManagers wont share locks, and if so, is it possible to have more than one AppManager in a single application?
    Another way to solve it that comes to mind is to have each fixture access a slightly modified copy of the master file with different names on the locks. Obviously not ideal to handle code like that though.
    / Nimgaard

  • Delivery date calculation in auto scheduling

    Dear All,
    We have maintained planned delivery time , gr processing time in mm master as well infor records.
    We are running MRP and auto scheduling and updating schedule lines through MRP.
    System updating schedule lines and the delivery date also. what is calculation of delivery date in this case ?
    also system updating 3 lines with different delivery date ..why ? why not one line ?
    vijay

    no solution.

  • MRS  Auto Scheduling  Network Order

    Has any one in the forum implemented or know how to achieve Automatic Scheduling of Demand  (Network Order/ Network Activity ) created through PS (Project Systems) in the MRS tool. ?  Using Service Orders, this is a configurable item, with a BAdI for changes if necessary. But this does not apply to Network Orders. I am considering various options, but would like to know if this could be done without modifying an SAP standard program. Options tried out include calling FM ; /MRSS/API_ASSIGNMENT_CRE,  this however fails to  assign the demand in the planning board, although it would assign demand in debug mode. I have equally tried  Recoding and creating a BDC, but the Resource fields are not captured in the recording.  Any hint would serve.
    Regards
    Oppress

    Have you tried automatic scheduling on the network itself?  In PS you can configure the network to auto schedule if the dates are changed.  You may find that making changes to the dates in the network from MRS causes the network to reschedule itself.
    mike

  • Scheduled Report - Bug with Multiple Selection LOV parameter

    Problem:
    I have a scheduled report with a parameter that has it's "Multiple Selection" checkbox checked. I schedule the report with multiple values selected. When I receive the report via email, the report ran as if I only selected one LOV value instead of multiple values.
    Facts:
    1) Enterprise version 10.1.3.2.1
    2) When you run the report manually with multiple values selected in the LOV, it runs great with the correct dataset.
    3) This scheduled report does not have a Data Template.
    James
    P.S. - I searched this forum for other treads on this issue. I didn't find any. Sorry if this is a duplicate.

    I have this same problem, too.
    When I select multiple parameters on the "View" screen for a given report, everything works fine.
    When I schedule it, however, only the last parameter I clicked on (regardless of whether a select a range or multiple individual values) is passed to the query. The other selections I make are ignored.
    What gives? Am I doing something wrong? Is this a bug? Is there a workaround?

  • Running a Batch File using Auto Scheduler in HFM?

    Hi,
    Can we execute a batch file or run a macro or execute a VB script using the auto scheduler in Task Automation in HFM??
    Abhishek
    Edited by: user10378700 on Sep 30, 2008 7:18 AM

    I'm having difficulty running a batch script the way you describe.
    One line of code in c:\test.bat:
    echo Hello >c:\test.log
    This works just fine.
    However, for the life of me I cannot get this to work through Task Automation.
    I have the Application as Hub.
    The Action as Execute.
    The Command as c:\test.bat.
    When I select the task and click on Run Now, I get a message that the taskflow has initiated successfully. However, nothing fires on the server. I cannot see this process in Running Tasks (it would run quickly).
    Any hints?
    I have not found this subject to be...overdocumented.
    Regards,
    Cameron Lackpour

  • Is it possible to pre-order the iPhone 5 and schedule pick up at an Apple Store on 09.21.2012?

    Is it possible to pre-order the iPhone 5 and schedule pick up at an Apple Store on 09.21.2012?

    and by the two week shipment means delivery on October 5th.
    I knew I should of stayed up and ordered my phone.

  • [CRS2008] Scheduling a report to multiple file output in single schedule

    Hi,
    Is there any way in CRS2008 / Infoview to scheduling one report to multiple file output in one schedule?
    i thought maybe it can, but still not found the way.
    Says,
    I have one report say "Report by Branch.rpt", the parameter prompt is BranchCode.
    I want to generate the "Report by Branch.rpt" for every BranchCode in separate output generate file. Like, "Report by Branch.rpt" for BranchCode A, or "Report by Branch.rpt" for BranchCode B.
    So, if i run the schedule, it will generate several report based on the report parameter given.
    Hope, would find the way.
    Thanks in advance.
    Regards.
    Edited by: fritzwijaya on Sep 20, 2010 3:47 AM

    For anyone still looking, the job can be seen under the Job History option on the home screen, but not on the Job History option under the report in the catalog - i am assuming this is becasue somehow im not referencing the report correctly in the ScheduleReport request message.
    Also, the jobId returned is a parent jobId, which when used to poll the job status, always returns a 'Scheduled' status. Im now adding 1 to this ID to get the status of my job - this returns the correct status of 'Success'.
    Still hoping someone has an idea on the getDocumentData question...?
    Thanks.

  • How to schedule one report for multiple company code?

    How you can schedule reports in BW 3.5? Suppose I need to schedule one report for multiple company code, how can you do that and notify the users? I do not want to send multiple emails to the same user if the report runs for 20 times (for 20 different companies).
    points are given for ASAP replies.
    Thanks in advance
    Peter

    Dear Peter,
    Try to restrict the Company Code with  those 20 values and schedule.
    Regards,
    Ramkumar.

  • Auto Scheduling

    Hi Guys,
    Auto Scheduling in PP, did any one came across this?

    Hi,
      In scheduling, the system determines start and finish dates for the procurement elements of materials that are produced in-house and for materials that are procured externally.
      Go thro this link .This may help u...
    http://help.sap.com/saphelp_47x200/helpdata/en/f4/7d3f9344af11d182b40000e829fbfe/frameset.htm
    - Thaila Shree

  • ICal server set auto schedule for users

    Does anyone know how or if it's possible to set the auto accept state for a user?
    Using calendarservermanageprincipals you can do it for locations for example and you can --get-auto-schedule for a user, but when you try to --set-auto-schedule for a user it says it's not allowed. Anyone know of a workaround or if it's possible?
    --sysdev

    Nevermind, figured it out. you can manually edit the database these values are set in. /CalendarServer/Data/resourceinfo.sqlite

  • Point/Migrate batch jobs from Sybase(auto scheduled through Control-M application) to SQL Server 2005

    Hi,
    I am currently working in project where we need to migrate/point batch jobs to SQL server 2005. At this moment they are pointing to Sybase. Batch jobs are in .bat and .exe format. These jobs read in an external file, does some reformatting,
    and then loads it into 2 sybase tables. These jobs are auto scheduled through Control-M application.
    Any idea please ?
    Thanks,
    Chirag Patel

    Change your post to type 'Question' Chirag
    You would need to at least change the connection strings, and how you access SQL Server, but typically code changes are necessary.
    You unfortunately don't provide enough details. But it is not as trivial to just 'point' a bunch of jobs to a new target.
    Arthur My Blog

  • ATO Model -Auto Scheduling

    If you closely see ,The Auto scheduling for the ATO Models are not supported by oracle .
    Once you configure the item using configurator and click on finish ,When it returns to OM ,I expected the Schedule ship dates populated ,But this did not happen
    anyone faced the same issue ? have done workaround etc ?

    It is supported by Oracle.
    Check if "OM: Autoschedule" profile option is set.
    If not, check if the transaction type setup for auto-schedule or you have set the autoschedule selection to Yes or No via Tools > Autoschedule in the Order Management entry form.
    Hope this helps,
    Sandeep Gandhi

  • Auto schedule

    I use Project Professional 2013 and have a problem with auto schedule.
    When I enter tasks in auto schedule mode, the start and end dates don't move. It is as if the tasks are in manual schedule mode. Is there a setting that I am missing?

    Hi,
    How do you exactly enter the task? Do you set a start and end dates? In this case it will create constraints on the task that could prevent it from being updated correctly. The best practice is to set dependencies on tasks, meaning predecessors.
    Also note that if you have some actual on an task, it won't move.
    Please giving us more detail on the task inquestion and we'll be pleased to help you out.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • We use our Iphones with the icloud to set up scheduling of jobs. Multiple phones share the same icloud for this purpose. We recently had a change in leadership. How do I completely delete the icloud account? Or do I just create a new one/forget old 1

    Multiple phones share one Icloud account. We use it to schedule jobs and crew leaders read the cloud to get the information of the job that needs to be done. However, we recently had a change of leadership and we think this person might have logged into or put our cloud on his phone to sabotage our business. I changed the password but that didn't fix the situation. I could put a job on the cloud with an old phone that was logged in with the old password and everyone with the new password would still see the job. I have since created a whole new cloud account which seems to have eliminated the "future" issue of sabotage however I would like to completely eliminate that old account...any advise?

    Everyone needs to go to Settings (or System Preferences)>iCloud and click 'Delete account' or 'Sign out' as applicable (it's the same thing). Then they can sign into the new account you have created and proceed from there. You can't actually delete the old account from the server but you can just ignore it.

Maybe you are looking for

  • How to find out the format of a file?

    Is there any way to find out the format of a file? By format I mean binary, text, .doc, .rtf, etc. Please kindly help

  • Inserting PDF in Word Document

    In previous versions of MS Word and Adobe (Specifically Word 2010 and Adobe 8 & 9), I could insert a PDF file in a Word document. This no longer works using Word 2010 and Adobe X. Is there some other way to do this? Now I can only insert the PDF as a

  • How to determine via SQL who created the sales order

    Hello I am trying to determine via SQL who created the Sales Order.  I'm looking at the ADOC table but having a hard time determining which record points to the sales order creation.

  • Column Text in Tree

    How to change the column text in a tree? when the column length is very small, it should show the Heading from the Data Element.As the column length increases, column header should be Short Label,Medium Label,and long field label??

  • How do I do?

    1) How do I do to create a new Database in Oracle 9i with a .sql file and generated in Power designer? 2) How do I do to create a .sql file where are all the Create tables of all talbe in the one database and all INSERT INTO with all values in each c