Batch processing of multiple test stations

Hi All,
Bit of a complex one here (for me anyway!) that I want to bounce off you clever people to see if can aid me in any way.
I am about to develop a system which uses a 6 UUT position(so 6 UUTs are held on a wheel) device which spins around. There are two test PCs and hardware at points on the system (say at position 1 and 4, although the idea is to perhaps add more at the other empty stations) and the wheel is moved around at set intervals to present the UUT to the test station (approx 2s, but this can be varied depending upon processing time). UUTs are fed onto and off of the wheel at station 6 (ie when the UUT has been around stations 1-5 it is pulled off and a new one is put in its place).
The two test stations will be using TestStand and the remote engine to sequence tests with LabView code modules and due to the set movement time of the wheel I will be doing 'hands on' tests when the UUT is at a test station and I will be processing the test data for that UUT when it has moved around (although obviously I will then be taking measurements from the next UUT on the wheel).
I was thinking of using the batch processing model for this task and was going to have 6 UUTs running at the same time. I can clock the UUTs around using Labview and have wait/processing points while that UUT is not being physically tested.
My questions are:
1) My process is going to be contiunous (it will run 24:7) as the 6 test sockets run, each one step in front of the other, can they independently produce test reports and then be restarted for the next UUT which has been introduced to the wheel? I dont want the traditional 'Run Test, get results, re run test, get results'. I want the process to be continuous, so results files will be popping out every 2 seconds as a UUT has moved around all of the stations and dumped in the PASS/FAIL bin
2) Is it possible to have an array of common parameters between the batch processes or will they all have seperate parameters.
3) Kind of linked to 2, but I assume that if each batch is running in a seperate thread that the data they share to labview will be seperate to each test socket. There will only be a single instance of each test running at one time. Is there multiple sequence contexts (one for each test socket?) or is it one big one?
4) Am i using the right approach? Test Stand is definitely the thing for this customer and I feel it will help us, but am I going to be using in the right way?
Thanks in advance
Marlon

Let me answer question 4 first since it will effect my answers to questions 1-3.
4) It sounds to me like you should really be using the parallel model instead of the batch model. The batch model was really intended for things that need to be tested as a group. In otherwords, a tray of 6 items that all start being tested and complete being tested together, and then a completely new tray of another 6 items is tested after that. What you have really is more of a set of 6 independent test sockets running in parallel with some synchronization involved because of the interdependencies and that is more what the parallel model is designed for.
1) If you are using the parallel model than the answer to this is yes. You can set things up so that each testsocket writes its reports to a separate file completely independently from the other test sockets. This is also kind of true for the batch model, but in the case of the batch model, all test sockets must wait for each other to complete before the next batch of uuts can be tested and this does not sound like what you really want.
2) Yes, but there are several ways you can accomplish this. One way would be to use file globals for your mainsequence file and edit the sequence file properties setting for the file to share file globals between executions. But because you are running remote executions you will then have to go to the additonal step of passing the data that you want the remote sequences to have as parameters to the remote sequence. You will need to pass the data as parameters rather than use the share file globals setting for the remote sequences on multiple machines because that setting only works for executions that are all running on the same machine. Passing parameters however is pretty easy to do and to use on the other end. Also I'd like to add that it might be possible for you to run everything on one computer. I'm not sure what your reason for having multiple computers is though.
3) By batch I'm going to assume you mean test socket (i.e. "each TESTSOCKET is running in a separate thread"). A batch is a group of testsockets. And if you mean testsocket then the answer is yes, you are correct. Each testsocket runs in a separate execution and thus a separate teststand and OS thread. Additionally each will have a completely separate sequence context. However, if you pass the same data as a parameter to all of the sequences (i.e. a set of global variables of some sort), then they will all be able to access that same data. Additionally, you can pass data between threads using synchronization step types such as queues and notifications.
Hope this helps, if you need more information let me know.
Douglas Melamed
NI

