Variable overall station by the object to be measured using a model of batch process

Hello

I have 4 DUT which is tested by using individual ports of com I use global variables Station 4 to store 4 Com ports - COM port assignments are in no particular order and vary depending on the test PC station.

Example:

S1 = Com12

S2 = Com14

S3 = Com10

S4 = Com9

Using a model of batch process I want to test DUT all at the same time: I'm trying to understand what is the best/better way to S1 to S2 for UUT2, UUT1 and so on!

Any help appreciated.

Thank you best regards &,.

Shane.

The easiest way is to use the property Runstate.TestSockets.MyIndex to index a table.  Each socket of the batch will get an index (from 0 to n - 1, where n is the number of sockets) when it is created.  You can create an array (of strings? I can't tell if you just have channels or need a container) and use the property for the index in the array.

Tags: NI Software

Similar Questions

  • Name of the object to be measured

    Hello

    I have been using the model of batch processing.

    I have 3 test sockets that perform the same sequence.

    I use standard model of batch processing window to accept the entry of DUT

    I found that the following property:

    RunState.Main.Logging.UUT.SerialNumber

    Contains the data entered in this window.

    Everything worked fine days on end.
    However one of the days the technitian that was running tests on the test bench came telling me that the software starts to throw errors indicating that the property is not found.

    I checked and when I try to debug the sequence

    the logging component is no longer...

    When I run the same test sequence on my cell phone number is not displayed.

    All tips why this might be happening would be appreciated.

    Kind regards

    Maciej

    You may have a custom process template? I don't think that RunState.main.Logging.UUT.SerialNumber is a place that exists normally.

    I think that with models by default, you can get the serial number here:

    RunState.Root.Locals.UUT.SerialNumber

    -Doug

  • Access to information USE testsocket in the model of batch processing

    Hello

    I have a custom reminder pre-batch TS 4.0, which fills in the serial numbers, part numbers, etc for the DUT being tested (using a model of batch processing). These variables are found in the pre-batch settings. However, I can't understand how to access these values further reminders (SequenceFilePostStepFailure, for example).

    In the pre-batch sequence, I can access the serial number for UUT4 using Parameters.ModelData.TestSockets [4]. USE. Serial number. But I can't find the object of ModelData when you don't the pre-batch and tried to look in the root, runstate, hand, sequence, etc., without a bit of luck.

    Any thoughts?

    Thank you

    Chris

    You can find it at:

    RunState.Root.Parameters.ModelData

    There will be only at runtime, and only when you actually run using the model of batch processing.

    Hope this helps,

    -Doug

  • Out of sync a station with the model of batch process?

    Hello

    My project has 5 test stations are run in parallel. I decide to use the batch process model because I want that they start and stop together. Next to startup and shutdown, I have some part in the need for synchronization of the entire test sequence. But in 5 stations, I want a workstation without flash sync to these steps. I tried to use the commands synchronize with the precondition, but it looks like that other stations are waiting for that one I jump the sync. My other option uses rendervous with number of parallel thread total is - 1. I test it and it works. But I still want to know if I can use batch synchronize step or not because it offers synchronization of start and exit synchronization.

    Thank you!

    NTT says:

    Doug,

    Thanks for your reply.

    I want to have something happening parallel with other threads, but without effect by steps of synchronization batch. I have several workstations parallel to the Assembly line. They are sync due to the pick and place. But I want to have a process is functioning as the station manager who keep track of USE between the train station and other site conditions such as pressure, temperature.

    Thang

    As a general rule, the intent of the TestSockets in the process templates is that they will have a 1 to 1 with DUT match, taking your 5th corresponds to an object to measure? In other y 5 DUT tested at the same time? DUT often need things like logging database or report generation. Your 5th decision-making requires the generation of reports? If not maybe this 5th Jack is really more than one thread of utility and creating a new thread or performance during execution makes sense for her. If your 5th instead making it really fits under test DUT in parallel enitrely separately from others the DUT then maybe you should start up a new run for the socket using the sequential model and just run as your other shots are running with the model of batch processing.

    So, it really depends on what you use this 5th station/thread to find out which method would probably work better.

    Hope this helps,

    -Doug

  • The knife tool develops a black line on the objects that I colored using the live paint bucket. How to get the tool knife to stop this and instead of being invisible?

    The knife tool develops a black line on the objects that I colored using the live paint bucket. How to get the tool knife to stop this and instead of being invisible?

    I understand that it is a live paint object you use.

    Try this:

  • Is it possible to get the slides in swf to use as models for other projects?

    The only files I have gave me are swf and it would be a great help if I could extract different slides to duplicate and use as models.

    Sorry, but this is not possible. You can't get the source for the published SWF file.

  • To access the objects in array form using javascript

    I hope, it's a simple question that I've been beating my head on the days...

    I have a form with several fields of the same name--let's call it the recordedHours of fields.

    Adobe assign an index for each instance of the field, so we will have to recordedHours [0], recordedHours [1]... recordedHours [30]

    Now, I need to set and get the values using Javascript, so something like:

    for (i = 0; i < = 30; i ++)

    {

    var h = this.recordedHours [i] .rawValue;

    }

    It does not work. Or don't complete a reference: form1.timeform.recordedHours [i] .rawValue

    or getElement: this.getElement ("recordedHours", i)

    or the dotted notation: form1.timeform ["recordedHours"].i.rawValue (syntax error, as I have, when converted to digital gives an illegal element/object identifier)

    I tried all the ways I see maybe get and set values through Javascript and I've searched high and low on the web but couldn't find anything - I know I have probably SUS (the stupid user Syndrome), but can someone help me out here?

    See you soon,.

    Marty.

    The problem is that you have to solve the expression to be able to get the right index finger, you can use the xfa.resolveNode syntax. This allows you to pass a string and that gets interpreted for you. So the syntax:

    for (i = 0; i<>

    var h = xfa.resolveNode ("form1. ("Page1.recordedHours [" + i + "']") .rawValue

    }

    Hope that helps

    Paul

  • Can we capture changes made to the objects other than tables using streams

    Hi all

    I have set up a stream of level schema replication using local capture process. I can capture all DML changes on tables, but have some problems by capturing the DDL. Even if the streams are used for data sharing at different or in a database, I was wondering if we can replicate changes made to objects as views, procedures, functions and triggers in the source database. I'm not able to replicate the changes to my configuration view.

    Also, when I do a "select source_database, source_object_type, instantiation_scn from dba_apply_instantiated_objects' in the column 'object_type' I see just the TABLE in all selected lines.

    Thank you
    Sunny boy

    Hello

    Rivers didn't have any mechanism for failover like Dataguard. The dataguard performs automatic failover when the principal becomes unavailable, but still we need to redirect our applications to the new site and it doesn't automatically. At the same time applications will be switched to the node in a RAC Cluster database with the help of VIP (CRS resource). Oracle Streams has all these kinds of resources to help in the recovery and so you must include with your application. The application must be able to fail over to the node required incase if there is a failure.

    Thank you
    Florent

  • Set the font size in the generation of explicit report using a model

    Does anyone know how to set the font size using the generation of explicit report with MS Word?  I have trouble getting my 11th column to fit the correct size with the imported data table.  The values end up being off the screen.  Any ideas?

    I suspect that the answer is somewhere within MS Word instead of LabVIEW.  However, I tried it figure out in both and had no luck.  In WORD, I updated all fonts size = 10.  However, the table is imported to the format = 12.  In addition, the table cells are the same size, regardless of the number of columns is imported.

    David

    Just for future visitors to this question are aware, it is a known problem with the generation of report express vi.  There is no solution at this time and the problem will be resolved in future versions of LabVIEW.

  • Could not enumerate the virtual machines that are used as models

    Hey guys,.

    I have a simple script that collects information from a virtual computer. Unfortunately, I'm getting a lot of mistakes, he doesn't pull out information if the virtual machine is used as a model.

    $date = get-Date-format-M - d - yyyy

    Import-Csv C:\test\servers_mate.csv - UseCulture | %{

    Get-VM-name $_. Name |

    Select Name,

    @{N = 'Center'; E = {Get-Datacenter - VM $_______ |} {{Select - ExpandProperty name}}.

    @{N = "Cluster"; E = {Get-Cluster - VM $_______ |} {{Select - ExpandProperty name}}.

    Host, NumCpu, MemoryGB,

    ProvisionedSpaceGB, Powerstate,

    @{N = "Path"; E = {}

    $current = get-view $_. ExtensionData.Parent

    $path = $_. Name

    {}

    $parent = $current

    if($parent.) Name - only "vm") {$path = $parent. {Name + "\" + $path}

    $current is get-view $current. Parent

    } While ($current. Parent - no $null)

    [channel]: join ('-',($path.)) Split('\') [0.. ($path). Split('\'). (Count-2)]))

    }},

    FolderId,

    @{N = "Manufacturer"; E = {(Get-VMHost-Name $_.)} Host). Manufacturer reference}},

    @{N = ' model'; E = {(Get-VMHost-Name $_.)} Host). Model}},

    @{N = "ProcessorType"; E = {(Get-VMHost-Name $_.)} Host). ProcessorType}}

    } | Export-Csv "C:\test\servers-vcenter-servers-vmpath-$date.csv" - NoTypeInformation - UseCulture

    the output current is like that.

    NameData CenterClusterHostNumCpuMemoryGBProvisionedSpaceGBPowerStateFolder pathFolderIdManufacturerModelProcessorType

    I just also want to collect the same information, even if the virtual machine is used as a model. Introduction 1 additional column is perhaps something like below. So we can clearly identify if it is a virtual machine or be used as a model? Thank you.

    NameData CenterClusterHostNumCpuMemoryGBProvisionedSpaceGBPowerStateFolder pathFolderIdManufacturerModelType of processorVirtual MACHINE or template

    Erros I receive.

    Get - VM: get-VM VM with name 03/08/2015-12:40:44

    "xxxx" was not using the specified

    filter (s).

    Online: 2 char: 5

    + Get-VM-name $_. Name |

    +     ~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo: ObjectNotFound: (:)) [Get - VM], VimException)

    + FullyQualifiedErrorId: Core_OutputHelper_WriteNotFoundError, VMware.VimA

    utomation.ViCore.Cmdlets.Commands.GetVM

    Try something like this

    Import-Csv C:\test\servers_mate.csv - UseCulture | %{

    Notice-EEG - ViewType VirtualMachine-filter @{'Name' = $_.} Name} | %{

    $esx = get-view-Id $_. Runtime.Host

    $_ | Select Name,

    @{N = 'Template'; E={$_. Config.Template}},

    @{N = 'Center'; E = {Get-Datacenter - VM $_.} Name | {{Select - ExpandProperty name}}.

    @{N = "Cluster"; E = {Get-Cluster - VM $_.} Name | {{Select - ExpandProperty name}}.

    @{N = 'Host'; E = {$esx. Name}},

    @{N = "NumCpu"; E={$_. Config.Hardware.NumCpu}},

    @{N = "MemoryGB"; E = {[int]($_.)} Config.Hardware.MemoryMB/1KB)}}.

    @{N = "ProvisionedSpaceGB"; E = {($_.Summary.Storage.Committed+$_.Summary.Storage.Uncommitted)/1 GB)}},

    @{N = "Powerstate"; E={$_. Runtime.PowerState}},

    @{N = "Path"; E = {}

    $current = get-view-Id $_. Parent

    $path = $_. Name

    {}

    $parent = $current

    if($parent.) Name - only "vm") {$path = $parent. {Name + "\" + $path}

    $current is get-view $current. Parent

    } While ($current. Parent - no $null)

    [channel]: join ('-',($path.)) Split('\') [0.. ($path). Split('\'). (Count-2)]))

    }},

    @{N = "FolderId"; E={$_. Parent.ToString ()}}.

    @{N = "Manufacturer"; E = {$esx. Hardware.SystemInfo.Vendor}},

    @{N = ' model'; E = {$esx. Hardware.SystemInfo.Model}},

    @{N = "ProcessorType"; E = {$esx. Hardware.CpuPkg [0]. Description}}

    }

    }

    The error you see seems to indicate that there is an entry in the CSV file for a nonexistent VM.

  • News station using the batch process model

    Hello

    I have a test sequence using a model of sequential processes and station information by using the following, I.

    RunState.Root.Locals.StationInfo.StationID

    RunState.Root.Locals.StationInfo.LoginName

    I create a new test sequence that uses the model of batch process - when I try to enter the information Station data using the syntax above I get the following error

    Name of variable or unknown property 'RunState.Root.Locals.StationInfo '.

    Can some advice please if I go to the wrong place when using a model of batch process?

    Thank you best regards &,.

    Shane.

    Batch and parallel models you can access this information using:

    RunState.Root.Parameters.ModelData.StationInfo

    -Doug

  • Automatic use at the request of resource blocks using not all solutions available resource locking

    Hello

    I'm trying to use TestStand with batch process model. I run lots of 8 EHR. Most of my tests have dedicated hardware, some use shared resources. As far as I can tell (and according to support NEITHER) the fastest way to run my test is to configure all tests in blocks using Auto demand for resources and just create enough resource Lock Alternatives for EHR 8 to use resources dedicated at the same time.

    If I create a single block of resources at the request of self employment with Alternatives to resource lock 8, it works perfectly. All EHR 8 run the test at the same time. However, if I add a second block of resources at the request of self employment with 8 Lock Alternatives resource (the same as in the first block, or with new unique names named) TestStand uses 4 of 8 Resource Lock Alternatives and my test takes twice as long as it should.

    Is it possible that I miss a setting, or configuration things wrong? I have attached a simple sequence that illustrates what I'm trying to do and a capture screen how TestStand runs it. TestStand 2014.

    Thank you very much for the help!

    Will be

    I can't reproduce your behavior.  I have a quad core with all discussions on "logical".  So a total of 8 wires.  I modified your movie file to do 16 DUT to see if she could slow down.  I see about 7 seconds per report.

    We know that this is not the sequence file, because I run your movie file.  My guess is that there is another setting somewhere.  TestStand or in your operating system that is the cause.

    You have changed the model of batch processing?  I use out of the box one.  What version of TestStand?  I have 2014.  In Options of Station > preferences what is your processor affinity set?  Mine is - 1.

    Kind regards

  • Can I use Organizer to change the size of .jpg of all photos in a folder in a batch process?

    We use wa-a-ay too much disk space for a growing collection of photography.   My daughter is a monster of a camera with four children - have to - I say more?


    In my current test file, the size of the original photos range from 2.3 MB to 4.2 MB.  I took a picture at random and printed original and then three more, saved by PSE9 as .jpg files with quality average, maximum and minimum settings on regular letter-size paper and still on paper photo 4 x 6.  It takes a magnifying glass and a kneecap calibrated to detect a difference on paper, and it is even more difficult on photo paper.  I think that I should take the pressure off the hard drive capacity of all reduce to a more reasonable size; After all, minimum quality printing takes less than 1% of the space like the print quality.


    I have the feeling that I can accomplish this in a batch process with the Organizer, but that's all I've got is the intuition - not the know-how.   I would like someone to make me scroll through the process.


    Also, I expect a lecture on why I shouldn't do this.  Go ahead; I will listen.


    Thanks, Bud


    Bud,

    BudV wrote:

    Also, I expect a lecture on why I shouldn't do this.  Go ahead; I will listen.

    You are the only one to judge... You won't regret it if you want to use photos with the size and the original resolution at a later date?

    Yes, you can use the organizer or the command 'treat multiple files' Editor. But first, you should think about two questions:

    -Are you ready to save full resolution and size files before the "shrinkage"? External USB drives with large capacities are available and affordable.

    -What you say, the optimum size would be for files resized to size 4 "x 6" at 300 DPI in 8 to 10 jpeg quality.

    Resizing the Editor: use the command 'treat multiple files' and click on the button "Same as source". I do it without a backup of first sound... This can be done per-folder.

    Resizing of the Organizer: use the 'Export' command This command leaves the original and puts the files in a new folder. The resulting files are NOT included in the catalogue. This means that the maintenance of your organization (albums, categories, tags,...) will be difficult. even if you use a file management system.

    Another solution with third party software such as Faststone photo resizer:

    -Absolutely do a full backup before

    -Run the resizing of the external software options so that files are resized without being moved. Replacing the originals.

    -If you use the Organizer, your organization will be preserved, but the size of the files in the catalog databases and the thumbnail will be wrong. You can recreate the thumbnail cache by deleting the thumbs.5.cache file in your catalog folder. It will be rebuilt automatically.

    That worked for me in the past... no warranty for you!

  • OOP - how to pass variables between the branches of the object, but not instances of VI

    I have a main VI where a thread object goes through some subVIs initialization and then branches off into several parallel loops. My understanding is that each branch becomes a separate instance of the object. Data is passed between the loops using global variables, wrapped in the accessors (I can change this if someone has a better approach - reducing to a minimum the memory and the CPU usage is very important).

    I need to have a large number of instances of the main VI running at the same time. What would be the best way to ensure that the data transmitted between the loops of one instance of VI do not interfere with the data transmitted between the loops of another instance of VI?

    Thank you for your understanding.

    Ah, you're right. Stupid mistake on my part. It's all working now. The corrected code is attached.

  • Iterate through rows in the object using the pageflowscope variable view

    I'm looking for a way to browse multiple lines of a view object and the transaction using a variable that is stored in a variable pageflowscope programmatically.

    I have two view objects that have a relationship of the master / detail.  The jsf page ADF Master table secondary table created by the control of data objects. The requirement is to have a single button that when pressed will update all the selected record of the master detail records.  One of the operations that must be done is a value that is stored in a variable PageFlowScope.

    The approach adopted to accomplish this was based on the following video:

    ADF Insider Essentials: Iteration through rows in a view object programmatically

    Author: Grant Ronald

    Link: http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/IterateRows/IterateRows.html

    I created the Classes of line of sight for the two display objects and developed the method for updating the lines (code below).  The method that takes no parameters, has been added as a tool bar button to the page and works as expected when you use a hardcoded value.  I would add a second update statement in the while loop to update another column, but using the value of the variable PageFlowScope is stored a previous view in the taskflow.

    I thought I'd be able to use AdfFacesContext.getCurrentInstance () .getPageFlowScope().get("objectid") to get the value but I get a warning in the source editor, 'this guy or a variable 'AdfFacesContext' not found. "

    How can I do this?

    JDeveloper Studio Edition Version 11.1.2.4.0

    METHOD CODE:

    /**

    * Method to update the tool work order status

    */

    public void checkInTools() {}

    All lines wor (RowSet) = getWOToolAsg ();

    While (wor.hasNext ()) {}

    CurrentRow = (WOToolAsgVORowImpl) wor.next () WOToolAsgVORowImpl;

    currentRow.setToolActive("Y");

    Add code here to get OpNmb of pagescope variable and update record in table - type String

    }

    }

    Thank you.

    Scott

    You must import the class to use.

    Import oracle.adf.view.rich.context.AdfFacesContext;

    AdfFacesContext (Java QAnywhere for Oracle ADF Faces)

Maybe you are looking for

  • Loose key keyboard MacBook Pro 2011

    Is anyone having problems with certain keys on the keyboard detaches? It is true that it is a 2011 and gets a lot of hits (the keys A, E and N are worn down). The letter "O" button became loose and wobbly; even pushing down (it would snap into place

  • Unknown device ACPI/ENE0200 on Qosmio F50 - 12L with Win 7

    Hello... My laptop cannot identify this device (ACPI/ENE0200)...Does anyone know what driver should I download? My volume button does not work as well... Windows 7 is installed... Wish I could find a way to install xp as well, but I can't find sata d

  • Error 80070673

    I get the above code when I try to run updates of victory, I run Windows Vista Home Premium Service Pack 2 (build 6002). I took no action to solve this problem yet as Im not very techno, I have Kaspersky internet security 2010, I have used this softw

  • MMS

    How can I open the mms? Once I press the key play, movies to message that instantly back to the original text...

  • How to move partitions/sub-sub-partitions in a different tablespace?

    Hi Uisng oracle 1.20.3 and have a partitioned table using partitioning of the interval range-hash - code below. Works great just one problem. We want to move that geneerated system partitions to different storage spaces later and also rename epartiti