Skip to content
/ RCCM Public

Senior Design 2016 RCCM control software and user interface

License

Notifications You must be signed in to change notification settings

jmal0/RCCM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RCCM

Repository for the FAA William J. Hughes Technical Center's Remote Controlled Crack Monitoring System (RCCM) user interface. This interface is being developed for a Drexel University 2016-17 MEM Senior Design project

Usage and Functionality

See the RCCM User's Manual in the doc/ folder for a complete reference on operating RCCM.

  • Measurement:

    Measurements of cracks can be made within the live image. First, a crack must be created by clicking the "New Sequence" button. A unique name can be specified. The color and thickness of the line to be drawn over the live image can also be modified. Also, the crack length calculation method can be speficied. "Projection" measures the crack's length in the direction specified by the orientation angle. "Tip to Tip" takes the straight line distance from crack tip to base. "Total length" sums the length of each line segment.

    Once one or more measurment sequences has been created, points can be added by left clicking within the live image. By holding right click, a segment can be drawn. To add points to a different sequence, select the crack name in the "Cracks" list box.

    Measurements can also be added by using the "Measure at crosshair" button. These measurements will not be affected by an inaccurate pixel to distance calibration, so use this measurement mode when possible.

  • Imaging:

Icon Function Debugging
play.png Start live image If image does not show or button is disabled, the camera is not connected, opened by another process, or does not have sufficient bandwidth.
stop.png Stop live image
snap.png Snap image Ensure that the image output directory in the "Setup" tab is set to a writable path.
save.png Save image to file
record.png Record video Ensure that the video output directory in the "Setup" tab is set to a writable path.
  • WFOV Camera: The WFOV camera has a user-adjustable focus and zoom. These can be controller with the sliders to the right of the live image. Also, the camera can be focused using the "Autofocus" button. Allow 2 seconds for this operation to complete.

  • NFOV Camera: The NFOV camera adjusts focus automatically when the distance sensor is functioning properly. You can adjust the focus using the controls in the Settings->NFOV Lens Calibration menu. Adjust the cameras current focus using the Focal Power control. Add calibration points by clicking apply. The table of these points is displayed at the top of the window.

  • Viewing measurement data: Measurement files are written to the "data" directory in the exe directory by default. Files are named with the timestamp when the first measurement was made. The file is a csv with a header followed by a row for each measurement point.

Dependencies

The hardware and software for this project require the following dependencies to be installed:

The following software packages are provided by the hardware manufacturers and may be useful for degubbing issues with the hardware:

  • IC Capture - GUI for showing WFOV live image and adjusting settings
  • Point Grey FlyCap2 Viewer - GUI for showing NFOV live image and adjusting settings
  • GardasoftMaint - Interface to Gardasoft TR-CL180 NFOV lens controller
  • Motion Perfect v4 - Tool for managing Trio 8-axis motor controller.
  • P7000 Tools - Kollmorgen software for configuring P70530 DC stepper drives
  • WinDaq - Software for viewing data acquired on DATAQ DI-1100 USB DAQ. Download from DI-1100 product page.

Installation

Before installation, install all dependencies from the list in the previous section.

Compilation from source

Download source code from here. Open RCCM.sln in Visual Studio. Info for resolving dependency references:

  • TrioPCLib, AxInteropTrioPCLib: These will require you to first register the ActiveX component (see "dependencies"). Visual Studio will have to be opened as Administrator to successfully create the reference.
  • TIS.Imaging.ImagingControl34: This can be located in "Documents\IC Imaging Control 3.4\redist\dotnet". Choose the x64 version of "TIS.Imaging.ICImagingControl34.dll"
  • Newtonsoft.Json: After downloading the latest release .zip, add a reference to the dll in the unzipped archive.

Set the target to x64 and compile. Before running, you should ensure that the exe directory contains the following files:

  • settings.json
  • config/WFOV1.xml
  • config/WFOV2.xml
  • log/

Debugging

For issues during startup, first check that the file "settings.json" (or whatever settings file is provided as an argument) is present in the exe directory and has the same property names and types as in the settings.json included in this repository.

For other issues, please review the output file from the program execution, which is located at "log/output.txt" by default.

Developing

See RCCM Developer's Guide for a complete reference on the classes, interfaces and forms that make up the application.

Known Issues

  • Stopping WFOV camera may crash the program. This appears to be due to an internal issue in TIS' .NET library and is likely caused by the overlay update event.
  • The "Cancel" button in the WFOV properties window crashes the WFOV camera (as of 2-12-2017 on Windows 10). Likely due to the same issue...

License

The MIT license is provided with this repository. Please feel free to edit the source code as needed at your own risk.

Contact

John Maloney

About

Senior Design 2016 RCCM control software and user interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages