PI Acton Software - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

PI Acton Software

Description:

MakeASPE synthisizes data, creates a new spe file, puts the data ... Prompts user for number of experiments to run. Loops for each and acquires current setup ... – PowerPoint PPT presentation

Number of Views:32
Avg rating:3.0/5.0
Slides: 8
Provided by: dick66
Category:
Tags: acton | setup | software

less

Transcript and Presenter's Notes

Title: PI Acton Software


1
PI / Acton Software
  • WinX32 Automation Interface Examples

2
Interface to PI Acton Cameras
  • Interface through COM/DCOM, Scripting, ActiveX

Your Application
WinView/WinSpec
b
PVCAM
Device Driver
Interface (HW)
Black Box to Application
3
WinX32 Automation ( ActiveX )
  • Interface that allows user to automate the
    software
  • Accessible with Visual basic, or Microsoft
    Scripting
  • ( http//msdn.microsoft.com/en-us/library/ms950396
    .aspx )
  • Macro Record
  • Aids in the creation of a program by generating
    visual basic script
  • Examples
  • http//ftp.piacton.com/Public/Software/Examples/Wi
    nX32_Automation/
  • Vb_examples.zip ( only official example )
  • MakeASPE synthisizes data, creates a new spe
    file, puts the data from vb to WinX32
  • MultiFileOpen demonstrates how to open many
    files at once
  • CollectData instructs WinX32 to collect data

4
WinX32 Automation Examples ( cont )
  • All of the following programs do just about the
    same thing with the exception of which process
    occurs.
  • The program
  • Obtains handle to Active Window
  • Gets data from file
  • Does some processing
  • Creates a new file
  • Puts data into new file
  • vb.sum or average frames.zip
  • allows the user to select if the output is going
    to be average or sum of the input data stack
  • vb.datared.zip
  • Performs data reduction Takes every Nth frame
    from the input data stack and copies it to the
    new file

5
WinX32 Automation Examples ( cont )
  • VB Programs ( cont )
  • Negative.zip
  • Inverts the data
  • Vb.addframes.zip
  • Simple example to sum all frames
  • Vb.autoplay.zip
  • Simple example of a movie player
  • Vb.datatrans.zip
  • Translates data used in TDI implements two
    functions 1) frames_to_rows() and 2)
    frames_to_columns()
  • Vb.examples.zip ( not to be confused with
    vb_examples.zip )
  • harvard
  • shutter bracketing takes several exposures each
    at a different exposure time
  • Vb.expinc.zip
  • Runs the current experiment setup N times
  • manages auto filename incrementing
  • Vb.kinwin2frames.zip
  • Takes kinetics data in full frame format
  • Outputs a data stack, one frame for each kinetics
    window

6
WinX32 Automation Examples ( cont )
  • Other VB examples
  • Ascii.zip, export_asci1.zip
  • Saves data to ascii file.
  • Vb.roi.zip
  • User is able to select from 1 of many different
    preprogrammed ROI settings. NxN binning, Center
    10, Zoom in ROI, etc
  • Acquires the ROI
  • Vb.ttl.zip
  • Demonstrates how to access the TTL I/O port on
    some systems
  • VBS example
  • ExpStart.vbs
  • Prompts user for number of experiments to run
  • Loops for each and acquires current setup
  • Assumes that file increment is on
  • VI example
  • OpenActive.vi
  • Obtains the handle to the active windows data
    file with LabViews ActiveX interface

7
WinX32 Automation Examples ( cont )
  • VBA examples embedded in Microsoft Office Apps
  • Excel
  • Binning
  • Acquire data on an array of different binning
    parameters and record results
  • Import Export
  • Imports data to excel
  • Exports processes data back to WinX32 SPE file
  • LN Hold
  • Records the temperature v. time
  • TTL Read
  • Illustrates use of the TTL i/o port on some
    systems
  • WinViewRunner
  • Runs the current Experiment N times
Write a Comment
User Comments (0)
About PowerShow.com