Similar Messages

  • Running multiple actions in a batch process

    On Adobe's site in the help section, on actions, it states:
    To batch-process using multiple actions, create a new action, and record the Batch command for each action you want to use. This technique also lets you process multiple folders in a single batch. To batch-process multiple folders, create aliases within a folder to the other folders you want to process.
    I have tried to follow these directions, but for some reason, I'm not able to record the batch command. When I create an action and start recording, the batch command is blanked out. I can insert using Insert Menu Item, but it still does not work.
    What am I doing wrong?
    thanks

    You should ask in the Photoshop forum.

  • Batch processing light levels...

    I make stop-motion animations using natural light. This results in a “flickering” effect due to the small differences in light in each still. I am able to balance the light levels in Photoshop for each still, but this is very time-consuming. I’ve heard of using Batch processing for multiple images, but I have one question:
    Can Batch processing take a number of images and make the light levels the same in each (so that all the images look the same)? Or does it just take a number of images and make the same adjustments to each one (so that they would still look different from eachother)?

    Or does it just take a number of images and make the same adjustments to each one (so that they would still look different from eachother)?
    How do you adjust the luminance?
    Is it done with one of the Auto corrections? Then it should be automatable.
    If it requires manual input (for example in the Levels or Curves dialog) then you are looking at a problem (not an undeserved one, I guess, as you chose natural lighting).
    Far as I can tell automation of content-dependent corrections basically requires some form of quantifiability of the issue; so if you could for example deduce the necessary correction from the Histogram one should be able to make a Script for the task.

  • Can I desynchronize one station with batch process model?

    Hi,
    My project has 5 stations run test in parallel. I decide to use batch process model since I want them to start and stop together. Beside start and stop, I have some certain part in the test sequence need to sync together. But in 5 stations, I want one station work without sync at these steps. I tried using batch synchronize with precondition but it looks like other stations still wait for the one I skip the sync. My another option is using rendervous with number of parallel thread is total - 1. I test and this works. But I still want to know if I can use batch synchronize step or not because this offer the start sync and exit sync feature.
    Thank you!
    Solved!
    Go to Solution.

    NTT wrote:
    Doug,
    Thanks for your answer.
    I want to have something happens parallel with other threads but without affect by batch sync steps. I have multiple stations working parallel in assembly line. They are sync because of pick and place. But I want to have one process works as station manager who keep track of UUT between station and other environment condition like pressure, temperature.
    Thang
    Generally, the intent of the TestSockets in the process models is that they will have a 1 to 1 correspondence to UUTs, does your 5th socket correspond to a UUT? In otherwords are there 5 UUTs under test at one time? UUTs often need things like report generation or database logging. Does your 5th socket require report generation? If not perhaps this 5th socket is really more of a utility thread and thus creating a new thread or execution at runtime makes sense for it. If your 5th socket instead does really correspond to a UUT that is being tested in parallel enitrely separately from the other UUTs then perhaps you should start up a new execution for that socket using the sequential model and just have that running at the same time as your other sockets are running with the batch model.
    So it really depends on what you are using that 5th station/thread for as to what approach would likely work best.
    Hope this helps,
    -Doug

  • Station global variable per UUT using a batch process model

    Hi,
    I have 4 UUTs which are tested using individual COM ports. I am using 4 Station Global variables to store the 4 Com ports - COM port assignments are in no particular order and vary depending on test station PC.
    Example:
    S1= Com12
    S2= Com14
    S3= Com10
    S4= Com9
    Using a batch process model I want to test all UUTs in parallel - I am trying to figure out what is the best/easiest way to pass S1 for UUT1, S2 for UUT2 and so on!
    Any help appreciated.
    Thanks & Regards,
    Shane.
    Solved!
    Go to Solution.

    The easiest way is to use the Runstate.TestSockets.MyIndex property to index an array.  Each batch socket will get an index (0 to n-1, where n is the number of sockets) when it is created.  Then you can create an array (of strings? I can't tell if you just have strings or need a container) and use the property to index the array.
    Josh W.
    Certified TestStand Architect
    Formerly blue

  • Station Info using Batch Process Model

    Hi,
    I have a test sequence that use a sequential process model and I grab station information using the following.
    RunState.Root.Locals.StationInfo.StationID
    RunState.Root.Locals.StationInfo.LoginName
    I am creating a new test sequence which uses the batch process model - when I try to grab the Station Info data using the syntax above I get the following error 
    Unknown variable or property name 'RunState.Root.Locals.StationInfo'.
    Can some please advise if I am accessing the wrong area when using a batch process model?
    Thanks & Regards,
    Shane.
    Solved!
    Go to Solution.

    In the batch and parallel models you can access this information using:
    RunState.Root.Parameters.ModelData.StationInfo
    -Doug

  • Can I batch process? I need identical effect processing of multiple video files

    I have just joined Creative Cloud, so these are very basic questions.....sorry.
    I shoot videos of live bands using two cameras, so I usually end up with around 25 separate songs per show and 50 separate files (2 cams, two files per song). All the files are: 1920x1080 resolution, 23.976p frame rate, Pro Res 422 codec.
    I currently edit in FCPX and color correct in DaVinci Resolve.
    Because of low light conditions, I often need to use the effect Neat Video to remove noise. However, FCPX doesn't like Neat Video: freezes up, will restart rendering sometimes, etc.
    So, I need a way to take the color-corrected files from Resolve and process with Neat Video, then import them into FCPX for multi-cam editing. (If Premiere Pro handles Neat Video well, then I may switch from FCPX  to Premiere Pro and do it all there.........but I need time to learn Premiere Pro).
    So I decided to try After Effects for this. I just tested some files in AE and the Neat Video processing went well.
    However, I need to batch process the files if possible. Currently for each file I am:
    (1) Setting up a Composition
    (2) Adding the Neat Video effect to the file
    (3) Using the Neat Video window to adjust settings
    (4) Setting the render settings
    With my approach I will have to set up 50 separate Compositions.
    Questions:
    (1) Can I batch process all 50 files, with one set of settings? (I tried using multiple files in one composition, but AE only rendered out the top file).
    (2) Can I tell AE that I want the render settings to be the same as the imported files (resolution, frame rate, etc.), rather than having to enter the render settings each time? I just want the rendered files to be identical to the original files, except for Neat Video processing.
    Thanks for your help.

    I don't think Mylenium understood you. You need to not only bring each of 50 clips into it's own Comp but then you need to apply an effect (Neat Video) to each one before going out to the Render Queue... right?
    Here's what I would do. Import all 50 clips into your project. Select all of them and drag to Comp button (on the bottom of the Project panel) or right click - "New Comp from Selection". In the dialog that pops up selct "Single Composition", use dimensions from the clip of your choosing, select "Add to Render Queue" and select "Sequence Layers". Open the Comp and select all the layers (they may already be selected), apply the default Neat Video Effect to all of them (or apply it to one, tweak it, select all the other layers and copy/paste it).
    Now download this script...
    http://www.redefinery.com/ae/view.php?item=rd_RenderLayers
    In After Effects go to File/Scripts/Run Script File and choose the rd_RenderLayers script. Make sure you are happy with the Render Module settings and the file naming and off you go.
    You'll have all 50 clips in 1 Comp, with one place to copy effects and then each layer gets output back to an individual file.

  • Reducing file size in batch processes (multiple files)

    I am now using a canon XTi 10.5 megapixel camera. I'm loving it, taking tons and pics, and see my memory on my computer shrinking rapidly. I'm not too worried about hard drive space as I can simply buy another hard drive. Where I'm running into problems is on my iPod. I have an 80gb video iPod. It is suddenly full, Almost 1/2 with audio, 1/2 with photos. I'm realizing that I need take the 5-7 megabyte files each (photos) in iPhoto and reduce them down a bit in dimensions and/or jpeg compression.
    I use photoshop elements and am familiar with the multiple files option. I've used that a bit, nice feature.
    Heres my question:
    I know iPhoto is sensitive to manipulation of photos/changes if the changes aren't done through its interface. How can I go about taking the original pics for a number of events (talking about perhaps 2000 pics right now) and batch process them down in size a bit without weirding out iPhoto?
    Does iPhoto have an option to batch change files in such a fashion? Is it as simple as finding the originals in the finder and simpy reducing them in size and making iPhoto update its thumbnails?
    and how do I make iPhoto update its thumbnails, I forget...
    Thanks

    If you just want displayable image files on the iPod and not the full sized files then a very good solution, IMO, is to export those photos you want on the iPod to a folder on the Desktop. Then use Resize! to batch change the pixel dimension and the jpg compression level of the files. For my iPod Nano I use 640 x 480 and have Resize! compress them to medium. That gives me files in the 100 KB size range. If you want a smaller file just increase the compressions level a bit. Resize! automatically creates a new folder for the resized images so you can try different levels on the same folder. You can get a lot of photos on your iPod at that size. I then put that folder of resized files in my Pictures folder and have iTunes use it instead of using iPhoto.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Batch Processing multiple page pdf

    Using Batch Processing in Acrobat I would like to:
    Extract as single pages from a multiple page pdf.
    I want the resulting pdfs renamed with page numbers. The first few pages of the pdf are roman numeral pages (index) then the rest of the pages would start as page 1 through 99999
    So that the end result would be
    page I_filename.pdf
    page II_filename.pdf
    page III_filename.pdf
    page 1_filename.pdf
    page 2_filename.pdf
    page 3_filename.pdf ect....
    Can someone help?

    Adobe Acrobat Pro has a batch process feature.
    You choose files or a folder with these image files.
    You may apply commands like "Recognize Text (using OCR)" for all chosen files.
    Than all files may be saved as PDF.
    HTH
    Norbert

  • How to create multiple pdf files from multiple batch processing

    I have several file folders of jpeg images that I need to convert to separate multi-page pdf files. To give a visual explanation:
    Folder 1 (contains 100 jpeg image files) converted to File 1 pdf (100 pages; 1 file)
    Folder 2 (contains 100 jpeg image files) converted to File 2 pdf (100 pages; 1 file)
    and so on.
    I know I can convert each folder's content as a batch process, but I can only figure out how to do so one folder at a time. Is it at all possible to convert multiple folders (containing jpegs) to multiple pdf files? Put differently, does anyone know how to process a batch of folders into multiple (corresponding) pdf files?
    Many thanks.

    There are two approaches to do this:
    - First convert all JPG files to PDF files using a "blank" batch process. Then combine all PDF files in the same folder using another batch process and a folder-level script (to do the actual combining). I have developed this tool in the past and it's available here:
    http://try67.blogspot.com/2010/10/acrobat-batch-combine-all-files-in.html
    - The othe option is to do everything in a single process, but that requires an application outside of Acrobat, which I'm currently developing.
    If you're interested in any of these tools, feel free to contact me personally.

  • Batch processing and rendering multiple clips in SpeedGrade CC?

    I'm new to SpeedGrade CC, just watched 2 hrs of Lynda training, and I'm just about ready to go. Before people jump on my question, let me walk through what my indended use will be.
    Unlike most of the content / workflow that was discussed in the training, I'm not color grading a sequence of clips stitched together in a timeline, but multiple clips that have been pre-edited to length, that I want to apply the same color correction two. This will only be done to small groups of clips, maybe 4-5 at a time, but since I'm all about efficiencies, I wanted to ask what the best workflow for doing this is.
    Let's assume that I've taken one of the clips and adjusted everything natively in Sg (no Dynamic link from Pr). I like where I ended up with the settings so I saved a .look preset file.
    So what is the next best way to handle applying these settings to the other files? Creating mutliple, separate Sg projects doesn't seem the efficient way, and having to cue up each succesively for Render, equally as slow. In the lessons the instructor illuded to working with and processing "dailies", which I also assume would be achieved through a batch process, but that isn't covered.
    I appreciate the advice!
    Steve

    Interesting ... process ... you have there. Hmmm. I can't think of any way you could work in Sg that isn't on a timeline. Whether made in PrPro or there in Sg(native) ... it's a video editing program, and that's done on a timeline. Plus the way the both PrPro and Sg are designed, you MUST define and name a project before you can start to work.
    Now, other than where the working files for the project will be kept, you don't really have to complete the forms out in PrPro especially. After you give your project a name and say where it's files will be kept, you can simply skip the rest and when you create a new sequence & drop a clip onto it, the sequence settings will be set to match your footage.
    Now ... do you have all one type footage (codec, frame size & rate) or different kinds, say some 1080p-24fps, some 720i-60fps, some 460p-29.976fps, that sort of thing?
    You know, what I'm thinking ... might actually be the easiest. Create a project in PrPro ... and a new sequence for each type of footage. Use the media browser panel to import all your footage into the project panel ... drag & drop a few similar clips to a sequence, then DL that over to Sg (takes a couple seconds) to grade/look 'em. Save 'em back to PrPro, then render that sequence out. Then when you know you've got a good render, either delete the clips from that timeline & re-use it, or create a new one. Do your next group. Rinse and repeat, so to speak.
    I take it you've no reason to save the sequences of graded clips past rendering them, so you should be able to use just the one "projects" and import folders as necessary, removing them as you will. You won't spend near any time with the "project" details, but the programs will be happy.
    Again, as noted above you can either copy a grade to other clips on a sequence or put an "adjustment layer" over the clips of a sequence in PrPro (project panel: new item -> adjustment layer) and then grade that ... it will automatically be applied to all clips under it.
    And before you ask again, there isn't any way to work a single clip without it being a "project" with a timeline. These aren't photoshop, where you can open a single image.
    Neil

  • Batch Processing Multiple Folders Question...

    Hi,
    I process multiple folders full of images using the "Include All SubFolders" option under File->Automate-Batch.
    It works flawlessly when all the folders I need to process are under the same folder. Example:
    /images/folder_a
    /images/folder_b
    /images/folder_c
    I am wondering if there is a way to nominate multiple folders that are NOT all in the same folder (so I can fire off a batch process over night).
    Example:
    /images/folder_a
    /temp/folder_b
    /photos/folder_c
    Is there any way to use my action as a Batch Process for these at the same time (without moving the images, or folders)?
    (PS CS3 10.0.1, OSX 10.5.5, JS for Scripts)
    Thanks,
    Matt

    What about folder actions: you should need a script that runs a PS action on all images in the current folder (and embedded subfolders) only. Then you should be able to use folder actions to launch the script, which runs the action.
    Not like I've done this, but...
    You might also look into automator. If you can build the action in PS (which it seems you can), either of these two features might help with the rest.
    J

  • How to Batch process a .jpg into multiple image sizes and colour modes

    Hi,
    I am needing to find an action or script that when run on a batch of Jpgs will open them up run a few actions and save them as 4 different files as follows
    start file:
    image.jpg
    end result:
    image_RGB_300dpi.jpg
    image_RGB_72dpi.jpg
    image_CMYK_300dpi.jpg
    image_CMYK_72dpi.jpg
    At present I have 4 separate actions set up do do this so I am running the batch process 4 times to get this result, is it possible to combine multiple actions into a single batch process?
    thanks for any help on this one.

    > At present I have 4 separate actions set up do do this so I am running the batch process 4 times to get this result, is it possible to combine multiple actions into a single batch process?
    Record an action that calls the 4 actions?
    -X
    for photoshop scripting solutions of all sorts
    contact: [email protected]

  • Test Slot Execution Order in Batch Process

    Using TS4.0 with the batch model and have noticed that when a step is locked to allow only 1 slot to execute at a time,  sometimes the slots do not execute tests in order. i.e slot 4 may execute before slot 2 and so on.
    I am writing a new subsequence to test a communications link between boards in seperate test slots. In this test the steps are also locked to allow only 1 slot to execute at a time. In addition, the slots must execute in order - slot 0, slot 1, slot 2, etc.
    How can I make sure that the slots execute in order instead of first come, first serve?
    Thanks,
    Steve S.

    By default the order should be based on the testsocket index so things should be behaving the way you want. The only thing I can think of is maybe your slot numbers do not always correspond directly to the testsocket index of the thread. How are you getting the slot numbers? You can see the testsocket index for a thread by looking at the "RunState.TestSockets.MyIndex" property. If you base your slot number off of this you should be getting the order you are expecting.
    The way the order is determined is as follows:
    If you look in the "Add TestSocket Threads to Batch" sequence in the batch process model you will see the "Add To Batch" step is using the testsocket index as the order number for the batch which is what is used to determine which testsocket enters a section first.
    If your slot numbers do correpsond directly to the testsocket indices then please attach an example sequence to reproduce the problem if possible and I will try to figure out why it's not working.
    Hope this helps,
    -Doug

  • How to use the same (selection) paths in multiple images for batch processing?

    I have a whole bunch of photos I need to batch process, but, when creating an action for this, I stumbled upon the problem that the paths I selected with the pen tool, and saved under the "Paths" tab need to be in every image for to be used in the action. I did try to solve it for some time, but couldn't figure out. Any ideas?
    Many Thanks
    Carlos

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

Maybe you are looking for