<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://labviewwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tcplomp</id>
	<title>LabVIEW Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://labviewwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tcplomp"/>
	<link rel="alternate" type="text/html" href="https://labviewwiki.org/wiki/Special:Contributions/Tcplomp"/>
	<updated>2026-04-16T18:44:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=5252</id>
		<title>Code Capture Tool</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=5252"/>
		<updated>2013-02-19T13:02:08Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|300px|Code Capture Tool user interface]]The Code Capture Tool (or CCT) is a [[LabVIEW]] development tool targeted at LabVIEW users to capture images of their code and make it easier to share those images in online forums.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Main Features&amp;lt;br&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
*Captures of Front Panel&lt;br /&gt;
*Captures of Block Diagram&lt;br /&gt;
*Comment an Annotate your caputre&lt;br /&gt;
*Creation of LabVIEW&amp;amp;nbsp;Snippets in any LabVIEW version&lt;br /&gt;
*Save the snippet as anoter (older) version&lt;br /&gt;
*Upload the capture to [http://www.imgur.com Imgur.com] and copy the URL to he clipboard (LabVIEW 2010 and later)&lt;br /&gt;
*[http://tononlabview.blogspot.nl/2013/02/code-capture-tools-plugins-introduction.html Plugins] for altering the image or text returned to clipboard&lt;br /&gt;
&lt;br /&gt;
=== History  ===&lt;br /&gt;
&lt;br /&gt;
The CCT is based on an idea and earlier versions originally released by [http://forums.ni.com/ni/profile?user.id=34024 Chilly Charly] on the [[NI Forums]] as [http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;thread.id=1020 starware].&amp;lt;br&amp;gt; Later, it evolved to a multiple OS and LabVIEW versions tool for creating code-shots and documentation shots. &amp;lt;br&amp;gt; A collaboration between [http://forums.lavag.org/Yair-m1431.html Yair Neeman] and [[User:Tcplomp|Ton Plomp]] resulted in the 1.0 version of the CCT that is currently available through the [[LAVA CR]] at [http://forums.lavag.org/downloads-file121.html this site].&lt;br /&gt;
&lt;br /&gt;
Version 2.0 added the possibility to add text and drawings to the captured image, while version 2.1 added an altered GUI, a border around the snippet and better key-handling. Version 2.1.2 added the option upload the image to Imgur.com and save the snippet in an older version of LabVIEW.&amp;lt;br&amp;gt;&lt;br /&gt;
Version 3.2 added a plugin architecture and a new GUI layout.&lt;br /&gt;
&lt;br /&gt;
== Instruction  ==&lt;br /&gt;
&lt;br /&gt;
A series of videos is available at [http://www.screencast.com/t/ZmQ1YjIxNj Screencast].&lt;br /&gt;
&lt;br /&gt;
A short how to is in the [http://www.screencast.com/t/2aWPdibJ9Sk here available]&lt;br /&gt;
&lt;br /&gt;
An extensive discussion and demo of the CCT&amp;amp;nbsp;is [http://www.screencast.com/t/Yhb9IAOc here].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Version 2.0 introduces a new option to create annotations with text and graphics and the possibility to create [[Snippet|snippets]]. There is a demo-video available at [http://www.screencast.com/t/YTY4MjllZmIt Screencast].&lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not functional yet!&lt;br /&gt;
[[File:LAVA Download-button.png|Code Repository Download]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:LAVA_Download-button.png&lt;br /&gt;
wikipage=vipm://lava_lib_code_capture_tool&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click [vipm://lava_lib_code_capture_tool here] to download the tool using VIPM.&lt;br /&gt;
&lt;br /&gt;
To check the source you can explore your &#039;&#039;&amp;amp;lt;user.lib&amp;amp;gt;\_Code Capture Too&#039;&#039;l folder or download it from [https://sourceforge.net/p/lv-cct-tool/code/ci/tip/tree/Trunk/ Sourceforge.net].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Interface  =&lt;br /&gt;
&lt;br /&gt;
The CCT offers two interfaces to make and distribute images of LabVIEW code - a [[Code Capture Tool#GUI|user interface]] and an [[Code Capture Tool#API|API]].&lt;br /&gt;
&lt;br /&gt;
== GUI  ==&lt;br /&gt;
&lt;br /&gt;
The user interface of the CCT allows the user to select which parts of a [[Front Panel]] or [[Block Diagram]] should be captured. The resulting image will be stored on disc and optionally the image or the path can be copied to the OS clipboard.&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|thumb|center|400px|Code Capture Tool user interface]]&lt;br /&gt;
&lt;br /&gt;
=== Front panel settings  ===&lt;br /&gt;
&lt;br /&gt;
The Front Panel listbox supplies the following options:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox&lt;br /&gt;
! Item&lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT FP.png]]&lt;br /&gt;
| None&lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected&lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible&lt;br /&gt;
| Everything visible in the current panel view&lt;br /&gt;
|-&lt;br /&gt;
| All&lt;br /&gt;
| Everything on the front panel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Block diagram settings  ===&lt;br /&gt;
&lt;br /&gt;
The Block Diagram listbox supplies the following options:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox&lt;br /&gt;
! Item&lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT BD.png]]&lt;br /&gt;
| None&lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected&lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible&lt;br /&gt;
| Everything visible in the current block diagram view&lt;br /&gt;
|-&lt;br /&gt;
| All&lt;br /&gt;
| Everything on the block diagram&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Snippet Creation&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
The creation of a [[Snippet|snippet]] can only be done when the &#039;&#039;&#039;Block Diagram&#039;&#039;&#039; is set to &#039;&#039;&#039;selected&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTSnippetButtons.png]]&lt;br /&gt;
&lt;br /&gt;
The header-text of the snippet is dynamically and has the following options which are accessible with the config button:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Token&amp;lt;br&amp;gt;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Meaning&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $VERSION$&amp;lt;br&amp;gt;&lt;br /&gt;
| Inserts the saved [[Labview|LabVIEW]] version&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $NAME$&amp;lt;br&amp;gt;&lt;br /&gt;
| Name of the captured VI, retrieved from the VI.VI&amp;amp;nbsp;Name property&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $TITLE$&amp;lt;br&amp;gt;&lt;br /&gt;
| Title of the front panel of the captured VI&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGENAME$&amp;lt;br&amp;gt;&lt;br /&gt;
| Name of image on disk without the PNG extension&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGE$&amp;lt;br&amp;gt;&lt;br /&gt;
| Name of image on disk without the PNG extension (a duplicate of $IMAGENAME$&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $DATE:xxx$&amp;lt;br&amp;gt;&lt;br /&gt;
| Date/Time formatter, &amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt; must be replaced by a valid [http://zone.ni.com/reference/en-XX/help/371361F-01/glang/codes_for_time_format_str/ timestring formatter]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Per default the header string is &amp;lt;tt&amp;gt;LV: $VERSION$ $DATE:%c$&amp;lt;/tt&amp;gt;,&amp;amp;nbsp;%c inserts the localized date.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clipboard settings  ===&lt;br /&gt;
&lt;br /&gt;
The clipboard listbox supplies the following options:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox&lt;br /&gt;
! Item&lt;br /&gt;
! Copied item&lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT ClipBoard.png]]&lt;br /&gt;
| None&lt;br /&gt;
| Nothing&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Path&lt;br /&gt;
| Path of the captured image&lt;br /&gt;
| Not on all platforms&lt;br /&gt;
|-&lt;br /&gt;
| Image&lt;br /&gt;
| The captured image&lt;br /&gt;
| Only on Windows&lt;br /&gt;
|-&lt;br /&gt;
| Imgur&lt;br /&gt;
| The URL of the Imgur image&lt;br /&gt;
| Selecting this will upload the image to Imgur.com&lt;br /&gt;
|}&lt;br /&gt;
Additional plugins are listed here as well.&lt;br /&gt;
&lt;br /&gt;
=== Layout settings  ===&lt;br /&gt;
&lt;br /&gt;
The Layout picture ring supplies the following layout options:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Menu Ring&lt;br /&gt;
! Item&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT Layout.png]]&lt;br /&gt;
| [[Image:CCT Layout1.png]]&lt;br /&gt;
| Front panel in top, block diagram below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout2.png]]&lt;br /&gt;
| Block diagram in top, front panel below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout3.png]]&lt;br /&gt;
| Front panel in left, block diagram on the right&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout4.png]]&lt;br /&gt;
| Block diagram in left, front panel on the right&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File settings  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT FileSettings.png]]&lt;br /&gt;
&lt;br /&gt;
The file settings consists of two controls, the string control to name the file (a .png extension is added to the name automatically) and a browse button to set the folder where the file should be stored. To detect which folder is currently used hover over one of the two controls and the tip-strip will show the folder.&lt;br /&gt;
&lt;br /&gt;
==== Resetting the folder  ====&lt;br /&gt;
&lt;br /&gt;
By default the storage folder is the LabVIEW temp folder (which by default is the same as the OS temp folder), and can be changed with the browse for folder button. To revert to the temp folder use this button [[Image:CCT Reset.png]].&lt;br /&gt;
&lt;br /&gt;
=== Zoom function  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Zoom.png]]&lt;br /&gt;
&lt;br /&gt;
The zoom slider allows the user to zoom in and out on the captured image and inspect it in detail. This only affects the preview image and will not change the stored image.&lt;br /&gt;
&lt;br /&gt;
=== Annotation/Sketch toolbars  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTAnnotationOptions.png]]&lt;br /&gt;
&lt;br /&gt;
The annotation/sketch toolbars are used to add annotations and sketches/drawings to the capture.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Drawing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;10&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; width=&amp;quot;407&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:AnnotationOptionsRotated.png|left|18x98px]]&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Rectangle:&#039;&#039;&#039; Use shift to draw a square&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Oval:&#039;&#039;&#039; Use shift to draw a circle&amp;lt;br&amp;gt;&#039;&#039;&#039;Line:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arrow:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &#039;&#039;&#039;Free: &#039;&#039;&#039; Use this to draw irregular shapes&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Drawing Styles  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTStylesDetail.png]] The style of the line can be one of 5 styles:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Continious&lt;br /&gt;
*Dash&lt;br /&gt;
*Dot&lt;br /&gt;
*Dash-Dot&lt;br /&gt;
*Dash-Dot-Dot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Line width  ====&lt;br /&gt;
&lt;br /&gt;
The linewidth of the sketch/drawing line can be alterd as well [[Image:CCT Linewidth.png]] &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Line/Text color  ====&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to alter the color of the annotation (sketch or text), when editing text changing the line coler takes effect immediatly.&lt;br /&gt;
&lt;br /&gt;
==== Text size  ====&lt;br /&gt;
&lt;br /&gt;
The font of the annotation text cannot be altered and is fixed on &amp;lt;tt&amp;gt;Arial &amp;lt;/tt&amp;gt;, the size however can be altered easily.&lt;br /&gt;
&lt;br /&gt;
==== Editing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;50%&amp;quot; cellspacing=&amp;quot;2&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Text.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
| Starts editing text&amp;lt;br&amp;gt;Use shift-enter to add anew-line&amp;lt;br&amp;gt;Use arrow keys to move the positioning of the text around&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Pan.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
| Use this to move the preview window around, this is the default tool of the Annotation Sketch toolbar. It does not change the captured image.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Undo.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
| Use this to undo the last edit on the annotation/sketch (4 steps possible), use &amp;amp;lt;ctrl-z&amp;amp;gt; on [[Image:Logo.Windows.png]] and&amp;amp;nbsp;[[Image:Logo.Linux.png]] and &amp;amp;lt;cmd-z&amp;amp;gt; on [[Image:Logo.Mac.png]].&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Clear.png]]&lt;br /&gt;
| Clear the annotation layer.&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help  ===&lt;br /&gt;
&lt;br /&gt;
The help button [[Image:CCT Help.png]] calls the about window of the CCT including a short description of the main functions, a link to the webpage, a list of know issues and licensing info.&lt;br /&gt;
&lt;br /&gt;
=== Capture  ===&lt;br /&gt;
&lt;br /&gt;
The capture button [[Image:CCT Capture.png]] will capture the image, save it, copy to the clipboard, save the currently selected options for the next time and close the window. This can also be done by pressing Enter.&lt;br /&gt;
&lt;br /&gt;
=== Clean up  ===&lt;br /&gt;
&lt;br /&gt;
The clean up button [[Image:CCTCleanUp.png]] will clean up the whole BD (if &#039;whole&#039; is set as BD option) or the current selection (if &#039;Selections&#039; is set as BD option). This button is only visible if this option is active (correct LabVIEW version).&lt;br /&gt;
&lt;br /&gt;
=== Key navigation  ===&lt;br /&gt;
&lt;br /&gt;
The CCT has several key shortcuts for easier access:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key&lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| Enter&lt;br /&gt;
| Applies the current settings and does a [[Code Capture Tool#Capture|capture]] or finishes a current text edit&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| F1&lt;br /&gt;
| Loads the about window centered on the help tab&lt;br /&gt;
|-&lt;br /&gt;
| F5&lt;br /&gt;
| Refreshes the current image&lt;br /&gt;
|-&lt;br /&gt;
| Escape&lt;br /&gt;
| Closes the CCT without performing a capture or finishes a current text/graph edit&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API  ==&lt;br /&gt;
&lt;br /&gt;
The API provides an interface to the various functions of the CCT. Its palette is accessible under [[User.lib]]\Code Capture Tool.&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT palette.PNG]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]]&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]]&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]]&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]]&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Support.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Support&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Methods  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]]&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to activate methods for the CCT.&lt;br /&gt;
&lt;br /&gt;
==== Create CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Create CCT.png|Creat CCT Instance]]&lt;br /&gt;
&lt;br /&gt;
This VI must be called for every instance of the CCT, it creates a GOOP dataspace that will contain the data of the instance. Calling this VI must be done with a valid VI reference.&lt;br /&gt;
&lt;br /&gt;
==== Capture Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture VI Images CCT.png|Capture Images]]&lt;br /&gt;
&lt;br /&gt;
This VI will apply the current settings and store the captured image in the CCT instance, additionally it returns the image itself.&lt;br /&gt;
&lt;br /&gt;
==== Save Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Save Captured Image CCT.png|Save Image]]&lt;br /&gt;
&lt;br /&gt;
This VI will save the image to the path specified by a folder and filename stored in the CCT instance.&lt;br /&gt;
&lt;br /&gt;
==== Copy to Clipboard  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Copy Data to Clipboard CCT.png|Copy to Clipboard]]&lt;br /&gt;
&lt;br /&gt;
This VI will store the data specified by the clipboard settings to the clipboard.&lt;br /&gt;
&lt;br /&gt;
==== Destroy CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Destroy CCT.png|Destroy CCT Instance]]&lt;br /&gt;
&lt;br /&gt;
This VI must be called to close the CCT Instance and will free up used memory resources.&lt;br /&gt;
&lt;br /&gt;
==== Generate File Name  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Generate File Name CCT.png|Generate filename]]&lt;br /&gt;
&lt;br /&gt;
This VI will generate a default filename based on the captured parts and VI name. This filename will not be stored inside the CCT session.&lt;br /&gt;
&lt;br /&gt;
=== Set properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]]&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to change properties for the CCT instance.&lt;br /&gt;
&lt;br /&gt;
==== Set Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set FP Mode CCT.png|Set FP mode]]&lt;br /&gt;
&lt;br /&gt;
This VI will change the current front panel capture mode.&lt;br /&gt;
&lt;br /&gt;
==== Set Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set BD Mode CCT.png|Set BD mode]]&lt;br /&gt;
&lt;br /&gt;
This VI will change the current block diagram capture mode.&lt;br /&gt;
&lt;br /&gt;
==== Set Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Layout Mode CCT.png|Set Layout mode]]&lt;br /&gt;
&lt;br /&gt;
This VI will change the current layout orientation.&lt;br /&gt;
&lt;br /&gt;
==== Set Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Clipboard Mode CCT.png|Set Clipboard mode]]&lt;br /&gt;
&lt;br /&gt;
This VI will change the current clipboard mode.&lt;br /&gt;
&lt;br /&gt;
==== Set VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set VI Ref CCT.png|Set Clipboard mode]]&lt;br /&gt;
&lt;br /&gt;
This VI sets the reference of the VI that needs to be captured&lt;br /&gt;
&lt;br /&gt;
==== Set Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Folder CCT.png|Set Folder]]&lt;br /&gt;
&lt;br /&gt;
This VI will change the folder where the images will be saved.&lt;br /&gt;
&lt;br /&gt;
==== Set Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set File CCT.png|Set Filename]]&lt;br /&gt;
&lt;br /&gt;
This VI will change the filename of the stored image.&lt;br /&gt;
&lt;br /&gt;
=== Get properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]]&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to retrieve properties from the CCT instance.&lt;br /&gt;
&lt;br /&gt;
==== Get Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get FP Setting CCT.png|Get FP mode]]&lt;br /&gt;
&lt;br /&gt;
This VI will read the current front panel capture mode.&lt;br /&gt;
&lt;br /&gt;
==== Get Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get BD Mode CCT.png|Get BD mode]]&lt;br /&gt;
&lt;br /&gt;
This VI will read the current block diagram capture mode.&lt;br /&gt;
&lt;br /&gt;
==== Get Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Layout Mode CCT.png|Get Layout mode]]&lt;br /&gt;
&lt;br /&gt;
This VI will read the current layout orientation.&lt;br /&gt;
&lt;br /&gt;
==== Get Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Clipboard Mode CCT.png|Get Clipboard mode]]&lt;br /&gt;
&lt;br /&gt;
This VI will read the current clipboard mode.&lt;br /&gt;
&lt;br /&gt;
==== Get VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get VI Ref CCT.png|Get VI Reference]]&lt;br /&gt;
&lt;br /&gt;
This VI returns a reference to the that is currently captured in this isntance&lt;br /&gt;
&lt;br /&gt;
==== Get Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Folder CCT.png|Get Folder]]&lt;br /&gt;
&lt;br /&gt;
This VI will read the folder where the images will be saved.&lt;br /&gt;
&lt;br /&gt;
==== Get Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get File CCT.png|Get Filename]]&lt;br /&gt;
&lt;br /&gt;
This VI will read the filename of the stored image.&lt;br /&gt;
&lt;br /&gt;
=== Support  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]]&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This submenu shows additional low level functions of the CCT.&lt;br /&gt;
&lt;br /&gt;
==== Capture Front panel  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Panel Picture CCT.png|Capture front panel]]&lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a front panel.&lt;br /&gt;
&lt;br /&gt;
==== Capture Block diagram  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Diagram Picture CCT.png|Capture block diagram]]&lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a block diagram.&lt;br /&gt;
&lt;br /&gt;
==== Show CCT GUI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI CCT.png|Show CCT GUI]]&lt;br /&gt;
&lt;br /&gt;
Use this VI to show the user interface of the CCT.&lt;br /&gt;
&lt;br /&gt;
==== 7.0 container VI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 70 CCT.png|7.0 container]]&lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 7.0 and up.&lt;br /&gt;
&lt;br /&gt;
==== 8.0 container VI (deprecated in version 2.0)&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 80 CCT.png|8.0 container]]&lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 8.0 and up, don&#039;t forget to include the 7.0 container.&lt;br /&gt;
&lt;br /&gt;
Version 2.0 of the Code Capture Tool installer will automatically select the correct container VI, so an additional 8.x container isn&#039;t needed anymore.&lt;br /&gt;
&lt;br /&gt;
= Known issues  =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description&lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| After using a non-default path and resetting it to the default, the new setting (temp) is not used&lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Installing on Linux fails due to case sensitivity&lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Capturing a non-visible part on a multi-pane front panel fails&lt;br /&gt;
| A limitation due to the LabVIEW implementation of panes, most-likely not fixable&lt;br /&gt;
|-&lt;br /&gt;
| Saving an empty image returns an error&lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Opening the CCT from the Getting Started Window locks up LabVIEW&lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Possible High use of memory&lt;br /&gt;
| Investigating&lt;br /&gt;
|-&lt;br /&gt;
| Impossible to capture FP of locked VI&lt;br /&gt;
| Investigating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Version History  =&lt;br /&gt;
&lt;br /&gt;
== Version 3.2 ==&lt;br /&gt;
&lt;br /&gt;
Release date 1 februari 2013&lt;br /&gt;
&lt;br /&gt;
*Altered GUI&lt;br /&gt;
*Added resizable User interface&lt;br /&gt;
*Added scroll wheel control of the image&lt;br /&gt;
*Added plugin feature&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.4&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Release date 2 december 2010&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Fixed bug [http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=3121172&amp;amp;group_id=206229&amp;amp;atid=996819 #3121172]&amp;amp;nbsp; for locked VIs (without password protection)&amp;lt;br&amp;gt;&lt;br /&gt;
*Added a message dialogue after the Capture button was activated&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.3  ==&lt;br /&gt;
&lt;br /&gt;
Release date 29 September 2010&lt;br /&gt;
&lt;br /&gt;
*Fixed a bug that didn&#039;t show the images properly on initialization&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.2  ==&lt;br /&gt;
&lt;br /&gt;
Release date 20 September 2010&lt;br /&gt;
&lt;br /&gt;
*Added Imgur.com upload&lt;br /&gt;
*Added &#039;Save for Previous Version&#039; snippet function&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 15 February 2010&lt;br /&gt;
&lt;br /&gt;
*Added a border around a snippet&lt;br /&gt;
*Altered GUI (Preview window is bigger)&lt;br /&gt;
*Better key handling with text annotation, support for HOME and END.&lt;br /&gt;
*Movement of text annotation with ctrl-left, ctrl-right, up and down&lt;br /&gt;
*Movement in a text annotation with left and right&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.5  ==&lt;br /&gt;
&lt;br /&gt;
Release date 28 November 2009&lt;br /&gt;
&lt;br /&gt;
*Bugfix release for bug [https://sourceforge.net/tracker/?func=detail&amp;amp;atid=996819&amp;amp;aid=2905411&amp;amp;group_id=206229 2905411].&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 24 November 2009&lt;br /&gt;
&lt;br /&gt;
*Support for VI snippet creation&lt;br /&gt;
*Support for adding comments and drawings&lt;br /&gt;
&lt;br /&gt;
== Version 1.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 27 February 2008&lt;br /&gt;
&lt;br /&gt;
*Bug-fixes&lt;br /&gt;
*Support for panning of the preview&lt;br /&gt;
&lt;br /&gt;
== Version 0.9.1  ==&lt;br /&gt;
&lt;br /&gt;
Release date 7 November 2007&lt;br /&gt;
&lt;br /&gt;
*Support for LabVIEW 7.x and up&lt;br /&gt;
*Support for all OS&#039;es&lt;br /&gt;
*Support for orientation&lt;br /&gt;
*Support for selection&lt;br /&gt;
*Support for customized naming&lt;br /&gt;
*Support for customized folder&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Licensing  =&lt;br /&gt;
&lt;br /&gt;
The CCT is licensed under the BSD license&lt;br /&gt;
&lt;br /&gt;
[[Category:Third party LabVIEW tools]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Third party LabVIEW tools]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:CCT_GUI.png&amp;diff=5251</id>
		<title>File:CCT GUI.png</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:CCT_GUI.png&amp;diff=5251"/>
		<updated>2013-02-19T12:26:53Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: uploaded a new version of &amp;amp;quot;File:CCT GUI.png&amp;amp;quot;: Version 3.2 GUI layour&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Snippet&amp;diff=5051</id>
		<title>Snippet</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Snippet&amp;diff=5051"/>
		<updated>2012-11-24T07:36:37Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: /* Creation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}}&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
A snippet is in the [[LabVIEW|LabVIEW]] context an image of LabVIEW code.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[http://zone.ni.com/devzone/cda/tut/p/id/9330 LabVIEW 2009 introduced] the embedding of the actual code inside a [http://en.wikipedia.org/wiki/Portable_Network_Graphics PNG] image.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
With this functionality it is possible to expose your code on a website, and with the same file import the code into a LabVIEW [[VI|VI]].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Creation =&lt;br /&gt;
==Native==&lt;br /&gt;
LabVIEW 2009 has native support to create a snippet, in the &#039;Edit&#039; menu select &#039;[http://zone.ni.com/reference/en-XX/help/371361G-01/lvhowto/create_visnippet/ Create Snippet from selection]&#039;.&lt;br /&gt;
&lt;br /&gt;
==Advanced==&lt;br /&gt;
With the [[Code Capture Tool|Code Capture Tool]] version 2.0 it&#039;s possible to create a snippet in any LabVIEW version from 7.0 and up.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Importing&amp;lt;br&amp;gt;  =&lt;br /&gt;
&lt;br /&gt;
== LabVIEW 2009&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
To import the actual code into a VI, just drag and drop the image onto the block diagram of a VI. With [http://www.microsoft.com/Windows/internet-explorer/ Internet Explorer] it&#039;s possible to drag and drop the image for a web-page into a VI&amp;amp;nbsp;directly.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
For [http://www.mozilla.com/firefox/ Firefox] and [http://www.google.com/chrome Google Chrome] it&#039;s necessary to drop the image in an OS folder or use a plugin [http://addons.mozilla.org/firefox/addon/1419 IETab] (for Firefox).&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== LabVIEW 8.2, 8.5 and 8.6&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
To import a snippet into LabVIEW 8.2 it&#039;s possible if the snippet is created with the [[Code Capture Tool|Code Capture Tool]] in the same (or an older) version of LabVIEW. Second you need a special tool developed by [http://lavag.org/user/7534-jcarmody/ JCarmody]. This tool is available for [http://lavag.org/index.php?app=downloads&amp;amp;showfile=118 download] in the LAVA Uncertified Code Repository.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
= Technique&amp;lt;br&amp;gt;  =&lt;br /&gt;
&lt;br /&gt;
The code of a LabVIEW snippet is stored inside a [http://en.wikipedia.org/wiki/Portable_Network_Graphics#.22Chunks.22_within_the_file PNG Chunk] named &#039;niVI&#039;. The capitalization of this chunkname makes sure the code is removed if someone alters the image, thus preventing the creation of malicious snippets.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Inside this chunk a filestream representing a VI is stored. LabVIEW interprets this as a normal VI to be embedded.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Code integrity&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
Technically it&#039;s possible to have a different codeset embedded than represented by the PNG image chunk. This is proven by [http://forums.ni.com/ni/view_profile?user.id=134255 Darin.K] on the [[NI Forums|NI Forum]] with the following snippet:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:MerrimanSnippet.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;view=by_date_ascending&amp;amp;message.id=8610#M8610 Source ]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Upon dropping this image on a LabVIEW diagram another image was placed. &lt;br /&gt;
&lt;br /&gt;
The name of the Snippet Chunk (niVI), describes this chunk as [http://www.w3.org/TR/2003/REC-PNG-20031110/#5Chunk-naming-conventions unsave to copy], tests with Paint.net shows that indeed the chunk is removed when the image is altered. However usage of Microsoft Paint show that the snippet is not removed upon editing of the image.&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=How_to_do_Menu_Launch_VIs&amp;diff=4905</id>
		<title>How to do Menu Launch VIs</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=How_to_do_Menu_Launch_VIs&amp;diff=4905"/>
		<updated>2012-10-18T19:09:51Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Customizing LabVIEW Menus==&lt;br /&gt;
&lt;br /&gt;
LabVIEW provides a mechanism, which allows the user to open VIs and help files by selecting them from the Tools and Help pull-down menus. This is a very powerful feature for development tools creation, so I will describe how this works. When LabVIEW starts up it does several things, which include initializing the menus. This is a process where LabVIEW looks for files within specific directories for inclusion in the menus.&lt;br /&gt;
&lt;br /&gt;
==Menu Launch Folders==&lt;br /&gt;
&lt;br /&gt;
*  .\wizard - File menu-launch&lt;br /&gt;
*  .\project - Tools menu-launch&lt;br /&gt;
*  .\help - Help menu-launch&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The .\wizard, .\project, and .\help folders are intrinsically related to the &amp;quot;File&amp;quot;, &amp;quot;Tools&amp;quot;, and &amp;quot;Help&amp;quot; menus, respectively. When you install a LabVIEW add-on, you will notice that new menu items are usually added to these two menus. This was achieved by adding files to the .\project and .\help folders. Through a little experimentation the nature of this process has been determined to be the following:&lt;br /&gt;
&lt;br /&gt;
==Technical details==&lt;br /&gt;
First, LabVIEW looks in the .\wizard, .\project, and .\help folders for standalone VIs and top-level VIs within LLBs. In the .\help folder, it also looks for .hlp and .chm compiled help files. These files are then opened when selected from the menu. LabVIEW will look recursively through all subfolders and LLBs looking for these files of interest. However, the search will ignore any VIs, folders, or LLBs whose name begins with an underscore (&amp;quot;_&amp;quot;) character. When the search finds a file of interest it will create a menu item at a location, which reflects where it found it in the directory structure inside the project or help folder. For Example, if it finds the file .\project\Goop Tools\Rename Goop Class.vi, it will create the menu item Tools/GOOP Tools/Rename GOOP Class.&lt;br /&gt;
&lt;br /&gt;
==Menu Naming method==&lt;br /&gt;
Here is where a twist is thrown into the naming rules. You can override the names of the VIs, .chm and .hlp files, folders and LLBs so that they are named differently in the menu structure from their names on disk. For VIs, LabVIEW will use the &amp;quot;Window Title&amp;quot; as the menu name (this is also the VI Server VI:Front Panel Window:Title property). But, by placing a text file with the identical root name (RootName.vi, RootName.txt) in the same location as the folder or file, you can specify the name LabVIEW should use in the menus. The name you wish to use in the menu should be placed in the text file. For example, if you have a VI called MyBuggyCode.vi, you can make the menu item show up as Elegant Solution by creating a text file called MyBuggyCode.txt that contains the contents &amp;quot;Elegant Solution&amp;quot; and placing it in the same directory as MyBuggyCode.vi.&lt;br /&gt;
&lt;br /&gt;
Note that this override method works for LLBs, folders, .hlp, and .chm files, but for .hlp and .chm files you must also add the characters &amp;quot;.hlp&amp;quot; or &amp;quot;.chm&amp;quot; after the menu item name in the overriding text file. The file MyCHM.chm should have an override text file called MyCHM.txt that contains the contents &amp;quot;All The Help You Need.chm&amp;quot; This will cause its menu name to be &amp;quot;All The Help You Need&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Autorun==&lt;br /&gt;
How does the developer use this feature, whereby they can open VIs and help files from the menu? VIs placed in the Tools menu (.\project folder) should always be set to &amp;quot;Run When Opened&amp;quot;. This will cause them to look and feel like a functional dialog or tool once they are opened after being selected from the menu.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
The .\wizard (Files) VIs don&#039;t show up in Project windows.&lt;br /&gt;
&lt;br /&gt;
==Get calling VI==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Private Feature Exposed&lt;br /&gt;
|-&lt;br /&gt;
| There is a private VI server method called Application:Menu Launch VI may be found exposed on the diagram of the &amp;quot;Web Publishing Tool&amp;quot; (.\project\webdoc.llb\_Web Document Tool.vi) this property returns the last VI to call a &amp;quot;Tools&amp;quot; menu VI (it doesn&#039;t work for &amp;quot;Help&amp;quot; menu), but returns it only once then returns a null string until another &amp;quot;Tools&amp;quot; menu VI is selected from the menu. Use this feature to create a tool that operates on the VI that the user launched it from, like &amp;quot;Check into Source Code Control&amp;quot;, or something similar. Unfortunately this does not work for the File (.\wizard) or Help (.\help) menus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- --[[User:Pjm labview|Pjm_labview]] 23:38, 16 March 2007 (CDT) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Development environment]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=How_to_do_Menu_Launch_VIs&amp;diff=4904</id>
		<title>How to do Menu Launch VIs</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=How_to_do_Menu_Launch_VIs&amp;diff=4904"/>
		<updated>2012-10-18T19:06:25Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: /* Notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LabVIEW provides a mechanism, which allows the user to open VIs and help files by selecting them from the Tools and Help pull-down menus. This is a very powerful feature for development tools creation, so I will describe how this works. When LabVIEW starts up it does several things, which include initializing the menus. This is a process where LabVIEW looks for files within specific directories for inclusion in the menus.&lt;br /&gt;
&lt;br /&gt;
[u]Menu Launch Folders:[/u]&lt;br /&gt;
&lt;br /&gt;
*  .\wizard - File menu-launch&lt;br /&gt;
*  .\project - Tools menu-launch&lt;br /&gt;
*  .\help - Help menu-launch&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The .\wizard, .\project, and .\help folders are intrinsically related to the &amp;quot;File&amp;quot;, &amp;quot;Tools&amp;quot;, and &amp;quot;Help&amp;quot; menus, respectively. When you install a LabVIEW add-on, you will notice that new menu items are usually added to these two menus. This was achieved by adding files to the .\project and .\help folders. Through a little experimentation the nature of this process has been determined to be the following:&lt;br /&gt;
&lt;br /&gt;
==Technical details==&lt;br /&gt;
First, LabVIEW looks in the .\wizard, .\project, and .\help folders for standalone VIs and top-level VIs within LLBs. In the .\help folder, it also looks for .hlp and .chm compiled help files. These files are then opened when selected from the menu. LabVIEW will look recursively through all subfolders and LLBs looking for these files of interest. However, the search will ignore any VIs, folders, or LLBs whose name begins with an underscore (&amp;quot;_&amp;quot;) character. When the search finds a file of interest it will create a menu item at a location, which reflects where it found it in the directory structure inside the project or help folder. For Example, if it finds the file .\project\Goop Tools\Rename Goop Class.vi, it will create the menu item Tools/GOOP Tools/Rename GOOP Class.&lt;br /&gt;
&lt;br /&gt;
==Menu Naming method==&lt;br /&gt;
Here is where a twist is thrown into the naming rules. You can override the names of the VIs, .chm and .hlp files, folders and LLBs so that they are named differently in the menu structure from their names on disk. For VIs, LabVIEW will use the &amp;quot;Window Title&amp;quot; as the menu name (this is also the VI Server VI:Front Panel Window:Title property). But, by placing a text file with the identical root name (RootName.vi, RootName.txt) in the same location as the folder or file, you can specify the name LabVIEW should use in the menus. The name you wish to use in the menu should be placed in the text file. For example, if you have a VI called MyBuggyCode.vi, you can make the menu item show up as Elegant Solution by creating a text file called MyBuggyCode.txt that contains the contents &amp;quot;Elegant Solution&amp;quot; and placing it in the same directory as MyBuggyCode.vi.&lt;br /&gt;
&lt;br /&gt;
Note that this override method works for LLBs, folders, .hlp, and .chm files, but for .hlp and .chm files you must also add the characters &amp;quot;.hlp&amp;quot; or &amp;quot;.chm&amp;quot; after the menu item name in the overriding text file. The file MyCHM.chm should have an override text file called MyCHM.txt that contains the contents &amp;quot;All The Help You Need.chm&amp;quot; This will cause its menu name to be &amp;quot;All The Help You Need&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Autorun==&lt;br /&gt;
How does the developer use this feature, whereby they can open VIs and help files from the menu? VIs placed in the Tools menu (.\project folder) should always be set to &amp;quot;Run When Opened&amp;quot;. This will cause them to look and feel like a functional dialog or tool once they are opened after being selected from the menu.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
The .\wizard (Files) VIs don&#039;t show up in Project windows.&lt;br /&gt;
&lt;br /&gt;
==Get calling VI==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Private Feature Exposed&lt;br /&gt;
|-&lt;br /&gt;
| There is a private VI server method called Application:Menu Launch VI may be found exposed on the diagram of the &amp;quot;Web Publishing Tool&amp;quot; (.\project\webdoc.llb\_Web Document Tool.vi) this property returns the last VI to call a &amp;quot;Tools&amp;quot; menu VI (it doesn&#039;t work for &amp;quot;Help&amp;quot; menu), but returns it only once then returns a null string until another &amp;quot;Tools&amp;quot; menu VI is selected from the menu. Use this feature to create a tool that operates on the VI that the user launched it from, like &amp;quot;Check into Source Code Control&amp;quot;, or something similar. Unfortunately this does not work for the File (.\wizard) or Help (.\help) menus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- --[[User:Pjm labview|Pjm_labview]] 23:38, 16 March 2007 (CDT) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Development environment]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=How_to_do_Menu_Launch_VIs&amp;diff=4903</id>
		<title>How to do Menu Launch VIs</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=How_to_do_Menu_Launch_VIs&amp;diff=4903"/>
		<updated>2012-10-18T19:06:01Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LabVIEW provides a mechanism, which allows the user to open VIs and help files by selecting them from the Tools and Help pull-down menus. This is a very powerful feature for development tools creation, so I will describe how this works. When LabVIEW starts up it does several things, which include initializing the menus. This is a process where LabVIEW looks for files within specific directories for inclusion in the menus.&lt;br /&gt;
&lt;br /&gt;
[u]Menu Launch Folders:[/u]&lt;br /&gt;
&lt;br /&gt;
*  .\wizard - File menu-launch&lt;br /&gt;
*  .\project - Tools menu-launch&lt;br /&gt;
*  .\help - Help menu-launch&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The .\wizard, .\project, and .\help folders are intrinsically related to the &amp;quot;File&amp;quot;, &amp;quot;Tools&amp;quot;, and &amp;quot;Help&amp;quot; menus, respectively. When you install a LabVIEW add-on, you will notice that new menu items are usually added to these two menus. This was achieved by adding files to the .\project and .\help folders. Through a little experimentation the nature of this process has been determined to be the following:&lt;br /&gt;
&lt;br /&gt;
==Technical details==&lt;br /&gt;
First, LabVIEW looks in the .\wizard, .\project, and .\help folders for standalone VIs and top-level VIs within LLBs. In the .\help folder, it also looks for .hlp and .chm compiled help files. These files are then opened when selected from the menu. LabVIEW will look recursively through all subfolders and LLBs looking for these files of interest. However, the search will ignore any VIs, folders, or LLBs whose name begins with an underscore (&amp;quot;_&amp;quot;) character. When the search finds a file of interest it will create a menu item at a location, which reflects where it found it in the directory structure inside the project or help folder. For Example, if it finds the file .\project\Goop Tools\Rename Goop Class.vi, it will create the menu item Tools/GOOP Tools/Rename GOOP Class.&lt;br /&gt;
&lt;br /&gt;
==Menu Naming method==&lt;br /&gt;
Here is where a twist is thrown into the naming rules. You can override the names of the VIs, .chm and .hlp files, folders and LLBs so that they are named differently in the menu structure from their names on disk. For VIs, LabVIEW will use the &amp;quot;Window Title&amp;quot; as the menu name (this is also the VI Server VI:Front Panel Window:Title property). But, by placing a text file with the identical root name (RootName.vi, RootName.txt) in the same location as the folder or file, you can specify the name LabVIEW should use in the menus. The name you wish to use in the menu should be placed in the text file. For example, if you have a VI called MyBuggyCode.vi, you can make the menu item show up as Elegant Solution by creating a text file called MyBuggyCode.txt that contains the contents &amp;quot;Elegant Solution&amp;quot; and placing it in the same directory as MyBuggyCode.vi.&lt;br /&gt;
&lt;br /&gt;
Note that this override method works for LLBs, folders, .hlp, and .chm files, but for .hlp and .chm files you must also add the characters &amp;quot;.hlp&amp;quot; or &amp;quot;.chm&amp;quot; after the menu item name in the overriding text file. The file MyCHM.chm should have an override text file called MyCHM.txt that contains the contents &amp;quot;All The Help You Need.chm&amp;quot; This will cause its menu name to be &amp;quot;All The Help You Need&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Autorun==&lt;br /&gt;
How does the developer use this feature, whereby they can open VIs and help files from the menu? VIs placed in the Tools menu (.\project folder) should always be set to &amp;quot;Run When Opened&amp;quot;. This will cause them to look and feel like a functional dialog or tool once they are opened after being selected from the menu.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
The /wizard (Files) VIs don&#039;t show up in Project windows.&lt;br /&gt;
&lt;br /&gt;
==Get calling VI==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Private Feature Exposed&lt;br /&gt;
|-&lt;br /&gt;
| There is a private VI server method called Application:Menu Launch VI may be found exposed on the diagram of the &amp;quot;Web Publishing Tool&amp;quot; (.\project\webdoc.llb\_Web Document Tool.vi) this property returns the last VI to call a &amp;quot;Tools&amp;quot; menu VI (it doesn&#039;t work for &amp;quot;Help&amp;quot; menu), but returns it only once then returns a null string until another &amp;quot;Tools&amp;quot; menu VI is selected from the menu. Use this feature to create a tool that operates on the VI that the user launched it from, like &amp;quot;Check into Source Code Control&amp;quot;, or something similar. Unfortunately this does not work for the File (.\wizard) or Help (.\help) menus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- --[[User:Pjm labview|Pjm_labview]] 23:38, 16 March 2007 (CDT) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Development environment]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Associate_your_own_file_type_with_Windows_Explorer&amp;diff=4879</id>
		<title>Associate your own file type with Windows Explorer</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Associate_your_own_file_type_with_Windows_Explorer&amp;diff=4879"/>
		<updated>2012-10-10T07:28:46Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: Added 2012 info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
== Note about custom file type handing in LabVIEW 8.2 and up&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
In LabVIEW 8.2 an Application event called &amp;quot;OS Open Document&amp;quot; exists, which provides a LabVIEW native way to handle custom file types.&lt;br /&gt;
&lt;br /&gt;
LabVIEW 2009 and 2012 have this event working as well. Other versions needs further testing.&lt;br /&gt;
&lt;br /&gt;
Here is a [[Snippet|snippet]] of code in LabVIEW&amp;amp;nbsp;2009 that works:&lt;br /&gt;
&lt;br /&gt;
[[Image:OpenDocumentEvent.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [http://lavag.org/topic/4851-associating-my-exe-with-a-specific-file-extension-type/ this LAVA posting] for information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Guidelines to open your own file type from Windows Explorer  ==&lt;br /&gt;
&lt;br /&gt;
When the user double-clicks on a document, the Registration Database is checked for an entry that associates the file extension with a particular application. If an entry does not specify Dynamic Data Exchange (DDE) command, the application specified in the registry is launched. If the registry specifies to use DDE commands, an attemp is made to establish a DDE communication with that application using the application topic. If an application responds to the DDE connection, a DDE Execute command is sent to the application, as specified in the registry. However, if attempts to establish the DDE conversation fail, the specified application is launched and the DDE connection is tried again.&lt;br /&gt;
&lt;br /&gt;
== File associations and LabVIEW  ==&lt;br /&gt;
&lt;br /&gt;
LabVIEW registers the file extensions *.vi, *.vit, *.ctl, *.ctt and *.llb in order to open these files when the user double-clicks on them. A LabVIEW standalone application registers file extensions *.vi and *.llb when its configuration file (.ini) contains the line RegisterExtensions? = True. However this allows LabVIEW to open its own files and does not provide a mechanism for your application to open its custom files using registered extensions.&lt;br /&gt;
&lt;br /&gt;
For example, your application reads and writes custom data files to which you consistently give the extension &amp;quot;.myx&amp;quot;. One thing you can do is to associate the file extension (no DDE command) to your application. When your application is not running, double-clicking on a .myx file launches your application and you can make a system call to read the command line from which you extract the file name to act upon. Remember that, whatever its extension, LabVIEW first tries to open the command line file to figure out if it is a LabVIEW file that it can open (VI, control or LLB).&lt;br /&gt;
&lt;br /&gt;
Once your application is running, double-clicks on your custom file starts a second instance of your application. This instance detects that there is already an instance running so it sends the command line information to the first instance through a DDE Execute command and terminates. The first instance receives the command line; if there is no VI or LLB paths to open, the command is discarded. Currently, there is no way to recover this command line because you have no access to the application built-in DDE Server. Therefore user double-clicks have no effects when your application is running.&lt;br /&gt;
&lt;br /&gt;
In order to receive DDE Execute commands, you would have to, after having properly registered DDE commands in the registry, implement in your application a DDE Server that responds to the DDE Execute commands sent by the system. Unfortunately, altough LabVIEW DDE Client palette offers a DDE Execute.vi that can be used to send commands to other application to open files, the DDE Execute server function is not supported. Such a function would allow to receive the commands sent from the system on user double-clicks (or other applications DDE clients).&lt;br /&gt;
&lt;br /&gt;
DDE being a legacy from Windows 16 bits OS, it is a fading out inter-application communication mechanism. In the latest version of LabVIEW, DDE VIs are still supported but have disappeared from the default palette. Therefore it is very unlikely that DDE VIs will ever be enhanced to support DDE Execute function. One could write a DLL that fully supports DDE, but given the obsolescence of the mechanism, it would be a waste of time.&lt;br /&gt;
&lt;br /&gt;
There are alternatives that we can use to emulate in part the file opening from the file system. The workaround to DDE is to have another executable intercept the command line each time your files are double-clicked on, transmit it to your application and terminate. I will describe three ways below but first let&#039;s see how you can register custom file extensions.&lt;br /&gt;
&lt;br /&gt;
== Register a File Extension  ==&lt;br /&gt;
&lt;br /&gt;
You register file extensions in Windows Registration Database running the regedit.exe application with a text file that contains the keys and values to register. For example, if you want to open .myx extensions with the application myx.exe (or myx.bat or other executable files) located in c:\myx directory, you create the file myx.reg with the following lines:&lt;br /&gt;
&lt;br /&gt;
[code]&lt;br /&gt;
&lt;br /&gt;
 REGEDIT&lt;br /&gt;
&lt;br /&gt;
 HKEY_CLASSES_ROOT\.myx = myxfile&lt;br /&gt;
&lt;br /&gt;
 HKEY_CLASSES_ROOT\myxfile = My Custom Data File&lt;br /&gt;
&lt;br /&gt;
 HKEY_CLASSES_ROOT\myxfile\shell\open\command = c:\myx\myx.exe &amp;quot;%1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[/code]&lt;br /&gt;
&lt;br /&gt;
You register the file association from your application using System Exec.vi with the input string&lt;br /&gt;
&lt;br /&gt;
[code]&amp;quot;regedit.exe /s c:\myx\myx.reg&amp;quot;[/code]&lt;br /&gt;
&lt;br /&gt;
Alternatively to the use of regedit.exe, LabVIEW 6 is now distributed with VIs to edit the registry. Registry edition VIs for previous versions of LabVIEW are also available at http://www.mhst.de/support.html, more specifically here: [http://www.mhst.de/downloads/winregistry.zip Windows 95/NT Registry VIs].&lt;br /&gt;
&lt;br /&gt;
== Associate the extension to a DOS batch file.  ==&lt;br /&gt;
&lt;br /&gt;
A simple way is to associate your file extension to a DOS batch file that writes the command line argument to a text file. The file myx.bat contains the following lines:&lt;br /&gt;
&lt;br /&gt;
[code]&lt;br /&gt;
&lt;br /&gt;
 ECHO&amp;amp;nbsp;%1 &amp;amp;gt; c:\myx\myx.txt&lt;br /&gt;
&lt;br /&gt;
 START c:\myx\myx.vi&lt;br /&gt;
&lt;br /&gt;
[/code]&lt;br /&gt;
&lt;br /&gt;
On file double-click, the batch file executes. The first line of the batch file writes the DOS 8.3 file path/name to the file myx.txt (previous file content is overwritten). The second line starts the VI myx.vi. Provided that your application is currently associated to .vi extension (RegisterExtensions = True in its ini file), your application will load myx.vi. The VI myx.vi (set to run when opened) should read the myx.txt file to extract the name of the file to open. If your application is already running, it can now be notified by myx.vi that a file has been double-clicked in the file system. If your application was not running, only myx.vi will be loaded and run; the application Top Level VIs are not loaded therefore myx.vi should check for your main Top Level VIs and load/run them if necessary to properly launch your application. The batch files terminates immediately after the start command and is ready for the next double-click. It is preferable to set the batch file properties to run minimized and close when finished. The long Windows path of the file can be obtained with the VI &amp;quot;GetLongPathName?.vi&amp;quot; included in the sample code below.&lt;br /&gt;
&lt;br /&gt;
You will agree that sending a file name to your application using a DOS batch file and a text file for data tranfer is not state-of-the-art programming, using techniques older than DDE itself. The following methods use the same principle but allows to send the file name to your application using ActiveX, VI Server or TCP/IP.&lt;br /&gt;
&lt;br /&gt;
== Create your LVShellOpen.exe executable.  ==&lt;br /&gt;
&lt;br /&gt;
Instead of a batch file, one can use a small LabVIEW executable (let&#039;s say LVShellOpen.exe) to be associated with your file extension. Normally, when a LabVIEW executable is launched with a file path on the command line, it attempts to open the file to check if it is a LabVIEW file (VI) it can execute. To prevent this and speed up the process a little, the registry command can be modified to included a command line switch such as&lt;br /&gt;
&lt;br /&gt;
[code]HKEY_CLASSES_ROOT\myxfile\shell\open\command = c:\myx\LVShellOpen.exe - o&amp;quot;%1&amp;quot;[/code]&lt;br /&gt;
&lt;br /&gt;
Since the executable does not recognize a file path or a known switch on the command line, it ignores it. This has also the advantage that if you want to implement other file system commands LVShellOpen can distinguish them if different switches are used. For example, a second command Print could be registered as&lt;br /&gt;
&lt;br /&gt;
[code]HKEY_CLASSES_ROOT\myxfile\shell\print\command = c:\myx\LVShellOpen.exe -p&amp;quot;%1&amp;quot;[/code]&lt;br /&gt;
&lt;br /&gt;
When lauched after a double-click, LVShellOpen launches your application if it is not already running, sends the (Windows Long) file path to open and quits immediatly, ready for the next double-click.&lt;br /&gt;
&lt;br /&gt;
The mode of communication to transmit the file path from LVShellOpen to your application is up to your choice. VI Server or TCP/IP are good options (why not DDE?). When LVShellOpen awakes after a double-click, it attemps to establish a connection with your application (you have enabled the VI Server or run a TCP/IP Listener). If connection succeeds, the file path read from the command line is sent to your application. The connection is closed and LVShellOpen exits. If the connection fails, your application is launched using a System Exec.vi call. LVShellOpen can include the file path on the command line and let the application open the file from its command line or alternatively it can wait for the activation of the VI Server or the TCP/IP Listener to transmit the file path before exiting.&lt;br /&gt;
&lt;br /&gt;
== Visual Basic Script* and LabVIEW ActiveX Server.  ==&lt;br /&gt;
&lt;br /&gt;
LabVIEW and executables created with the Application Builder have a built-in ActiveX VI Server. By default, the ActiveX server is not enable in the application builder settings. On the &amp;quot;App Settings&amp;quot; tab of the Application Builder, check the box &amp;quot;Enable ActiveX server&amp;quot; and give an appropriate name to your application server.&lt;br /&gt;
&lt;br /&gt;
It is possible with a simple Visual Basic Script (vbscript) to call LabVIEW VIs using the ActiveX VI Server. Making the file association to the vbscript, this one can easily call one of your VIs to transmit the file path on double-clicks from the user. Opening a connection to ActiveX VI Server automatically starts your application (running Top Level VIs) if it is not already running. The script then makes a call to a VI (included as dynamic VI) that fills a front panel string of the VI with the file path.&lt;br /&gt;
&lt;br /&gt;
This technique does not require to build a separate application and thus can be used with all LabVIEW releases. By making the whole code reentrant it is possible for the user to select multiple files and to open them simultaneously.&lt;br /&gt;
&lt;br /&gt;
This is the technique I recommend the most.&lt;br /&gt;
&lt;br /&gt;
Download Sample Code for VBScript and ActiveX.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;quot;*To run a vbscript, you do not need Visual Basic but the Windows Script Host component which is included in all but the oldest versions of Windows and Internet Explorer.&amp;quot;&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Conclusion  ==&lt;br /&gt;
&lt;br /&gt;
In conclusion it is possible with some workarounds to manage custom file extensions in a LabVIEW application. However, a built-in LabVIEW feature to implement such interaction with Windows is, to my opinion, highly desirable. If you feel the same way, please add weight to my request for this feature on the LabVIEW Wish List and fill out the LabVIEW Feedback Form&lt;br /&gt;
&lt;br /&gt;
[[Category:Building executables]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Mercurial&amp;diff=4720</id>
		<title>Mercurial</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Mercurial&amp;diff=4720"/>
		<updated>2012-08-23T17:21:16Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: /* Adjust */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction  =&lt;br /&gt;
&lt;br /&gt;
{{TOCright}}[[Image:Logo.Mercurial.png|right]]&lt;br /&gt;
&lt;br /&gt;
Mercurial is a [[Source Code Control|Source Code Control]] system by Selenic, it&#039;s key feature is the distributed nature of the system. This means that changes (commits) are stored in a local repository, which can be sent (pushed) to a central repository and which can be downloaded (pulled) by others.&lt;br /&gt;
&lt;br /&gt;
= Getting started =&lt;br /&gt;
&lt;br /&gt;
Joel Spolsky has written a How-To and Why-To page called [http://Www.hginit.com HG init] (hg is the chemical symbol for Mercury).&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
&lt;br /&gt;
Mercurial stores it&#039;s setting in a file called &#039;hgrc&#039; inside a hidden folder &#039;.hg&#039;&lt;br /&gt;
&lt;br /&gt;
== Setting up LVMerge  ==&lt;br /&gt;
&lt;br /&gt;
[http://zone.ni.com/reference/en-XX/help/371361F-01/lvhowto/configmerge_thirdparty/ LVMerge] can be used by Mercurial as a Merge tool. Add the following text to the hgrc file:&lt;br /&gt;
&amp;lt;pre&amp;gt;[merge-tools]&lt;br /&gt;
LVMerge.args = $base $other $local $output&lt;br /&gt;
LVMerge.executable = C:\Program Files\National Instruments\Shared\LabVIEW Merge\LVMerge.exe&lt;br /&gt;
LVMerge.gui = True&lt;br /&gt;
LVMerge.binary = True&lt;br /&gt;
[merge-patterns]&lt;br /&gt;
**.vi = LVMerge&lt;br /&gt;
**.ctl = LVMerge&lt;br /&gt;
**.lvclass = LVMerge&lt;br /&gt;
**.xctl = LVMerge&lt;br /&gt;
**.lvlib =LVMerge&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can now use TortoiseHG to perfrom a merge ([[Merge with TortoiseHG|How-To]])&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
&lt;br /&gt;
== Setting up LVDiff ==&lt;br /&gt;
&lt;br /&gt;
[http://meta-diff.sourceforge.net/ LVDiff] is a software package that uses the built in diff-functionality from LabVIEW to do command line based LVDiffs.&lt;br /&gt;
&lt;br /&gt;
=== Download ===&lt;br /&gt;
&lt;br /&gt;
First thing is to [http://meta-diff.sourceforge.net/ download] LVDiff, copy the contents of the zip-file to a location where you have writing priviliges (lvdiff uses a local ini file).&amp;lt;br /&amp;gt;&lt;br /&gt;
Alternative: Installer from [http://decibel.ni.com/content/groups/mercurial NI Community Mercurial User Group]&lt;br /&gt;
&lt;br /&gt;
=== Adjust ===&lt;br /&gt;
&lt;br /&gt;
Then you need to open up the lvdiff.vi and implement these changes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Lvdiffcopy.png]]&lt;br /&gt;
&lt;br /&gt;
This snippet (the actual code inside lvdiff copy is shown) tests if the filenames are the same and if that&#039;s the case it calls a VI called lvdiffcopy, which creates a copy of the file2.&lt;br /&gt;
For LabVIEW 2011 (and up) a patch file is available, use this to replace lvdiff.vi in the lvdiff installer folder[[File:Lvdiff_2011_patch.vi|lvdiff 2011 patch]].&lt;br /&gt;
&lt;br /&gt;
=== Configure ===&lt;br /&gt;
&lt;br /&gt;
To be able to select lvdiff as the diff tool you need to add teh follwoing settings to the [merge-tools] section of the hgrc configuration file:&lt;br /&gt;
&amp;lt;pre&amp;gt;lvdiff.diffargs = $child $parent&lt;br /&gt;
lvdiff.executable =C:\Program Files\lvdiff\lvdiff.exe&lt;br /&gt;
lvdiff.gui = True&lt;br /&gt;
lvdiff.binary = True&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are using TortoiseHg 1.0 or later, you can add a [diff-patterns] section to your hgrc file, analogous to the merge-patterns section mentioned above. This will enable automatic selection of the visual diff tool (see [http://tortoisehg.bitbucket.org/manual/1.0/common.html#word-diffs]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[diff-patterns]&lt;br /&gt;
**.vi = lvdiff&lt;br /&gt;
**.ctl = lvdiff&lt;br /&gt;
**.lvclass = lvdiff&lt;br /&gt;
**.xctl = lvdiff&lt;br /&gt;
**.lvlib = lvdiff&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Start LVDiff ===&lt;br /&gt;
&lt;br /&gt;
You can start lvdiff in TorsoiseHg in the &#039;commit&#039; dialog with right-click and &#039;Visual Diff&#039;:&lt;br /&gt;
&lt;br /&gt;
[[Image:StartVisualDiff.png]]&lt;br /&gt;
&lt;br /&gt;
In the following dialog, select &#039;LVDiff&#039; and double click on the VI to diff:&lt;br /&gt;
&lt;br /&gt;
[[Image:HG_LVDIffStart.png]]&lt;br /&gt;
&lt;br /&gt;
After this LVdiff will launch LabVIEW and both VI (current and committed) will be compared.&lt;br /&gt;
&lt;br /&gt;
== Ignoring files ==&lt;br /&gt;
&lt;br /&gt;
Mercurial stores general ignore patterns in a file called &#039;.hgignore&#039; in the repository root, so you can add the patterns to the repository. I use the following patterns&lt;br /&gt;
&amp;lt;pre&amp;gt;.ogp$&lt;br /&gt;
/built*$&lt;br /&gt;
/build*$&lt;br /&gt;
.lvlps$&lt;br /&gt;
.aliases$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Globally ignoring files ===&lt;br /&gt;
If you&#039;re using TortoiseHG you can use a global ignore file, by adding the following in your %profile%\mercurial.ini file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ui]&lt;br /&gt;
...&lt;br /&gt;
ignore = %userprofile%\.hgignore&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Next to the mercurial.ini file you create the reference .hgignore file with the contents of your choice ([http://programmer.brettveenstra.com/2010/02/27/mercurial-on-windows-tip-global-ignore-file/ source]).&lt;br /&gt;
&lt;br /&gt;
= Performing a merge  =&lt;br /&gt;
&lt;br /&gt;
The following conditions needs to be true to be able to perform a merge:&lt;br /&gt;
&lt;br /&gt;
*All local changes needs to be commited (hg st should only show&amp;amp;nbsp;?)&lt;br /&gt;
*A changeset is pushed by another user to the central repository&lt;br /&gt;
*The other changeset is not yet pulled&lt;br /&gt;
&lt;br /&gt;
The merge will try to detect the differences and call LVMerge if necesarry, LVmerge will show four VIs:&lt;br /&gt;
&lt;br /&gt;
*Base, the base VI which was present in the changeset that is the same on both repositories&lt;br /&gt;
*Mine, local commited VI&lt;br /&gt;
*Their, remote VI with edits from the other user&lt;br /&gt;
&lt;br /&gt;
These are not editable.&lt;br /&gt;
&lt;br /&gt;
*Resulting, this is the VI that will be stored to disc after the merge finalizes. This file can be edited by the user&lt;br /&gt;
&lt;br /&gt;
For each diff LVMerge will give options to use either, &#039;base&#039;, &#039;mine&#039; or &#039;their&#039; code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the merge the code should be committed and pushed.&lt;br /&gt;
&lt;br /&gt;
Most Mercurial Clients will show a graph with the following layout:&lt;br /&gt;
&lt;br /&gt;
[[Image:MergeTrackHG.png|border]]&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the same graph from the &#039;other&#039; user, which actually performed the merge:&lt;br /&gt;
&lt;br /&gt;
[[Image:MergeTrackHG_Other.png|border]]&lt;br /&gt;
&lt;br /&gt;
Here you see the opposite actions, two changesets in the local repo and one in the remote. Only difference is the moment of branching.&lt;br /&gt;
&lt;br /&gt;
= Mercurial clients  =&lt;br /&gt;
&lt;br /&gt;
On Windows[[Image:Logo.Windows.png]], Mac[[Image:Logo.Mac.png]] and&amp;amp;nbsp; Linux [[Image:Logo.Linux.png]], there is a command line client called &#039;hg&#039;. On windows there is a context menu tool called [http://tortoisehg.bitbucket.org TortoiseHG] based on the popular TortoiseSVN and TortoiseCVS tools&lt;br /&gt;
&lt;br /&gt;
= External Links  =&lt;br /&gt;
&lt;br /&gt;
*[http://mercurial.selenic.com Official website]&lt;br /&gt;
*[http://www.hginit.com HG Init]&lt;br /&gt;
*[http://hgbook.red-bean.com/ Mercurial: The Definitive Guide]&lt;br /&gt;
*[http://redline6561.livejournal.com/362393.html Setting Up Mercurial with Apache]&lt;br /&gt;
*[http://kiln.stackexchange.com Kiln / Mercurial Knowledge site]&lt;br /&gt;
*[http://decibel.ni.com/content/groups/mercurial NI Community Mercurial User Group]&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
[[Category:SCC]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Mercurial&amp;diff=4719</id>
		<title>Mercurial</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Mercurial&amp;diff=4719"/>
		<updated>2012-08-23T17:19:08Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: /* Adjust */  Added lvdiff patch&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction  =&lt;br /&gt;
&lt;br /&gt;
{{TOCright}}[[Image:Logo.Mercurial.png|right]]&lt;br /&gt;
&lt;br /&gt;
Mercurial is a [[Source Code Control|Source Code Control]] system by Selenic, it&#039;s key feature is the distributed nature of the system. This means that changes (commits) are stored in a local repository, which can be sent (pushed) to a central repository and which can be downloaded (pulled) by others.&lt;br /&gt;
&lt;br /&gt;
= Getting started =&lt;br /&gt;
&lt;br /&gt;
Joel Spolsky has written a How-To and Why-To page called [http://Www.hginit.com HG init] (hg is the chemical symbol for Mercury).&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
&lt;br /&gt;
Mercurial stores it&#039;s setting in a file called &#039;hgrc&#039; inside a hidden folder &#039;.hg&#039;&lt;br /&gt;
&lt;br /&gt;
== Setting up LVMerge  ==&lt;br /&gt;
&lt;br /&gt;
[http://zone.ni.com/reference/en-XX/help/371361F-01/lvhowto/configmerge_thirdparty/ LVMerge] can be used by Mercurial as a Merge tool. Add the following text to the hgrc file:&lt;br /&gt;
&amp;lt;pre&amp;gt;[merge-tools]&lt;br /&gt;
LVMerge.args = $base $other $local $output&lt;br /&gt;
LVMerge.executable = C:\Program Files\National Instruments\Shared\LabVIEW Merge\LVMerge.exe&lt;br /&gt;
LVMerge.gui = True&lt;br /&gt;
LVMerge.binary = True&lt;br /&gt;
[merge-patterns]&lt;br /&gt;
**.vi = LVMerge&lt;br /&gt;
**.ctl = LVMerge&lt;br /&gt;
**.lvclass = LVMerge&lt;br /&gt;
**.xctl = LVMerge&lt;br /&gt;
**.lvlib =LVMerge&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can now use TortoiseHG to perfrom a merge ([[Merge with TortoiseHG|How-To]])&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
&lt;br /&gt;
== Setting up LVDiff ==&lt;br /&gt;
&lt;br /&gt;
[http://meta-diff.sourceforge.net/ LVDiff] is a software package that uses the built in diff-functionality from LabVIEW to do command line based LVDiffs.&lt;br /&gt;
&lt;br /&gt;
=== Download ===&lt;br /&gt;
&lt;br /&gt;
First thing is to [http://meta-diff.sourceforge.net/ download] LVDiff, copy the contents of the zip-file to a location where you have writing priviliges (lvdiff uses a local ini file).&amp;lt;br /&amp;gt;&lt;br /&gt;
Alternative: Installer from [http://decibel.ni.com/content/groups/mercurial NI Community Mercurial User Group]&lt;br /&gt;
&lt;br /&gt;
=== Adjust ===&lt;br /&gt;
&lt;br /&gt;
Then you need to open up the lvdiff.vi and implement these changes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Lvdiffcopy.png]]&lt;br /&gt;
&lt;br /&gt;
This snippet (the actual code inside lvdiff copy is shown) tests if the filenames are the same and if that&#039;s the case it calls a VI called lvdiffcopy, which creates a copy of the file2.&lt;br /&gt;
For LabVIEW 2011 (and up) a patch file is available, use this to replace lvdiff.vi in the lvdiff installer folder[[File:Lvdiff_2011_patch.vi]].&lt;br /&gt;
&lt;br /&gt;
=== Configure ===&lt;br /&gt;
&lt;br /&gt;
To be able to select lvdiff as the diff tool you need to add teh follwoing settings to the [merge-tools] section of the hgrc configuration file:&lt;br /&gt;
&amp;lt;pre&amp;gt;lvdiff.diffargs = $child $parent&lt;br /&gt;
lvdiff.executable =C:\Program Files\lvdiff\lvdiff.exe&lt;br /&gt;
lvdiff.gui = True&lt;br /&gt;
lvdiff.binary = True&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are using TortoiseHg 1.0 or later, you can add a [diff-patterns] section to your hgrc file, analogous to the merge-patterns section mentioned above. This will enable automatic selection of the visual diff tool (see [http://tortoisehg.bitbucket.org/manual/1.0/common.html#word-diffs]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[diff-patterns]&lt;br /&gt;
**.vi = lvdiff&lt;br /&gt;
**.ctl = lvdiff&lt;br /&gt;
**.lvclass = lvdiff&lt;br /&gt;
**.xctl = lvdiff&lt;br /&gt;
**.lvlib = lvdiff&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Start LVDiff ===&lt;br /&gt;
&lt;br /&gt;
You can start lvdiff in TorsoiseHg in the &#039;commit&#039; dialog with right-click and &#039;Visual Diff&#039;:&lt;br /&gt;
&lt;br /&gt;
[[Image:StartVisualDiff.png]]&lt;br /&gt;
&lt;br /&gt;
In the following dialog, select &#039;LVDiff&#039; and double click on the VI to diff:&lt;br /&gt;
&lt;br /&gt;
[[Image:HG_LVDIffStart.png]]&lt;br /&gt;
&lt;br /&gt;
After this LVdiff will launch LabVIEW and both VI (current and committed) will be compared.&lt;br /&gt;
&lt;br /&gt;
== Ignoring files ==&lt;br /&gt;
&lt;br /&gt;
Mercurial stores general ignore patterns in a file called &#039;.hgignore&#039; in the repository root, so you can add the patterns to the repository. I use the following patterns&lt;br /&gt;
&amp;lt;pre&amp;gt;.ogp$&lt;br /&gt;
/built*$&lt;br /&gt;
/build*$&lt;br /&gt;
.lvlps$&lt;br /&gt;
.aliases$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Globally ignoring files ===&lt;br /&gt;
If you&#039;re using TortoiseHG you can use a global ignore file, by adding the following in your %profile%\mercurial.ini file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ui]&lt;br /&gt;
...&lt;br /&gt;
ignore = %userprofile%\.hgignore&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Next to the mercurial.ini file you create the reference .hgignore file with the contents of your choice ([http://programmer.brettveenstra.com/2010/02/27/mercurial-on-windows-tip-global-ignore-file/ source]).&lt;br /&gt;
&lt;br /&gt;
= Performing a merge  =&lt;br /&gt;
&lt;br /&gt;
The following conditions needs to be true to be able to perform a merge:&lt;br /&gt;
&lt;br /&gt;
*All local changes needs to be commited (hg st should only show&amp;amp;nbsp;?)&lt;br /&gt;
*A changeset is pushed by another user to the central repository&lt;br /&gt;
*The other changeset is not yet pulled&lt;br /&gt;
&lt;br /&gt;
The merge will try to detect the differences and call LVMerge if necesarry, LVmerge will show four VIs:&lt;br /&gt;
&lt;br /&gt;
*Base, the base VI which was present in the changeset that is the same on both repositories&lt;br /&gt;
*Mine, local commited VI&lt;br /&gt;
*Their, remote VI with edits from the other user&lt;br /&gt;
&lt;br /&gt;
These are not editable.&lt;br /&gt;
&lt;br /&gt;
*Resulting, this is the VI that will be stored to disc after the merge finalizes. This file can be edited by the user&lt;br /&gt;
&lt;br /&gt;
For each diff LVMerge will give options to use either, &#039;base&#039;, &#039;mine&#039; or &#039;their&#039; code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the merge the code should be committed and pushed.&lt;br /&gt;
&lt;br /&gt;
Most Mercurial Clients will show a graph with the following layout:&lt;br /&gt;
&lt;br /&gt;
[[Image:MergeTrackHG.png|border]]&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the same graph from the &#039;other&#039; user, which actually performed the merge:&lt;br /&gt;
&lt;br /&gt;
[[Image:MergeTrackHG_Other.png|border]]&lt;br /&gt;
&lt;br /&gt;
Here you see the opposite actions, two changesets in the local repo and one in the remote. Only difference is the moment of branching.&lt;br /&gt;
&lt;br /&gt;
= Mercurial clients  =&lt;br /&gt;
&lt;br /&gt;
On Windows[[Image:Logo.Windows.png]], Mac[[Image:Logo.Mac.png]] and&amp;amp;nbsp; Linux [[Image:Logo.Linux.png]], there is a command line client called &#039;hg&#039;. On windows there is a context menu tool called [http://tortoisehg.bitbucket.org TortoiseHG] based on the popular TortoiseSVN and TortoiseCVS tools&lt;br /&gt;
&lt;br /&gt;
= External Links  =&lt;br /&gt;
&lt;br /&gt;
*[http://mercurial.selenic.com Official website]&lt;br /&gt;
*[http://www.hginit.com HG Init]&lt;br /&gt;
*[http://hgbook.red-bean.com/ Mercurial: The Definitive Guide]&lt;br /&gt;
*[http://redline6561.livejournal.com/362393.html Setting Up Mercurial with Apache]&lt;br /&gt;
*[http://kiln.stackexchange.com Kiln / Mercurial Knowledge site]&lt;br /&gt;
*[http://decibel.ni.com/content/groups/mercurial NI Community Mercurial User Group]&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
[[Category:SCC]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:Lvdiff_2011_patch.vi&amp;diff=4718</id>
		<title>File:Lvdiff 2011 patch.vi</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:Lvdiff_2011_patch.vi&amp;diff=4718"/>
		<updated>2012-08-23T17:16:21Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: Patch file for lvdiff and LabVIEW 2011&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Patch file for lvdiff and LabVIEW 2011&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=XControl&amp;diff=4651</id>
		<title>XControl</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=XControl&amp;diff=4651"/>
		<updated>2012-04-21T08:12:34Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: Added OptimizeDataUpdate&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; align=&amp;quot;right&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| __TOC__&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
XControls are introduced in LabVIEW 8.0 and enhance the power of front panel objects in great ways. &lt;br /&gt;
&lt;br /&gt;
Essentially an XControl is a front panel object with dedicated code linked in to react on certain user events. &lt;br /&gt;
&lt;br /&gt;
An XControl exists of several parts, managed in a .xctl file. The .xctl file is a XML-file like the project-file. Other parts of the XControl are abilities.&lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
An XControl functions like a subpanel in the hosting VI. Subpanels (and therefore XControls) &#039;&#039;can not&#039;&#039; be placed inside an array. Note that you &#039;&#039;can&#039;&#039; define your XControl data as an array of any LabVIEW data type, and you &#039;&#039;can&#039;&#039; use array controls in the facade vi. &lt;br /&gt;
&lt;br /&gt;
Using LabVIEW native objects (.lvclass files) inside the state control of an XControl tends to crash LabVIEW for versions less than 8.5.1 when the XControl is used in a different application instance. &lt;br /&gt;
&lt;br /&gt;
== Tricks ==&lt;br /&gt;
*If you require a variable number of runtime instances of your XControl, Jarrod Slocum of [[National Instruments]] has created an example [http://community.ni.com/examples/linked-object-list-in-labview-8-0-using-xcontrols Linked Object List] based on a Subpanel &#039;&#039;inside&#039;&#039; an XControl.&lt;br /&gt;
&lt;br /&gt;
*If you want to react to dynamic events (or user events) you need them to register at the XControl Facade &#039;&#039;&#039;before&#039;&#039;&#039; the event happens.&lt;br /&gt;
* If Façade is not executing fast enough to keep up with data updates, it causes the updates to queue up. The updates will happen even after the VI stops running. To reduce data updates:&lt;br /&gt;
Thanks to Ram Kudukoli (of NI R&amp;amp;D) for sharing this with us at the recent CLA Summit:&lt;br /&gt;
&lt;br /&gt;
** Open the Xcontrol .xctl file in a text editor like Notepad.&lt;br /&gt;
** Add the bolded line shown below:&lt;br /&gt;
 &amp;lt;Property Name=&amp;quot;NI.Lib.Version&amp;quot; Type=&amp;quot;Str&amp;quot;&amp;gt;1.0.0.0&amp;lt;/Property&amp;gt;&lt;br /&gt;
 &amp;lt;Property Name=&amp;quot;NI.XClass.Flags&amp;quot; Type=&amp;quot;Int&amp;quot;&amp;gt;0&amp;lt;/Property&amp;gt;&lt;br /&gt;
 &amp;lt;Property Name=&amp;quot;NI.XCtl.OptimizeDataUpdate&amp;quot; Type=&amp;quot;Bool&amp;quot;&amp;gt;true&amp;lt;/Property&amp;gt;&lt;br /&gt;
 &amp;lt;Property Name=&amp;quot;NI.XItem.DeclaredLeakProof&amp;quot; Type=&amp;quot;Bool&amp;quot;&amp;gt;false&amp;lt;/Property&amp;gt;&lt;br /&gt;
** Save the .xctl file.&lt;br /&gt;
([http://lavag.org/topic/15680-no-update-on-x-control-value-change/page__view__findpost__p__94838 LAVAG source])&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
*[[XControl:Properties|Properties]]&lt;br /&gt;
*[[XControl:Abilities|Abilities]]&lt;br /&gt;
*[[XControl:Methods|Methods]]&lt;br /&gt;
&lt;br /&gt;
[[Category:XControl]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Merge_with_TortoiseHG&amp;diff=4649</id>
		<title>Merge with TortoiseHG</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Merge_with_TortoiseHG&amp;diff=4649"/>
		<updated>2012-04-13T12:12:31Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: Resize&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://tortoisehg.bitbucket.org TortoiseHG] is a client to [[Mercurial]].&lt;br /&gt;
&lt;br /&gt;
This page will show the steps needed to perfrom a visual merge between two branches of one repository.&lt;br /&gt;
Prerequisites:&lt;br /&gt;
* Working TortoiseHG&lt;br /&gt;
* Configured Merge-Tools&lt;br /&gt;
* LabVIEW Professional&lt;br /&gt;
&lt;br /&gt;
We start with a Repository A that has a file &#039;ToMerge&#039; that contains a string constant with the contents &#039;Repository A&#039;.This file is committed to Mercurial, we clone the repository to Repository B, and edit the string constant to &#039;Repository B&#039; and commit the edit.&lt;br /&gt;
In repository A we change the constant to &#039;Repository A edited&#039;, save and commit the changes.&lt;br /&gt;
In repository B we perform a Pull (since we cloned from repository A we pull per default from repository A).&lt;br /&gt;
&lt;br /&gt;
[[File:HG.MergeBeforeCommit.png]]&lt;br /&gt;
&lt;br /&gt;
This shows the repository B changesets (if you pulled B into A changes 1 and 2 would be switched).&lt;br /&gt;
Now the merging begins:&lt;br /&gt;
* Rightclick changeset 2 and select &#039;Merge with local&#039;&lt;br /&gt;
The following dialog appears:&lt;br /&gt;
&lt;br /&gt;
[[File:HG.PreparetoMerge.png]]&lt;br /&gt;
&lt;br /&gt;
Click Next&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:HG.Merging.png]]&lt;br /&gt;
&lt;br /&gt;
Click on the underlined word &#039;Resolved&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:HG.Resolve.png]]&lt;br /&gt;
&lt;br /&gt;
Make sure you do the following things:&lt;br /&gt;
# Select the file you want to merge&lt;br /&gt;
# Select LVMerge as the MergeTool&lt;br /&gt;
# Hit &#039;Tool Resolve&#039;&lt;br /&gt;
This will launch LVMerge, and will show the three versions of the VI together with an editable version of the VI to save the actual Merge Result.&lt;br /&gt;
[[File:HG.LVMerge.png|876px|590px]]&lt;br /&gt;
&lt;br /&gt;
Select Close, and LabVIEW will ask if you want to save the edits (you can easily chose yours or theirs versions).&lt;br /&gt;
&lt;br /&gt;
TortoiseHG will return and the file will have moved into the &#039;Resolved conflichts&#039; list:&lt;br /&gt;
[[File:HG.Resolved.png]]&lt;br /&gt;
&lt;br /&gt;
You can edit the resulting file, view the diffferences between the different versions if you want.&lt;br /&gt;
&lt;br /&gt;
Use the close button to finalize the resolve conflicts.&lt;br /&gt;
Then you will need to add a comment about the merge, and the merge will be committed to Mercurial.&lt;br /&gt;
Make sure you push the merge to Repository A so that is up to date as well.&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the result of the merge:&lt;br /&gt;
&lt;br /&gt;
[[File:HG.MergeResult.png]]&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Merge_with_TortoiseHG&amp;diff=4648</id>
		<title>Merge with TortoiseHG</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Merge_with_TortoiseHG&amp;diff=4648"/>
		<updated>2012-04-13T12:11:44Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: Added MergeResult&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://tortoisehg.bitbucket.org TortoiseHG] is a client to [[Mercurial]].&lt;br /&gt;
&lt;br /&gt;
This page will show the steps needed to perfrom a visual merge between two branches of one repository.&lt;br /&gt;
Prerequisites:&lt;br /&gt;
* Working TortoiseHG&lt;br /&gt;
* Configured Merge-Tools&lt;br /&gt;
* LabVIEW Professional&lt;br /&gt;
&lt;br /&gt;
We start with a Repository A that has a file &#039;ToMerge&#039; that contains a string constant with the contents &#039;Repository A&#039;.This file is committed to Mercurial, we clone the repository to Repository B, and edit the string constant to &#039;Repository B&#039; and commit the edit.&lt;br /&gt;
In repository A we change the constant to &#039;Repository A edited&#039;, save and commit the changes.&lt;br /&gt;
In repository B we perform a Pull (since we cloned from repository A we pull per default from repository A).&lt;br /&gt;
&lt;br /&gt;
[[File:HG.MergeBeforeCommit.png]]&lt;br /&gt;
&lt;br /&gt;
This shows the repository B changesets (if you pulled B into A changes 1 and 2 would be switched).&lt;br /&gt;
Now the merging begins:&lt;br /&gt;
* Rightclick changeset 2 and select &#039;Merge with local&#039;&lt;br /&gt;
The following dialog appears:&lt;br /&gt;
&lt;br /&gt;
[[File:HG.PreparetoMerge.png]]&lt;br /&gt;
&lt;br /&gt;
Click Next&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:HG.Merging.png]]&lt;br /&gt;
&lt;br /&gt;
Click on the underlined word &#039;Resolved&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:HG.Resolve.png]]&lt;br /&gt;
&lt;br /&gt;
Make sure you do the following things:&lt;br /&gt;
# Select the file you want to merge&lt;br /&gt;
# Select LVMerge as the MergeTool&lt;br /&gt;
# Hit &#039;Tool Resolve&#039;&lt;br /&gt;
This will launch LVMerge, and will show the three versions of the VI together with an editable version of the VI to save the actual Merge Result.&lt;br /&gt;
[[File:HG.LVMerge.png|584px|393px]]&lt;br /&gt;
&lt;br /&gt;
Select Close, and LabVIEW will ask if you want to save the edits (you can easily chose yours or theirs versions).&lt;br /&gt;
&lt;br /&gt;
TortoiseHG will return and the file will have moved into the &#039;Resolved conflichts&#039; list:&lt;br /&gt;
[[File:HG.Resolved.png]]&lt;br /&gt;
&lt;br /&gt;
You can edit the resulting file, view the diffferences between the different versions if you want.&lt;br /&gt;
&lt;br /&gt;
Use the close button to finalize the resolve conflicts.&lt;br /&gt;
Then you will need to add a comment about the merge, and the merge will be committed to Mercurial.&lt;br /&gt;
Make sure you push the merge to Repository A so that is up to date as well.&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the result of the merge:&lt;br /&gt;
&lt;br /&gt;
[[File:HG.MergeResult.png]]&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:HG.MergeResult.png&amp;diff=4647</id>
		<title>File:HG.MergeResult.png</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:HG.MergeResult.png&amp;diff=4647"/>
		<updated>2012-04-13T12:10:50Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:HG.MergeResult.png&amp;diff=4646</id>
		<title>File:HG.MergeResult.png</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:HG.MergeResult.png&amp;diff=4646"/>
		<updated>2012-04-13T12:10:31Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Mercurial&amp;diff=4645</id>
		<title>Mercurial</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Mercurial&amp;diff=4645"/>
		<updated>2012-04-13T12:08:25Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: Added How To reference&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction  =&lt;br /&gt;
&lt;br /&gt;
{{TOCright}}[[Image:Logo.Mercurial.png|right]]&lt;br /&gt;
&lt;br /&gt;
Mercurial is a [[Source Code Control|Source Code Control]] system by Selenic, it&#039;s key feature is the distributed nature of the system. This means that changes (commits) are stored in a local repository, which can be sent (pushed) to a central repository and which can be downloaded (pulled) by others.&lt;br /&gt;
&lt;br /&gt;
= Getting started =&lt;br /&gt;
&lt;br /&gt;
Joel Spolsky has written a How-To and Why-To page called [http://Www.hginit.com HG init] (hg is the chemical symbol for Mercury).&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
&lt;br /&gt;
Mercurial stores it&#039;s setting in a file called &#039;hgrc&#039; inside a hidden folder &#039;.hg&#039;&lt;br /&gt;
&lt;br /&gt;
== Setting up LVMerge  ==&lt;br /&gt;
&lt;br /&gt;
[http://zone.ni.com/reference/en-XX/help/371361F-01/lvhowto/configmerge_thirdparty/ LVMerge] can be used by Mercurial as a Merge tool. Add the following text to the hgrc file:&lt;br /&gt;
&amp;lt;pre&amp;gt;[merge-tools]&lt;br /&gt;
LVMerge.args = $base $other $local $output&lt;br /&gt;
LVMerge.executable = C:\Program Files\National Instruments\Shared\LabVIEW Merge\LVMerge.exe&lt;br /&gt;
LVMerge.gui = True&lt;br /&gt;
LVMerge.binary = True&lt;br /&gt;
[merge-patterns]&lt;br /&gt;
**.vi = LVMerge&lt;br /&gt;
**.ctl = LVMerge&lt;br /&gt;
**.lvclass = LVMerge&lt;br /&gt;
**.xctl = LVMerge&lt;br /&gt;
**.lvlib =LVMerge&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can now use TortoiseHG to perfrom a merge ([[Merge with TortoiseHG|How-To]])&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
&lt;br /&gt;
== Setting up LVDiff ==&lt;br /&gt;
&lt;br /&gt;
[http://meta-diff.sourceforge.net/ LVDiff] is a software package that uses the built in diff-functionality from LabVIEW to do command line based LVDiffs.&lt;br /&gt;
&lt;br /&gt;
=== Download ===&lt;br /&gt;
&lt;br /&gt;
First thing is to [http://meta-diff.sourceforge.net/ download] LVDiff, copy the contents of the zip-file to a location where you have writing priviliges (lvdiff uses a local ini file).&amp;lt;br /&amp;gt;&lt;br /&gt;
Alternative: Installer from [http://decibel.ni.com/content/groups/mercurial NI Community Mercurial User Group]&lt;br /&gt;
&lt;br /&gt;
=== Adjust ===&lt;br /&gt;
&lt;br /&gt;
Then you need to open up the lvdiff.vi and implement these changes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Lvdiffcopy.png]]&lt;br /&gt;
&lt;br /&gt;
This snippet (the actual code inside lvdiff copy is shown) tests if the filenames are the same and if that&#039;s the case it calls a VI called lvdiffcopy, which creates a copy of the file2.&lt;br /&gt;
&lt;br /&gt;
=== Configure ===&lt;br /&gt;
&lt;br /&gt;
To be able to select lvdiff as the diff tool you need to add teh follwoing settings to the [merge-tools] section of the hgrc configuration file:&lt;br /&gt;
&amp;lt;pre&amp;gt;lvdiff.diffargs = $child $parent&lt;br /&gt;
lvdiff.executable =C:\Program Files\lvdiff\lvdiff.exe&lt;br /&gt;
lvdiff.gui = True&lt;br /&gt;
lvdiff.binary = True&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are using TortoiseHg 1.0 or later, you can add a [diff-patterns] section to your hgrc file, analogous to the merge-patterns section mentioned above. This will enable automatic selection of the visual diff tool (see [http://tortoisehg.bitbucket.org/manual/1.0/common.html#word-diffs]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[diff-patterns]&lt;br /&gt;
**.vi = lvdiff&lt;br /&gt;
**.ctl = lvdiff&lt;br /&gt;
**.lvclass = lvdiff&lt;br /&gt;
**.xctl = lvdiff&lt;br /&gt;
**.lvlib = lvdiff&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Start LVDiff ===&lt;br /&gt;
&lt;br /&gt;
You can start lvdiff in TorsoiseHg in the &#039;commit&#039; dialog with right-click and &#039;Visual Diff&#039;:&lt;br /&gt;
&lt;br /&gt;
[[Image:StartVisualDiff.png]]&lt;br /&gt;
&lt;br /&gt;
In the following dialog, select &#039;LVDiff&#039; and double click on the VI to diff:&lt;br /&gt;
&lt;br /&gt;
[[Image:HG_LVDIffStart.png]]&lt;br /&gt;
&lt;br /&gt;
After this LVdiff will launch LabVIEW and both VI (current and committed) will be compared.&lt;br /&gt;
&lt;br /&gt;
== Ignoring files ==&lt;br /&gt;
&lt;br /&gt;
Mercurial stores general ignore patterns in a file called &#039;.hgignore&#039; in the repository root, so you can add the patterns to the repository. I use the following patterns&lt;br /&gt;
&amp;lt;pre&amp;gt;.ogp$&lt;br /&gt;
/built*$&lt;br /&gt;
/build*$&lt;br /&gt;
.lvlps$&lt;br /&gt;
.aliases$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Globally ignoring files ===&lt;br /&gt;
If you&#039;re using TortoiseHG you can use a global ignore file, by adding the following in your %profile%\mercurial.ini file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ui]&lt;br /&gt;
...&lt;br /&gt;
ignore = %userprofile%\.hgignore&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Next to the mercurial.ini file you create the reference .hgignore file with the contents of your choice ([http://programmer.brettveenstra.com/2010/02/27/mercurial-on-windows-tip-global-ignore-file/ source]).&lt;br /&gt;
&lt;br /&gt;
= Performing a merge  =&lt;br /&gt;
&lt;br /&gt;
The following conditions needs to be true to be able to perform a merge:&lt;br /&gt;
&lt;br /&gt;
*All local changes needs to be commited (hg st should only show&amp;amp;nbsp;?)&lt;br /&gt;
*A changeset is pushed by another user to the central repository&lt;br /&gt;
*The other changeset is not yet pulled&lt;br /&gt;
&lt;br /&gt;
The merge will try to detect the differences and call LVMerge if necesarry, LVmerge will show four VIs:&lt;br /&gt;
&lt;br /&gt;
*Base, the base VI which was present in the changeset that is the same on both repositories&lt;br /&gt;
*Mine, local commited VI&lt;br /&gt;
*Their, remote VI with edits from the other user&lt;br /&gt;
&lt;br /&gt;
These are not editable.&lt;br /&gt;
&lt;br /&gt;
*Resulting, this is the VI that will be stored to disc after the merge finalizes. This file can be edited by the user&lt;br /&gt;
&lt;br /&gt;
For each diff LVMerge will give options to use either, &#039;base&#039;, &#039;mine&#039; or &#039;their&#039; code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the merge the code should be committed and pushed.&lt;br /&gt;
&lt;br /&gt;
Most Mercurial Clients will show a graph with the following layout:&lt;br /&gt;
&lt;br /&gt;
[[Image:MergeTrackHG.png|border]]&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the same graph from the &#039;other&#039; user, which actually performed the merge:&lt;br /&gt;
&lt;br /&gt;
[[Image:MergeTrackHG_Other.png|border]]&lt;br /&gt;
&lt;br /&gt;
Here you see the opposite actions, two changesets in the local repo and one in the remote. Only difference is the moment of branching.&lt;br /&gt;
&lt;br /&gt;
= Mercurial clients  =&lt;br /&gt;
&lt;br /&gt;
On Windows[[Image:Logo.Windows.png]], Mac[[Image:Logo.Mac.png]] and&amp;amp;nbsp; Linux [[Image:Logo.Linux.png]], there is a command line client called &#039;hg&#039;. On windows there is a context menu tool called [http://tortoisehg.bitbucket.org TortoiseHG] based on the popular TortoiseSVN and TortoiseCVS tools&lt;br /&gt;
&lt;br /&gt;
= External Links  =&lt;br /&gt;
&lt;br /&gt;
*[http://mercurial.selenic.com Official website]&lt;br /&gt;
*[http://www.hginit.com HG Init]&lt;br /&gt;
*[http://hgbook.red-bean.com/ Mercurial: The Definitive Guide]&lt;br /&gt;
*[http://redline6561.livejournal.com/362393.html Setting Up Mercurial with Apache]&lt;br /&gt;
*[http://kiln.stackexchange.com Kiln / Mercurial Knowledge site]&lt;br /&gt;
*[http://decibel.ni.com/content/groups/mercurial NI Community Mercurial User Group]&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
[[Category:SCC]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Merge_with_TortoiseHG&amp;diff=4644</id>
		<title>Merge with TortoiseHG</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Merge_with_TortoiseHG&amp;diff=4644"/>
		<updated>2012-04-13T12:06:22Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: Redone layout&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://tortoisehg.bitbucket.org TortoiseHG] is a client to [[Mercurial]].&lt;br /&gt;
&lt;br /&gt;
This page will show the steps needed to perfrom a visual merge between two branches of one repository.&lt;br /&gt;
Prerequisites:&lt;br /&gt;
* Working TortoiseHG&lt;br /&gt;
* Configured Merge-Tools&lt;br /&gt;
* LabVIEW Professional&lt;br /&gt;
&lt;br /&gt;
We start with a Repository A that has a file &#039;ToMerge&#039; that contains a string constant with the contents &#039;Repository A&#039;.This file is committed to Mercurial, we clone the repository to Repository B, and edit the string constant to &#039;Repository B&#039; and commit the edit.&lt;br /&gt;
In repository A we change the constant to &#039;Repository A edited&#039;, save and commit the changes.&lt;br /&gt;
In repository B we perform a Pull (since we cloned from repository A we pull per default from repository A).&lt;br /&gt;
&lt;br /&gt;
[[File:HG.MergeBeforeCommit.png]]&lt;br /&gt;
&lt;br /&gt;
This shows the repository B changesets (if you pulled B into A changes 1 and 2 would be switched).&lt;br /&gt;
Now the merging begins:&lt;br /&gt;
* Rightclick changeset 2 and select &#039;Merge with local&#039;&lt;br /&gt;
The following dialog appears:&lt;br /&gt;
&lt;br /&gt;
[[File:HG.PreparetoMerge.png]]&lt;br /&gt;
&lt;br /&gt;
Click Next&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:HG.Merging.png]]&lt;br /&gt;
&lt;br /&gt;
Click on the underlined word &#039;Resolved&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:HG.Resolve.png]]&lt;br /&gt;
&lt;br /&gt;
Make sure you do the following things:&lt;br /&gt;
# Select the file you want to merge&lt;br /&gt;
# Select LVMerge as the MergeTool&lt;br /&gt;
# Hit &#039;Tool Resolve&#039;&lt;br /&gt;
This will launch LVMerge, and will show the three versions of the VI together with an editable version of the VI to save the actual Merge Result.&lt;br /&gt;
[[File:HG.LVMerge.png|584px|393px]]&lt;br /&gt;
&lt;br /&gt;
Select Close, and LabVIEW will ask if you want to save the edits (you can easily chose yours or theirs versions).&lt;br /&gt;
&lt;br /&gt;
TortoiseHG will return and the file will have moved into the &#039;Resolved conflichts&#039; list:&lt;br /&gt;
[[File:HG.Resolved.png]]&lt;br /&gt;
&lt;br /&gt;
You can edit the resulting file, view the diffferences between the different versions if you want.&lt;br /&gt;
&lt;br /&gt;
Use the close button to finalize the resolve conflicts.&lt;br /&gt;
Then you will need to add a comment about the merge, and the merge will be committed to Mercurial.&lt;br /&gt;
Make sure you push the merge to Repository A so that is up to date as well.&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Merge_with_TortoiseHG&amp;diff=4643</id>
		<title>Merge with TortoiseHG</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Merge_with_TortoiseHG&amp;diff=4643"/>
		<updated>2012-04-13T11:59:09Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: First draft&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://tortoisehg.bitbucket.org TortoiseHG] is a client to [[Mercurial]].&lt;br /&gt;
&lt;br /&gt;
This page will show the steps needed to perfrom a visual merge between two branches of one repository.&lt;br /&gt;
Prerequisites:&lt;br /&gt;
* Working TortoiseHG&lt;br /&gt;
* Configured Merge-Tools&lt;br /&gt;
* LabVIEW Professional&lt;br /&gt;
&lt;br /&gt;
We start with a Repository A that has a file &#039;ToMerge&#039; that contains a string constant with the contents &#039;Repository A&#039;.This file is committed to Mercurial, we clone the repository to Repository B, and edit the string constant to &#039;Repository B&#039; and commit the edit.&lt;br /&gt;
In repository A we change the constant to &#039;Repository A edited&#039;, save and commit the changes.&lt;br /&gt;
In repository B we perform a Pull (since we cloned from repository A we pull per default from repository A).&lt;br /&gt;
[[File:HG.MergeBeforeCommit.png]]&lt;br /&gt;
This shows the repository B changesets (if you pulled B into A changes 1 and 2 would be switched).&lt;br /&gt;
Now the merging begins:&lt;br /&gt;
* Rightclick changeset 2 and select &#039;Merge with local&#039;&lt;br /&gt;
The following dialog appears:&lt;br /&gt;
[[File:HG.PreparetoMerge.png]]&lt;br /&gt;
Click Next&amp;gt;&lt;br /&gt;
[[File:HG.Merging.png]]&lt;br /&gt;
Click on the underlined word &#039;Resolved&#039;&lt;br /&gt;
[[File:HG.Resolve.png]]&lt;br /&gt;
Make sure you do the following things:&lt;br /&gt;
# Select the file you want to merge&lt;br /&gt;
# Select LVMerge as the MergeTool&lt;br /&gt;
# Hit &#039;Tool Resolve&#039;&lt;br /&gt;
This will launch LVMerge, and will show the three versions of the VI together with an editable version of the VI to save the actual Merge Result.&lt;br /&gt;
[[File:HG.LVMerge.png]]&lt;br /&gt;
&lt;br /&gt;
Select Close, and LabVIEW will ask if you want to save the edits (you can easily chose yours or theirs versions).&lt;br /&gt;
&lt;br /&gt;
TortoiseHG will return and the file will have moved into the &#039;Resolved conflichts&#039; list:&lt;br /&gt;
[[File:HG.Resolved.png]]&lt;br /&gt;
You can edit the resulting file, view the diffferences between the different versions if you want.&lt;br /&gt;
&lt;br /&gt;
Use the close button to finalize the resolve conflicts.&lt;br /&gt;
Then you will need to add a comment about the merge, and the merge will be committed to Mercurial.&lt;br /&gt;
Make sure you push the merge to Repository A so that is up to date as well.&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:HG.Resolved.png&amp;diff=4642</id>
		<title>File:HG.Resolved.png</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:HG.Resolved.png&amp;diff=4642"/>
		<updated>2012-04-13T11:56:08Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:HG.LVMerge.png&amp;diff=4641</id>
		<title>File:HG.LVMerge.png</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:HG.LVMerge.png&amp;diff=4641"/>
		<updated>2012-04-13T11:51:42Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:HG.Resolve.png&amp;diff=4640</id>
		<title>File:HG.Resolve.png</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:HG.Resolve.png&amp;diff=4640"/>
		<updated>2012-04-13T11:48:51Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:HG.Merging.png&amp;diff=4639</id>
		<title>File:HG.Merging.png</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:HG.Merging.png&amp;diff=4639"/>
		<updated>2012-04-13T11:45:04Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:HG.PreparetoMerge.png&amp;diff=4638</id>
		<title>File:HG.PreparetoMerge.png</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:HG.PreparetoMerge.png&amp;diff=4638"/>
		<updated>2012-04-13T11:43:48Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:HG.MergeBeforeCommit.png&amp;diff=4637</id>
		<title>File:HG.MergeBeforeCommit.png</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:HG.MergeBeforeCommit.png&amp;diff=4637"/>
		<updated>2012-04-13T11:40:16Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Mercurial&amp;diff=4523</id>
		<title>Mercurial</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Mercurial&amp;diff=4523"/>
		<updated>2011-09-02T08:39:46Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: Added source URL&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction  =&lt;br /&gt;
&lt;br /&gt;
{{TOCright}}[[Image:Logo.Mercurial.png|right]]&lt;br /&gt;
&lt;br /&gt;
Mercurial is a [[Source Code Control|Source Code Control]] system by Selenic, it&#039;s key feature is the distributed nature of the system. This means that changes (commits) are stored in a local repository, which can be sent (pushed) to a central repository and which can be downloaded (pulled) by others.&lt;br /&gt;
&lt;br /&gt;
= Getting started =&lt;br /&gt;
&lt;br /&gt;
Joel Spolsky has written a How-To and Why-To page called [http://Www.hginit.com HG init] (hg is the chemical symbol for Mercury).&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
&lt;br /&gt;
Mercurial stores it&#039;s setting in a file called &#039;hgrc&#039; inside a hidden folder &#039;.hg&#039;&lt;br /&gt;
&lt;br /&gt;
== Setting up LVMerge  ==&lt;br /&gt;
&lt;br /&gt;
[http://zone.ni.com/reference/en-XX/help/371361F-01/lvhowto/configmerge_thirdparty/ LVMerge] can be used by Mercurial as a Merge tool. Add the following text to the hgrc file:&lt;br /&gt;
&amp;lt;pre&amp;gt;[merge-tools]&lt;br /&gt;
LVMerge.args = $base $other $local $output&lt;br /&gt;
LVMerge.executable = C:\Program Files\National Instruments\Shared\LabVIEW Merge\LVMerge.exe&lt;br /&gt;
LVMerge.gui = True&lt;br /&gt;
LVMerge.binary = True&lt;br /&gt;
[merge-patterns]&lt;br /&gt;
**.vi = LVMerge&lt;br /&gt;
**.ctl = LVMerge&lt;br /&gt;
**.lvclass = LVMerge&lt;br /&gt;
**.xctl = LVMerge&lt;br /&gt;
**.lvlib =LVMerge&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Setting up LVDiff ==&lt;br /&gt;
&lt;br /&gt;
[http://meta-diff.sourceforge.net/ LVDiff] is a software package that uses the built in diff-functionality from LabVIEW to do command line based LVDiffs.&lt;br /&gt;
&lt;br /&gt;
=== Download ===&lt;br /&gt;
&lt;br /&gt;
First thing is to [http://meta-diff.sourceforge.net/ download] LVDiff, copy the contents of the zip-file to a location where you have writing priviliges (lvdiff uses a local ini file).&amp;lt;br /&amp;gt;&lt;br /&gt;
Alternative: Installer from [http://decibel.ni.com/content/groups/mercurial NI Community Mercurial User Group]&lt;br /&gt;
&lt;br /&gt;
=== Adjust ===&lt;br /&gt;
&lt;br /&gt;
Then you need to open up the lvdiff.vi and implement these changes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Lvdiffcopy.png]]&lt;br /&gt;
&lt;br /&gt;
This snippet (the actual code inside lvdiff copy is shown) tests if the filenames are the same and if that&#039;s the case it calls a VI called lvdiffcopy, which creates a copy of the file2.&lt;br /&gt;
&lt;br /&gt;
=== Configure ===&lt;br /&gt;
&lt;br /&gt;
To be able to select lvdiff as the diff tool you need to add teh follwoing settings to the [merge-tools] section of the hgrc configuration file:&lt;br /&gt;
&amp;lt;pre&amp;gt;lvdiff.diffargs = $child $parent&lt;br /&gt;
lvdiff.executable =C:\Program Files\lvdiff\lvdiff.exe&lt;br /&gt;
lvdiff.gui = True&lt;br /&gt;
lvdiff.binary = True&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are using TortoiseHg 1.0 or later, you can add a [diff-patterns] section to your hgrc file, analogous to the merge-patterns section mentioned above. This will enable automatic selection of the visual diff tool (see [http://tortoisehg.bitbucket.org/manual/1.0/common.html#word-diffs]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[diff-patterns]&lt;br /&gt;
**.vi = lvdiff&lt;br /&gt;
**.ctl = lvdiff&lt;br /&gt;
**.lvclass = lvdiff&lt;br /&gt;
**.xctl = lvdiff&lt;br /&gt;
**.lvlib = lvdiff&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Start LVDiff ===&lt;br /&gt;
&lt;br /&gt;
You can start lvdiff in TorsoiseHg in the &#039;commit&#039; dialog with right-click and &#039;Visual Diff&#039;:&lt;br /&gt;
&lt;br /&gt;
[[Image:StartVisualDiff.png]]&lt;br /&gt;
&lt;br /&gt;
In the following dialog, select &#039;LVDiff&#039; and double click on the VI to diff:&lt;br /&gt;
&lt;br /&gt;
[[Image:HG_LVDIffStart.png]]&lt;br /&gt;
&lt;br /&gt;
After this LVdiff will launch LabVIEW and both VI (current and committed) will be compared.&lt;br /&gt;
&lt;br /&gt;
== Ignoring files ==&lt;br /&gt;
&lt;br /&gt;
Mercurial stores general ignore patterns in a file called &#039;.hgignore&#039; in the repository root, so you can add the patterns to the repository. I use the following patterns&lt;br /&gt;
&amp;lt;pre&amp;gt;.ogp$&lt;br /&gt;
/built*$&lt;br /&gt;
/build*$&lt;br /&gt;
.lvlps$&lt;br /&gt;
.aliases$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Globally ignoring files ===&lt;br /&gt;
If you&#039;re using TortoiseHG you can use a global ignore file, by adding the following in your %profile%\mercurial.ini file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ui]&lt;br /&gt;
...&lt;br /&gt;
ignore = %userprofile%\.hgignore&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Next to the mercurial.ini file you create the reference .hgignore file with the contents of your choice ([http://programmer.brettveenstra.com/2010/02/27/mercurial-on-windows-tip-global-ignore-file/ source]).&lt;br /&gt;
&lt;br /&gt;
= Performing a merge  =&lt;br /&gt;
&lt;br /&gt;
The following conditions needs to be true to be able to perform a merge:&lt;br /&gt;
&lt;br /&gt;
*All local changes needs to be commited (hg st should only show&amp;amp;nbsp;?)&lt;br /&gt;
*A changeset is pushed by another user to the central repository&lt;br /&gt;
*The other changeset is not yet pulled&lt;br /&gt;
&lt;br /&gt;
The merge will try to detect the differences and call LVMerge if necesarry, LVmerge will show four VIs:&lt;br /&gt;
&lt;br /&gt;
*Base, the base VI which was present in the changeset that is the same on both repositories&lt;br /&gt;
*Mine, local commited VI&lt;br /&gt;
*Their, remote VI with edits from the other user&lt;br /&gt;
&lt;br /&gt;
These are not editable.&lt;br /&gt;
&lt;br /&gt;
*Resulting, this is the VI that will be stored to disc after the merge finalizes. This file can be edited by the user&lt;br /&gt;
&lt;br /&gt;
For each diff LVMerge will give options to use either, &#039;base&#039;, &#039;mine&#039; or &#039;their&#039; code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the merge the code should be committed and pushed.&lt;br /&gt;
&lt;br /&gt;
Most Mercurial Clients will show a graph with the following layout:&lt;br /&gt;
&lt;br /&gt;
[[Image:MergeTrackHG.png|border]]&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the same graph from the &#039;other&#039; user, which actually performed the merge:&lt;br /&gt;
&lt;br /&gt;
[[Image:MergeTrackHG_Other.png|border]]&lt;br /&gt;
&lt;br /&gt;
Here you see the opposite actions, two changesets in the local repo and one in the remote. Only difference is the moment of branching.&lt;br /&gt;
&lt;br /&gt;
= Mercurial clients  =&lt;br /&gt;
&lt;br /&gt;
On Windows[[Image:Logo.Windows.png]], Mac[[Image:Logo.Mac.png]] and&amp;amp;nbsp; Linux [[Image:Logo.Linux.png]], there is a command line client called &#039;hg&#039;. On windows there is a context menu tool called [http://tortoisehg.bitbucket.org TortoiseHG] based on the popular TortoiseSVN and TortoiseCVS tools&lt;br /&gt;
&lt;br /&gt;
= External Links  =&lt;br /&gt;
&lt;br /&gt;
*[http://mercurial.selenic.com Official website]&lt;br /&gt;
*[http://www.hginit.com HG Init]&lt;br /&gt;
*[http://hgbook.red-bean.com/ Mercurial: The Definitive Guide]&lt;br /&gt;
*[http://redline6561.livejournal.com/362393.html Setting Up Mercurial with Apache]&lt;br /&gt;
*[http://kiln.stackexchange.com Kiln / Mercurial Knowledge site]&lt;br /&gt;
*[http://decibel.ni.com/content/groups/mercurial NI Community Mercurial User Group]&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
[[Category:SCC]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Mercurial&amp;diff=4522</id>
		<title>Mercurial</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Mercurial&amp;diff=4522"/>
		<updated>2011-09-02T08:37:56Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: Global ignore info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction  =&lt;br /&gt;
&lt;br /&gt;
{{TOCright}}[[Image:Logo.Mercurial.png|right]]&lt;br /&gt;
&lt;br /&gt;
Mercurial is a [[Source Code Control|Source Code Control]] system by Selenic, it&#039;s key feature is the distributed nature of the system. This means that changes (commits) are stored in a local repository, which can be sent (pushed) to a central repository and which can be downloaded (pulled) by others.&lt;br /&gt;
&lt;br /&gt;
= Getting started =&lt;br /&gt;
&lt;br /&gt;
Joel Spolsky has written a How-To and Why-To page called [http://Www.hginit.com HG init] (hg is the chemical symbol for Mercury).&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
&lt;br /&gt;
Mercurial stores it&#039;s setting in a file called &#039;hgrc&#039; inside a hidden folder &#039;.hg&#039;&lt;br /&gt;
&lt;br /&gt;
== Setting up LVMerge  ==&lt;br /&gt;
&lt;br /&gt;
[http://zone.ni.com/reference/en-XX/help/371361F-01/lvhowto/configmerge_thirdparty/ LVMerge] can be used by Mercurial as a Merge tool. Add the following text to the hgrc file:&lt;br /&gt;
&amp;lt;pre&amp;gt;[merge-tools]&lt;br /&gt;
LVMerge.args = $base $other $local $output&lt;br /&gt;
LVMerge.executable = C:\Program Files\National Instruments\Shared\LabVIEW Merge\LVMerge.exe&lt;br /&gt;
LVMerge.gui = True&lt;br /&gt;
LVMerge.binary = True&lt;br /&gt;
[merge-patterns]&lt;br /&gt;
**.vi = LVMerge&lt;br /&gt;
**.ctl = LVMerge&lt;br /&gt;
**.lvclass = LVMerge&lt;br /&gt;
**.xctl = LVMerge&lt;br /&gt;
**.lvlib =LVMerge&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Setting up LVDiff ==&lt;br /&gt;
&lt;br /&gt;
[http://meta-diff.sourceforge.net/ LVDiff] is a software package that uses the built in diff-functionality from LabVIEW to do command line based LVDiffs.&lt;br /&gt;
&lt;br /&gt;
=== Download ===&lt;br /&gt;
&lt;br /&gt;
First thing is to [http://meta-diff.sourceforge.net/ download] LVDiff, copy the contents of the zip-file to a location where you have writing priviliges (lvdiff uses a local ini file).&amp;lt;br /&amp;gt;&lt;br /&gt;
Alternative: Installer from [http://decibel.ni.com/content/groups/mercurial NI Community Mercurial User Group]&lt;br /&gt;
&lt;br /&gt;
=== Adjust ===&lt;br /&gt;
&lt;br /&gt;
Then you need to open up the lvdiff.vi and implement these changes.&lt;br /&gt;
&lt;br /&gt;
[[Image:Lvdiffcopy.png]]&lt;br /&gt;
&lt;br /&gt;
This snippet (the actual code inside lvdiff copy is shown) tests if the filenames are the same and if that&#039;s the case it calls a VI called lvdiffcopy, which creates a copy of the file2.&lt;br /&gt;
&lt;br /&gt;
=== Configure ===&lt;br /&gt;
&lt;br /&gt;
To be able to select lvdiff as the diff tool you need to add teh follwoing settings to the [merge-tools] section of the hgrc configuration file:&lt;br /&gt;
&amp;lt;pre&amp;gt;lvdiff.diffargs = $child $parent&lt;br /&gt;
lvdiff.executable =C:\Program Files\lvdiff\lvdiff.exe&lt;br /&gt;
lvdiff.gui = True&lt;br /&gt;
lvdiff.binary = True&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are using TortoiseHg 1.0 or later, you can add a [diff-patterns] section to your hgrc file, analogous to the merge-patterns section mentioned above. This will enable automatic selection of the visual diff tool (see [http://tortoisehg.bitbucket.org/manual/1.0/common.html#word-diffs]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[diff-patterns]&lt;br /&gt;
**.vi = lvdiff&lt;br /&gt;
**.ctl = lvdiff&lt;br /&gt;
**.lvclass = lvdiff&lt;br /&gt;
**.xctl = lvdiff&lt;br /&gt;
**.lvlib = lvdiff&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Start LVDiff ===&lt;br /&gt;
&lt;br /&gt;
You can start lvdiff in TorsoiseHg in the &#039;commit&#039; dialog with right-click and &#039;Visual Diff&#039;:&lt;br /&gt;
&lt;br /&gt;
[[Image:StartVisualDiff.png]]&lt;br /&gt;
&lt;br /&gt;
In the following dialog, select &#039;LVDiff&#039; and double click on the VI to diff:&lt;br /&gt;
&lt;br /&gt;
[[Image:HG_LVDIffStart.png]]&lt;br /&gt;
&lt;br /&gt;
After this LVdiff will launch LabVIEW and both VI (current and committed) will be compared.&lt;br /&gt;
&lt;br /&gt;
== Ignoring files ==&lt;br /&gt;
&lt;br /&gt;
Mercurial stores general ignore patterns in a file called &#039;.hgignore&#039; in the repository root, so you can add the patterns to the repository. I use the following patterns&lt;br /&gt;
&amp;lt;pre&amp;gt;.ogp$&lt;br /&gt;
/built*$&lt;br /&gt;
/build*$&lt;br /&gt;
.lvlps$&lt;br /&gt;
.aliases$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Globally ignoring files ===&lt;br /&gt;
If you&#039;re using TortoiseHG you can use a global ignore file, by adding the following in your %profile%\mercurial.ini file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ui]&lt;br /&gt;
...&lt;br /&gt;
ignore = %userprofile%\.hgignore&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Next to the mercurial.ini file you create the reference .hgignore file with the contents of your choice.&lt;br /&gt;
&lt;br /&gt;
= Performing a merge  =&lt;br /&gt;
&lt;br /&gt;
The following conditions needs to be true to be able to perform a merge:&lt;br /&gt;
&lt;br /&gt;
*All local changes needs to be commited (hg st should only show&amp;amp;nbsp;?)&lt;br /&gt;
*A changeset is pushed by another user to the central repository&lt;br /&gt;
*The other changeset is not yet pulled&lt;br /&gt;
&lt;br /&gt;
The merge will try to detect the differences and call LVMerge if necesarry, LVmerge will show four VIs:&lt;br /&gt;
&lt;br /&gt;
*Base, the base VI which was present in the changeset that is the same on both repositories&lt;br /&gt;
*Mine, local commited VI&lt;br /&gt;
*Their, remote VI with edits from the other user&lt;br /&gt;
&lt;br /&gt;
These are not editable.&lt;br /&gt;
&lt;br /&gt;
*Resulting, this is the VI that will be stored to disc after the merge finalizes. This file can be edited by the user&lt;br /&gt;
&lt;br /&gt;
For each diff LVMerge will give options to use either, &#039;base&#039;, &#039;mine&#039; or &#039;their&#039; code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the merge the code should be committed and pushed.&lt;br /&gt;
&lt;br /&gt;
Most Mercurial Clients will show a graph with the following layout:&lt;br /&gt;
&lt;br /&gt;
[[Image:MergeTrackHG.png|border]]&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the same graph from the &#039;other&#039; user, which actually performed the merge:&lt;br /&gt;
&lt;br /&gt;
[[Image:MergeTrackHG_Other.png|border]]&lt;br /&gt;
&lt;br /&gt;
Here you see the opposite actions, two changesets in the local repo and one in the remote. Only difference is the moment of branching.&lt;br /&gt;
&lt;br /&gt;
= Mercurial clients  =&lt;br /&gt;
&lt;br /&gt;
On Windows[[Image:Logo.Windows.png]], Mac[[Image:Logo.Mac.png]] and&amp;amp;nbsp; Linux [[Image:Logo.Linux.png]], there is a command line client called &#039;hg&#039;. On windows there is a context menu tool called [http://tortoisehg.bitbucket.org TortoiseHG] based on the popular TortoiseSVN and TortoiseCVS tools&lt;br /&gt;
&lt;br /&gt;
= External Links  =&lt;br /&gt;
&lt;br /&gt;
*[http://mercurial.selenic.com Official website]&lt;br /&gt;
*[http://www.hginit.com HG Init]&lt;br /&gt;
*[http://hgbook.red-bean.com/ Mercurial: The Definitive Guide]&lt;br /&gt;
*[http://redline6561.livejournal.com/362393.html Setting Up Mercurial with Apache]&lt;br /&gt;
*[http://kiln.stackexchange.com Kiln / Mercurial Knowledge site]&lt;br /&gt;
*[http://decibel.ni.com/content/groups/mercurial NI Community Mercurial User Group]&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
[[Category:SCC]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Boolean_text&amp;diff=4438</id>
		<title>Boolean text</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Boolean_text&amp;diff=4438"/>
		<updated>2011-03-28T14:09:06Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: Created page with &amp;quot;A boolean indicator has three different textual displays:  * label * caption * boolean text  File:BooleanText.png  The &amp;#039;&amp;#039;label&amp;#039;&amp;#039; is static for the whole execution time, t...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A [[boolean]] indicator has three different textual displays:&lt;br /&gt;
&lt;br /&gt;
* label&lt;br /&gt;
* caption&lt;br /&gt;
* boolean text&lt;br /&gt;
&lt;br /&gt;
[[File:BooleanText.png]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;label&#039;&#039; is static for the whole execution time, the &#039;&#039;caption&#039;&#039; is changeable through property nodes to have some feedback for the user.&lt;br /&gt;
&lt;br /&gt;
The boolean text is a set of multiple strings (up to 4) that can represent the state of the boolean control, another functional feature is that you can click on the boolean text to toggle the value of the boolean.&lt;br /&gt;
&lt;br /&gt;
So if you have a checkmark and want to enable your user to easily toggle the checkmark, hide the label, caption and show the boolean text.&lt;br /&gt;
&lt;br /&gt;
==Editing==&lt;br /&gt;
The boolean text can have multiple values, you can programmatically set it with the string[] property.&lt;br /&gt;
If you provide one (1) string you set a generic value, with two (2), yet set the &#039;&#039;False&#039;&#039; and &#039;&#039;True&#039;&#039; values.&lt;br /&gt;
If you provide three (4) values you set a &#039;&#039;False&#039;&#039;, &#039;&#039;True&#039;&#039;, &#039;&#039;False to True&#039;&#039; and &#039;&#039;True to False&#039;&#039; values.&lt;br /&gt;
&lt;br /&gt;
[[Category:User interface]]&lt;br /&gt;
[[Category:tips and trick]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:BooleanText.png&amp;diff=4437</id>
		<title>File:BooleanText.png</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:BooleanText.png&amp;diff=4437"/>
		<updated>2011-03-28T14:08:01Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: image showing the boolean text&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;image showing the boolean text&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=List_of_LabVIEW-related_Twitter_accounts&amp;diff=4300</id>
		<title>List of LabVIEW-related Twitter accounts</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=List_of_LabVIEW-related_Twitter_accounts&amp;diff=4300"/>
		<updated>2011-01-27T17:41:57Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}}&amp;amp;nbsp;Twitter is a free social networking and micro-blogging service, that allows its users to send and read other users&#039; updates (otherwise known as tweets), which are text-based posts of up to 140 characters in length. &lt;br /&gt;
&lt;br /&gt;
== LabVIEW Twitter users  ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of LabVIEW Community folks, NI employees and engineering editors on Twitter. Feel free to add yourself to this list or subscribe to the messages of the people below. &lt;br /&gt;
&lt;br /&gt;
=== NI Employees  ===&lt;br /&gt;
&lt;br /&gt;
*Brian Powell, R&amp;amp;amp;D (http://www.twitter.com/brianhpowell) &lt;br /&gt;
*Charlie Brown, Web Events (http://www.twitter.com/carloscafe) &lt;br /&gt;
*Christina Rogers, LabVIEW R&amp;amp;amp;D and Eyes on VIs blogger (http://twitter.com/eyesonvis) &lt;br /&gt;
*Christian Loew, Embedded and Industrial Control Systems Engineering Manager (http://twitter.com/cloew) &lt;br /&gt;
*Christie Campbell, PAC MarCom Manager (http://twitter.com/ccampbel) &lt;br /&gt;
*David Corney, LabVIEW Certification, (http://www.twitter.com/austinman) &lt;br /&gt;
*Deirdre Walsh, Community Manager (http://www.twitter.com/deirdrewalsh) &lt;br /&gt;
*Emilie Kopp, Case Studies Manager (http://www.twitter.com/iemilie) &lt;br /&gt;
*Ian Bell, UK LabVIEW Manager (http://www.twitter.com/iangb) &lt;br /&gt;
*Jennifer Howard-Brown, Embedded MarCom Manager (http://www.twitter.com/jennhb) &lt;br /&gt;
*Kamran Shah, LabVIEW R&amp;amp;amp;D (http://www.twitter.com/kamrans) &lt;br /&gt;
*Katie Kocher, Web Content Producer - Embedded and Industrial Control (http://www.twitter.com/kekocher) &lt;br /&gt;
*Kendall Slagle, Communications (http:www.twitter.com/kendallslagle) &lt;br /&gt;
*Leanne James, PR (http://www.twitter.com/roccoj) &lt;br /&gt;
*Lourdes Salazar, PR (http://www.twitter.com/lriossalazar) &lt;br /&gt;
*Noel Adorno, LabVIEW R&amp;amp;amp;D (http://www.twitter.com/noeladorno) &lt;br /&gt;
*Peter Rogers, LabVIEW R&amp;amp;amp;D (http://www.twitter.com/hujhax) &lt;br /&gt;
*Santiago Delgado, TestStand (http://www.twitter.com/santiagodc) &lt;br /&gt;
*Tiffany Morrison, Public Relations (http://www.twitter.com/tiffanymorrison) &lt;br /&gt;
*Todd Sierer, LabVIEW Community Manager (http://www.twitter.com/toddsierer) &lt;br /&gt;
*Wendy Logan, CVI Product Manager (http://www.twitter.com/wendyk) &lt;br /&gt;
*Norm Kirchner (http://www.twitter.com/NJKirchner) &lt;br /&gt;
*Darren Nattinger, LabVIEW R&amp;amp;amp;D - Quick Drop legend (http://www.twitter.com/dnatt)&lt;br /&gt;
&lt;br /&gt;
=== Community Members  ===&lt;br /&gt;
&lt;br /&gt;
*Chris Relf, VI Engineering and LabVIEW Champion (http://twitter.com/crelfpro)&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
*Jim Kring, JKI, LabVIEW Champion and Thinking in G blogger (http://www.twitter.com/jimkring)&lt;br /&gt;
&lt;br /&gt;
*Jonas Lamis, Research and Consultant for http://scivestor.com/ (http://www.twitter.com/jonaslamis)&lt;br /&gt;
&lt;br /&gt;
*Justin Goeres, JKI (http://twitter.com/JustinGoeres)&lt;br /&gt;
&lt;br /&gt;
*Mark Balla, Senior Test Engineer at TecNOVA (http://twitter.com/mballa)&lt;br /&gt;
&lt;br /&gt;
*Michael Aivaliotis, JKI and LabVIEW Champion (http://www.twitter.com/MikeAivaliotis)&lt;br /&gt;
&lt;br /&gt;
*Nancy Hollenback, The G Team (http://twitter.com/njhollenback)&lt;br /&gt;
&lt;br /&gt;
*Ton Plomp, OpenG developer, Lloyd&#039;s Register Rail (http://www.twitter.com/tcplomp)&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
*Omar Mussa, JKI (http://www.twitter.com/omarmussa)&lt;br /&gt;
&lt;br /&gt;
=== Editors  ===&lt;br /&gt;
&lt;br /&gt;
*Gary Mintchell, Automation World (http://www.twitter.com/garymintchell) &lt;br /&gt;
*Walt Boyes, Control Global (http://www.twitter.com/waltboyes)&lt;br /&gt;
&lt;br /&gt;
=== NI Products &amp;amp;amp; Events  ===&lt;br /&gt;
&lt;br /&gt;
*NIWeek (http://www.twitter.com/niweek) &lt;br /&gt;
*PXI (http://www.twitter.com/pxi)&lt;br /&gt;
&lt;br /&gt;
=== LabVIEW Ecosystem  ===&lt;br /&gt;
&lt;br /&gt;
*LAVA Community Website (LabVIEW Advanced Virtual Architects) (http://twitter.com/lavag) &lt;br /&gt;
*VI Shots Blog (http://twitter.com/vishots) &lt;br /&gt;
*JKI Software (http://twitter.com/jkisoftware) &lt;br /&gt;
*OpenG.org ([http://twitter.com/openg_org http://twitter.com/openg_org])&lt;br /&gt;
&lt;br /&gt;
== LabVIEW Twitter interface VIs&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
[http://twitter.com/cloew Christian Loew] has posted [http://lavag.org/index.php?showtopic=9341&amp;amp;view=findpost&amp;amp;p=56029 a simple VI] to post tweets.In the same thread a [[VI]] by [http://www.twitter.com/tonplomp Ton Plomp] on getting the tweets friends timeline for a user.&amp;lt;br&amp;gt;&amp;lt;!-- Tidy found serious XHTML errors --&amp;gt;&amp;lt;!-- Tidy found serious XHTML errors --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=List_of_LabVIEW-related_Twitter_accounts&amp;diff=4299</id>
		<title>List of LabVIEW-related Twitter accounts</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=List_of_LabVIEW-related_Twitter_accounts&amp;diff=4299"/>
		<updated>2011-01-27T17:37:58Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}}&amp;amp;nbsp;Twitter is a free social networking and micro-blogging service, that allows its users to send and read other users&#039; updates (otherwise known as tweets), which are text-based posts of up to 140 characters in length. &lt;br /&gt;
&lt;br /&gt;
== LabVIEW Twitter users  ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of LabVIEW Community folks, NI employees and engineering editors on Twitter. Feel free to add yourself to this list or subscribe to the messages of the people below. &lt;br /&gt;
&lt;br /&gt;
=== NI Employees  ===&lt;br /&gt;
&lt;br /&gt;
*Brian Powell, R&amp;amp;amp;D (http://www.twitter.com/brianhpowell) &lt;br /&gt;
*Charlie Brown, Web Events (http://www.twitter.com/carloscafe) &lt;br /&gt;
*Christina Rogers, LabVIEW R&amp;amp;amp;D and Eyes on VIs blogger (http://twitter.com/eyesonvis) &lt;br /&gt;
*Christian Loew, Embedded and Industrial Control Systems Engineering Manager (http://twitter.com/cloew) &lt;br /&gt;
*Christie Campbell, PAC MarCom Manager (http://twitter.com/ccampbel) &lt;br /&gt;
*David Corney, LabVIEW Certification, (http://www.twitter.com/austinman) &lt;br /&gt;
*Deirdre Walsh, Community Manager (http://www.twitter.com/deirdrewalsh) &lt;br /&gt;
*Emilie Kopp, Case Studies Manager (http://www.twitter.com/iemilie) &lt;br /&gt;
*Ian Bell, UK LabVIEW Manager (http://www.twitter.com/iangb) &lt;br /&gt;
*Jennifer Howard-Brown, Embedded MarCom Manager (http://www.twitter.com/jennhb) &lt;br /&gt;
*Kamran Shah, LabVIEW R&amp;amp;amp;D (http://www.twitter.com/kamrans) &lt;br /&gt;
*Katie Kocher, Web Content Producer - Embedded and Industrial Control (http://www.twitter.com/kekocher) &lt;br /&gt;
*Kendall Slagle, Communications (http:www.twitter.com/kendallslagle) &lt;br /&gt;
*Leanne James, PR (http://www.twitter.com/roccoj) &lt;br /&gt;
*Lourdes Salazar, PR (http://www.twitter.com/lriossalazar) &lt;br /&gt;
*Noel Adorno, LabVIEW R&amp;amp;amp;D (http://www.twitter.com/noeladorno) &lt;br /&gt;
*Peter Rogers, LabVIEW R&amp;amp;amp;D (http://www.twitter.com/hujhax) &lt;br /&gt;
*Santiago Delgado, TestStand (http://www.twitter.com/santiagodc) &lt;br /&gt;
*Tiffany Morrison, Public Relations (http://www.twitter.com/tiffanymorrison) &lt;br /&gt;
*Todd Sierer, LabVIEW Community Manager (http://www.twitter.com/toddsierer) &lt;br /&gt;
*Wendy Logan, CVI Product Manager (http://www.twitter.com/wendyk) &lt;br /&gt;
*Norm Kirchner (http://www.twitter.com/NJKirchner) &lt;br /&gt;
*Darren Nattinger, LabVIEW R&amp;amp;amp;D - Quick Drop legend (http://www.twitter.com/dnatt)&lt;br /&gt;
&lt;br /&gt;
=== Community Members  ===&lt;br /&gt;
&lt;br /&gt;
*Chris Relf, VI Engineering and LabVIEW Champion (http://twitter.com/crelf)&lt;br /&gt;
 &lt;br /&gt;
*Jim Kring, JKI, LabVIEW Champion and Thinking in G blogger (http://www.twitter.com/jimkring)&lt;br /&gt;
 &lt;br /&gt;
*Jonas Lamis, Research and Consultant for http://scivestor.com/ (http://www.twitter.com/jonaslamis)&lt;br /&gt;
 &lt;br /&gt;
*Justin Goeres, JKI (http://twitter.com/JustinGoeres)&lt;br /&gt;
 &lt;br /&gt;
*Mark Balla, Senior Test Engineer at TecNOVA (http://twitter.com/mballa)&lt;br /&gt;
 &lt;br /&gt;
*Michael Aivaliotis, JKI and LabVIEW Champion (http://www.twitter.com/MikeAivaliotis)&lt;br /&gt;
 &lt;br /&gt;
*Nancy Hollenback, The G Team (http://twitter.com/njhollenback)&lt;br /&gt;
 &lt;br /&gt;
*Ton Plomp, OpenG developer, Lloyd&#039;s Register Rail (http://www.twitter.com/tcplomp)&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
*Omar Mussa, JKI (http://www.twitter.com/omarmussa)&lt;br /&gt;
&lt;br /&gt;
=== Editors  ===&lt;br /&gt;
&lt;br /&gt;
*Gary Mintchell, Automation World (http://www.twitter.com/garymintchell) &lt;br /&gt;
*Walt Boyes, Control Global (http://www.twitter.com/waltboyes)&lt;br /&gt;
&lt;br /&gt;
=== NI Products &amp;amp;amp; Events  ===&lt;br /&gt;
&lt;br /&gt;
*NIWeek (http://www.twitter.com/niweek) &lt;br /&gt;
*PXI (http://www.twitter.com/pxi)&lt;br /&gt;
&lt;br /&gt;
=== LabVIEW Ecosystem  ===&lt;br /&gt;
&lt;br /&gt;
*LAVA Community Website (LabVIEW Advanced Virtual Architects) (http://twitter.com/lavag) &lt;br /&gt;
*VI Shots Blog (http://twitter.com/vishots) &lt;br /&gt;
*JKI Software (http://twitter.com/jkisoftware) &lt;br /&gt;
*OpenG.org ([http://twitter.com/openg_org http://twitter.com/openg_org])&lt;br /&gt;
&lt;br /&gt;
== LabVIEW Twitter interface VIs&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
[http://twitter.com/cloew Christian Loew] has posted [http://lavag.org/index.php?showtopic=9341&amp;amp;view=findpost&amp;amp;p=56029 a simple VI] to post tweets.In the same thread a [[VI]] by [http://www.twitter.com/tonplomp Ton Plomp] on getting the tweets friends timeline for a user.&amp;lt;br&amp;gt;&amp;lt;!-- Tidy found serious XHTML errors --&amp;gt;&amp;lt;!-- Tidy found serious XHTML errors --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4258</id>
		<title>Code Capture Tool</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4258"/>
		<updated>2010-12-02T21:52:22Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI FP Halfsize.png|left]]The Code Capture Tool (or CCT) is a [[LabVIEW]] development tool targeted at LabVIEW users to capture images of their code and make it easier to share those images in online forums.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Main Features&amp;lt;br&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
*Captures of Front Panel &lt;br /&gt;
*Captures of Block Diagram &lt;br /&gt;
*Comment an Annotate your caputre &lt;br /&gt;
*Creation of LabVIEW&amp;amp;nbsp;Snippets in any LabVIEW version &lt;br /&gt;
*Save the snippet as anoter (older) version &lt;br /&gt;
*Upload the capture to [http://www.imgur.com Imgur.com] and copy the URL to he clipboard&lt;br /&gt;
&lt;br /&gt;
=== History  ===&lt;br /&gt;
&lt;br /&gt;
The CCT is based on an idea and earlier versions originally released by [http://forums.ni.com/ni/profile?user.id=34024 Chilly Charly] on the [[NI Forums]] as [http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;thread.id=1020 starware].&amp;lt;br&amp;gt; Later, it evolved to a multiple OS and LabVIEW versions tool for creating code-shots and documentation shots. &amp;lt;br&amp;gt; A collaboration between [http://forums.lavag.org/Yair-m1431.html Yair Neeman] and [[User:Tcplomp|Ton Plomp]] resulted in the 1.0 version of the CCT that is currently available through the [[LAVA CR]] at [http://forums.lavag.org/downloads-file121.html this site]. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 added the possibility to add text and drawings to the captured image, while version 2.1 added an altered GUI, a border around the snippet and better key-handling. Version 2.1.2 added the option upload the image to Imgur.com and save the snippet in an older version of LabVIEW.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Instruction  ==&lt;br /&gt;
&lt;br /&gt;
A series of videos is available at [http://www.screencast.com/t/ZmQ1YjIxNj Screencast]. &lt;br /&gt;
&lt;br /&gt;
A short how to is in the [http://www.screencast.com/t/2aWPdibJ9Sk here available] &lt;br /&gt;
&lt;br /&gt;
An extensive discussion and demo of the CCT&amp;amp;nbsp;is [http://www.screencast.com/t/Yhb9IAOc here].&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Version 2.0 introduces a new option to create annotations with text and graphics and the possibility to create [[Snippet|snippets]]. There is a demo-video available at [http://www.screencast.com/t/YTY4MjllZmIt Screencast]. &lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not functional yet!&lt;br /&gt;
[[File:LAVA Download-button.png|Code Repository Download]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:LAVA_Download-button.png&lt;br /&gt;
wikipage=http://lavag.org/index.php?app=downloads&amp;amp;showfile=63&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Click [http://lavag.org/index.php?app=downloads&amp;amp;showfile=63 here] to download the tool. &lt;br /&gt;
&lt;br /&gt;
To check the source you can explore your &#039;&#039;&amp;amp;lt;user.lib&amp;amp;gt;\_Code Capture Too&#039;&#039;l folder or download it from [http://lv-cct-tool.svn.sourceforge.net/viewvc/lv-cct-tool Sourceforge.net].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Interface  =&lt;br /&gt;
&lt;br /&gt;
The CCT offers two interfaces to make and distribute images of LabVIEW code - a [[Code Capture Tool#GUI|user interface]] and an [[Code Capture Tool#API|API]]. &lt;br /&gt;
&lt;br /&gt;
== GUI  ==&lt;br /&gt;
&lt;br /&gt;
The user interface of the CCT allows the user to select which parts of a [[Front Panel]] or [[Block Diagram]] should be captured. The resulting image will be stored on disc and optionally the image or the path can be copied to the OS clipboard. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|frame|center|Code Capture Tool user interface]] &lt;br /&gt;
&lt;br /&gt;
=== Front panel settings  ===&lt;br /&gt;
&lt;br /&gt;
The Front Panel listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT FP.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current panel view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the front panel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Block diagram settings  ===&lt;br /&gt;
&lt;br /&gt;
The Block Diagram listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT BD.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current block diagram view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the block diagram&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Snippet Creation&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
The creation of a [[Snippet|snippet]] can only be done when the &#039;&#039;&#039;Block Diagram&#039;&#039;&#039; is set to &#039;&#039;&#039;selected&#039;&#039;&#039;.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:CCTSnippetButtons.png]] &lt;br /&gt;
&lt;br /&gt;
The header-text of the snippet is dynamically and has the following options which are accessible with the config button:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Token&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Meaning&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $VERSION$&amp;lt;br&amp;gt; &lt;br /&gt;
| Inserts the saved [[Labview|LabVIEW]] version&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $NAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the captured VI, retrieved from the VI.VI&amp;amp;nbsp;Name property&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $TITLE$&amp;lt;br&amp;gt; &lt;br /&gt;
| Title of the front panel of the captured VI&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGENAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of image on disk without the PNG extension&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGE$&amp;lt;br&amp;gt;&lt;br /&gt;
| Name of image on disk without the PNG extension (a duplicate of $IMAGENAME$&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $DATE:xxx$&amp;lt;br&amp;gt; &lt;br /&gt;
| Date/Time formatter, &amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt; must be replaced by a valid [http://zone.ni.com/reference/en-XX/help/371361F-01/glang/codes_for_time_format_str/ timestring formatter]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Per default the header string is &amp;lt;tt&amp;gt;LV: $VERSION$ $DATE:%c$&amp;lt;/tt&amp;gt;,&amp;amp;nbsp;%c inserts the localized date.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clipboard settings  ===&lt;br /&gt;
&lt;br /&gt;
The clipboard listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Copied item &lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT ClipBoard.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Path &lt;br /&gt;
| Path of the captured image &lt;br /&gt;
| Not on all platforms&lt;br /&gt;
|-&lt;br /&gt;
| Image &lt;br /&gt;
| The captured image &lt;br /&gt;
| Only on Windows&lt;br /&gt;
|-&lt;br /&gt;
| URL &lt;br /&gt;
| The URL of the Imgur image &lt;br /&gt;
| Selecting this will upload the image to Imgur.com&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Layout settings  ===&lt;br /&gt;
&lt;br /&gt;
The Layout picture ring supplies the following layout options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Menu Ring &lt;br /&gt;
! Item &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT Layout.png]] &lt;br /&gt;
| [[Image:CCT Layout1.png]] &lt;br /&gt;
| Front panel in top, block diagram below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout2.png]] &lt;br /&gt;
| Block diagram in top, front panel below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout3.png]] &lt;br /&gt;
| Front panel in left, block diagram on the right&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout4.png]] &lt;br /&gt;
| Block diagram in left, front panel on the right&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File settings  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT FileSettings.png]] &lt;br /&gt;
&lt;br /&gt;
The file settings consists of two controls, the string control to name the file (a .png extension is added to the name automatically) and a browse button to set the folder where the file should be stored. To detect which folder is currently used hover over one of the two controls and the tip-strip will show the folder. &lt;br /&gt;
&lt;br /&gt;
==== Resetting the folder  ====&lt;br /&gt;
&lt;br /&gt;
By default the storage folder is the LabVIEW temp folder (which by default is the same as the OS temp folder), and can be changed with the browse for folder button. To revert to the temp folder use this button [[Image:CCT Reset.png]]. &lt;br /&gt;
&lt;br /&gt;
=== Zoom function  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Zoom.png]] &lt;br /&gt;
&lt;br /&gt;
The zoom slider allows the user to zoom in and out on the captured image and inspect it in detail. This only affects the preview image and will not change the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Annotation/Sketch toolbars  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTAnnotationOptions.png]] &lt;br /&gt;
&lt;br /&gt;
The annotation/sketch toolbars are used to add annotations and sketches/drawings to the capture.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;10&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; width=&amp;quot;407&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:AnnotationOptionsRotated.png|left|18x98px]] &lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Rectangle:&#039;&#039;&#039; Use shift to draw a square&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Oval:&#039;&#039;&#039; Use shift to draw a circle&amp;lt;br&amp;gt;&#039;&#039;&#039;Line:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arrow:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &#039;&#039;&#039;Free: &#039;&#039;&#039; Use this to draw irregular shapes&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing Styles  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTStylesDetail.png]] The style of the line can be one of 5 styles:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Continious &lt;br /&gt;
*Dash &lt;br /&gt;
*Dot &lt;br /&gt;
*Dash-Dot &lt;br /&gt;
*Dash-Dot-Dot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line width  ====&lt;br /&gt;
&lt;br /&gt;
The linewidth of the sketch/drawing line can be alterd as well [[Image:CCT Linewidth.png]] &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line/Text color  ====&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to alter the color of the annotation (sketch or text), when editing text changing the line coler takes effect immediatly. &lt;br /&gt;
&lt;br /&gt;
==== Text size  ====&lt;br /&gt;
&lt;br /&gt;
The font of the annotation text cannot be altered and is fixed on &amp;lt;tt&amp;gt;Arial &amp;lt;/tt&amp;gt;, the size however can be altered easily. &lt;br /&gt;
&lt;br /&gt;
==== Editing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;50%&amp;quot; cellspacing=&amp;quot;2&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Text.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Starts editing text&amp;lt;br&amp;gt;Use shift-enter to add anew-line&amp;lt;br&amp;gt;Use arrow keys to move the positioning of the text around&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Pan.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to move the preview window around, this is the default tool of the Annotation Sketch toolbar. It does not change the captured image.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Undo.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to undo the last edit on the annotation/sketch (4 steps possible), use &amp;amp;lt;ctrl-z&amp;amp;gt; on [[Image:Logo.Windows.png]] and&amp;amp;nbsp;[[Image:Logo.Linux.png]] and &amp;amp;lt;cmd-z&amp;amp;gt; on [[Image:Logo.Mac.png]].&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Clear.png]] &lt;br /&gt;
| Clear the annotation layer.&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help  ===&lt;br /&gt;
&lt;br /&gt;
The help button [[Image:CCT Help.png]] calls the about window of the CCT including a short description of the main functions, a link to the webpage, a list of know issues and licensing info. &lt;br /&gt;
&lt;br /&gt;
=== Capture  ===&lt;br /&gt;
&lt;br /&gt;
The capture button [[Image:CCT Capture.png]] will capture the image, save it, copy to the clipboard, save the currently selected options for the next time and close the window. This can also be done by pressing Enter. &lt;br /&gt;
&lt;br /&gt;
=== Clean up  ===&lt;br /&gt;
&lt;br /&gt;
The clean up button [[Image:CCTCleanUp.png]] will clean up the whole BD (if &#039;whole&#039; is set as BD option) or the current selection (if &#039;Selections&#039; is set as BD option). This button is only visible if this option is active (correct LabVIEW version). &lt;br /&gt;
&lt;br /&gt;
=== Key navigation  ===&lt;br /&gt;
&lt;br /&gt;
The CCT has several key shortcuts for easier access: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key &lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| Enter &lt;br /&gt;
| Applies the current settings and does a [[Code Capture Tool#Capture|capture]] or finishes a current text edit&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| F1 &lt;br /&gt;
| Loads the about window centered on the help tab&lt;br /&gt;
|-&lt;br /&gt;
| F5 &lt;br /&gt;
| Refreshes the current image&lt;br /&gt;
|-&lt;br /&gt;
| Escape &lt;br /&gt;
| Closes the CCT without performing a capture or finishes a current text/graph edit&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API  ==&lt;br /&gt;
&lt;br /&gt;
The API provides an interface to the various functions of the CCT. Its palette is accessible under [[User.lib]]\Code Capture Tool. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT palette.PNG]] &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Support.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Support&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Methods  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to activate methods for the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Create CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Create CCT.png|Creat CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called for every instance of the CCT, it creates a GOOP dataspace that will contain the data of the instance. Calling this VI must be done with a valid VI reference. &lt;br /&gt;
&lt;br /&gt;
==== Capture Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture VI Images CCT.png|Capture Images]] &lt;br /&gt;
&lt;br /&gt;
This VI will apply the current settings and store the captured image in the CCT instance, additionally it returns the image itself. &lt;br /&gt;
&lt;br /&gt;
==== Save Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Save Captured Image CCT.png|Save Image]] &lt;br /&gt;
&lt;br /&gt;
This VI will save the image to the path specified by a folder and filename stored in the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Copy to Clipboard  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Copy Data to Clipboard CCT.png|Copy to Clipboard]] &lt;br /&gt;
&lt;br /&gt;
This VI will store the data specified by the clipboard settings to the clipboard. &lt;br /&gt;
&lt;br /&gt;
==== Destroy CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Destroy CCT.png|Destroy CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called to close the CCT Instance and will free up used memory resources. &lt;br /&gt;
&lt;br /&gt;
==== Generate File Name  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Generate File Name CCT.png|Generate filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will generate a default filename based on the captured parts and VI name. This filename will not be stored inside the CCT session. &lt;br /&gt;
&lt;br /&gt;
=== Set properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to change properties for the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Set Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set FP Mode CCT.png|Set FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set BD Mode CCT.png|Set BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Layout Mode CCT.png|Set Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Set Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Clipboard Mode CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Set VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set VI Ref CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI sets the reference of the VI that needs to be captured &lt;br /&gt;
&lt;br /&gt;
==== Set Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Folder CCT.png|Set Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Set Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set File CCT.png|Set Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Get properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to retrieve properties from the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Get Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get FP Setting CCT.png|Get FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get BD Mode CCT.png|Get BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Layout Mode CCT.png|Get Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Get Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Clipboard Mode CCT.png|Get Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Get VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get VI Ref CCT.png|Get VI Reference]] &lt;br /&gt;
&lt;br /&gt;
This VI returns a reference to the that is currently captured in this isntance &lt;br /&gt;
&lt;br /&gt;
==== Get Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Folder CCT.png|Get Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Get Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get File CCT.png|Get Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Support  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This submenu shows additional low level functions of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Capture Front panel  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Panel Picture CCT.png|Capture front panel]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a front panel. &lt;br /&gt;
&lt;br /&gt;
==== Capture Block diagram  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Diagram Picture CCT.png|Capture block diagram]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a block diagram. &lt;br /&gt;
&lt;br /&gt;
==== Show CCT GUI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI CCT.png|Show CCT GUI]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to show the user interface of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== 7.0 container VI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 70 CCT.png|7.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 7.0 and up. &lt;br /&gt;
&lt;br /&gt;
==== 8.0 container VI (deprecated in version 2.0)&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 80 CCT.png|8.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 8.0 and up, don&#039;t forget to include the 7.0 container. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 of the Code Capture Tool installer will automatically select the correct container VI, so an additional 8.x container isn&#039;t needed anymore. &lt;br /&gt;
&lt;br /&gt;
= Known issues  =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description &lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| After using a non-default path and resetting it to the default, the new setting (temp) is not used &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Installing on Linux fails due to case sensitivity &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Capturing a non-visible part on a multi-pane front panel fails &lt;br /&gt;
| A limitation due to the LabVIEW implementation of panes, most-likely not fixable&lt;br /&gt;
|-&lt;br /&gt;
| Saving an empty image returns an error &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Opening the CCT from the Getting Started Window locks up LabVIEW &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Possible High use of memory &lt;br /&gt;
| Investigating&lt;br /&gt;
|-&lt;br /&gt;
| Impossible to capture FP of locked VI &lt;br /&gt;
| Investigating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Version History  =&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.4&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Release date 2 december 2010&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Fixed bug [http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=3121172&amp;amp;group_id=206229&amp;amp;atid=996819 #3121172]&amp;amp;nbsp; for locked VIs (without password protection)&amp;lt;br&amp;gt;&lt;br /&gt;
*Added a message dialogue after the Capture button was activated&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.3  ==&lt;br /&gt;
&lt;br /&gt;
Release date 29 September 2010 &lt;br /&gt;
&lt;br /&gt;
*Fixed a bug that didn&#039;t show the images properly on initialization&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.2  ==&lt;br /&gt;
&lt;br /&gt;
Release date 20 September 2010 &lt;br /&gt;
&lt;br /&gt;
*Added Imgur.com upload &lt;br /&gt;
*Added &#039;Save for Previous Version&#039; snippet function&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 15 February 2010 &lt;br /&gt;
&lt;br /&gt;
*Added a border around a snippet &lt;br /&gt;
*Altered GUI (Preview window is bigger) &lt;br /&gt;
*Better key handling with text annotation, support for HOME and END. &lt;br /&gt;
*Movement of text annotation with ctrl-left, ctrl-right, up and down &lt;br /&gt;
*Movement in a text annotation with left and right&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.5  ==&lt;br /&gt;
&lt;br /&gt;
Release date 28 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Bugfix release for bug [https://sourceforge.net/tracker/?func=detail&amp;amp;atid=996819&amp;amp;aid=2905411&amp;amp;group_id=206229 2905411].&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 24 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Support for VI snippet creation &lt;br /&gt;
*Support for adding comments and drawings&lt;br /&gt;
&lt;br /&gt;
== Version 1.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 27 February 2008 &lt;br /&gt;
&lt;br /&gt;
*Bug-fixes &lt;br /&gt;
*Support for panning of the preview&lt;br /&gt;
&lt;br /&gt;
== Version 0.9.1  ==&lt;br /&gt;
&lt;br /&gt;
Release date 7 November 2007 &lt;br /&gt;
&lt;br /&gt;
*Support for LabVIEW 7.x and up &lt;br /&gt;
*Support for all OS&#039;es &lt;br /&gt;
*Support for orientation &lt;br /&gt;
*Support for selection &lt;br /&gt;
*Support for customized naming &lt;br /&gt;
*Support for customized folder&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Licensing  =&lt;br /&gt;
&lt;br /&gt;
The CCT is licensed under the BSD license &lt;br /&gt;
&lt;br /&gt;
[[Category:Third_party_LabVIEW_tools]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4257</id>
		<title>Code Capture Tool</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4257"/>
		<updated>2010-12-02T20:38:23Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: Version 2.1.4 information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI FP Halfsize.png|left]]The Code Capture Tool (or CCT) is a [[LabVIEW]] development tool targeted at LabVIEW users to capture images of their code and make it easier to share those images in online forums.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Main Features&amp;lt;br&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
*Captures of Front Panel &lt;br /&gt;
*Captures of Block Diagram &lt;br /&gt;
*Comment an Annotate your caputre &lt;br /&gt;
*Creation of LabVIEW&amp;amp;nbsp;Snippets in any LabVIEW version &lt;br /&gt;
*Save the snippet as anoter (older) version &lt;br /&gt;
*Upload the capture to [http://www.imgur.com Imgur.com] and copy the URL to he clipboard&lt;br /&gt;
&lt;br /&gt;
=== History  ===&lt;br /&gt;
&lt;br /&gt;
The CCT is based on an idea and earlier versions originally released by [http://forums.ni.com/ni/profile?user.id=34024 Chilly Charly] on the [[NI Forums]] as [http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;thread.id=1020 starware].&amp;lt;br&amp;gt; Later, it evolved to a multiple OS and LabVIEW versions tool for creating code-shots and documentation shots. &amp;lt;br&amp;gt; A collaboration between [http://forums.lavag.org/Yair-m1431.html Yair Neeman] and [[User:Tcplomp|Ton Plomp]] resulted in the 1.0 version of the CCT that is currently available through the [[LAVA CR]] at [http://forums.lavag.org/downloads-file121.html this site]. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 added the possibility to add text and drawings to the captured image, while version 2.1 added an altered GUI, a border around the snippet and better key-handling. Version 2.1.2 added the option upload the image to Imgur.com and save the snippet in an older version.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Instruction  ==&lt;br /&gt;
&lt;br /&gt;
A series of videos is available at [http://www.screencast.com/t/ZmQ1YjIxNj Screencast]. &lt;br /&gt;
&lt;br /&gt;
A short how to is in the [http://www.screencast.com/t/2aWPdibJ9Sk here available] &lt;br /&gt;
&lt;br /&gt;
An extensive discussion and demo of the CCT&amp;amp;nbsp;is [http://www.screencast.com/t/Yhb9IAOc here].&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Version 2.0 introduces a new option to create annotations with text and graphics and the possibility to create [[Snippet|snippets]]. There is a demo-video available at [http://www.screencast.com/t/YTY4MjllZmIt Screencast]. &lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not functional yet!&lt;br /&gt;
[[File:LAVA Download-button.png|Code Repository Download]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:LAVA_Download-button.png&lt;br /&gt;
wikipage=http://lavag.org/index.php?app=downloads&amp;amp;showfile=63&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Click [http://lavag.org/index.php?app=downloads&amp;amp;showfile=63 here] to download the tool. &lt;br /&gt;
&lt;br /&gt;
To check the source you can explore your &#039;&#039;&amp;amp;lt;user.lib&amp;amp;gt;\_Code Capture Too&#039;&#039;l folder or download it from [http://lv-cct-tool.svn.sourceforge.net/viewvc/lv-cct-tool Sourceforge.net].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Interface  =&lt;br /&gt;
&lt;br /&gt;
The CCT offers two interfaces to make and distribute images of LabVIEW code - a [[Code Capture Tool#GUI|user interface]] and an [[Code Capture Tool#API|API]]. &lt;br /&gt;
&lt;br /&gt;
== GUI  ==&lt;br /&gt;
&lt;br /&gt;
The user interface of the CCT allows the user to select which parts of a [[Front Panel]] or [[Block Diagram]] should be captured. The resulting image will be stored on disc and optionally the image or the path can be copied to the OS clipboard. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|frame|center|Code Capture Tool user interface]] &lt;br /&gt;
&lt;br /&gt;
=== Front panel settings  ===&lt;br /&gt;
&lt;br /&gt;
The Front Panel listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT FP.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current panel view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the front panel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Block diagram settings  ===&lt;br /&gt;
&lt;br /&gt;
The Block Diagram listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT BD.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current block diagram view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the block diagram&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Snippet Creation&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
The creation of a [[Snippet|snippet]] can only be done when the &#039;&#039;&#039;Block Diagram&#039;&#039;&#039; is set to &#039;&#039;&#039;selected&#039;&#039;&#039;.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:CCTSnippetButtons.png]] &lt;br /&gt;
&lt;br /&gt;
The header-text of the snippet is dynamically and has the following options which are accessible with the config button:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Token&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Meaning&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $VERSION$&amp;lt;br&amp;gt; &lt;br /&gt;
| Inserts the saved [[Labview|LabVIEW]] version&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $NAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the captured VI, retrieved from the VI.VI&amp;amp;nbsp;Name property&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $TITLE$&amp;lt;br&amp;gt; &lt;br /&gt;
| Title of the front panel of the captured VI&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGENAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of image on disk without the PNG extension&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGE$&amp;lt;br&amp;gt;&lt;br /&gt;
| Name of image on disk without the PNG extension (a duplicate of $IMAGENAME$&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $DATE:xxx$&amp;lt;br&amp;gt; &lt;br /&gt;
| Date/Time formatter, &amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt; must be replaced by a valid [http://zone.ni.com/reference/en-XX/help/371361F-01/glang/codes_for_time_format_str/ timestring formatter]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Per default the header string is &amp;lt;tt&amp;gt;LV: $VERSION$ $DATE:%c$&amp;lt;/tt&amp;gt;,&amp;amp;nbsp;%c inserts the localized date.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clipboard settings  ===&lt;br /&gt;
&lt;br /&gt;
The clipboard listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Copied item &lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT ClipBoard.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Path &lt;br /&gt;
| Path of the captured image &lt;br /&gt;
| Not on all platforms&lt;br /&gt;
|-&lt;br /&gt;
| Image &lt;br /&gt;
| The captured image &lt;br /&gt;
| Only on Windows&lt;br /&gt;
|-&lt;br /&gt;
| URL &lt;br /&gt;
| The URL of the Imgur image &lt;br /&gt;
| Selecting this will upload the image to Imgur.com&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Layout settings  ===&lt;br /&gt;
&lt;br /&gt;
The Layout picture ring supplies the following layout options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Menu Ring &lt;br /&gt;
! Item &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT Layout.png]] &lt;br /&gt;
| [[Image:CCT Layout1.png]] &lt;br /&gt;
| Front panel in top, block diagram below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout2.png]] &lt;br /&gt;
| Block diagram in top, front panel below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout3.png]] &lt;br /&gt;
| Front panel in left, block diagram on the right&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout4.png]] &lt;br /&gt;
| Block diagram in left, front panel on the right&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File settings  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT FileSettings.png]] &lt;br /&gt;
&lt;br /&gt;
The file settings consists of two controls, the string control to name the file (a .png extension is added to the name automatically) and a browse button to set the folder where the file should be stored. To detect which folder is currently used hover over one of the two controls and the tip-strip will show the folder. &lt;br /&gt;
&lt;br /&gt;
==== Resetting the folder  ====&lt;br /&gt;
&lt;br /&gt;
By default the storage folder is the LabVIEW temp folder (which by default is the same as the OS temp folder), and can be changed with the browse for folder button. To revert to the temp folder use this button [[Image:CCT Reset.png]]. &lt;br /&gt;
&lt;br /&gt;
=== Zoom function  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Zoom.png]] &lt;br /&gt;
&lt;br /&gt;
The zoom slider allows the user to zoom in and out on the captured image and inspect it in detail. This only affects the preview image and will not change the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Annotation/Sketch toolbars  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTAnnotationOptions.png]] &lt;br /&gt;
&lt;br /&gt;
The annotation/sketch toolbars are used to add annotations and sketches/drawings to the capture.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;10&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; width=&amp;quot;407&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:AnnotationOptionsRotated.png|left|18x98px]] &lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Rectangle:&#039;&#039;&#039; Use shift to draw a square&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Oval:&#039;&#039;&#039; Use shift to draw a circle&amp;lt;br&amp;gt;&#039;&#039;&#039;Line:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arrow:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &#039;&#039;&#039;Free: &#039;&#039;&#039; Use this to draw irregular shapes&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing Styles  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTStylesDetail.png]] The style of the line can be one of 5 styles:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Continious &lt;br /&gt;
*Dash &lt;br /&gt;
*Dot &lt;br /&gt;
*Dash-Dot &lt;br /&gt;
*Dash-Dot-Dot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line width  ====&lt;br /&gt;
&lt;br /&gt;
The linewidth of the sketch/drawing line can be alterd as well [[Image:CCT Linewidth.png]] &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line/Text color  ====&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to alter the color of the annotation (sketch or text), when editing text changing the line coler takes effect immediatly. &lt;br /&gt;
&lt;br /&gt;
==== Text size  ====&lt;br /&gt;
&lt;br /&gt;
The font of the annotation text cannot be altered and is fixed on &amp;lt;tt&amp;gt;Arial &amp;lt;/tt&amp;gt;, the size however can be altered easily. &lt;br /&gt;
&lt;br /&gt;
==== Editing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;50%&amp;quot; cellspacing=&amp;quot;2&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Text.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Starts editing text&amp;lt;br&amp;gt;Use shift-enter to add anew-line&amp;lt;br&amp;gt;Use arrow keys to move the positioning of the text around&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Pan.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to move the preview window around, this is the default tool of the Annotation Sketch toolbar. It does not change the captured image.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Undo.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to undo the last edit on the annotation/sketch (4 steps possible), use &amp;amp;lt;ctrl-z&amp;amp;gt; on [[Image:Logo.Windows.png]] and&amp;amp;nbsp;[[Image:Logo.Linux.png]] and &amp;amp;lt;cmd-z&amp;amp;gt; on [[Image:Logo.Mac.png]].&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Clear.png]] &lt;br /&gt;
| Clear the annotation layer.&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help  ===&lt;br /&gt;
&lt;br /&gt;
The help button [[Image:CCT Help.png]] calls the about window of the CCT including a short description of the main functions, a link to the webpage, a list of know issues and licensing info. &lt;br /&gt;
&lt;br /&gt;
=== Capture  ===&lt;br /&gt;
&lt;br /&gt;
The capture button [[Image:CCT Capture.png]] will capture the image, save it, copy to the clipboard, save the currently selected options for the next time and close the window. This can also be done by pressing Enter. &lt;br /&gt;
&lt;br /&gt;
=== Clean up  ===&lt;br /&gt;
&lt;br /&gt;
The clean up button [[Image:CCTCleanUp.png]] will clean up the whole BD (if &#039;whole&#039; is set as BD option) or the current selection (if &#039;Selections&#039; is set as BD option). This button is only visible if this option is active (correct LabVIEW version). &lt;br /&gt;
&lt;br /&gt;
=== Key navigation  ===&lt;br /&gt;
&lt;br /&gt;
The CCT has several key shortcuts for easier access: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key &lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| Enter &lt;br /&gt;
| Applies the current settings and does a [[Code Capture Tool#Capture|capture]] or finishes a current text edit&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| F1 &lt;br /&gt;
| Loads the about window centered on the help tab&lt;br /&gt;
|-&lt;br /&gt;
| F5 &lt;br /&gt;
| Refreshes the current image&lt;br /&gt;
|-&lt;br /&gt;
| Escape &lt;br /&gt;
| Closes the CCT without performing a capture or finishes a current text/graph edit&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API  ==&lt;br /&gt;
&lt;br /&gt;
The API provides an interface to the various functions of the CCT. Its palette is accessible under [[User.lib]]\Code Capture Tool. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT palette.PNG]] &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Support.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Support&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Methods  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to activate methods for the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Create CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Create CCT.png|Creat CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called for every instance of the CCT, it creates a GOOP dataspace that will contain the data of the instance. Calling this VI must be done with a valid VI reference. &lt;br /&gt;
&lt;br /&gt;
==== Capture Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture VI Images CCT.png|Capture Images]] &lt;br /&gt;
&lt;br /&gt;
This VI will apply the current settings and store the captured image in the CCT instance, additionally it returns the image itself. &lt;br /&gt;
&lt;br /&gt;
==== Save Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Save Captured Image CCT.png|Save Image]] &lt;br /&gt;
&lt;br /&gt;
This VI will save the image to the path specified by a folder and filename stored in the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Copy to Clipboard  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Copy Data to Clipboard CCT.png|Copy to Clipboard]] &lt;br /&gt;
&lt;br /&gt;
This VI will store the data specified by the clipboard settings to the clipboard. &lt;br /&gt;
&lt;br /&gt;
==== Destroy CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Destroy CCT.png|Destroy CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called to close the CCT Instance and will free up used memory resources. &lt;br /&gt;
&lt;br /&gt;
==== Generate File Name  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Generate File Name CCT.png|Generate filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will generate a default filename based on the captured parts and VI name. This filename will not be stored inside the CCT session. &lt;br /&gt;
&lt;br /&gt;
=== Set properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to change properties for the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Set Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set FP Mode CCT.png|Set FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set BD Mode CCT.png|Set BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Layout Mode CCT.png|Set Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Set Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Clipboard Mode CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Set VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set VI Ref CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI sets the reference of the VI that needs to be captured &lt;br /&gt;
&lt;br /&gt;
==== Set Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Folder CCT.png|Set Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Set Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set File CCT.png|Set Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Get properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to retrieve properties from the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Get Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get FP Setting CCT.png|Get FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get BD Mode CCT.png|Get BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Layout Mode CCT.png|Get Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Get Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Clipboard Mode CCT.png|Get Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Get VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get VI Ref CCT.png|Get VI Reference]] &lt;br /&gt;
&lt;br /&gt;
This VI returns a reference to the that is currently captured in this isntance &lt;br /&gt;
&lt;br /&gt;
==== Get Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Folder CCT.png|Get Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Get Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get File CCT.png|Get Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Support  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This submenu shows additional low level functions of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Capture Front panel  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Panel Picture CCT.png|Capture front panel]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a front panel. &lt;br /&gt;
&lt;br /&gt;
==== Capture Block diagram  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Diagram Picture CCT.png|Capture block diagram]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a block diagram. &lt;br /&gt;
&lt;br /&gt;
==== Show CCT GUI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI CCT.png|Show CCT GUI]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to show the user interface of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== 7.0 container VI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 70 CCT.png|7.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 7.0 and up. &lt;br /&gt;
&lt;br /&gt;
==== 8.0 container VI (deprecated in version 2.0)&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 80 CCT.png|8.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 8.0 and up, don&#039;t forget to include the 7.0 container. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 of the Code Capture Tool installer will automatically select the correct container VI, so an additional 8.x container isn&#039;t needed anymore. &lt;br /&gt;
&lt;br /&gt;
= Known issues  =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description &lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| After using a non-default path and resetting it to the default, the new setting (temp) is not used &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Installing on Linux fails due to case sensitivity &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Capturing a non-visible part on a multi-pane front panel fails &lt;br /&gt;
| A limitation due to the LabVIEW implementation of panes, most-likely not fixable&lt;br /&gt;
|-&lt;br /&gt;
| Saving an empty image returns an error &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Opening the CCT from the Getting Started Window locks up LabVIEW &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Possible High use of memory &lt;br /&gt;
| Investigating&lt;br /&gt;
|-&lt;br /&gt;
| Impossible to capture FP of locked VI &lt;br /&gt;
| Investigating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Version History  =&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.4&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Release date 2 december 2010&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Fixed bug [http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=3121172&amp;amp;group_id=206229&amp;amp;atid=996819 #3121172]&amp;amp;nbsp; for locked VIs (without password protection)&amp;lt;br&amp;gt;&lt;br /&gt;
*Added a message dialogue after the Capture button was activated&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.3  ==&lt;br /&gt;
&lt;br /&gt;
Release date 29 September 2010 &lt;br /&gt;
&lt;br /&gt;
*Fixed a bug that didn&#039;t show the images properly on initialization&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.2  ==&lt;br /&gt;
&lt;br /&gt;
Release date 20 September 2010 &lt;br /&gt;
&lt;br /&gt;
*Added Imgur.com upload &lt;br /&gt;
*Added &#039;Save for Previous Version&#039; snippet function&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 15 February 2010 &lt;br /&gt;
&lt;br /&gt;
*Added a border around a snippet &lt;br /&gt;
*Altered GUI (Preview window is bigger) &lt;br /&gt;
*Better key handling with text annotation, support for HOME and END. &lt;br /&gt;
*Movement of text annotation with ctrl-left, ctrl-right, up and down &lt;br /&gt;
*Movement in a text annotation with left and right&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.5  ==&lt;br /&gt;
&lt;br /&gt;
Release date 28 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Bugfix release for bug [https://sourceforge.net/tracker/?func=detail&amp;amp;atid=996819&amp;amp;aid=2905411&amp;amp;group_id=206229 2905411].&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 24 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Support for VI snippet creation &lt;br /&gt;
*Support for adding comments and drawings&lt;br /&gt;
&lt;br /&gt;
== Version 1.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 27 February 2008 &lt;br /&gt;
&lt;br /&gt;
*Bug-fixes &lt;br /&gt;
*Support for panning of the preview&lt;br /&gt;
&lt;br /&gt;
== Version 0.9.1  ==&lt;br /&gt;
&lt;br /&gt;
Release date 7 November 2007 &lt;br /&gt;
&lt;br /&gt;
*Support for LabVIEW 7.x and up &lt;br /&gt;
*Support for all OS&#039;es &lt;br /&gt;
*Support for orientation &lt;br /&gt;
*Support for selection &lt;br /&gt;
*Support for customized naming &lt;br /&gt;
*Support for customized folder&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Licensing  =&lt;br /&gt;
&lt;br /&gt;
The CCT is licensed under the BSD license &lt;br /&gt;
&lt;br /&gt;
[[Category:Third_party_LabVIEW_tools]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4249</id>
		<title>Code Capture Tool</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4249"/>
		<updated>2010-09-29T20:02:27Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI FP Halfsize.png|left]]The Code Capture Tool (or CCT) is a [[LabVIEW]] development tool targeted at LabVIEW users to capture images of their code and make it easier to share those images in online forums.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Main Features&amp;lt;br&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
*Captures of Front Panel &lt;br /&gt;
*Captures of Block Diagram &lt;br /&gt;
*Comment an Annotate your caputre &lt;br /&gt;
*Creation of LabVIEW&amp;amp;nbsp;Snippets in any LabVIEW version &lt;br /&gt;
*Save the snippet as anoter (older) version &lt;br /&gt;
*Upload the capture to [http://www.imgur.com Imgur.com] and copy the URL to he clipboard&lt;br /&gt;
&lt;br /&gt;
=== History  ===&lt;br /&gt;
&lt;br /&gt;
The CCT is based on an idea and earlier versions originally released by [http://forums.ni.com/ni/profile?user.id=34024 Chilly Charly] on the [[NI Forums]] as [http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;thread.id=1020 starware].&amp;lt;br&amp;gt; Later, it evolved to a multiple OS and LabVIEW versions tool for creating code-shots and documentation shots. &amp;lt;br&amp;gt; A collaboration between [http://forums.lavag.org/Yair-m1431.html Yair Neeman] and [[User:Tcplomp|Ton Plomp]] resulted in the 1.0 version of the CCT that is currently available through the [[LAVA CR]] at [http://forums.lavag.org/downloads-file121.html this site]. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 added the possibility to add text and drawings to the captured image, while version 2.1 added an altered GUI, a border around the snippet and better key-handling. Version 2.1.2 added the option upload the image to Imgur.com and save the snippet in an older version.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Instruction  ==&lt;br /&gt;
&lt;br /&gt;
A series of videos is available at [http://www.screencast.com/t/ZmQ1YjIxNj Screencast]. &lt;br /&gt;
&lt;br /&gt;
A short how to is in the [http://www.screencast.com/t/2aWPdibJ9Sk here available] &lt;br /&gt;
&lt;br /&gt;
An extensive discussion and demo of the CCT&amp;amp;nbsp;is [http://www.screencast.com/t/Yhb9IAOc here].&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Version 2.0 introduces a new option to create annotations with text and graphics and the possibility to create [[Snippet|snippets]]. There is a demo-video available at [http://www.screencast.com/t/YTY4MjllZmIt Screencast]. &lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not functional yet!&lt;br /&gt;
[[File:LAVA Download-button.png|Code Repository Download]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:LAVA_Download-button.png&lt;br /&gt;
wikipage=http://lavag.org/index.php?app=downloads&amp;amp;showfile=63&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Click [http://lavag.org/index.php?app=downloads&amp;amp;showfile=63 here] to download the tool. &lt;br /&gt;
&lt;br /&gt;
To check the source you can explore your &#039;&#039;&amp;amp;lt;user.lib&amp;amp;gt;\_Code Capture Too&#039;&#039;l folder or download it from [http://lv-cct-tool.svn.sourceforge.net/viewvc/lv-cct-tool Sourceforge.net].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Interface  =&lt;br /&gt;
&lt;br /&gt;
The CCT offers two interfaces to make and distribute images of LabVIEW code - a [[Code Capture Tool#GUI|user interface]] and an [[Code Capture Tool#API|API]]. &lt;br /&gt;
&lt;br /&gt;
== GUI  ==&lt;br /&gt;
&lt;br /&gt;
The user interface of the CCT allows the user to select which parts of a [[Front Panel]] or [[Block Diagram]] should be captured. The resulting image will be stored on disc and optionally the image or the path can be copied to the OS clipboard. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|frame|center|Code Capture Tool user interface]] &lt;br /&gt;
&lt;br /&gt;
=== Front panel settings  ===&lt;br /&gt;
&lt;br /&gt;
The Front Panel listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT FP.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current panel view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the front panel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Block diagram settings  ===&lt;br /&gt;
&lt;br /&gt;
The Block Diagram listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT BD.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current block diagram view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the block diagram&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Snippet Creation&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
The creation of a [[Snippet|snippet]] can only be done when the &#039;&#039;&#039;Block Diagram&#039;&#039;&#039; is set to &#039;&#039;&#039;selected&#039;&#039;&#039;.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:CCTSnippetButtons.png]] &lt;br /&gt;
&lt;br /&gt;
The header-text of the snippet is dynamically and has the following options which are accessible with the config button:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Token&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Meaning&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $VERSION$&amp;lt;br&amp;gt; &lt;br /&gt;
| Inserts the saved [[Labview|LabVIEW]] version&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $NAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the captured VI, retrieved from the VI.VI&amp;amp;nbsp;Name property&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $TITLE$&amp;lt;br&amp;gt; &lt;br /&gt;
| Title of the front panel of the captured VI&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGENAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of image on disk without the PNG extension&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGE$&amp;lt;br&amp;gt;&lt;br /&gt;
| Name of image on disk without the PNG extension (a duplicate of $IMAGENAME$&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $DATE:xxx$&amp;lt;br&amp;gt; &lt;br /&gt;
| Date/Time formatter, &amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt; must be replaced by a valid [http://zone.ni.com/reference/en-XX/help/371361F-01/glang/codes_for_time_format_str/ timestring formatter]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Per default the header string is &amp;lt;tt&amp;gt;LV: $VERSION$ $DATE:%c$&amp;lt;/tt&amp;gt;,&amp;amp;nbsp;%c inserts the localized date.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clipboard settings  ===&lt;br /&gt;
&lt;br /&gt;
The clipboard listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Copied item &lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT ClipBoard.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Path &lt;br /&gt;
| Path of the captured image &lt;br /&gt;
| Not on all platforms&lt;br /&gt;
|-&lt;br /&gt;
| Image &lt;br /&gt;
| The captured image &lt;br /&gt;
| Only on Windows&lt;br /&gt;
|-&lt;br /&gt;
| URL &lt;br /&gt;
| The URL of the Imgur image &lt;br /&gt;
| Selecting this will upload the image to Imgur.com&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Layout settings  ===&lt;br /&gt;
&lt;br /&gt;
The Layout picture ring supplies the following layout options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Menu Ring &lt;br /&gt;
! Item &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT Layout.png]] &lt;br /&gt;
| [[Image:CCT Layout1.png]] &lt;br /&gt;
| Front panel in top, block diagram below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout2.png]] &lt;br /&gt;
| Block diagram in top, front panel below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout3.png]] &lt;br /&gt;
| Front panel in left, block diagram on the right&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout4.png]] &lt;br /&gt;
| Block diagram in left, front panel on the right&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File settings  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT FileSettings.png]] &lt;br /&gt;
&lt;br /&gt;
The file settings consists of two controls, the string control to name the file (a .png extension is added to the name automatically) and a browse button to set the folder where the file should be stored. To detect which folder is currently used hover over one of the two controls and the tip-strip will show the folder. &lt;br /&gt;
&lt;br /&gt;
==== Resetting the folder  ====&lt;br /&gt;
&lt;br /&gt;
By default the storage folder is the LabVIEW temp folder (which by default is the same as the OS temp folder), and can be changed with the browse for folder button. To revert to the temp folder use this button [[Image:CCT Reset.png]]. &lt;br /&gt;
&lt;br /&gt;
=== Zoom function  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Zoom.png]] &lt;br /&gt;
&lt;br /&gt;
The zoom slider allows the user to zoom in and out on the captured image and inspect it in detail. This only affects the preview image and will not change the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Annotation/Sketch toolbars  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTAnnotationOptions.png]] &lt;br /&gt;
&lt;br /&gt;
The annotation/sketch toolbars are used to add annotations and sketches/drawings to the capture.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;10&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; width=&amp;quot;407&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:AnnotationOptionsRotated.png|left|18x98px]] &lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Rectangle:&#039;&#039;&#039; Use shift to draw a square&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Oval:&#039;&#039;&#039; Use shift to draw a circle&amp;lt;br&amp;gt;&#039;&#039;&#039;Line:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arrow:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &#039;&#039;&#039;Free: &#039;&#039;&#039; Use this to draw irregular shapes&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing Styles  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTStylesDetail.png]] The style of the line can be one of 5 styles:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Continious &lt;br /&gt;
*Dash &lt;br /&gt;
*Dot &lt;br /&gt;
*Dash-Dot &lt;br /&gt;
*Dash-Dot-Dot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line width  ====&lt;br /&gt;
&lt;br /&gt;
The linewidth of the sketch/drawing line can be alterd as well [[Image:CCT Linewidth.png]] &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line/Text color  ====&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to alter the color of the annotation (sketch or text), when editing text changing the line coler takes effect immediatly. &lt;br /&gt;
&lt;br /&gt;
==== Text size  ====&lt;br /&gt;
&lt;br /&gt;
The font of the annotation text cannot be altered and is fixed on &amp;lt;tt&amp;gt;Arial &amp;lt;/tt&amp;gt;, the size however can be altered easily. &lt;br /&gt;
&lt;br /&gt;
==== Editing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;50%&amp;quot; cellspacing=&amp;quot;2&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Text.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Starts editing text&amp;lt;br&amp;gt;Use shift-enter to add anew-line&amp;lt;br&amp;gt;Use arrow keys to move the positioning of the text around&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Pan.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to move the preview window around, this is the default tool of the Annotation Sketch toolbar. It does not change the captured image.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Undo.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to undo the last edit on the annotation/sketch (4 steps possible), use &amp;amp;lt;ctrl-z&amp;amp;gt; on [[Image:Logo.Windows.png]] and&amp;amp;nbsp;[[Image:Logo.Linux.png]] and &amp;amp;lt;cmd-z&amp;amp;gt; on [[Image:Logo.Mac.png]].&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Clear.png]] &lt;br /&gt;
| Clear the annotation layer.&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help  ===&lt;br /&gt;
&lt;br /&gt;
The help button [[Image:CCT Help.png]] calls the about window of the CCT including a short description of the main functions, a link to the webpage, a list of know issues and licensing info. &lt;br /&gt;
&lt;br /&gt;
=== Capture  ===&lt;br /&gt;
&lt;br /&gt;
The capture button [[Image:CCT Capture.png]] will capture the image, save it, copy to the clipboard, save the currently selected options for the next time and close the window. This can also be done by pressing Enter. &lt;br /&gt;
&lt;br /&gt;
=== Clean up  ===&lt;br /&gt;
&lt;br /&gt;
The clean up button [[Image:CCTCleanUp.png]] will clean up the whole BD (if &#039;whole&#039; is set as BD option) or the current selection (if &#039;Selections&#039; is set as BD option). This button is only visible if this option is active (correct LabVIEW version). &lt;br /&gt;
&lt;br /&gt;
=== Key navigation  ===&lt;br /&gt;
&lt;br /&gt;
The CCT has several key shortcuts for easier access: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key &lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| Enter &lt;br /&gt;
| Applies the current settings and does a [[Code Capture Tool#Capture|capture]] or finishes a current text edit&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| F1 &lt;br /&gt;
| Loads the about window centered on the help tab&lt;br /&gt;
|-&lt;br /&gt;
| F5 &lt;br /&gt;
| Refreshes the current image&lt;br /&gt;
|-&lt;br /&gt;
| Escape &lt;br /&gt;
| Closes the CCT without performing a capture or finishes a current text/graph edit&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API  ==&lt;br /&gt;
&lt;br /&gt;
The API provides an interface to the various functions of the CCT. Its palette is accessible under [[User.lib]]\Code Capture Tool. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT palette.PNG]] &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Support.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Support&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Methods  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to activate methods for the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Create CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Create CCT.png|Creat CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called for every instance of the CCT, it creates a GOOP dataspace that will contain the data of the instance. Calling this VI must be done with a valid VI reference. &lt;br /&gt;
&lt;br /&gt;
==== Capture Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture VI Images CCT.png|Capture Images]] &lt;br /&gt;
&lt;br /&gt;
This VI will apply the current settings and store the captured image in the CCT instance, additionally it returns the image itself. &lt;br /&gt;
&lt;br /&gt;
==== Save Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Save Captured Image CCT.png|Save Image]] &lt;br /&gt;
&lt;br /&gt;
This VI will save the image to the path specified by a folder and filename stored in the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Copy to Clipboard  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Copy Data to Clipboard CCT.png|Copy to Clipboard]] &lt;br /&gt;
&lt;br /&gt;
This VI will store the data specified by the clipboard settings to the clipboard. &lt;br /&gt;
&lt;br /&gt;
==== Destroy CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Destroy CCT.png|Destroy CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called to close the CCT Instance and will free up used memory resources. &lt;br /&gt;
&lt;br /&gt;
==== Generate File Name  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Generate File Name CCT.png|Generate filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will generate a default filename based on the captured parts and VI name. This filename will not be stored inside the CCT session. &lt;br /&gt;
&lt;br /&gt;
=== Set properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to change properties for the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Set Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set FP Mode CCT.png|Set FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set BD Mode CCT.png|Set BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Layout Mode CCT.png|Set Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Set Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Clipboard Mode CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Set VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set VI Ref CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI sets the reference of the VI that needs to be captured &lt;br /&gt;
&lt;br /&gt;
==== Set Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Folder CCT.png|Set Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Set Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set File CCT.png|Set Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Get properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to retrieve properties from the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Get Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get FP Setting CCT.png|Get FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get BD Mode CCT.png|Get BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Layout Mode CCT.png|Get Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Get Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Clipboard Mode CCT.png|Get Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Get VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get VI Ref CCT.png|Get VI Reference]] &lt;br /&gt;
&lt;br /&gt;
This VI returns a reference to the that is currently captured in this isntance &lt;br /&gt;
&lt;br /&gt;
==== Get Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Folder CCT.png|Get Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Get Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get File CCT.png|Get Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Support  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This submenu shows additional low level functions of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Capture Front panel  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Panel Picture CCT.png|Capture front panel]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a front panel. &lt;br /&gt;
&lt;br /&gt;
==== Capture Block diagram  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Diagram Picture CCT.png|Capture block diagram]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a block diagram. &lt;br /&gt;
&lt;br /&gt;
==== Show CCT GUI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI CCT.png|Show CCT GUI]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to show the user interface of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== 7.0 container VI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 70 CCT.png|7.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 7.0 and up. &lt;br /&gt;
&lt;br /&gt;
==== 8.0 container VI (deprecated in version 2.0)&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 80 CCT.png|8.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 8.0 and up, don&#039;t forget to include the 7.0 container. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 of the Code Capture Tool installer will automatically select the correct container VI, so an additional 8.x container isn&#039;t needed anymore. &lt;br /&gt;
&lt;br /&gt;
= Known issues  =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description &lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| After using a non-default path and resetting it to the default, the new setting (temp) is not used &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Installing on Linux fails due to case sensitivity &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Capturing a non-visible part on a multi-pane front panel fails &lt;br /&gt;
| A limitation due to the LabVIEW implementation of panes, most-likely not fixable&lt;br /&gt;
|-&lt;br /&gt;
| Saving an empty image returns an error &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Opening the CCT from the Getting Started Window locks up LabVIEW &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Possible High use of memory &lt;br /&gt;
| Investigating&lt;br /&gt;
|-&lt;br /&gt;
| Impossible to capture FP of locked VI &lt;br /&gt;
| Investigating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Version History  =&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.3  ==&lt;br /&gt;
&lt;br /&gt;
Release date 29 September 2010 &lt;br /&gt;
&lt;br /&gt;
*Fixed a bug that didn&#039;t show the images properly on initialization&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.2  ==&lt;br /&gt;
&lt;br /&gt;
Release date 20 September 2010 &lt;br /&gt;
&lt;br /&gt;
*Added Imgur.com upload&lt;br /&gt;
*Added &#039;Save for Previous Version&#039; snippet function&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 15 February 2010 &lt;br /&gt;
&lt;br /&gt;
*Added a border around a snippet &lt;br /&gt;
*Altered GUI (Preview window is bigger) &lt;br /&gt;
*Better key handling with text annotation, support for HOME and END. &lt;br /&gt;
*Movement of text annotation with ctrl-left, ctrl-right, up and down &lt;br /&gt;
*Movement in a text annotation with left and right&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.5  ==&lt;br /&gt;
&lt;br /&gt;
Release date 28 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Bugfix release for bug [https://sourceforge.net/tracker/?func=detail&amp;amp;atid=996819&amp;amp;aid=2905411&amp;amp;group_id=206229 2905411].&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 24 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Support for VI snippet creation &lt;br /&gt;
*Support for adding comments and drawings&lt;br /&gt;
&lt;br /&gt;
== Version 1.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 27 February 2008 &lt;br /&gt;
&lt;br /&gt;
*Bug-fixes &lt;br /&gt;
*Support for panning of the preview&lt;br /&gt;
&lt;br /&gt;
== Version 0.9.1  ==&lt;br /&gt;
&lt;br /&gt;
Release date 7 November 2007 &lt;br /&gt;
&lt;br /&gt;
*Support for LabVIEW 7.x and up &lt;br /&gt;
*Support for all OS&#039;es &lt;br /&gt;
*Support for orientation &lt;br /&gt;
*Support for selection &lt;br /&gt;
*Support for customized naming &lt;br /&gt;
*Support for customized folder&lt;br /&gt;
&lt;br /&gt;
= Licensing  =&lt;br /&gt;
&lt;br /&gt;
The CCT is licensed under the BSD license &lt;br /&gt;
&lt;br /&gt;
[[Category:Third_party_LabVIEW_tools]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4247</id>
		<title>Code Capture Tool</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4247"/>
		<updated>2010-09-22T12:22:24Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI FP Halfsize.png|left]]The Code Capture Tool (or CCT) is a [[LabVIEW]] development tool targeted at LabVIEW users to capture images of their code and make it easier to share those images in online forums.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Main Features&amp;lt;br&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
*Captures of Front Panel &lt;br /&gt;
*Captures of Block Diagram &lt;br /&gt;
*Comment an Annotate your caputre &lt;br /&gt;
*Creation of LabVIEW&amp;amp;nbsp;Snippets in any LabVIEW version &lt;br /&gt;
*Save the snippet as anoter (older) version &lt;br /&gt;
*Upload the capture to [http://www.imgur.com Imgur.com] and copy the URL to he clipboard&lt;br /&gt;
&lt;br /&gt;
=== History  ===&lt;br /&gt;
&lt;br /&gt;
The CCT is based on an idea and earlier versions originally released by [http://forums.ni.com/ni/profile?user.id=34024 Chilly Charly] on the [[NI Forums]] as [http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;thread.id=1020 starware].&amp;lt;br&amp;gt; Later, it evolved to a multiple OS and LabVIEW versions tool for creating code-shots and documentation shots. &amp;lt;br&amp;gt; A collaboration between [http://forums.lavag.org/Yair-m1431.html Yair Neeman] and [[User:Tcplomp|Ton Plomp]] resulted in the 1.0 version of the CCT that is currently available through the [[LAVA CR]] at [http://forums.lavag.org/downloads-file121.html this site]. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 added the possibility to add text and drawings to the captured image, while version 2.1 added an altered GUI, a border around the snippet and better key-handling. Version 2.1.2 added the option upload the image to Imgur.com and save the snippet in an older version.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Instruction  ==&lt;br /&gt;
&lt;br /&gt;
A series of videos is available at [http://www.screencast.com/t/ZmQ1YjIxNj Screencast]. &lt;br /&gt;
&lt;br /&gt;
A short how to is in the [http://www.screencast.com/t/2aWPdibJ9Sk here available] &lt;br /&gt;
&lt;br /&gt;
An extensive discussion and demo of the CCT&amp;amp;nbsp;is [http://www.screencast.com/t/Yhb9IAOc here].&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Version 2.0 introduces a new option to create annotations with text and graphics and the possibility to create [[Snippet|snippets]]. There is a demo-video available at [http://www.screencast.com/t/YTY4MjllZmIt Screencast]. &lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not functional yet!&lt;br /&gt;
[[File:LAVA Download-button.png|Code Repository Download]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:LAVA_Download-button.png&lt;br /&gt;
wikipage=http://lavag.org/index.php?app=downloads&amp;amp;showfile=63&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Click [http://lavag.org/index.php?app=downloads&amp;amp;showfile=63 here] to download the tool. &lt;br /&gt;
&lt;br /&gt;
To check the source you can explore your &#039;&#039;&amp;amp;lt;user.lib&amp;amp;gt;\_Code Capture Too&#039;&#039;l folder or download it from [http://lv-cct-tool.svn.sourceforge.net/viewvc/lv-cct-tool Sourceforge.net].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Interface  =&lt;br /&gt;
&lt;br /&gt;
The CCT offers two interfaces to make and distribute images of LabVIEW code - a [[Code Capture Tool#GUI|user interface]] and an [[Code Capture Tool#API|API]]. &lt;br /&gt;
&lt;br /&gt;
== GUI  ==&lt;br /&gt;
&lt;br /&gt;
The user interface of the CCT allows the user to select which parts of a [[Front Panel]] or [[Block Diagram]] should be captured. The resulting image will be stored on disc and optionally the image or the path can be copied to the OS clipboard. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|frame|center|Code Capture Tool user interface]] &lt;br /&gt;
&lt;br /&gt;
=== Front panel settings  ===&lt;br /&gt;
&lt;br /&gt;
The Front Panel listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT FP.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current panel view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the front panel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Block diagram settings  ===&lt;br /&gt;
&lt;br /&gt;
The Block Diagram listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT BD.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current block diagram view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the block diagram&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Snippet Creation&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
The creation of a [[Snippet|snippet]] can only be done when the &#039;&#039;&#039;Block Diagram&#039;&#039;&#039; is set to &#039;&#039;&#039;selected&#039;&#039;&#039;.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:CCTSnippetButtons.png]] &lt;br /&gt;
&lt;br /&gt;
The header-text of the snippet is dynamically and has the following options which are accessible with the config button:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Token&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Meaning&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $VERSION$&amp;lt;br&amp;gt; &lt;br /&gt;
| Inserts the saved [[Labview|LabVIEW]] version&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $NAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the captured VI, retrieved from the VI.VI&amp;amp;nbsp;Name property&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $TITLE$&amp;lt;br&amp;gt; &lt;br /&gt;
| Title of the front panel of the captured VI&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGENAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of image on disk without the PNG extension&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGE$&amp;lt;br&amp;gt;&lt;br /&gt;
| Name of image on disk without the PNG extension (a duplicate of $IMAGENAME$&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $DATE:xxx$&amp;lt;br&amp;gt; &lt;br /&gt;
| Date/Time formatter, &amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt; must be replaced by a valid [http://zone.ni.com/reference/en-XX/help/371361F-01/glang/codes_for_time_format_str/ timestring formatter]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Per default the header string is &amp;lt;tt&amp;gt;LV: $VERSION$ $DATE:%c$&amp;lt;/tt&amp;gt;,&amp;amp;nbsp;%c inserts the localized date.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clipboard settings  ===&lt;br /&gt;
&lt;br /&gt;
The clipboard listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Copied item &lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT ClipBoard.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Path &lt;br /&gt;
| Path of the captured image &lt;br /&gt;
| Not on all platforms&lt;br /&gt;
|-&lt;br /&gt;
| Image &lt;br /&gt;
| The captured image &lt;br /&gt;
| Only on Windows&lt;br /&gt;
|-&lt;br /&gt;
| URL &lt;br /&gt;
| The URL of the Imgur image &lt;br /&gt;
| Selecting this will upload the image to Imgur.com&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Layout settings  ===&lt;br /&gt;
&lt;br /&gt;
The Layout picture ring supplies the following layout options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Menu Ring &lt;br /&gt;
! Item &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT Layout.png]] &lt;br /&gt;
| [[Image:CCT Layout1.png]] &lt;br /&gt;
| Front panel in top, block diagram below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout2.png]] &lt;br /&gt;
| Block diagram in top, front panel below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout3.png]] &lt;br /&gt;
| Front panel in left, block diagram on the right&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout4.png]] &lt;br /&gt;
| Block diagram in left, front panel on the right&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File settings  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT FileSettings.png]] &lt;br /&gt;
&lt;br /&gt;
The file settings consists of two controls, the string control to name the file (a .png extension is added to the name automatically) and a browse button to set the folder where the file should be stored. To detect which folder is currently used hover over one of the two controls and the tip-strip will show the folder. &lt;br /&gt;
&lt;br /&gt;
==== Resetting the folder  ====&lt;br /&gt;
&lt;br /&gt;
By default the storage folder is the LabVIEW temp folder (which by default is the same as the OS temp folder), and can be changed with the browse for folder button. To revert to the temp folder use this button [[Image:CCT Reset.png]]. &lt;br /&gt;
&lt;br /&gt;
=== Zoom function  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Zoom.png]] &lt;br /&gt;
&lt;br /&gt;
The zoom slider allows the user to zoom in and out on the captured image and inspect it in detail. This only affects the preview image and will not change the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Annotation/Sketch toolbars  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTAnnotationOptions.png]] &lt;br /&gt;
&lt;br /&gt;
The annotation/sketch toolbars are used to add annotations and sketches/drawings to the capture.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;10&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; width=&amp;quot;407&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:AnnotationOptionsRotated.png|left|18x98px]] &lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Rectangle:&#039;&#039;&#039; Use shift to draw a square&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Oval:&#039;&#039;&#039; Use shift to draw a circle&amp;lt;br&amp;gt;&#039;&#039;&#039;Line:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arrow:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &#039;&#039;&#039;Free: &#039;&#039;&#039; Use this to draw irregular shapes&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing Styles  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTStylesDetail.png]] The style of the line can be one of 5 styles:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Continious &lt;br /&gt;
*Dash &lt;br /&gt;
*Dot &lt;br /&gt;
*Dash-Dot &lt;br /&gt;
*Dash-Dot-Dot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line width  ====&lt;br /&gt;
&lt;br /&gt;
The linewidth of the sketch/drawing line can be alterd as well [[Image:CCT Linewidth.png]] &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line/Text color  ====&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to alter the color of the annotation (sketch or text), when editing text changing the line coler takes effect immediatly. &lt;br /&gt;
&lt;br /&gt;
==== Text size  ====&lt;br /&gt;
&lt;br /&gt;
The font of the annotation text cannot be altered and is fixed on &amp;lt;tt&amp;gt;Arial &amp;lt;/tt&amp;gt;, the size however can be altered easily. &lt;br /&gt;
&lt;br /&gt;
==== Editing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;50%&amp;quot; cellspacing=&amp;quot;2&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Text.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Starts editing text&amp;lt;br&amp;gt;Use shift-enter to add anew-line&amp;lt;br&amp;gt;Use arrow keys to move the positioning of the text around&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Pan.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to move the preview window around, this is the default tool of the Annotation Sketch toolbar. It does not change the captured image.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Undo.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to undo the last edit on the annotation/sketch (4 steps possible), use &amp;amp;lt;ctrl-z&amp;amp;gt; on [[Image:Logo.Windows.png]] and&amp;amp;nbsp;[[Image:Logo.Linux.png]] and &amp;amp;lt;cmd-z&amp;amp;gt; on [[Image:Logo.Mac.png]].&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Clear.png]] &lt;br /&gt;
| Clear the annotation layer.&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help  ===&lt;br /&gt;
&lt;br /&gt;
The help button [[Image:CCT Help.png]] calls the about window of the CCT including a short description of the main functions, a link to the webpage, a list of know issues and licensing info. &lt;br /&gt;
&lt;br /&gt;
=== Capture  ===&lt;br /&gt;
&lt;br /&gt;
The capture button [[Image:CCT Capture.png]] will capture the image, save it, copy to the clipboard, save the currently selected options for the next time and close the window. This can also be done by pressing Enter. &lt;br /&gt;
&lt;br /&gt;
=== Clean up  ===&lt;br /&gt;
&lt;br /&gt;
The clean up button [[Image:CCTCleanUp.png]] will clean up the whole BD (if &#039;whole&#039; is set as BD option) or the current selection (if &#039;Selections&#039; is set as BD option). This button is only visible if this option is active (correct LabVIEW version). &lt;br /&gt;
&lt;br /&gt;
=== Key navigation  ===&lt;br /&gt;
&lt;br /&gt;
The CCT has several key shortcuts for easier access: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key &lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| Enter &lt;br /&gt;
| Applies the current settings and does a [[Code Capture Tool#Capture|capture]] or finishes a current text edit&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| F1 &lt;br /&gt;
| Loads the about window centered on the help tab&lt;br /&gt;
|-&lt;br /&gt;
| F5 &lt;br /&gt;
| Refreshes the current image&lt;br /&gt;
|-&lt;br /&gt;
| Escape &lt;br /&gt;
| Closes the CCT without performing a capture or finishes a current text/graph edit&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API  ==&lt;br /&gt;
&lt;br /&gt;
The API provides an interface to the various functions of the CCT. Its palette is accessible under [[User.lib]]\Code Capture Tool. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT palette.PNG]] &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Support.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Support&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Methods  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to activate methods for the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Create CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Create CCT.png|Creat CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called for every instance of the CCT, it creates a GOOP dataspace that will contain the data of the instance. Calling this VI must be done with a valid VI reference. &lt;br /&gt;
&lt;br /&gt;
==== Capture Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture VI Images CCT.png|Capture Images]] &lt;br /&gt;
&lt;br /&gt;
This VI will apply the current settings and store the captured image in the CCT instance, additionally it returns the image itself. &lt;br /&gt;
&lt;br /&gt;
==== Save Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Save Captured Image CCT.png|Save Image]] &lt;br /&gt;
&lt;br /&gt;
This VI will save the image to the path specified by a folder and filename stored in the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Copy to Clipboard  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Copy Data to Clipboard CCT.png|Copy to Clipboard]] &lt;br /&gt;
&lt;br /&gt;
This VI will store the data specified by the clipboard settings to the clipboard. &lt;br /&gt;
&lt;br /&gt;
==== Destroy CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Destroy CCT.png|Destroy CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called to close the CCT Instance and will free up used memory resources. &lt;br /&gt;
&lt;br /&gt;
==== Generate File Name  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Generate File Name CCT.png|Generate filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will generate a default filename based on the captured parts and VI name. This filename will not be stored inside the CCT session. &lt;br /&gt;
&lt;br /&gt;
=== Set properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to change properties for the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Set Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set FP Mode CCT.png|Set FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set BD Mode CCT.png|Set BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Layout Mode CCT.png|Set Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Set Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Clipboard Mode CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Set VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set VI Ref CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI sets the reference of the VI that needs to be captured &lt;br /&gt;
&lt;br /&gt;
==== Set Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Folder CCT.png|Set Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Set Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set File CCT.png|Set Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Get properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to retrieve properties from the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Get Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get FP Setting CCT.png|Get FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get BD Mode CCT.png|Get BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Layout Mode CCT.png|Get Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Get Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Clipboard Mode CCT.png|Get Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Get VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get VI Ref CCT.png|Get VI Reference]] &lt;br /&gt;
&lt;br /&gt;
This VI returns a reference to the that is currently captured in this isntance &lt;br /&gt;
&lt;br /&gt;
==== Get Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Folder CCT.png|Get Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Get Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get File CCT.png|Get Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Support  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This submenu shows additional low level functions of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Capture Front panel  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Panel Picture CCT.png|Capture front panel]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a front panel. &lt;br /&gt;
&lt;br /&gt;
==== Capture Block diagram  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Diagram Picture CCT.png|Capture block diagram]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a block diagram. &lt;br /&gt;
&lt;br /&gt;
==== Show CCT GUI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI CCT.png|Show CCT GUI]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to show the user interface of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== 7.0 container VI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 70 CCT.png|7.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 7.0 and up. &lt;br /&gt;
&lt;br /&gt;
==== 8.0 container VI (deprecated in version 2.0)&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 80 CCT.png|8.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 8.0 and up, don&#039;t forget to include the 7.0 container. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 of the Code Capture Tool installer will automatically select the correct container VI, so an additional 8.x container isn&#039;t needed anymore. &lt;br /&gt;
&lt;br /&gt;
= Known issues  =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description &lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| After using a non-default path and resetting it to the default, the new setting (temp) is not used &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Installing on Linux fails due to case sensitivity &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Capturing a non-visible part on a multi-pane front panel fails &lt;br /&gt;
| A limitation due to the LabVIEW implementation of panes, most-likely not fixable&lt;br /&gt;
|-&lt;br /&gt;
| Saving an empty image returns an error &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Opening the CCT from the Getting Started Window locks up LabVIEW &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Possible High use of memory &lt;br /&gt;
| Investigating&lt;br /&gt;
|-&lt;br /&gt;
| Impossible to capture FP of locked VI &lt;br /&gt;
| Investigating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Version History  =&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.0 ==&lt;br /&gt;
&lt;br /&gt;
Release date 15 February 2010&lt;br /&gt;
&lt;br /&gt;
*Added a border around a snippet&lt;br /&gt;
*Altered GUI (Preview window is bigger)&lt;br /&gt;
*Better key handling with text annotation, support for HOME and END.&lt;br /&gt;
*Movement of text annotation with ctrl-left, ctrl-right, up and down&lt;br /&gt;
*Movement in a text annotation with left and right&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.5  ==&lt;br /&gt;
&lt;br /&gt;
Release date 28 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Bugfix release for bug [https://sourceforge.net/tracker/?func=detail&amp;amp;atid=996819&amp;amp;aid=2905411&amp;amp;group_id=206229 2905411].&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 24 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Support for VI snippet creation &lt;br /&gt;
*Support for adding comments and drawings&lt;br /&gt;
&lt;br /&gt;
== Version 1.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 27 February 2008 &lt;br /&gt;
&lt;br /&gt;
*Bug-fixes &lt;br /&gt;
*Support for panning of the preview&lt;br /&gt;
&lt;br /&gt;
== Version 0.9.1  ==&lt;br /&gt;
&lt;br /&gt;
Release date 7 November 2007 &lt;br /&gt;
&lt;br /&gt;
*Support for LabVIEW 7.x and up &lt;br /&gt;
*Support for all OS&#039;es &lt;br /&gt;
*Support for orientation &lt;br /&gt;
*Support for selection &lt;br /&gt;
*Support for customized naming &lt;br /&gt;
*Support for customized folder&lt;br /&gt;
&lt;br /&gt;
= Licensing  =&lt;br /&gt;
&lt;br /&gt;
The CCT is licensed under the BSD license &lt;br /&gt;
&lt;br /&gt;
[[Category:Third_party_LabVIEW_tools]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4245</id>
		<title>Code Capture Tool</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4245"/>
		<updated>2010-09-20T19:48:32Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI FP Halfsize.png|left]]The Code Capture Tool (or CCT) is a [[LabVIEW]] development tool targeted at LabVIEW users to capture images of their code and make it easier to share those images in online forums.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Main Features&amp;lt;br&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
*Captures of Front Panel &lt;br /&gt;
*Captures of Block Diagram &lt;br /&gt;
*Comment an Annotate your caputre &lt;br /&gt;
*Creation of LabVIEW&amp;amp;nbsp;Snippets in any LabVIEW version &lt;br /&gt;
*Save the snippet as anoter (older) version &lt;br /&gt;
*Upload the capture to [http://www.imgur.com Imgur.com] and copy the URL to he clipboard&lt;br /&gt;
&lt;br /&gt;
=== History  ===&lt;br /&gt;
&lt;br /&gt;
The CCT is based on an idea and earlier versions originally released by [http://forums.ni.com/ni/profile?user.id=34024 Chilly Charly] on the [[NI Forums]] as [http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;thread.id=1020 starware].&amp;lt;br&amp;gt; Later, it evolved to a multiple OS and LabVIEW versions tool for creating code-shots and documentation shots. &amp;lt;br&amp;gt; A collaboration between [http://forums.lavag.org/Yair-m1431.html Yair Neeman] and [[User:Tcplomp|Ton Plomp]] resulted in the 1.0 version of the CCT that is currently available through the [[LAVA CR]] at [http://forums.lavag.org/downloads-file121.html this site]. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 added the possibility to add text and drawings to the captured image, while version 2.1 added an altered GUI, a border around the snippet and better key-handling. Version 2.1.2 added the option upload the image to Imgur.com and save the snippet in an older version.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Instruction  ==&lt;br /&gt;
&lt;br /&gt;
A series of videos is available at [http://www.screencast.com/t/ZmQ1YjIxNj Screencast]. &lt;br /&gt;
&lt;br /&gt;
A short how to is in the [http://www.screencast.com/t/2aWPdibJ9Sk here available] &lt;br /&gt;
&lt;br /&gt;
An extensive discussion and demo of the CCT&amp;amp;nbsp;is [http://www.screencast.com/t/Yhb9IAOc here].&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Version 2.0 introduces a new option to create annotations with text and graphics and the possibility to create [[Snippet|snippets]]. There is a demo-video available at [http://www.screencast.com/t/YTY4MjllZmIt Screencast]. &lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not functional yet!&lt;br /&gt;
[[File:LAVA Download-button.png|Code Repository Download]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:LAVA_Download-button.png&lt;br /&gt;
wikipage=http://lavag.org/index.php?app=downloads&amp;amp;showfile=63&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Click [http://lavag.org/index.php?app=downloads&amp;amp;showfile=63 here] to download the tool. &lt;br /&gt;
&lt;br /&gt;
To check the source you can explore your &#039;&#039;&amp;amp;lt;user.lib&amp;amp;gt;\_Code Capture Too&#039;&#039;l folder or download it from [http://lv-cct-tool.svn.sourceforge.net/viewvc/lv-cct-tool Sourceforge.net].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Interface  =&lt;br /&gt;
&lt;br /&gt;
The CCT offers two interfaces to make and distribute images of LabVIEW code - a [[Code Capture Tool#GUI|user interface]] and an [[Code Capture Tool#API|API]]. &lt;br /&gt;
&lt;br /&gt;
== GUI  ==&lt;br /&gt;
&lt;br /&gt;
The user interface of the CCT allows the user to select which parts of a [[Front Panel]] or [[Block Diagram]] should be captured. The resulting image will be stored on disc and optionally the image or the path can be copied to the OS clipboard. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|frame|center|Code Capture Tool user interface]] &lt;br /&gt;
&lt;br /&gt;
=== Front panel settings  ===&lt;br /&gt;
&lt;br /&gt;
The Front Panel listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT FP.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current panel view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the front panel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Block diagram settings  ===&lt;br /&gt;
&lt;br /&gt;
The Block Diagram listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT BD.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current block diagram view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the block diagram&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Snippet Creation&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
The creation of a snippet can only be done when the &#039;&#039;&#039;Block Diagram&#039;&#039;&#039; is set to &#039;&#039;&#039;selected&#039;&#039;&#039;.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:CCTSnippetButtons.png]] &lt;br /&gt;
&lt;br /&gt;
The header-text of the snippet is dynamically and has the following options which are accessible with the config button:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Token&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Meaning&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $VERSION$&amp;lt;br&amp;gt; &lt;br /&gt;
| Inserts the current [[Labview|LabVIEW]] version&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $NAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the captured VI, retrieved from the VI.VI&amp;amp;nbsp;Name property&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $TITLE$&amp;lt;br&amp;gt; &lt;br /&gt;
| Title of the front panel of the captured VI&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGENAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of image on disk without the PNG extension&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $DATE:xxx$&amp;lt;br&amp;gt; &lt;br /&gt;
| Date/Time formatter, &amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt; must be replaced by a valid [http://zone.ni.com/reference/en-XX/help/371361F-01/glang/codes_for_time_format_str/ timestring formatter]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Per default the header string is &amp;lt;tt&amp;gt;LV: $VERSION$ $DATE:%c$&amp;lt;/tt&amp;gt;, %c inserts the localized date.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clipboard settings  ===&lt;br /&gt;
&lt;br /&gt;
The clipboard listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Copied item &lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT ClipBoard.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Path &lt;br /&gt;
| Path of the captured image &lt;br /&gt;
| Not on all platforms&lt;br /&gt;
|-&lt;br /&gt;
| Image &lt;br /&gt;
| The captured image &lt;br /&gt;
| Only on Windows&lt;br /&gt;
|-&lt;br /&gt;
| URL &lt;br /&gt;
| The URL of the Imgur image &lt;br /&gt;
| Selecting this will upload the image to Imgur.com&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Layout settings  ===&lt;br /&gt;
&lt;br /&gt;
The Layout picture ring supplies the following layout options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Menu Ring &lt;br /&gt;
! Item &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT Layout.png]] &lt;br /&gt;
| [[Image:CCT Layout1.png]] &lt;br /&gt;
| Front panel in top, block diagram below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout2.png]] &lt;br /&gt;
| Block diagram in top, front panel below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout3.png]] &lt;br /&gt;
| Front panel in left, block diagram on the right&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout4.png]] &lt;br /&gt;
| Block diagram in left, front panel on the right&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File settings  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT FileSettings.png]] &lt;br /&gt;
&lt;br /&gt;
The file settings consists of two controls, the string control to name the file (a .png extension is added to the name automatically) and a browse button to set the folder where the file should be stored. To detect which folder is currently used hover over one of the two controls and the tip-strip will show the folder. &lt;br /&gt;
&lt;br /&gt;
==== Resetting the folder  ====&lt;br /&gt;
&lt;br /&gt;
By default the storage folder is the LabVIEW temp folder (which by default is the same as the OS temp folder), and can be changed with the browse for folder button. To revert to the temp folder use this button [[Image:CCT Reset.png]]. &lt;br /&gt;
&lt;br /&gt;
=== Zoom function  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Zoom.png]] &lt;br /&gt;
&lt;br /&gt;
The zoom slider allows the user to zoom in and out on the captured image and inspect it in detail. This only affects the preview image and will not change the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Annotation/Sketch toolbars  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTAnnotationOptions.png]] &lt;br /&gt;
&lt;br /&gt;
The annotation/sketch toolbars are used to add annotations and sketches/drawings to the capture.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;10&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; width=&amp;quot;407&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:AnnotationOptionsRotated.png|left|18x98px]] &lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Rectangle:&#039;&#039;&#039; Use shift to draw a square&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Oval:&#039;&#039;&#039; Use shift to draw a circle&amp;lt;br&amp;gt;&#039;&#039;&#039;Line:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arrow:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &#039;&#039;&#039;Free: &#039;&#039;&#039; Use this to draw irregular shapes&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing Styles  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTStylesDetail.png]] The style of the line can be one of 5 styles:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Continious &lt;br /&gt;
*Dash &lt;br /&gt;
*Dot &lt;br /&gt;
*Dash-Dot &lt;br /&gt;
*Dash-Dot-Dot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line width  ====&lt;br /&gt;
&lt;br /&gt;
The linewidth of the sketch/drawing line can be alterd as well [[Image:CCT Linewidth.png]] &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line/Text color  ====&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to alter the color of the annotation (sketch or text), when editing text changing the line coler takes effect immediatly. &lt;br /&gt;
&lt;br /&gt;
==== Text size  ====&lt;br /&gt;
&lt;br /&gt;
The font of the annotation text cannot be altered and is fixed on &amp;lt;tt&amp;gt;Arial &amp;lt;/tt&amp;gt;, the size however can be altered easily. &lt;br /&gt;
&lt;br /&gt;
==== Editing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;50%&amp;quot; cellspacing=&amp;quot;2&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Text.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Starts editing text&amp;lt;br&amp;gt;Use shift-enter to add anew-line&amp;lt;br&amp;gt;Use arrow keys to move the positioning of the text around&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Pan.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to move the preview window around, this is the default tool of the Annotation Sketch toolbar. It does not change the captured image.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Undo.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to undo the last edit on the annotation/sketch (4 steps possible), use &amp;amp;lt;ctrl-z&amp;amp;gt; on [[Image:Logo.Windows.png]] and&amp;amp;nbsp;[[Image:Logo.Linux.png]] and &amp;amp;lt;cmd-z&amp;amp;gt; on [[Image:Logo.Mac.png]].&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Clear.png]] &lt;br /&gt;
| Clear the annotation layer.&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help  ===&lt;br /&gt;
&lt;br /&gt;
The help button [[Image:CCT Help.png]] calls the about window of the CCT including a short description of the main functions, a link to the webpage, a list of know issues and licensing info. &lt;br /&gt;
&lt;br /&gt;
=== Capture  ===&lt;br /&gt;
&lt;br /&gt;
The capture button [[Image:CCT Capture.png]] will capture the image, save it, copy to the clipboard, save the currently selected options for the next time and close the window. This can also be done by pressing Enter. &lt;br /&gt;
&lt;br /&gt;
=== Clean up  ===&lt;br /&gt;
&lt;br /&gt;
The clean up button [[Image:CCTCleanUp.png]] will clean up the whole BD (if &#039;whole&#039; is set as BD option) or the current selection (if &#039;Selections&#039; is set as BD option). This button is only visible if this option is active (correct LabVIEW version). &lt;br /&gt;
&lt;br /&gt;
=== Key navigation  ===&lt;br /&gt;
&lt;br /&gt;
The CCT has several key shortcuts for easier access: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key &lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| Enter &lt;br /&gt;
| Applies the current settings and does a [[Code Capture Tool#Capture|capture]] or finishes a current text edit&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| F1 &lt;br /&gt;
| Loads the about window centered on the help tab&lt;br /&gt;
|-&lt;br /&gt;
| F5 &lt;br /&gt;
| Refreshes the current image&lt;br /&gt;
|-&lt;br /&gt;
| Escape &lt;br /&gt;
| Closes the CCT without performing a capture or finishes a current text/graph edit&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API  ==&lt;br /&gt;
&lt;br /&gt;
The API provides an interface to the various functions of the CCT. Its palette is accessible under [[User.lib]]\Code Capture Tool. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT palette.PNG]] &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Support.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Support&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Methods  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to activate methods for the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Create CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Create CCT.png|Creat CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called for every instance of the CCT, it creates a GOOP dataspace that will contain the data of the instance. Calling this VI must be done with a valid VI reference. &lt;br /&gt;
&lt;br /&gt;
==== Capture Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture VI Images CCT.png|Capture Images]] &lt;br /&gt;
&lt;br /&gt;
This VI will apply the current settings and store the captured image in the CCT instance, additionally it returns the image itself. &lt;br /&gt;
&lt;br /&gt;
==== Save Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Save Captured Image CCT.png|Save Image]] &lt;br /&gt;
&lt;br /&gt;
This VI will save the image to the path specified by a folder and filename stored in the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Copy to Clipboard  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Copy Data to Clipboard CCT.png|Copy to Clipboard]] &lt;br /&gt;
&lt;br /&gt;
This VI will store the data specified by the clipboard settings to the clipboard. &lt;br /&gt;
&lt;br /&gt;
==== Destroy CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Destroy CCT.png|Destroy CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called to close the CCT Instance and will free up used memory resources. &lt;br /&gt;
&lt;br /&gt;
==== Generate File Name  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Generate File Name CCT.png|Generate filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will generate a default filename based on the captured parts and VI name. This filename will not be stored inside the CCT session. &lt;br /&gt;
&lt;br /&gt;
=== Set properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to change properties for the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Set Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set FP Mode CCT.png|Set FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set BD Mode CCT.png|Set BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Layout Mode CCT.png|Set Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Set Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Clipboard Mode CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Set VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set VI Ref CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI sets the reference of the VI that needs to be captured &lt;br /&gt;
&lt;br /&gt;
==== Set Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Folder CCT.png|Set Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Set Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set File CCT.png|Set Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Get properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to retrieve properties from the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Get Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get FP Setting CCT.png|Get FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get BD Mode CCT.png|Get BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Layout Mode CCT.png|Get Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Get Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Clipboard Mode CCT.png|Get Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Get VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get VI Ref CCT.png|Get VI Reference]] &lt;br /&gt;
&lt;br /&gt;
This VI returns a reference to the that is currently captured in this isntance &lt;br /&gt;
&lt;br /&gt;
==== Get Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Folder CCT.png|Get Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Get Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get File CCT.png|Get Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Support  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This submenu shows additional low level functions of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Capture Front panel  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Panel Picture CCT.png|Capture front panel]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a front panel. &lt;br /&gt;
&lt;br /&gt;
==== Capture Block diagram  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Diagram Picture CCT.png|Capture block diagram]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a block diagram. &lt;br /&gt;
&lt;br /&gt;
==== Show CCT GUI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI CCT.png|Show CCT GUI]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to show the user interface of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== 7.0 container VI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 70 CCT.png|7.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 7.0 and up. &lt;br /&gt;
&lt;br /&gt;
==== 8.0 container VI (deprecated in version 2.0)&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 80 CCT.png|8.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 8.0 and up, don&#039;t forget to include the 7.0 container. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 of the Code Capture Tool installer will automatically select the correct container VI, so an additional 8.x container isn&#039;t needed anymore. &lt;br /&gt;
&lt;br /&gt;
= Known issues  =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description &lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| After using a non-default path and resetting it to the default, the new setting (temp) is not used &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Installing on Linux fails due to case sensitivity &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Capturing a non-visible part on a multi-pane front panel fails &lt;br /&gt;
| A limitation due to the LabVIEW implementation of panes, most-likely not fixable&lt;br /&gt;
|-&lt;br /&gt;
| Saving an empty image returns an error &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Opening the CCT from the Getting Started Window locks up LabVIEW &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Possible High use of memory &lt;br /&gt;
| Investigating&lt;br /&gt;
|-&lt;br /&gt;
| Impossible to capture FP of locked VI &lt;br /&gt;
| Investigating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Version History  =&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.0 ==&lt;br /&gt;
&lt;br /&gt;
Release date 15 February 2010&lt;br /&gt;
&lt;br /&gt;
*Added a border around a snippet&lt;br /&gt;
*Altered GUI (Preview window is bigger)&lt;br /&gt;
*Better key handling with text annotation, support for HOME and END.&lt;br /&gt;
*Movement of text annotation with ctrl-left, ctrl-right, up and down&lt;br /&gt;
*Movement in a text annotation with left and right&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.5  ==&lt;br /&gt;
&lt;br /&gt;
Release date 28 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Bugfix release for bug [https://sourceforge.net/tracker/?func=detail&amp;amp;atid=996819&amp;amp;aid=2905411&amp;amp;group_id=206229 2905411].&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 24 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Support for VI snippet creation &lt;br /&gt;
*Support for adding comments and drawings&lt;br /&gt;
&lt;br /&gt;
== Version 1.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 27 February 2008 &lt;br /&gt;
&lt;br /&gt;
*Bug-fixes &lt;br /&gt;
*Support for panning of the preview&lt;br /&gt;
&lt;br /&gt;
== Version 0.9.1  ==&lt;br /&gt;
&lt;br /&gt;
Release date 7 November 2007 &lt;br /&gt;
&lt;br /&gt;
*Support for LabVIEW 7.x and up &lt;br /&gt;
*Support for all OS&#039;es &lt;br /&gt;
*Support for orientation &lt;br /&gt;
*Support for selection &lt;br /&gt;
*Support for customized naming &lt;br /&gt;
*Support for customized folder&lt;br /&gt;
&lt;br /&gt;
= Licensing  =&lt;br /&gt;
&lt;br /&gt;
The CCT is licensed under the BSD license &lt;br /&gt;
&lt;br /&gt;
[[Category:Third_party_LabVIEW_tools]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4244</id>
		<title>Code Capture Tool</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4244"/>
		<updated>2010-09-20T19:44:26Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI FP Halfsize.png|left]]The Code Capture Tool (or CCT) is a [[LabVIEW]] development tool targeted at LabVIEW users to capture images of their code and make it easier to share those images in online forums.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Main Features&amp;lt;br&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
*Captures of Front Panel &lt;br /&gt;
*Captures of Block Diagram &lt;br /&gt;
*Comment an Annotate your caputre &lt;br /&gt;
*Creation of LabVIEW&amp;amp;nbsp;Snippets in any LabVIEW version &lt;br /&gt;
*Save the snippet as anoter (older) version &lt;br /&gt;
*Upload the capture to [http://www.imgur.com Imgur.com] and copy the URL to he clipboard&lt;br /&gt;
&lt;br /&gt;
=== History  ===&lt;br /&gt;
&lt;br /&gt;
The CCT is based on an idea and earlier versions originally released by [http://forums.ni.com/ni/profile?user.id=34024 Chilly Charly] on the [[NI Forums]] as [http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;thread.id=1020 starware].&amp;lt;br&amp;gt; Later, it evolved to a multiple OS and LabVIEW versions tool for creating code-shots and documentation shots. &amp;lt;br&amp;gt; A collaboration between [http://forums.lavag.org/Yair-m1431.html Yair Neeman] and [[User:Tcplomp|Ton Plomp]] resulted in the 1.0 version of the CCT that is currently available through the [[LAVA CR]] at [http://forums.lavag.org/downloads-file121.html this site]. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 added the possibility to add text and drawings to the captured image, while version 2.1 added an altered GUI, a border around the snippet and better key-handling. Version 2.1.2 added the option upload the image to Imgur.com and save the snippet in an older version.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Instruction  ==&lt;br /&gt;
&lt;br /&gt;
A series of videos is available at [http://www.screencast.com/t/ZmQ1YjIxNj Screencast]. &lt;br /&gt;
&lt;br /&gt;
A short how to is in the [http://www.screencast.com/t/2aWPdibJ9Sk here available] &lt;br /&gt;
&lt;br /&gt;
An extensive discussion and demo of the CCT&amp;amp;nbsp;is [http://www.screencast.com/t/Yhb9IAOc here].&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Version 2.0 introduces a new option to create annotations with text and graphics and the possibility to create [[Snippet|snippets]]. There is a demo-video available at [http://www.screencast.com/t/YTY4MjllZmIt Screencast]. &lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not functional yet!&lt;br /&gt;
[[File:LAVA Download-button.png|Code Repository Download]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:LAVA_Download-button.png&lt;br /&gt;
wikipage=http://lavag.org/index.php?app=downloads&amp;amp;showfile=63&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Click [http://lavag.org/index.php?app=downloads&amp;amp;showfile=63 here] to download the tool. &lt;br /&gt;
&lt;br /&gt;
To check the source you can explore your &#039;&#039;&amp;amp;lt;user.lib&amp;amp;gt;\_Code Capture Too&#039;&#039;l folder or download it from [http://lv-cct-tool.svn.sourceforge.net/viewvc/lv-cct-tool Sourceforge.net].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Interface  =&lt;br /&gt;
&lt;br /&gt;
The CCT offers two interfaces to make and distribute images of LabVIEW code - a [[Code Capture Tool#GUI|user interface]] and an [[Code Capture Tool#API|API]]. &lt;br /&gt;
&lt;br /&gt;
== GUI  ==&lt;br /&gt;
&lt;br /&gt;
The user interface of the CCT allows the user to select which parts of a [[Front Panel]] or [[Block Diagram]] should be captured. The resulting image will be stored on disc and optionally the image or the path can be copied to the OS clipboard. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|frame|center|Code Capture Tool user interface]] &lt;br /&gt;
&lt;br /&gt;
=== Front panel settings  ===&lt;br /&gt;
&lt;br /&gt;
The Front Panel listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT FP.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current panel view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the front panel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Block diagram settings  ===&lt;br /&gt;
&lt;br /&gt;
The Block Diagram listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT BD.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current block diagram view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the block diagram&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Snippet Creation&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
The creation of a snippet can only be done when the &#039;&#039;&#039;Block Diagram&#039;&#039;&#039; is set to &#039;&#039;&#039;selected&#039;&#039;&#039;.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:CCTSnippetButtons.png]] &lt;br /&gt;
&lt;br /&gt;
The header-text of the snippet is dynamically and has the following options which are accessible with the config button:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Token&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Meaning&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $VERSION$&amp;lt;br&amp;gt; &lt;br /&gt;
| Inserts the current [[Labview|LabVIEW]] version&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $NAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the captured VI, retrieved from the VI.VI&amp;amp;nbsp;Name property&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $TITLE$&amp;lt;br&amp;gt; &lt;br /&gt;
| Title of the front panel of the captured VI&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGENAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of image on disk without the PNG extension&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $DATE:xxx$&amp;lt;br&amp;gt; &lt;br /&gt;
| Date/Time formatter, &amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt; must be replaced by a valid [http://zone.ni.com/reference/en-XX/help/371361F-01/glang/codes_for_time_format_str/ timestring formatter]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Per default the header string is &amp;lt;tt&amp;gt;LV: $VERSION$ $DATE:%c$&amp;lt;/tt&amp;gt;, %c inserts the localized date.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clipboard settings  ===&lt;br /&gt;
&lt;br /&gt;
The clipboard listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Copied item &lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; | [[Image:CCT ClipBoard.png|122x301px]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Path &lt;br /&gt;
| Path of the captured image &lt;br /&gt;
| Not on all platforms&lt;br /&gt;
|-&lt;br /&gt;
| Image &lt;br /&gt;
| The captured image &lt;br /&gt;
| Only on Windows&lt;br /&gt;
|-&lt;br /&gt;
| URL &lt;br /&gt;
| The URL of the Imgur image &lt;br /&gt;
| Selecting this will upload the image to Imgur.com&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Layout settings  ===&lt;br /&gt;
&lt;br /&gt;
The Layout picture ring supplies the following layout options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Menu Ring &lt;br /&gt;
! Item &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT Layout.png]] &lt;br /&gt;
| [[Image:CCT Layout1.png]] &lt;br /&gt;
| Front panel in top, block diagram below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout2.png]] &lt;br /&gt;
| Block diagram in top, front panel below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout3.png]] &lt;br /&gt;
| Front panel in left, block diagram on the right&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout4.png]] &lt;br /&gt;
| Block diagram in left, front panel on the right&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File settings  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT FileSettings.png]] &lt;br /&gt;
&lt;br /&gt;
The file settings consists of two controls, the string control to name the file (a .png extension is added to the name automatically) and a browse button to set the folder where the file should be stored. To detect which folder is currently used hover over one of the two controls and the tip-strip will show the folder. &lt;br /&gt;
&lt;br /&gt;
==== Resetting the folder  ====&lt;br /&gt;
&lt;br /&gt;
By default the storage folder is the LabVIEW temp folder (which by default is the same as the OS temp folder), and can be changed with the browse for folder button. To revert to the temp folder use this button [[Image:CCT Reset.png]]. &lt;br /&gt;
&lt;br /&gt;
=== Zoom function  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Zoom.png]] &lt;br /&gt;
&lt;br /&gt;
The zoom slider allows the user to zoom in and out on the captured image and inspect it in detail. This only affects the preview image and will not change the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Annotation/Sketch toolbars  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTAnnotationOptions.png]] &lt;br /&gt;
&lt;br /&gt;
The annotation/sketch toolbars are used to add annotations and sketches/drawings to the capture.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;10&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; width=&amp;quot;407&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:AnnotationOptionsRotated.png|left|18x98px]] &lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Rectangle:&#039;&#039;&#039; Use shift to draw a square&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Oval:&#039;&#039;&#039; Use shift to draw a circle&amp;lt;br&amp;gt;&#039;&#039;&#039;Line:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arrow:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &#039;&#039;&#039;Free: &#039;&#039;&#039; Use this to draw irregular shapes&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing Styles  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTStylesDetail.png]] The style of the line can be one of 5 styles:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Continious &lt;br /&gt;
*Dash &lt;br /&gt;
*Dot &lt;br /&gt;
*Dash-Dot &lt;br /&gt;
*Dash-Dot-Dot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line width  ====&lt;br /&gt;
&lt;br /&gt;
The linewidth of the sketch/drawing line can be alterd as well [[Image:CCT Linewidth.png]] &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line/Text color  ====&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to alter the color of the annotation (sketch or text), when editing text changing the line coler takes effect immediatly. &lt;br /&gt;
&lt;br /&gt;
==== Text size  ====&lt;br /&gt;
&lt;br /&gt;
The font of the annotation text cannot be altered and is fixed on &amp;lt;tt&amp;gt;Arial &amp;lt;/tt&amp;gt;, the size however can be altered easily. &lt;br /&gt;
&lt;br /&gt;
==== Editing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;50%&amp;quot; cellspacing=&amp;quot;2&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Text.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Starts editing text&amp;lt;br&amp;gt;Use shift-enter to add anew-line&amp;lt;br&amp;gt;Use arrow keys to move the positioning of the text around&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Pan.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to move the preview window around, this is the default tool of the Annotation Sketch toolbar. It does not change the captured image.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Undo.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to undo the last edit on the annotation/sketch (4 steps possible), use &amp;amp;lt;ctrl-z&amp;amp;gt; on [[Image:Logo.Windows.png]] and&amp;amp;nbsp;[[Image:Logo.Linux.png]] and &amp;amp;lt;cmd-z&amp;amp;gt; on [[Image:Logo.Mac.png]].&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Clear.png]] &lt;br /&gt;
| Clear the annotation layer.&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help  ===&lt;br /&gt;
&lt;br /&gt;
The help button [[Image:CCT Help.png]] calls the about window of the CCT including a short description of the main functions, a link to the webpage, a list of know issues and licensing info. &lt;br /&gt;
&lt;br /&gt;
=== Capture  ===&lt;br /&gt;
&lt;br /&gt;
The capture button [[Image:CCT Capture.png]] will capture the image, save it, copy to the clipboard, save the currently selected options for the next time and close the window. This can also be done by pressing Enter. &lt;br /&gt;
&lt;br /&gt;
=== Clean up  ===&lt;br /&gt;
&lt;br /&gt;
The clean up button [[Image:CCTCleanUp.png]] will clean up the whole BD (if &#039;whole&#039; is set as BD option) or the current selection (if &#039;Selections&#039; is set as BD option). This button is only visible if this option is active (correct LabVIEW version). &lt;br /&gt;
&lt;br /&gt;
=== Key navigation  ===&lt;br /&gt;
&lt;br /&gt;
The CCT has several key shortcuts for easier access: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key &lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| Enter &lt;br /&gt;
| Applies the current settings and does a [[Code Capture Tool#Capture|capture]] or finishes a current text edit&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| F1 &lt;br /&gt;
| Loads the about window centered on the help tab&lt;br /&gt;
|-&lt;br /&gt;
| F5 &lt;br /&gt;
| Refreshes the current image&lt;br /&gt;
|-&lt;br /&gt;
| Escape &lt;br /&gt;
| Closes the CCT without performing a capture or finishes a current text/graph edit&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API  ==&lt;br /&gt;
&lt;br /&gt;
The API provides an interface to the various functions of the CCT. Its palette is accessible under [[User.lib]]\Code Capture Tool. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT palette.PNG]] &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Support.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Support&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Methods  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to activate methods for the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Create CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Create CCT.png|Creat CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called for every instance of the CCT, it creates a GOOP dataspace that will contain the data of the instance. Calling this VI must be done with a valid VI reference. &lt;br /&gt;
&lt;br /&gt;
==== Capture Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture VI Images CCT.png|Capture Images]] &lt;br /&gt;
&lt;br /&gt;
This VI will apply the current settings and store the captured image in the CCT instance, additionally it returns the image itself. &lt;br /&gt;
&lt;br /&gt;
==== Save Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Save Captured Image CCT.png|Save Image]] &lt;br /&gt;
&lt;br /&gt;
This VI will save the image to the path specified by a folder and filename stored in the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Copy to Clipboard  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Copy Data to Clipboard CCT.png|Copy to Clipboard]] &lt;br /&gt;
&lt;br /&gt;
This VI will store the data specified by the clipboard settings to the clipboard. &lt;br /&gt;
&lt;br /&gt;
==== Destroy CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Destroy CCT.png|Destroy CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called to close the CCT Instance and will free up used memory resources. &lt;br /&gt;
&lt;br /&gt;
==== Generate File Name  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Generate File Name CCT.png|Generate filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will generate a default filename based on the captured parts and VI name. This filename will not be stored inside the CCT session. &lt;br /&gt;
&lt;br /&gt;
=== Set properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to change properties for the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Set Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set FP Mode CCT.png|Set FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set BD Mode CCT.png|Set BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Layout Mode CCT.png|Set Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Set Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Clipboard Mode CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Set VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set VI Ref CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI sets the reference of the VI that needs to be captured &lt;br /&gt;
&lt;br /&gt;
==== Set Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Folder CCT.png|Set Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Set Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set File CCT.png|Set Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Get properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to retrieve properties from the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Get Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get FP Setting CCT.png|Get FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get BD Mode CCT.png|Get BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Layout Mode CCT.png|Get Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Get Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Clipboard Mode CCT.png|Get Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Get VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get VI Ref CCT.png|Get VI Reference]] &lt;br /&gt;
&lt;br /&gt;
This VI returns a reference to the that is currently captured in this isntance &lt;br /&gt;
&lt;br /&gt;
==== Get Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Folder CCT.png|Get Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Get Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get File CCT.png|Get Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Support  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This submenu shows additional low level functions of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Capture Front panel  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Panel Picture CCT.png|Capture front panel]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a front panel. &lt;br /&gt;
&lt;br /&gt;
==== Capture Block diagram  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Diagram Picture CCT.png|Capture block diagram]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a block diagram. &lt;br /&gt;
&lt;br /&gt;
==== Show CCT GUI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI CCT.png|Show CCT GUI]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to show the user interface of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== 7.0 container VI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 70 CCT.png|7.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 7.0 and up. &lt;br /&gt;
&lt;br /&gt;
==== 8.0 container VI (deprecated in version 2.0)&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 80 CCT.png|8.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 8.0 and up, don&#039;t forget to include the 7.0 container. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 of the Code Capture Tool installer will automatically select the correct container VI, so an additional 8.x container isn&#039;t needed anymore. &lt;br /&gt;
&lt;br /&gt;
= Known issues  =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description &lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| After using a non-default path and resetting it to the default, the new setting (temp) is not used &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Installing on Linux fails due to case sensitivity &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Capturing a non-visible part on a multi-pane front panel fails &lt;br /&gt;
| A limitation due to the LabVIEW implementation of panes, most-likely not fixable&lt;br /&gt;
|-&lt;br /&gt;
| Saving an empty image returns an error &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Opening the CCT from the Getting Started Window locks up LabVIEW &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Possible High use of memory &lt;br /&gt;
| Investigating&lt;br /&gt;
|-&lt;br /&gt;
| Impossible to capture FP of locked VI &lt;br /&gt;
| Investigating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Version History  =&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.0 ==&lt;br /&gt;
&lt;br /&gt;
Release date 15 February 2010&lt;br /&gt;
&lt;br /&gt;
*Added a border around a snippet&lt;br /&gt;
*Altered GUI (Preview window is bigger)&lt;br /&gt;
*Better key handling with text annotation, support for HOME and END.&lt;br /&gt;
*Movement of text annotation with ctrl-left, ctrl-right, up and down&lt;br /&gt;
*Movement in a text annotation with left and right&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.5  ==&lt;br /&gt;
&lt;br /&gt;
Release date 28 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Bugfix release for bug [https://sourceforge.net/tracker/?func=detail&amp;amp;atid=996819&amp;amp;aid=2905411&amp;amp;group_id=206229 2905411].&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 24 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Support for VI snippet creation &lt;br /&gt;
*Support for adding comments and drawings&lt;br /&gt;
&lt;br /&gt;
== Version 1.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 27 February 2008 &lt;br /&gt;
&lt;br /&gt;
*Bug-fixes &lt;br /&gt;
*Support for panning of the preview&lt;br /&gt;
&lt;br /&gt;
== Version 0.9.1  ==&lt;br /&gt;
&lt;br /&gt;
Release date 7 November 2007 &lt;br /&gt;
&lt;br /&gt;
*Support for LabVIEW 7.x and up &lt;br /&gt;
*Support for all OS&#039;es &lt;br /&gt;
*Support for orientation &lt;br /&gt;
*Support for selection &lt;br /&gt;
*Support for customized naming &lt;br /&gt;
*Support for customized folder&lt;br /&gt;
&lt;br /&gt;
= Licensing  =&lt;br /&gt;
&lt;br /&gt;
The CCT is licensed under the BSD license &lt;br /&gt;
&lt;br /&gt;
[[Category:Third_party_LabVIEW_tools]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:CCT_ClipBoard.png&amp;diff=4243</id>
		<title>File:CCT ClipBoard.png</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:CCT_ClipBoard.png&amp;diff=4243"/>
		<updated>2010-09-20T19:44:11Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: uploaded a new version of &amp;quot;Image:CCT ClipBoard.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:CCT_ClipBoard.png&amp;diff=4242</id>
		<title>File:CCT ClipBoard.png</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:CCT_ClipBoard.png&amp;diff=4242"/>
		<updated>2010-09-20T19:35:45Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: uploaded a new version of &amp;quot;Image:CCT ClipBoard.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4241</id>
		<title>Code Capture Tool</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4241"/>
		<updated>2010-09-20T19:24:15Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI FP Halfsize.png|left]]The Code Capture Tool (or CCT) is a [[LabVIEW]] development tool targeted at LabVIEW users to capture images of their code and make it easier to share those images in online forums.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Main Features&amp;lt;br&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
*Captures of Front Panel &lt;br /&gt;
*Captures of Block Diagram &lt;br /&gt;
*Comment an Annotate your caputre &lt;br /&gt;
*Creation of LabVIEW&amp;amp;nbsp;Snippets in any LabVIEW version &lt;br /&gt;
*Save the snippet as anoter (older) version &lt;br /&gt;
*Upload the capture to [http://www.imgur.com Imgur.com] and copy the URL to he clipboard&lt;br /&gt;
&lt;br /&gt;
=== History  ===&lt;br /&gt;
&lt;br /&gt;
The CCT is based on an idea and earlier versions originally released by [http://forums.ni.com/ni/profile?user.id=34024 Chilly Charly] on the [[NI Forums]] as [http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;thread.id=1020 starware].&amp;lt;br&amp;gt; Later, it evolved to a multiple OS and LabVIEW versions tool for creating code-shots and documentation shots. &amp;lt;br&amp;gt; A collaboration between [http://forums.lavag.org/Yair-m1431.html Yair Neeman] and [[User:Tcplomp|Ton Plomp]] resulted in the 1.0 version of the CCT that is currently available through the [[LAVA CR]] at [http://forums.lavag.org/downloads-file121.html this site]. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 added the possibility to add text and drawings to the captured image, while version 2.1 added an altered GUI, a border around the snippet and better key-handling. Version 2.1.2 added the option upload the image to Imgur.com and save the snippet in an older version.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Instruction  ==&lt;br /&gt;
&lt;br /&gt;
A series of videos is available at [http://www.screencast.com/t/ZmQ1YjIxNj Screencast]. &lt;br /&gt;
&lt;br /&gt;
A short how to is in the [http://www.screencast.com/t/2aWPdibJ9Sk here available] &lt;br /&gt;
&lt;br /&gt;
An extensive discussion and demo of the CCT&amp;amp;nbsp;is [http://www.screencast.com/t/Yhb9IAOc here].&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Version 2.0 introduces a new option to create annotations with text and graphics and the possibility to create [[Snippet|snippets]]. There is a demo-video available at [http://www.screencast.com/t/YTY4MjllZmIt Screencast]. &lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not functional yet!&lt;br /&gt;
[[File:LAVA Download-button.png|Code Repository Download]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:LAVA_Download-button.png&lt;br /&gt;
wikipage=http://lavag.org/index.php?app=downloads&amp;amp;showfile=63&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Click [http://lavag.org/index.php?app=downloads&amp;amp;showfile=63 here] to download the tool. &lt;br /&gt;
&lt;br /&gt;
To check the source you can explore your &#039;&#039;&amp;amp;lt;user.lib&amp;amp;gt;\_Code Capture Too&#039;&#039;l folder or download it from [http://lv-cct-tool.svn.sourceforge.net/viewvc/lv-cct-tool Sourceforge.net].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Interface  =&lt;br /&gt;
&lt;br /&gt;
The CCT offers two interfaces to make and distribute images of LabVIEW code - a [[Code Capture Tool#GUI|user interface]] and an [[Code Capture Tool#API|API]]. &lt;br /&gt;
&lt;br /&gt;
== GUI  ==&lt;br /&gt;
&lt;br /&gt;
The user interface of the CCT allows the user to select which parts of a [[Front Panel]] or [[Block Diagram]] should be captured. The resulting image will be stored on disc and optionally the image or the path can be copied to the OS clipboard. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|frame|center|Code Capture Tool user interface]] &lt;br /&gt;
&lt;br /&gt;
=== Front panel settings  ===&lt;br /&gt;
&lt;br /&gt;
The Front Panel listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT FP.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current panel view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the front panel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Block diagram settings  ===&lt;br /&gt;
&lt;br /&gt;
The Block Diagram listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT BD.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current block diagram view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the block diagram&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Snippet Creation&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
The creation of a snippet can only be done when the &#039;&#039;&#039;Block Diagram&#039;&#039;&#039; is set to &#039;&#039;&#039;selected&#039;&#039;&#039;.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:CCTSnippetButtons.png]] &lt;br /&gt;
&lt;br /&gt;
The header-text of the snippet is dynamically and has the following options which are accessible with the config button:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Token&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Meaning&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $VERSION$&amp;lt;br&amp;gt; &lt;br /&gt;
| Inserts the current [[Labview|LabVIEW]] version&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $NAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the captured VI, retrieved from the VI.VI&amp;amp;nbsp;Name property&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $TITLE$&amp;lt;br&amp;gt; &lt;br /&gt;
| Title of the front panel of the captured VI&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGENAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of image on disk without the PNG extension&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $DATE:xxx$&amp;lt;br&amp;gt; &lt;br /&gt;
| Date/Time formatter, &amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt; must be replaced by a valid [http://zone.ni.com/reference/en-XX/help/371361F-01/glang/codes_for_time_format_str/ timestring formatter]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Per default the header string is &amp;lt;tt&amp;gt;LV: $VERSION$ $DATE:%c$&amp;lt;/tt&amp;gt;, %c inserts the localized date.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clipboard settings  ===&lt;br /&gt;
&lt;br /&gt;
The clipboard listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Copied item &lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; | [[Image:CCT ClipBoard.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Path &lt;br /&gt;
| Path of the captured image &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Image &lt;br /&gt;
| The captured image &lt;br /&gt;
| Only on Windows&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Layout settings  ===&lt;br /&gt;
&lt;br /&gt;
The Layout picture ring supplies the following layout options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Menu Ring &lt;br /&gt;
! Item &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT Layout.png]] &lt;br /&gt;
| [[Image:CCT Layout1.png]] &lt;br /&gt;
| Front panel in top, block diagram below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout2.png]] &lt;br /&gt;
| Block diagram in top, front panel below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout3.png]] &lt;br /&gt;
| Front panel in left, block diagram on the right&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout4.png]] &lt;br /&gt;
| Block diagram in left, front panel on the right&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File settings  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT FileSettings.png]] &lt;br /&gt;
&lt;br /&gt;
The file settings consists of two controls, the string control to name the file (a .png extension is added to the name automatically) and a browse button to set the folder where the file should be stored. To detect which folder is currently used hover over one of the two controls and the tip-strip will show the folder. &lt;br /&gt;
&lt;br /&gt;
==== Resetting the folder  ====&lt;br /&gt;
&lt;br /&gt;
By default the storage folder is the LabVIEW temp folder (which by default is the same as the OS temp folder), and can be changed with the browse for folder button. To revert to the temp folder use this button [[Image:CCT Reset.png]]. &lt;br /&gt;
&lt;br /&gt;
=== Zoom function  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Zoom.png]] &lt;br /&gt;
&lt;br /&gt;
The zoom slider allows the user to zoom in and out on the captured image and inspect it in detail. This only affects the preview image and will not change the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Annotation/Sketch toolbars  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTAnnotationOptions.png]] &lt;br /&gt;
&lt;br /&gt;
The annotation/sketch toolbars are used to add annotations and sketches/drawings to the capture.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;10&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; width=&amp;quot;407&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:AnnotationOptionsRotated.png|left|18x98px]] &lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Rectangle:&#039;&#039;&#039; Use shift to draw a square&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Oval:&#039;&#039;&#039; Use shift to draw a circle&amp;lt;br&amp;gt;&#039;&#039;&#039;Line:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arrow:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &#039;&#039;&#039;Free: &#039;&#039;&#039; Use this to draw irregular shapes&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing Styles  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTStylesDetail.png]] The style of the line can be one of 5 styles:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Continious &lt;br /&gt;
*Dash &lt;br /&gt;
*Dot &lt;br /&gt;
*Dash-Dot &lt;br /&gt;
*Dash-Dot-Dot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line width  ====&lt;br /&gt;
&lt;br /&gt;
The linewidth of the sketch/drawing line can be alterd as well [[Image:CCT Linewidth.png]] &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line/Text color  ====&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to alter the color of the annotation (sketch or text), when editing text changing the line coler takes effect immediatly. &lt;br /&gt;
&lt;br /&gt;
==== Text size  ====&lt;br /&gt;
&lt;br /&gt;
The font of the annotation text cannot be altered and is fixed on &amp;lt;tt&amp;gt;Arial &amp;lt;/tt&amp;gt;, the size however can be altered easily. &lt;br /&gt;
&lt;br /&gt;
==== Editing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;50%&amp;quot; cellspacing=&amp;quot;2&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Text.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Starts editing text&amp;lt;br&amp;gt;Use shift-enter to add anew-line&amp;lt;br&amp;gt;Use arrow keys to move the positioning of the text around&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Pan.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to move the preview window around, this is the default tool of the Annotation Sketch toolbar. It does not change the captured image.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Undo.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to undo the last edit on the annotation/sketch (4 steps possible), use &amp;amp;lt;ctrl-z&amp;amp;gt; on [[Image:Logo.Windows.png]] and&amp;amp;nbsp;[[Image:Logo.Linux.png]] and &amp;amp;lt;cmd-z&amp;amp;gt; on [[Image:Logo.Mac.png]].&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Clear.png]] &lt;br /&gt;
| Clear the annotation layer.&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help  ===&lt;br /&gt;
&lt;br /&gt;
The help button [[Image:CCT Help.png]] calls the about window of the CCT including a short description of the main functions, a link to the webpage, a list of know issues and licensing info. &lt;br /&gt;
&lt;br /&gt;
=== Capture  ===&lt;br /&gt;
&lt;br /&gt;
The capture button [[Image:CCT Capture.png]] will capture the image, save it, copy to the clipboard, save the currently selected options for the next time and close the window. This can also be done by pressing Enter. &lt;br /&gt;
&lt;br /&gt;
=== Clean up  ===&lt;br /&gt;
&lt;br /&gt;
The clean up button [[Image:CCTCleanUp.png]] will clean up the whole BD (if &#039;whole&#039; is set as BD option) or the current selection (if &#039;Selections&#039; is set as BD option). This button is only visible if this option is active (correct LabVIEW version). &lt;br /&gt;
&lt;br /&gt;
=== Key navigation  ===&lt;br /&gt;
&lt;br /&gt;
The CCT has several key shortcuts for easier access: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key &lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| Enter &lt;br /&gt;
| Applies the current settings and does a [[Code Capture Tool#Capture|capture]] or finishes a current text edit&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| F1 &lt;br /&gt;
| Loads the about window centered on the help tab&lt;br /&gt;
|-&lt;br /&gt;
| F5 &lt;br /&gt;
| Refreshes the current image&lt;br /&gt;
|-&lt;br /&gt;
| Escape &lt;br /&gt;
| Closes the CCT without performing a capture or finishes a current text/graph edit&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API  ==&lt;br /&gt;
&lt;br /&gt;
The API provides an interface to the various functions of the CCT. Its palette is accessible under [[User.lib]]\Code Capture Tool. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT palette.PNG]] &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Support.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Support&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Methods  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to activate methods for the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Create CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Create CCT.png|Creat CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called for every instance of the CCT, it creates a GOOP dataspace that will contain the data of the instance. Calling this VI must be done with a valid VI reference. &lt;br /&gt;
&lt;br /&gt;
==== Capture Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture VI Images CCT.png|Capture Images]] &lt;br /&gt;
&lt;br /&gt;
This VI will apply the current settings and store the captured image in the CCT instance, additionally it returns the image itself. &lt;br /&gt;
&lt;br /&gt;
==== Save Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Save Captured Image CCT.png|Save Image]] &lt;br /&gt;
&lt;br /&gt;
This VI will save the image to the path specified by a folder and filename stored in the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Copy to Clipboard  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Copy Data to Clipboard CCT.png|Copy to Clipboard]] &lt;br /&gt;
&lt;br /&gt;
This VI will store the data specified by the clipboard settings to the clipboard. &lt;br /&gt;
&lt;br /&gt;
==== Destroy CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Destroy CCT.png|Destroy CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called to close the CCT Instance and will free up used memory resources. &lt;br /&gt;
&lt;br /&gt;
==== Generate File Name  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Generate File Name CCT.png|Generate filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will generate a default filename based on the captured parts and VI name. This filename will not be stored inside the CCT session. &lt;br /&gt;
&lt;br /&gt;
=== Set properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to change properties for the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Set Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set FP Mode CCT.png|Set FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set BD Mode CCT.png|Set BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Layout Mode CCT.png|Set Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Set Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Clipboard Mode CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Set VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set VI Ref CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI sets the reference of the VI that needs to be captured &lt;br /&gt;
&lt;br /&gt;
==== Set Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Folder CCT.png|Set Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Set Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set File CCT.png|Set Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Get properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to retrieve properties from the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Get Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get FP Setting CCT.png|Get FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get BD Mode CCT.png|Get BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Layout Mode CCT.png|Get Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Get Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Clipboard Mode CCT.png|Get Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Get VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get VI Ref CCT.png|Get VI Reference]] &lt;br /&gt;
&lt;br /&gt;
This VI returns a reference to the that is currently captured in this isntance &lt;br /&gt;
&lt;br /&gt;
==== Get Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Folder CCT.png|Get Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Get Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get File CCT.png|Get Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Support  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This submenu shows additional low level functions of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Capture Front panel  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Panel Picture CCT.png|Capture front panel]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a front panel. &lt;br /&gt;
&lt;br /&gt;
==== Capture Block diagram  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Diagram Picture CCT.png|Capture block diagram]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a block diagram. &lt;br /&gt;
&lt;br /&gt;
==== Show CCT GUI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI CCT.png|Show CCT GUI]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to show the user interface of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== 7.0 container VI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 70 CCT.png|7.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 7.0 and up. &lt;br /&gt;
&lt;br /&gt;
==== 8.0 container VI (deprecated in version 2.0)&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 80 CCT.png|8.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 8.0 and up, don&#039;t forget to include the 7.0 container. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 of the Code Capture Tool installer will automatically select the correct container VI, so an additional 8.x container isn&#039;t needed anymore. &lt;br /&gt;
&lt;br /&gt;
= Known issues  =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description &lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| After using a non-default path and resetting it to the default, the new setting (temp) is not used &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Installing on Linux fails due to case sensitivity &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Capturing a non-visible part on a multi-pane front panel fails &lt;br /&gt;
| A limitation due to the LabVIEW implementation of panes, most-likely not fixable&lt;br /&gt;
|-&lt;br /&gt;
| Saving an empty image returns an error &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Opening the CCT from the Getting Started Window locks up LabVIEW &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Possible High use of memory &lt;br /&gt;
| Investigating&lt;br /&gt;
|-&lt;br /&gt;
| Impossible to capture FP of locked VI &lt;br /&gt;
| Investigating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Version History  =&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.0 ==&lt;br /&gt;
&lt;br /&gt;
Release date 15 February 2010&lt;br /&gt;
&lt;br /&gt;
*Added a border around a snippet&lt;br /&gt;
*Altered GUI (Preview window is bigger)&lt;br /&gt;
*Better key handling with text annotation, support for HOME and END.&lt;br /&gt;
*Movement of text annotation with ctrl-left, ctrl-right, up and down&lt;br /&gt;
*Movement in a text annotation with left and right&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.5  ==&lt;br /&gt;
&lt;br /&gt;
Release date 28 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Bugfix release for bug [https://sourceforge.net/tracker/?func=detail&amp;amp;atid=996819&amp;amp;aid=2905411&amp;amp;group_id=206229 2905411].&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 24 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Support for VI snippet creation &lt;br /&gt;
*Support for adding comments and drawings&lt;br /&gt;
&lt;br /&gt;
== Version 1.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 27 February 2008 &lt;br /&gt;
&lt;br /&gt;
*Bug-fixes &lt;br /&gt;
*Support for panning of the preview&lt;br /&gt;
&lt;br /&gt;
== Version 0.9.1  ==&lt;br /&gt;
&lt;br /&gt;
Release date 7 November 2007 &lt;br /&gt;
&lt;br /&gt;
*Support for LabVIEW 7.x and up &lt;br /&gt;
*Support for all OS&#039;es &lt;br /&gt;
*Support for orientation &lt;br /&gt;
*Support for selection &lt;br /&gt;
*Support for customized naming &lt;br /&gt;
*Support for customized folder&lt;br /&gt;
&lt;br /&gt;
= Licensing  =&lt;br /&gt;
&lt;br /&gt;
The CCT is licensed under the BSD license &lt;br /&gt;
&lt;br /&gt;
[[Category:Third_party_LabVIEW_tools]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4240</id>
		<title>Code Capture Tool</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4240"/>
		<updated>2010-09-20T19:23:54Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI FP Halfsize.png|left]]The Code Capture Tool (or CCT) is a [[LabVIEW]] development tool targeted at LabVIEW users to capture images of their code and make it easier to share those images in online forums.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Main Features&amp;lt;br&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
*Captures of Front Panel &lt;br /&gt;
*Captures of Block Diagram &lt;br /&gt;
*Comment an Annotate your caputre &lt;br /&gt;
*Creation of LabVIEW&amp;amp;nbsp;Snippets in any LabVIEW version &lt;br /&gt;
*Save the snippet as anoter (older) version &lt;br /&gt;
*Upload the capture to [http://www.imgur.com Imgur.com] and copy the URL to he clipboard&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
&lt;br /&gt;
The CCT is based on an idea and earlier versions originally released by [http://forums.ni.com/ni/profile?user.id=34024 Chilly Charly] on the [[NI Forums]] as [http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;thread.id=1020 starware].&amp;lt;br&amp;gt; Later, it evolved to a multiple OS and LabVIEW versions tool for creating code-shots and documentation shots. &amp;lt;br&amp;gt; A collaboration between [http://forums.lavag.org/Yair-m1431.html Yair Neeman] and [[User:Tcplomp|Ton Plomp]] resulted in the 1.0 version of the CCT that is currently available through the [[LAVA CR]] at [http://forums.lavag.org/downloads-file121.html this site]. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 added the possibility to add text and drawings to the captured image, while version 2.1 added an altered GUI, a border around the snippet and better key-handling. Version 2.1.2 added the option upload the image to Imgur.com and save the snippet in an older version.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Instruction  ==&lt;br /&gt;
&lt;br /&gt;
A series of videos is available at [http://www.screencast.com/t/ZmQ1YjIxNj Screencast]. &lt;br /&gt;
&lt;br /&gt;
A short how to is in the [http://www.screencast.com/t/2aWPdibJ9Sk here available] &lt;br /&gt;
&lt;br /&gt;
An extensive discussion and demo of the CCT&amp;amp;nbsp;is [http://www.screencast.com/t/Yhb9IAOc here].&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Version 2.0 introduces a new option to create annotations with text and graphics and the possibility to create [[Snippet|snippets]]. There is a demo-video available at [http://www.screencast.com/t/YTY4MjllZmIt Screencast]. &lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not functional yet!&lt;br /&gt;
[[File:LAVA Download-button.png|Code Repository Download]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:LAVA_Download-button.png&lt;br /&gt;
wikipage=http://lavag.org/index.php?app=downloads&amp;amp;showfile=63&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Click [http://lavag.org/index.php?app=downloads&amp;amp;showfile=63 here] to download the tool. &lt;br /&gt;
&lt;br /&gt;
To check the source you can explore your &#039;&#039;&amp;amp;lt;user.lib&amp;amp;gt;\_Code Capture Too&#039;&#039;l folder or download it from [http://lv-cct-tool.svn.sourceforge.net/viewvc/lv-cct-tool Sourceforge.net].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Interface  =&lt;br /&gt;
&lt;br /&gt;
The CCT offers two interfaces to make and distribute images of LabVIEW code - a [[Code Capture Tool#GUI|user interface]] and an [[Code Capture Tool#API|API]]. &lt;br /&gt;
&lt;br /&gt;
== GUI  ==&lt;br /&gt;
&lt;br /&gt;
The user interface of the CCT allows the user to select which parts of a [[Front Panel]] or [[Block Diagram]] should be captured. The resulting image will be stored on disc and optionally the image or the path can be copied to the OS clipboard. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|frame|center|Code Capture Tool user interface]] &lt;br /&gt;
&lt;br /&gt;
=== Front panel settings  ===&lt;br /&gt;
&lt;br /&gt;
The Front Panel listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT FP.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current panel view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the front panel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Block diagram settings  ===&lt;br /&gt;
&lt;br /&gt;
The Block Diagram listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT BD.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current block diagram view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the block diagram&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Snippet Creation&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
The creation of a snippet can only be done when the &#039;&#039;&#039;Block Diagram&#039;&#039;&#039; is set to &#039;&#039;&#039;selected&#039;&#039;&#039;.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:CCTSnippetButtons.png]] &lt;br /&gt;
&lt;br /&gt;
The header-text of the snippet is dynamically and has the following options which are accessible with the config button:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Token&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Meaning&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $VERSION$&amp;lt;br&amp;gt; &lt;br /&gt;
| Inserts the current [[Labview|LabVIEW]] version&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $NAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the captured VI, retrieved from the VI.VI&amp;amp;nbsp;Name property&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $TITLE$&amp;lt;br&amp;gt; &lt;br /&gt;
| Title of the front panel of the captured VI&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGENAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of image on disk without the PNG extension&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $DATE:xxx$&amp;lt;br&amp;gt; &lt;br /&gt;
| Date/Time formatter, &amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt; must be replaced by a valid [http://zone.ni.com/reference/en-XX/help/371361F-01/glang/codes_for_time_format_str/ timestring formatter]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Per default the header string is &amp;lt;tt&amp;gt;LV: $VERSION$ $DATE:%c$&amp;lt;/tt&amp;gt;, %c inserts the localized date.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clipboard settings  ===&lt;br /&gt;
&lt;br /&gt;
The clipboard listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Copied item &lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; | [[Image:CCT ClipBoard.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Path &lt;br /&gt;
| Path of the captured image &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Image &lt;br /&gt;
| The captured image &lt;br /&gt;
| Only on Windows&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Layout settings  ===&lt;br /&gt;
&lt;br /&gt;
The Layout picture ring supplies the following layout options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Menu Ring &lt;br /&gt;
! Item &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT Layout.png]] &lt;br /&gt;
| [[Image:CCT Layout1.png]] &lt;br /&gt;
| Front panel in top, block diagram below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout2.png]] &lt;br /&gt;
| Block diagram in top, front panel below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout3.png]] &lt;br /&gt;
| Front panel in left, block diagram on the right&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout4.png]] &lt;br /&gt;
| Block diagram in left, front panel on the right&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File settings  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT FileSettings.png]] &lt;br /&gt;
&lt;br /&gt;
The file settings consists of two controls, the string control to name the file (a .png extension is added to the name automatically) and a browse button to set the folder where the file should be stored. To detect which folder is currently used hover over one of the two controls and the tip-strip will show the folder. &lt;br /&gt;
&lt;br /&gt;
==== Resetting the folder  ====&lt;br /&gt;
&lt;br /&gt;
By default the storage folder is the LabVIEW temp folder (which by default is the same as the OS temp folder), and can be changed with the browse for folder button. To revert to the temp folder use this button [[Image:CCT Reset.png]]. &lt;br /&gt;
&lt;br /&gt;
=== Zoom function  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Zoom.png]] &lt;br /&gt;
&lt;br /&gt;
The zoom slider allows the user to zoom in and out on the captured image and inspect it in detail. This only affects the preview image and will not change the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Annotation/Sketch toolbars  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTAnnotationOptions.png]] &lt;br /&gt;
&lt;br /&gt;
The annotation/sketch toolbars are used to add annotations and sketches/drawings to the capture.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;10&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; width=&amp;quot;407&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:AnnotationOptionsRotated.png|left|18x98px]] &lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Rectangle:&#039;&#039;&#039; Use shift to draw a square&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Oval:&#039;&#039;&#039; Use shift to draw a circle&amp;lt;br&amp;gt;&#039;&#039;&#039;Line:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arrow:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &#039;&#039;&#039;Free: &#039;&#039;&#039; Use this to draw irregular shapes&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing Styles  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTStylesDetail.png]] The style of the line can be one of 5 styles:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Continious &lt;br /&gt;
*Dash &lt;br /&gt;
*Dot &lt;br /&gt;
*Dash-Dot &lt;br /&gt;
*Dash-Dot-Dot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line width  ====&lt;br /&gt;
&lt;br /&gt;
The linewidth of the sketch/drawing line can be alterd as well [[Image:CCT Linewidth.png]] &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line/Text color  ====&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to alter the color of the annotation (sketch or text), when editing text changing the line coler takes effect immediatly. &lt;br /&gt;
&lt;br /&gt;
==== Text size  ====&lt;br /&gt;
&lt;br /&gt;
The font of the annotation text cannot be altered and is fixed on &amp;lt;tt&amp;gt;Arial &amp;lt;/tt&amp;gt;, the size however can be altered easily. &lt;br /&gt;
&lt;br /&gt;
==== Editing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;50%&amp;quot; cellspacing=&amp;quot;2&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Text.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Starts editing text&amp;lt;br&amp;gt;Use shift-enter to add anew-line&amp;lt;br&amp;gt;Use arrow keys to move the positioning of the text around&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Pan.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to move the preview window around, this is the default tool of the Annotation Sketch toolbar. It does not change the captured image.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Undo.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to undo the last edit on the annotation/sketch (4 steps possible), use &amp;amp;lt;ctrl-z&amp;amp;gt; on [[Image:Logo.Windows.png]] and&amp;amp;nbsp;[[Image:Logo.Linux.png]] and &amp;amp;lt;cmd-z&amp;amp;gt; on [[Image:Logo.Mac.png]].&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Clear.png]] &lt;br /&gt;
| Clear the annotation layer.&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help  ===&lt;br /&gt;
&lt;br /&gt;
The help button [[Image:CCT Help.png]] calls the about window of the CCT including a short description of the main functions, a link to the webpage, a list of know issues and licensing info. &lt;br /&gt;
&lt;br /&gt;
=== Capture  ===&lt;br /&gt;
&lt;br /&gt;
The capture button [[Image:CCT Capture.png]] will capture the image, save it, copy to the clipboard, save the currently selected options for the next time and close the window. This can also be done by pressing Enter. &lt;br /&gt;
&lt;br /&gt;
=== Clean up  ===&lt;br /&gt;
&lt;br /&gt;
The clean up button [[Image:CCTCleanUp.png]] will clean up the whole BD (if &#039;whole&#039; is set as BD option) or the current selection (if &#039;Selections&#039; is set as BD option). This button is only visible if this option is active (correct LabVIEW version). &lt;br /&gt;
&lt;br /&gt;
=== Key navigation  ===&lt;br /&gt;
&lt;br /&gt;
The CCT has several key shortcuts for easier access: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key &lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| Enter &lt;br /&gt;
| Applies the current settings and does a [[Code Capture Tool#Capture|capture]] or finishes a current text edit&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| F1 &lt;br /&gt;
| Loads the about window centered on the help tab&lt;br /&gt;
|-&lt;br /&gt;
| F5 &lt;br /&gt;
| Refreshes the current image&lt;br /&gt;
|-&lt;br /&gt;
| Escape &lt;br /&gt;
| Closes the CCT without performing a capture or finishes a current text/graph edit&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API  ==&lt;br /&gt;
&lt;br /&gt;
The API provides an interface to the various functions of the CCT. Its palette is accessible under [[User.lib]]\Code Capture Tool. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT palette.PNG]] &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Support.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Support&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Methods  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to activate methods for the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Create CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Create CCT.png|Creat CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called for every instance of the CCT, it creates a GOOP dataspace that will contain the data of the instance. Calling this VI must be done with a valid VI reference. &lt;br /&gt;
&lt;br /&gt;
==== Capture Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture VI Images CCT.png|Capture Images]] &lt;br /&gt;
&lt;br /&gt;
This VI will apply the current settings and store the captured image in the CCT instance, additionally it returns the image itself. &lt;br /&gt;
&lt;br /&gt;
==== Save Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Save Captured Image CCT.png|Save Image]] &lt;br /&gt;
&lt;br /&gt;
This VI will save the image to the path specified by a folder and filename stored in the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Copy to Clipboard  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Copy Data to Clipboard CCT.png|Copy to Clipboard]] &lt;br /&gt;
&lt;br /&gt;
This VI will store the data specified by the clipboard settings to the clipboard. &lt;br /&gt;
&lt;br /&gt;
==== Destroy CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Destroy CCT.png|Destroy CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called to close the CCT Instance and will free up used memory resources. &lt;br /&gt;
&lt;br /&gt;
==== Generate File Name  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Generate File Name CCT.png|Generate filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will generate a default filename based on the captured parts and VI name. This filename will not be stored inside the CCT session. &lt;br /&gt;
&lt;br /&gt;
=== Set properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to change properties for the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Set Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set FP Mode CCT.png|Set FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set BD Mode CCT.png|Set BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Layout Mode CCT.png|Set Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Set Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Clipboard Mode CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Set VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set VI Ref CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI sets the reference of the VI that needs to be captured &lt;br /&gt;
&lt;br /&gt;
==== Set Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Folder CCT.png|Set Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Set Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set File CCT.png|Set Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Get properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to retrieve properties from the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Get Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get FP Setting CCT.png|Get FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get BD Mode CCT.png|Get BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Layout Mode CCT.png|Get Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Get Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Clipboard Mode CCT.png|Get Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Get VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get VI Ref CCT.png|Get VI Reference]] &lt;br /&gt;
&lt;br /&gt;
This VI returns a reference to the that is currently captured in this isntance &lt;br /&gt;
&lt;br /&gt;
==== Get Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Folder CCT.png|Get Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Get Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get File CCT.png|Get Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Support  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This submenu shows additional low level functions of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Capture Front panel  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Panel Picture CCT.png|Capture front panel]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a front panel. &lt;br /&gt;
&lt;br /&gt;
==== Capture Block diagram  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Diagram Picture CCT.png|Capture block diagram]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a block diagram. &lt;br /&gt;
&lt;br /&gt;
==== Show CCT GUI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI CCT.png|Show CCT GUI]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to show the user interface of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== 7.0 container VI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 70 CCT.png|7.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 7.0 and up. &lt;br /&gt;
&lt;br /&gt;
==== 8.0 container VI (deprecated in version 2.0)&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 80 CCT.png|8.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 8.0 and up, don&#039;t forget to include the 7.0 container. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 of the Code Capture Tool installer will automatically select the correct container VI, so an additional 8.x container isn&#039;t needed anymore. &lt;br /&gt;
&lt;br /&gt;
= Known issues  =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description &lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| After using a non-default path and resetting it to the default, the new setting (temp) is not used &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Installing on Linux fails due to case sensitivity &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Capturing a non-visible part on a multi-pane front panel fails &lt;br /&gt;
| A limitation due to the LabVIEW implementation of panes, most-likely not fixable&lt;br /&gt;
|-&lt;br /&gt;
| Saving an empty image returns an error &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Opening the CCT from the Getting Started Window locks up LabVIEW &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Possible High use of memory &lt;br /&gt;
| Investigating&lt;br /&gt;
|-&lt;br /&gt;
| Impossible to capture FP of locked VI &lt;br /&gt;
| Investigating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Version History  =&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.0 ==&lt;br /&gt;
&lt;br /&gt;
Release date 15 February 2010&lt;br /&gt;
&lt;br /&gt;
*Added a border around a snippet&lt;br /&gt;
*Altered GUI (Preview window is bigger)&lt;br /&gt;
*Better key handling with text annotation, support for HOME and END.&lt;br /&gt;
*Movement of text annotation with ctrl-left, ctrl-right, up and down&lt;br /&gt;
*Movement in a text annotation with left and right&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.5  ==&lt;br /&gt;
&lt;br /&gt;
Release date 28 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Bugfix release for bug [https://sourceforge.net/tracker/?func=detail&amp;amp;atid=996819&amp;amp;aid=2905411&amp;amp;group_id=206229 2905411].&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 24 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Support for VI snippet creation &lt;br /&gt;
*Support for adding comments and drawings&lt;br /&gt;
&lt;br /&gt;
== Version 1.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 27 February 2008 &lt;br /&gt;
&lt;br /&gt;
*Bug-fixes &lt;br /&gt;
*Support for panning of the preview&lt;br /&gt;
&lt;br /&gt;
== Version 0.9.1  ==&lt;br /&gt;
&lt;br /&gt;
Release date 7 November 2007 &lt;br /&gt;
&lt;br /&gt;
*Support for LabVIEW 7.x and up &lt;br /&gt;
*Support for all OS&#039;es &lt;br /&gt;
*Support for orientation &lt;br /&gt;
*Support for selection &lt;br /&gt;
*Support for customized naming &lt;br /&gt;
*Support for customized folder&lt;br /&gt;
&lt;br /&gt;
= Licensing  =&lt;br /&gt;
&lt;br /&gt;
The CCT is licensed under the BSD license &lt;br /&gt;
&lt;br /&gt;
[[Category:Third_party_LabVIEW_tools]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4239</id>
		<title>Code Capture Tool</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4239"/>
		<updated>2010-09-20T19:21:42Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI FP Halfsize.png|left]]The Code Capture Tool (or CCT) is a [[LabVIEW]] development tool targeted at LabVIEW users to capture images of their code and make it easier to share those images in online forums.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Features&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
*Captures of Front Panel&lt;br /&gt;
*Captures of Block Diagram&lt;br /&gt;
*Comment an Annotate your caputre&lt;br /&gt;
*Creation of LabVIEW&amp;amp;nbsp;Snippets in any LabVIEW version&lt;br /&gt;
*Save the snippet as anoter (older) version&lt;br /&gt;
*Upload the capture to [http://www.imgur.com Imgur.com] and copy the URL to he clipboard&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
&lt;br /&gt;
The CCT is based on an idea and earlier versions originally released by [http://forums.ni.com/ni/profile?user.id=34024 Chilly Charly] on the [[NI Forums]] as [http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;thread.id=1020 starware].&amp;lt;br&amp;gt; Later, it evolved to a multiple OS and LabVIEW versions tool for creating code-shots and documentation shots. &amp;lt;br&amp;gt; A collaboration between [http://forums.lavag.org/Yair-m1431.html Yair Neeman] and [[User:Tcplomp|Ton Plomp]] resulted in the 1.0 version of the CCT that is currently available through the [[LAVA CR]] at [http://forums.lavag.org/downloads-file121.html this site]. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 added the possibility to add text and drawings to the captured image, while version 2.1 added an altered GUI, a border around the snippet and better key-handling. Version 2.1.2 added the option upload the image to Imgur.com and save the snippet in an older version.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Instruction  ==&lt;br /&gt;
&lt;br /&gt;
A series of videos is available at [http://www.screencast.com/t/ZmQ1YjIxNj Screencast]. &lt;br /&gt;
&lt;br /&gt;
A short how to is in the [http://www.screencast.com/t/2aWPdibJ9Sk here available] &lt;br /&gt;
&lt;br /&gt;
An extensive discussion and demo of the CCT&amp;amp;nbsp;is [http://www.screencast.com/t/Yhb9IAOc here].&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Version 2.0 introduces a new option to create annotations with text and graphics and the possibility to create [[Snippet|snippets]]. There is a demo-video available at [http://www.screencast.com/t/YTY4MjllZmIt Screencast]. &lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not functional yet!&lt;br /&gt;
[[File:LAVA Download-button.png|Code Repository Download]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:LAVA_Download-button.png&lt;br /&gt;
wikipage=http://lavag.org/index.php?app=downloads&amp;amp;showfile=63&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Click [http://lavag.org/index.php?app=downloads&amp;amp;showfile=63 here] to download the tool. &lt;br /&gt;
&lt;br /&gt;
To check the source you can explore your &#039;&#039;&amp;amp;lt;user.lib&amp;amp;gt;\_Code Capture Too&#039;&#039;l folder or download it from [http://lv-cct-tool.svn.sourceforge.net/viewvc/lv-cct-tool Sourceforge.net].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Interface  =&lt;br /&gt;
&lt;br /&gt;
The CCT offers two interfaces to make and distribute images of LabVIEW code - a [[Code Capture Tool#GUI|user interface]] and an [[Code Capture Tool#API|API]]. &lt;br /&gt;
&lt;br /&gt;
== GUI  ==&lt;br /&gt;
&lt;br /&gt;
The user interface of the CCT allows the user to select which parts of a [[Front Panel]] or [[Block Diagram]] should be captured. The resulting image will be stored on disc and optionally the image or the path can be copied to the OS clipboard. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|frame|center|Code Capture Tool user interface]] &lt;br /&gt;
&lt;br /&gt;
=== Front panel settings  ===&lt;br /&gt;
&lt;br /&gt;
The Front Panel listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT FP.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current panel view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the front panel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Block diagram settings  ===&lt;br /&gt;
&lt;br /&gt;
The Block Diagram listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT BD.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current block diagram view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the block diagram&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Snippet Creation&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
The creation of a snippet can only be done when the &#039;&#039;&#039;Block Diagram&#039;&#039;&#039; is set to &#039;&#039;&#039;selected&#039;&#039;&#039;.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:CCTSnippetButtons.png]] &lt;br /&gt;
&lt;br /&gt;
The header-text of the snippet is dynamically and has the following options which are accessible with the config button:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Token&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Meaning&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $VERSION$&amp;lt;br&amp;gt; &lt;br /&gt;
| Inserts the current [[Labview|LabVIEW]] version&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $NAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the captured VI, retrieved from the VI.VI&amp;amp;nbsp;Name property&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $TITLE$&amp;lt;br&amp;gt; &lt;br /&gt;
| Title of the front panel of the captured VI&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGENAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of image on disk without the PNG extension&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $DATE:xxx$&amp;lt;br&amp;gt; &lt;br /&gt;
| Date/Time formatter, &amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt; must be replaced by a valid [http://zone.ni.com/reference/en-XX/help/371361F-01/glang/codes_for_time_format_str/ timestring formatter]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Per default the header string is &amp;lt;tt&amp;gt;LV: $VERSION$ $DATE:%c$&amp;lt;/tt&amp;gt;, %c inserts the localized date.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clipboard settings  ===&lt;br /&gt;
&lt;br /&gt;
The clipboard listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Copied item &lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; | [[Image:CCT ClipBoard.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Path &lt;br /&gt;
| Path of the captured image &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Image &lt;br /&gt;
| The captured image &lt;br /&gt;
| Only on Windows&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Layout settings  ===&lt;br /&gt;
&lt;br /&gt;
The Layout picture ring supplies the following layout options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Menu Ring &lt;br /&gt;
! Item &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT Layout.png]] &lt;br /&gt;
| [[Image:CCT Layout1.png]] &lt;br /&gt;
| Front panel in top, block diagram below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout2.png]] &lt;br /&gt;
| Block diagram in top, front panel below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout3.png]] &lt;br /&gt;
| Front panel in left, block diagram on the right&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout4.png]] &lt;br /&gt;
| Block diagram in left, front panel on the right&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File settings  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT FileSettings.png]] &lt;br /&gt;
&lt;br /&gt;
The file settings consists of two controls, the string control to name the file (a .png extension is added to the name automatically) and a browse button to set the folder where the file should be stored. To detect which folder is currently used hover over one of the two controls and the tip-strip will show the folder. &lt;br /&gt;
&lt;br /&gt;
==== Resetting the folder  ====&lt;br /&gt;
&lt;br /&gt;
By default the storage folder is the LabVIEW temp folder (which by default is the same as the OS temp folder), and can be changed with the browse for folder button. To revert to the temp folder use this button [[Image:CCT Reset.png]]. &lt;br /&gt;
&lt;br /&gt;
=== Zoom function  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Zoom.png]] &lt;br /&gt;
&lt;br /&gt;
The zoom slider allows the user to zoom in and out on the captured image and inspect it in detail. This only affects the preview image and will not change the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Annotation/Sketch toolbars  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTAnnotationOptions.png]] &lt;br /&gt;
&lt;br /&gt;
The annotation/sketch toolbars are used to add annotations and sketches/drawings to the capture.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;10&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; width=&amp;quot;407&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:AnnotationOptionsRotated.png|left|18x98px]] &lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Rectangle:&#039;&#039;&#039; Use shift to draw a square&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Oval:&#039;&#039;&#039; Use shift to draw a circle&amp;lt;br&amp;gt;&#039;&#039;&#039;Line:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arrow:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &#039;&#039;&#039;Free: &#039;&#039;&#039; Use this to draw irregular shapes&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing Styles  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTStylesDetail.png]] The style of the line can be one of 5 styles:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Continious &lt;br /&gt;
*Dash &lt;br /&gt;
*Dot &lt;br /&gt;
*Dash-Dot &lt;br /&gt;
*Dash-Dot-Dot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line width  ====&lt;br /&gt;
&lt;br /&gt;
The linewidth of the sketch/drawing line can be alterd as well [[Image:CCT Linewidth.png]] &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line/Text color  ====&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to alter the color of the annotation (sketch or text), when editing text changing the line coler takes effect immediatly. &lt;br /&gt;
&lt;br /&gt;
==== Text size  ====&lt;br /&gt;
&lt;br /&gt;
The font of the annotation text cannot be altered and is fixed on &amp;lt;tt&amp;gt;Arial &amp;lt;/tt&amp;gt;, the size however can be altered easily. &lt;br /&gt;
&lt;br /&gt;
==== Editing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;50%&amp;quot; cellspacing=&amp;quot;2&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Text.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Starts editing text&amp;lt;br&amp;gt;Use shift-enter to add anew-line&amp;lt;br&amp;gt;Use arrow keys to move the positioning of the text around&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Pan.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to move the preview window around, this is the default tool of the Annotation Sketch toolbar. It does not change the captured image.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Undo.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to undo the last edit on the annotation/sketch (4 steps possible), use &amp;amp;lt;ctrl-z&amp;amp;gt; on [[Image:Logo.Windows.png]] and&amp;amp;nbsp;[[Image:Logo.Linux.png]] and &amp;amp;lt;cmd-z&amp;amp;gt; on [[Image:Logo.Mac.png]].&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Clear.png]] &lt;br /&gt;
| Clear the annotation layer.&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help  ===&lt;br /&gt;
&lt;br /&gt;
The help button [[Image:CCT Help.png]] calls the about window of the CCT including a short description of the main functions, a link to the webpage, a list of know issues and licensing info. &lt;br /&gt;
&lt;br /&gt;
=== Capture  ===&lt;br /&gt;
&lt;br /&gt;
The capture button [[Image:CCT Capture.png]] will capture the image, save it, copy to the clipboard, save the currently selected options for the next time and close the window. This can also be done by pressing Enter. &lt;br /&gt;
&lt;br /&gt;
=== Clean up  ===&lt;br /&gt;
&lt;br /&gt;
The clean up button [[Image:CCTCleanUp.png]] will clean up the whole BD (if &#039;whole&#039; is set as BD option) or the current selection (if &#039;Selections&#039; is set as BD option). This button is only visible if this option is active (correct LabVIEW version). &lt;br /&gt;
&lt;br /&gt;
=== Key navigation  ===&lt;br /&gt;
&lt;br /&gt;
The CCT has several key shortcuts for easier access: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key &lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| Enter &lt;br /&gt;
| Applies the current settings and does a [[Code Capture Tool#Capture|capture]] or finishes a current text edit&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| F1 &lt;br /&gt;
| Loads the about window centered on the help tab&lt;br /&gt;
|-&lt;br /&gt;
| F5 &lt;br /&gt;
| Refreshes the current image&lt;br /&gt;
|-&lt;br /&gt;
| Escape &lt;br /&gt;
| Closes the CCT without performing a capture or finishes a current text/graph edit&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API  ==&lt;br /&gt;
&lt;br /&gt;
The API provides an interface to the various functions of the CCT. Its palette is accessible under [[User.lib]]\Code Capture Tool. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT palette.PNG]] &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Support.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Support&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Methods  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to activate methods for the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Create CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Create CCT.png|Creat CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called for every instance of the CCT, it creates a GOOP dataspace that will contain the data of the instance. Calling this VI must be done with a valid VI reference. &lt;br /&gt;
&lt;br /&gt;
==== Capture Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture VI Images CCT.png|Capture Images]] &lt;br /&gt;
&lt;br /&gt;
This VI will apply the current settings and store the captured image in the CCT instance, additionally it returns the image itself. &lt;br /&gt;
&lt;br /&gt;
==== Save Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Save Captured Image CCT.png|Save Image]] &lt;br /&gt;
&lt;br /&gt;
This VI will save the image to the path specified by a folder and filename stored in the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Copy to Clipboard  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Copy Data to Clipboard CCT.png|Copy to Clipboard]] &lt;br /&gt;
&lt;br /&gt;
This VI will store the data specified by the clipboard settings to the clipboard. &lt;br /&gt;
&lt;br /&gt;
==== Destroy CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Destroy CCT.png|Destroy CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called to close the CCT Instance and will free up used memory resources. &lt;br /&gt;
&lt;br /&gt;
==== Generate File Name  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Generate File Name CCT.png|Generate filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will generate a default filename based on the captured parts and VI name. This filename will not be stored inside the CCT session. &lt;br /&gt;
&lt;br /&gt;
=== Set properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to change properties for the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Set Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set FP Mode CCT.png|Set FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set BD Mode CCT.png|Set BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Layout Mode CCT.png|Set Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Set Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Clipboard Mode CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Set VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set VI Ref CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI sets the reference of the VI that needs to be captured &lt;br /&gt;
&lt;br /&gt;
==== Set Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Folder CCT.png|Set Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Set Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set File CCT.png|Set Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Get properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to retrieve properties from the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Get Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get FP Setting CCT.png|Get FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get BD Mode CCT.png|Get BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Layout Mode CCT.png|Get Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Get Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Clipboard Mode CCT.png|Get Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Get VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get VI Ref CCT.png|Get VI Reference]] &lt;br /&gt;
&lt;br /&gt;
This VI returns a reference to the that is currently captured in this isntance &lt;br /&gt;
&lt;br /&gt;
==== Get Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Folder CCT.png|Get Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Get Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get File CCT.png|Get Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Support  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This submenu shows additional low level functions of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Capture Front panel  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Panel Picture CCT.png|Capture front panel]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a front panel. &lt;br /&gt;
&lt;br /&gt;
==== Capture Block diagram  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Diagram Picture CCT.png|Capture block diagram]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a block diagram. &lt;br /&gt;
&lt;br /&gt;
==== Show CCT GUI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI CCT.png|Show CCT GUI]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to show the user interface of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== 7.0 container VI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 70 CCT.png|7.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 7.0 and up. &lt;br /&gt;
&lt;br /&gt;
==== 8.0 container VI (deprecated in version 2.0)&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 80 CCT.png|8.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 8.0 and up, don&#039;t forget to include the 7.0 container. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 of the Code Capture Tool installer will automatically select the correct container VI, so an additional 8.x container isn&#039;t needed anymore. &lt;br /&gt;
&lt;br /&gt;
= Known issues  =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description &lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| After using a non-default path and resetting it to the default, the new setting (temp) is not used &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Installing on Linux fails due to case sensitivity &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Capturing a non-visible part on a multi-pane front panel fails &lt;br /&gt;
| A limitation due to the LabVIEW implementation of panes, most-likely not fixable&lt;br /&gt;
|-&lt;br /&gt;
| Saving an empty image returns an error &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Opening the CCT from the Getting Started Window locks up LabVIEW &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Possible High use of memory &lt;br /&gt;
| Investigating&lt;br /&gt;
|-&lt;br /&gt;
| Impossible to capture FP of locked VI &lt;br /&gt;
| Investigating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Version History  =&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.0 ==&lt;br /&gt;
&lt;br /&gt;
Release date 15 February 2010&lt;br /&gt;
&lt;br /&gt;
*Added a border around a snippet&lt;br /&gt;
*Altered GUI (Preview window is bigger)&lt;br /&gt;
*Better key handling with text annotation, support for HOME and END.&lt;br /&gt;
*Movement of text annotation with ctrl-left, ctrl-right, up and down&lt;br /&gt;
*Movement in a text annotation with left and right&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.5  ==&lt;br /&gt;
&lt;br /&gt;
Release date 28 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Bugfix release for bug [https://sourceforge.net/tracker/?func=detail&amp;amp;atid=996819&amp;amp;aid=2905411&amp;amp;group_id=206229 2905411].&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 24 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Support for VI snippet creation &lt;br /&gt;
*Support for adding comments and drawings&lt;br /&gt;
&lt;br /&gt;
== Version 1.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 27 February 2008 &lt;br /&gt;
&lt;br /&gt;
*Bug-fixes &lt;br /&gt;
*Support for panning of the preview&lt;br /&gt;
&lt;br /&gt;
== Version 0.9.1  ==&lt;br /&gt;
&lt;br /&gt;
Release date 7 November 2007 &lt;br /&gt;
&lt;br /&gt;
*Support for LabVIEW 7.x and up &lt;br /&gt;
*Support for all OS&#039;es &lt;br /&gt;
*Support for orientation &lt;br /&gt;
*Support for selection &lt;br /&gt;
*Support for customized naming &lt;br /&gt;
*Support for customized folder&lt;br /&gt;
&lt;br /&gt;
= Licensing  =&lt;br /&gt;
&lt;br /&gt;
The CCT is licensed under the BSD license &lt;br /&gt;
&lt;br /&gt;
[[Category:Third_party_LabVIEW_tools]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=File:CCT_GUI.png&amp;diff=4238</id>
		<title>File:CCT GUI.png</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=File:CCT_GUI.png&amp;diff=4238"/>
		<updated>2010-09-20T19:16:59Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: uploaded a new version of &amp;quot;Image:CCT GUI.png&amp;quot;: Version 2.1.2 layout&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4237</id>
		<title>Code Capture Tool</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4237"/>
		<updated>2010-09-20T18:43:56Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI FP Halfsize.png|left]]The Code Capture Tool (or CCT) is a [[LabVIEW]] development tool targeted at LabVIEW users to capture images of their code and make it easier to share those images in online forums. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; The CCT is based on an idea and earlier versions originally released by [http://forums.ni.com/ni/profile?user.id=34024 Chilly Charly] on the [[NI Forums]] as [http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;thread.id=1020 starware].&amp;lt;br&amp;gt; Later, it evolved to a multiple OS and LabVIEW versions tool for creating code-shots and documentation shots. &amp;lt;br&amp;gt; A collaboration between [http://forums.lavag.org/Yair-m1431.html Yair Neeman] and [[User:Tcplomp|Ton Plomp]] resulted in the 1.0 version of the CCT that is currently available through the [[LAVA CR]] at [http://forums.lavag.org/downloads-file121.html this site]. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 added the possibility to add text and drawings to the captured image, while version 2.1 added an altered GUI, a border around the snippet and better key-handling.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Instruction  ==&lt;br /&gt;
&lt;br /&gt;
A series of videos is available at [http://www.screencast.com/t/ZmQ1YjIxNj Screencast]. &lt;br /&gt;
&lt;br /&gt;
A short how to is in the [http://www.screencast.com/t/2aWPdibJ9Sk here available] &lt;br /&gt;
&lt;br /&gt;
An extensive discussion and demo of the CCT&amp;amp;nbsp;is [http://www.screencast.com/t/Yhb9IAOc here].&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Version 2.0 introduces a new option to create annotations with text and graphics and the possibility to create [[Snippet|snippets]]. There is a demo-video available at [http://www.screencast.com/t/YTY4MjllZmIt Screencast]. &lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not functional yet!&lt;br /&gt;
[[File:LAVA Download-button.png|Code Repository Download]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:LAVA_Download-button.png&lt;br /&gt;
wikipage=http://lavag.org/index.php?app=downloads&amp;amp;showfile=63&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Click [http://lavag.org/index.php?app=downloads&amp;amp;showfile=63 here] to download the tool. &lt;br /&gt;
&lt;br /&gt;
To check the source you can explore your &#039;&#039;&amp;amp;lt;user.lib&amp;amp;gt;\_Code Capture Too&#039;&#039;l folder or download it from [http://lv-cct-tool.svn.sourceforge.net/viewvc/lv-cct-tool Sourceforge.net].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Interface  =&lt;br /&gt;
&lt;br /&gt;
The CCT offers two interfaces to make and distribute images of LabVIEW code - a [[Code Capture Tool#GUI|user interface]] and an [[Code Capture Tool#API|API]]. &lt;br /&gt;
&lt;br /&gt;
== GUI  ==&lt;br /&gt;
&lt;br /&gt;
The user interface of the CCT allows the user to select which parts of a [[Front Panel]] or [[Block Diagram]] should be captured. The resulting image will be stored on disc and optionally the image or the path can be copied to the OS clipboard. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|frame|center|Code Capture Tool user interface]] &lt;br /&gt;
&lt;br /&gt;
=== Front panel settings  ===&lt;br /&gt;
&lt;br /&gt;
The Front Panel listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT FP.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current panel view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the front panel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Block diagram settings  ===&lt;br /&gt;
&lt;br /&gt;
The Block Diagram listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT BD.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current block diagram view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the block diagram&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Snippet Creation&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
The creation of a snippet can only be done when the &#039;&#039;&#039;Block Diagram&#039;&#039;&#039; is set to &#039;&#039;&#039;selected&#039;&#039;&#039;.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:CCTSnippetButtons.png]] &lt;br /&gt;
&lt;br /&gt;
The header-text of the snippet is dynamically and has the following options which are accessible with the config button:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Token&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Meaning&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $VERSION$&amp;lt;br&amp;gt; &lt;br /&gt;
| Inserts the current [[Labview|LabVIEW]] version&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $NAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the captured VI, retrieved from the VI.VI&amp;amp;nbsp;Name property&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $TITLE$&amp;lt;br&amp;gt; &lt;br /&gt;
| Title of the front panel of the captured VI&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGENAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of image on disk without the PNG extension&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $DATE:xxx$&amp;lt;br&amp;gt; &lt;br /&gt;
| Date/Time formatter, &amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt; must be replaced by a valid [http://zone.ni.com/reference/en-XX/help/371361F-01/glang/codes_for_time_format_str/ timestring formatter]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Per default the header string is &amp;lt;tt&amp;gt;LV: $VERSION$ $DATE:%c$&amp;lt;/tt&amp;gt;, %c inserts the localized date.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clipboard settings  ===&lt;br /&gt;
&lt;br /&gt;
The clipboard listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Copied item &lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; | [[Image:CCT ClipBoard.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Path &lt;br /&gt;
| Path of the captured image &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Image &lt;br /&gt;
| The captured image &lt;br /&gt;
| Only on Windows&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Layout settings  ===&lt;br /&gt;
&lt;br /&gt;
The Layout picture ring supplies the following layout options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Menu Ring &lt;br /&gt;
! Item &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT Layout.png]] &lt;br /&gt;
| [[Image:CCT Layout1.png]] &lt;br /&gt;
| Front panel in top, block diagram below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout2.png]] &lt;br /&gt;
| Block diagram in top, front panel below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout3.png]] &lt;br /&gt;
| Front panel in left, block diagram on the right&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout4.png]] &lt;br /&gt;
| Block diagram in left, front panel on the right&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File settings  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT FileSettings.png]] &lt;br /&gt;
&lt;br /&gt;
The file settings consists of two controls, the string control to name the file (a .png extension is added to the name automatically) and a browse button to set the folder where the file should be stored. To detect which folder is currently used hover over one of the two controls and the tip-strip will show the folder. &lt;br /&gt;
&lt;br /&gt;
==== Resetting the folder  ====&lt;br /&gt;
&lt;br /&gt;
By default the storage folder is the LabVIEW temp folder (which by default is the same as the OS temp folder), and can be changed with the browse for folder button. To revert to the temp folder use this button [[Image:CCT Reset.png]]. &lt;br /&gt;
&lt;br /&gt;
=== Zoom function  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Zoom.png]] &lt;br /&gt;
&lt;br /&gt;
The zoom slider allows the user to zoom in and out on the captured image and inspect it in detail. This only affects the preview image and will not change the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Annotation/Sketch toolbars  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTAnnotationOptions.png]] &lt;br /&gt;
&lt;br /&gt;
The annotation/sketch toolbars are used to add annotations and sketches/drawings to the capture.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;10&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; width=&amp;quot;407&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:AnnotationOptionsRotated.png|left|18x98px]] &lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Rectangle:&#039;&#039;&#039; Use shift to draw a square&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Oval:&#039;&#039;&#039; Use shift to draw a circle&amp;lt;br&amp;gt;&#039;&#039;&#039;Line:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arrow:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &#039;&#039;&#039;Free: &#039;&#039;&#039; Use this to draw irregular shapes&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing Styles  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTStylesDetail.png]] The style of the line can be one of 5 styles:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Continious &lt;br /&gt;
*Dash &lt;br /&gt;
*Dot &lt;br /&gt;
*Dash-Dot &lt;br /&gt;
*Dash-Dot-Dot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line width  ====&lt;br /&gt;
&lt;br /&gt;
The linewidth of the sketch/drawing line can be alterd as well [[Image:CCT Linewidth.png]] &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line/Text color  ====&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to alter the color of the annotation (sketch or text), when editing text changing the line coler takes effect immediatly. &lt;br /&gt;
&lt;br /&gt;
==== Text size  ====&lt;br /&gt;
&lt;br /&gt;
The font of the annotation text cannot be altered and is fixed on &amp;lt;tt&amp;gt;Arial &amp;lt;/tt&amp;gt;, the size however can be altered easily. &lt;br /&gt;
&lt;br /&gt;
==== Editing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;50%&amp;quot; cellspacing=&amp;quot;2&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Text.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Starts editing text&amp;lt;br&amp;gt;Use shift-enter to add anew-line&amp;lt;br&amp;gt;Use arrow keys to move the positioning of the text around&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Pan.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to move the preview window around, this is the default tool of the Annotation Sketch toolbar. It does not change the captured image.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Undo.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to undo the last edit on the annotation/sketch (4 steps possible), use &amp;amp;lt;ctrl-z&amp;amp;gt; on [[Image:Logo.Windows.png]] and&amp;amp;nbsp;[[Image:Logo.Linux.png]] and &amp;amp;lt;cmd-z&amp;amp;gt; on [[Image:Logo.Mac.png]].&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Clear.png]] &lt;br /&gt;
| Clear the annotation layer.&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help  ===&lt;br /&gt;
&lt;br /&gt;
The help button [[Image:CCT Help.png]] calls the about window of the CCT including a short description of the main functions, a link to the webpage, a list of know issues and licensing info. &lt;br /&gt;
&lt;br /&gt;
=== Capture  ===&lt;br /&gt;
&lt;br /&gt;
The capture button [[Image:CCT Capture.png]] will capture the image, save it, copy to the clipboard, save the currently selected options for the next time and close the window. This can also be done by pressing Enter. &lt;br /&gt;
&lt;br /&gt;
=== Clean up  ===&lt;br /&gt;
&lt;br /&gt;
The clean up button [[Image:CCTCleanUp.png]] will clean up the whole BD (if &#039;whole&#039; is set as BD option) or the current selection (if &#039;Selections&#039; is set as BD option). This button is only visible if this option is active (correct LabVIEW version). &lt;br /&gt;
&lt;br /&gt;
=== Key navigation  ===&lt;br /&gt;
&lt;br /&gt;
The CCT has several key shortcuts for easier access: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key &lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| Enter &lt;br /&gt;
| Applies the current settings and does a [[Code Capture Tool#Capture|capture]] or finishes a current text edit&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| F1 &lt;br /&gt;
| Loads the about window centered on the help tab&lt;br /&gt;
|-&lt;br /&gt;
| F5 &lt;br /&gt;
| Refreshes the current image&lt;br /&gt;
|-&lt;br /&gt;
| Escape &lt;br /&gt;
| Closes the CCT without performing a capture or finishes a current text/graph edit&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API  ==&lt;br /&gt;
&lt;br /&gt;
The API provides an interface to the various functions of the CCT. Its palette is accessible under [[User.lib]]\Code Capture Tool. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT palette.PNG]] &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Support.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Support&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Methods  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to activate methods for the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Create CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Create CCT.png|Creat CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called for every instance of the CCT, it creates a GOOP dataspace that will contain the data of the instance. Calling this VI must be done with a valid VI reference. &lt;br /&gt;
&lt;br /&gt;
==== Capture Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture VI Images CCT.png|Capture Images]] &lt;br /&gt;
&lt;br /&gt;
This VI will apply the current settings and store the captured image in the CCT instance, additionally it returns the image itself. &lt;br /&gt;
&lt;br /&gt;
==== Save Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Save Captured Image CCT.png|Save Image]] &lt;br /&gt;
&lt;br /&gt;
This VI will save the image to the path specified by a folder and filename stored in the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Copy to Clipboard  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Copy Data to Clipboard CCT.png|Copy to Clipboard]] &lt;br /&gt;
&lt;br /&gt;
This VI will store the data specified by the clipboard settings to the clipboard. &lt;br /&gt;
&lt;br /&gt;
==== Destroy CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Destroy CCT.png|Destroy CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called to close the CCT Instance and will free up used memory resources. &lt;br /&gt;
&lt;br /&gt;
==== Generate File Name  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Generate File Name CCT.png|Generate filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will generate a default filename based on the captured parts and VI name. This filename will not be stored inside the CCT session. &lt;br /&gt;
&lt;br /&gt;
=== Set properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to change properties for the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Set Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set FP Mode CCT.png|Set FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set BD Mode CCT.png|Set BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Layout Mode CCT.png|Set Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Set Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Clipboard Mode CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Set VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set VI Ref CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI sets the reference of the VI that needs to be captured &lt;br /&gt;
&lt;br /&gt;
==== Set Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Folder CCT.png|Set Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Set Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set File CCT.png|Set Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Get properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to retrieve properties from the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Get Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get FP Setting CCT.png|Get FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get BD Mode CCT.png|Get BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Layout Mode CCT.png|Get Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Get Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Clipboard Mode CCT.png|Get Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Get VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get VI Ref CCT.png|Get VI Reference]] &lt;br /&gt;
&lt;br /&gt;
This VI returns a reference to the that is currently captured in this isntance &lt;br /&gt;
&lt;br /&gt;
==== Get Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Folder CCT.png|Get Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Get Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get File CCT.png|Get Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Support  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This submenu shows additional low level functions of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Capture Front panel  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Panel Picture CCT.png|Capture front panel]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a front panel. &lt;br /&gt;
&lt;br /&gt;
==== Capture Block diagram  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Diagram Picture CCT.png|Capture block diagram]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a block diagram. &lt;br /&gt;
&lt;br /&gt;
==== Show CCT GUI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI CCT.png|Show CCT GUI]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to show the user interface of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== 7.0 container VI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 70 CCT.png|7.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 7.0 and up. &lt;br /&gt;
&lt;br /&gt;
==== 8.0 container VI (deprecated in version 2.0)&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 80 CCT.png|8.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 8.0 and up, don&#039;t forget to include the 7.0 container. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 of the Code Capture Tool installer will automatically select the correct container VI, so an additional 8.x container isn&#039;t needed anymore. &lt;br /&gt;
&lt;br /&gt;
= Known issues  =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description &lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| After using a non-default path and resetting it to the default, the new setting (temp) is not used &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Installing on Linux fails due to case sensitivity &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Capturing a non-visible part on a multi-pane front panel fails &lt;br /&gt;
| A limitation due to the LabVIEW implementation of panes, most-likely not fixable&lt;br /&gt;
|-&lt;br /&gt;
| Saving an empty image returns an error &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Opening the CCT from the Getting Started Window locks up LabVIEW &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Possible High use of memory &lt;br /&gt;
| Investigating&lt;br /&gt;
|-&lt;br /&gt;
| Impossible to capture FP of locked VI &lt;br /&gt;
| Investigating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Version History  =&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.0 ==&lt;br /&gt;
&lt;br /&gt;
Release date 15 February 2010&lt;br /&gt;
&lt;br /&gt;
*Added a border around a snippet&lt;br /&gt;
*Altered GUI (Preview window is bigger)&lt;br /&gt;
*Better key handling with text annotation, support for HOME and END.&lt;br /&gt;
*Movement of text annotation with ctrl-left, ctrl-right, up and down&lt;br /&gt;
*Movement in a text annotation with left and right&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.5  ==&lt;br /&gt;
&lt;br /&gt;
Release date 28 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Bugfix release for bug [https://sourceforge.net/tracker/?func=detail&amp;amp;atid=996819&amp;amp;aid=2905411&amp;amp;group_id=206229 2905411].&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 24 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Support for VI snippet creation &lt;br /&gt;
*Support for adding comments and drawings&lt;br /&gt;
&lt;br /&gt;
== Version 1.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 27 February 2008 &lt;br /&gt;
&lt;br /&gt;
*Bug-fixes &lt;br /&gt;
*Support for panning of the preview&lt;br /&gt;
&lt;br /&gt;
== Version 0.9.1  ==&lt;br /&gt;
&lt;br /&gt;
Release date 7 November 2007 &lt;br /&gt;
&lt;br /&gt;
*Support for LabVIEW 7.x and up &lt;br /&gt;
*Support for all OS&#039;es &lt;br /&gt;
*Support for orientation &lt;br /&gt;
*Support for selection &lt;br /&gt;
*Support for customized naming &lt;br /&gt;
*Support for customized folder&lt;br /&gt;
&lt;br /&gt;
= Licensing  =&lt;br /&gt;
&lt;br /&gt;
The CCT is licensed under the BSD license &lt;br /&gt;
&lt;br /&gt;
[[Category:Third_party_LabVIEW_tools]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4236</id>
		<title>Code Capture Tool</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4236"/>
		<updated>2010-09-20T18:35:44Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI FP Halfsize.png|left]]The Code Capture Tool (or CCT) is a [[LabVIEW]] development tool targeted at LabVIEW users to capture images of their code and make it easier to share those images in online forums. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; The CCT is based on an idea and earlier versions originally released by [http://forums.ni.com/ni/profile?user.id=34024 Chilly Charly] on the [[NI Forums]] as [http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;thread.id=1020 starware].&amp;lt;br&amp;gt; Later, it evolved to a multiple OS and LabVIEW versions tool for creating code-shots and documentation shots. &amp;lt;br&amp;gt; A collaboration between [http://forums.lavag.org/Yair-m1431.html Yair Neeman] and [[User:Tcplomp|Ton Plomp]] resulted in the 1.0 version of the CCT that is currently available through the [[LAVA CR]] at [http://forums.lavag.org/downloads-file121.html this site]. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 added the possibility to add text and drawings to the captured image, while version 2.1 added an altered GUI, a border around the snippet and better key-handling.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Instruction  ==&lt;br /&gt;
&lt;br /&gt;
A series of videos is available at [http://www.screencast.com/t/ZmQ1YjIxNj Screencast]. &lt;br /&gt;
&lt;br /&gt;
A short how to is in the [http://www.screencast.com/t/2aWPdibJ9Sk here available] &lt;br /&gt;
&lt;br /&gt;
An extensive discussion and demo of the CCT&amp;amp;nbsp;is [http://www.screencast.com/t/Yhb9IAOc here].&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Version 2.0 introduces a new option to create annotations with text and graphics and the possibility to create [[Snippet|snippets]]. There is a demo-video available at [http://www.screencast.com/t/YTY4MjllZmIt Screencast]. &lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not functional yet!&lt;br /&gt;
[[File:LAVA Download-button.png|Code Repository Download]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:LAVA_Download-button.png&lt;br /&gt;
wikipage=http://lavag.org/index.php?app=downloads&amp;amp;showfile=63&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Click [http://lavag.org/index.php?app=downloads&amp;amp;showfile=63 here] to download the tool. &lt;br /&gt;
&lt;br /&gt;
To check the source you can explore your &#039;&#039;&amp;amp;lt;user.lib&amp;amp;gt;\_Code Capture Too&#039;&#039;l folder or download it from [http://lv-cct-tool.svn.sourceforge.net/viewvc/lv-cct-tool Sourceforge.net].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Interface  =&lt;br /&gt;
&lt;br /&gt;
The CCT offers two interfaces to make and distribute images of LabVIEW code - a [[Code Capture Tool#GUI|user interface]] and an [[Code Capture Tool#API|API]]. &lt;br /&gt;
&lt;br /&gt;
== GUI  ==&lt;br /&gt;
&lt;br /&gt;
The user interface of the CCT allows the user to select which parts of a [[Front Panel]] or [[Block Diagram]] should be captured. The resulting image will be stored on disc and optionally the image or the path can be copied to the OS clipboard. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|frame|center|Code Capture Tool user interface]] &lt;br /&gt;
&lt;br /&gt;
=== Front panel settings  ===&lt;br /&gt;
&lt;br /&gt;
The Front Panel listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT FP.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current panel view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the front panel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Block diagram settings  ===&lt;br /&gt;
&lt;br /&gt;
The Block Diagram listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT BD.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current block diagram view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the block diagram&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Snippet Creation&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
The creation of a snippet can only be done when the &#039;&#039;&#039;Block Diagram&#039;&#039;&#039; is set to &#039;&#039;&#039;selected&#039;&#039;&#039;.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:CCTSnippetButtons.png]] &lt;br /&gt;
&lt;br /&gt;
The header-text of the snippet is dynamically and has the following options which are accessible witht the config button:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Token&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Meaning&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $VERSION$&amp;lt;br&amp;gt; &lt;br /&gt;
| Inserts the current [[Labview|LabVIEW]] version&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $NAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the captured VI, retrieved from the VI.VI&amp;amp;nbsp;Name property&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $TITLE$&amp;lt;br&amp;gt; &lt;br /&gt;
| Title of the front panel of the captured VI&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGENAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of image on disk without the PNG extension&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $DATE:xxx$&amp;lt;br&amp;gt; &lt;br /&gt;
| Date/Time formatter, &amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt; must be replaced by a valid [http://zone.ni.com/reference/en-XX/help/371361F-01/glang/codes_for_time_format_str/ timestring formatter]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Per default the header string is &amp;lt;tt&amp;gt;LV: $VERSION$ $DATE:%c$&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Clipboard settings  ===&lt;br /&gt;
&lt;br /&gt;
The clipboard listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Copied item &lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; | [[Image:CCT ClipBoard.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Path &lt;br /&gt;
| Path of the captured image &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Image &lt;br /&gt;
| The captured image &lt;br /&gt;
| Only on Windows&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Layout settings  ===&lt;br /&gt;
&lt;br /&gt;
The Layout picture ring supplies the following layout options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Menu Ring &lt;br /&gt;
! Item &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT Layout.png]] &lt;br /&gt;
| [[Image:CCT Layout1.png]] &lt;br /&gt;
| Front panel in top, block diagram below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout2.png]] &lt;br /&gt;
| Block diagram in top, front panel below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout3.png]] &lt;br /&gt;
| Front panel in left, block diagram on the right&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout4.png]] &lt;br /&gt;
| Block diagram in left, front panel on the right&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File settings  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT FileSettings.png]] &lt;br /&gt;
&lt;br /&gt;
The file settings consists of two controls, the string control to name the file (a .png extension is added to the name automatically) and a browse button to set the folder where the file should be stored. To detect which folder is currently used hover over one of the two controls and the tip-strip will show the folder. &lt;br /&gt;
&lt;br /&gt;
==== Resetting the folder  ====&lt;br /&gt;
&lt;br /&gt;
By default the storage folder is the LabVIEW temp folder (which by default is the same as the OS temp folder), and can be changed with the browse for folder button. To revert to the temp folder use this button [[Image:CCT Reset.png]]. &lt;br /&gt;
&lt;br /&gt;
=== Zoom function  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Zoom.png]] &lt;br /&gt;
&lt;br /&gt;
The zoom slider allows the user to zoom in and out on the captured image and inspect it in detail. This only affects the preview image and will not change the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Annotation/Sketch toolbars  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTAnnotationOptions.png]] &lt;br /&gt;
&lt;br /&gt;
The annotation/sketch toolbars are used to add annotations and sketches/drawings to the capture.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;10&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; width=&amp;quot;407&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:AnnotationOptionsRotated.png|left|18x98px]] &lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Rectangle:&#039;&#039;&#039; Use shift to draw a square&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Oval:&#039;&#039;&#039; Use shift to draw a circle&amp;lt;br&amp;gt;&#039;&#039;&#039;Line:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arrow:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &#039;&#039;&#039;Free: &#039;&#039;&#039; Use this to draw irregular shapes&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing Styles  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTStylesDetail.png]] The style of the line can be one of 5 styles:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Continious &lt;br /&gt;
*Dash &lt;br /&gt;
*Dot &lt;br /&gt;
*Dash-Dot &lt;br /&gt;
*Dash-Dot-Dot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line width  ====&lt;br /&gt;
&lt;br /&gt;
The linewidth of the sketch/drawing line can be alterd as well [[Image:CCT Linewidth.png]] &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line/Text color  ====&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to alter the color of the annotation (sketch or text), when editing text changing the line coler takes effect immediatly. &lt;br /&gt;
&lt;br /&gt;
==== Text size  ====&lt;br /&gt;
&lt;br /&gt;
The font of the annotation text cannot be altered and is fixed on &amp;lt;tt&amp;gt;Arial &amp;lt;/tt&amp;gt;, the size however can be altered easily. &lt;br /&gt;
&lt;br /&gt;
==== Editing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;50%&amp;quot; cellspacing=&amp;quot;2&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Text.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Starts editing text&amp;lt;br&amp;gt;Use shift-enter to add anew-line&amp;lt;br&amp;gt;Use arrow keys to move the positioning of the text around&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Pan.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to move the preview window around, this is the default tool of the Annotation Sketch toolbar. It does not change the captured image.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Undo.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to undo the last edit on the annotation/sketch (4 steps possible), use &amp;amp;lt;ctrl-z&amp;amp;gt; on [[Image:Logo.Windows.png]] and&amp;amp;nbsp;[[Image:Logo.Linux.png]] and &amp;amp;lt;cmd-z&amp;amp;gt; on [[Image:Logo.Mac.png]].&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Clear.png]] &lt;br /&gt;
| Clear the annotation layer.&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help  ===&lt;br /&gt;
&lt;br /&gt;
The help button [[Image:CCT Help.png]] calls the about window of the CCT including a short description of the main functions, a link to the webpage, a list of know issues and licensing info. &lt;br /&gt;
&lt;br /&gt;
=== Capture  ===&lt;br /&gt;
&lt;br /&gt;
The capture button [[Image:CCT Capture.png]] will capture the image, save it, copy to the clipboard, save the currently selected options for the next time and close the window. This can also be done by pressing Enter. &lt;br /&gt;
&lt;br /&gt;
=== Clean up  ===&lt;br /&gt;
&lt;br /&gt;
The clean up button [[Image:CCTCleanUp.png]] will clean up the whole BD (if &#039;whole&#039; is set as BD option) or the current selection (if &#039;Selections&#039; is set as BD option). This button is only visible if this option is active (correct LabVIEW version). &lt;br /&gt;
&lt;br /&gt;
=== Key navigation  ===&lt;br /&gt;
&lt;br /&gt;
The CCT has several key shortcuts for easier access: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key &lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| Enter &lt;br /&gt;
| Applies the current settings and does a [[Code Capture Tool#Capture|capture]] or finishes a current text edit&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| F1 &lt;br /&gt;
| Loads the about window centered on the help tab&lt;br /&gt;
|-&lt;br /&gt;
| F5 &lt;br /&gt;
| Refreshes the current image&lt;br /&gt;
|-&lt;br /&gt;
| Escape &lt;br /&gt;
| Closes the CCT without performing a capture or finishes a current text/graph edit&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API  ==&lt;br /&gt;
&lt;br /&gt;
The API provides an interface to the various functions of the CCT. Its palette is accessible under [[User.lib]]\Code Capture Tool. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT palette.PNG]] &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Support.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Support&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Methods  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to activate methods for the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Create CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Create CCT.png|Creat CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called for every instance of the CCT, it creates a GOOP dataspace that will contain the data of the instance. Calling this VI must be done with a valid VI reference. &lt;br /&gt;
&lt;br /&gt;
==== Capture Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture VI Images CCT.png|Capture Images]] &lt;br /&gt;
&lt;br /&gt;
This VI will apply the current settings and store the captured image in the CCT instance, additionally it returns the image itself. &lt;br /&gt;
&lt;br /&gt;
==== Save Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Save Captured Image CCT.png|Save Image]] &lt;br /&gt;
&lt;br /&gt;
This VI will save the image to the path specified by a folder and filename stored in the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Copy to Clipboard  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Copy Data to Clipboard CCT.png|Copy to Clipboard]] &lt;br /&gt;
&lt;br /&gt;
This VI will store the data specified by the clipboard settings to the clipboard. &lt;br /&gt;
&lt;br /&gt;
==== Destroy CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Destroy CCT.png|Destroy CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called to close the CCT Instance and will free up used memory resources. &lt;br /&gt;
&lt;br /&gt;
==== Generate File Name  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Generate File Name CCT.png|Generate filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will generate a default filename based on the captured parts and VI name. This filename will not be stored inside the CCT session. &lt;br /&gt;
&lt;br /&gt;
=== Set properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to change properties for the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Set Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set FP Mode CCT.png|Set FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set BD Mode CCT.png|Set BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Layout Mode CCT.png|Set Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Set Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Clipboard Mode CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Set VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set VI Ref CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI sets the reference of the VI that needs to be captured &lt;br /&gt;
&lt;br /&gt;
==== Set Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Folder CCT.png|Set Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Set Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set File CCT.png|Set Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Get properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to retrieve properties from the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Get Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get FP Setting CCT.png|Get FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get BD Mode CCT.png|Get BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Layout Mode CCT.png|Get Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Get Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Clipboard Mode CCT.png|Get Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Get VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get VI Ref CCT.png|Get VI Reference]] &lt;br /&gt;
&lt;br /&gt;
This VI returns a reference to the that is currently captured in this isntance &lt;br /&gt;
&lt;br /&gt;
==== Get Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Folder CCT.png|Get Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Get Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get File CCT.png|Get Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Support  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This submenu shows additional low level functions of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Capture Front panel  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Panel Picture CCT.png|Capture front panel]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a front panel. &lt;br /&gt;
&lt;br /&gt;
==== Capture Block diagram  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Diagram Picture CCT.png|Capture block diagram]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a block diagram. &lt;br /&gt;
&lt;br /&gt;
==== Show CCT GUI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI CCT.png|Show CCT GUI]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to show the user interface of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== 7.0 container VI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 70 CCT.png|7.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 7.0 and up. &lt;br /&gt;
&lt;br /&gt;
==== 8.0 container VI (deprecated in version 2.0)&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 80 CCT.png|8.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 8.0 and up, don&#039;t forget to include the 7.0 container. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 of the Code Capture Tool installer will automatically select the correct container VI, so an additional 8.x container isn&#039;t needed anymore. &lt;br /&gt;
&lt;br /&gt;
= Known issues  =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description &lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| After using a non-default path and resetting it to the default, the new setting (temp) is not used &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Installing on Linux fails due to case sensitivity &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Capturing a non-visible part on a multi-pane front panel fails &lt;br /&gt;
| A limitation due to the LabVIEW implementation of panes, most-likely not fixable&lt;br /&gt;
|-&lt;br /&gt;
| Saving an empty image returns an error &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Opening the CCT from the Getting Started Window locks up LabVIEW &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Possible High use of memory &lt;br /&gt;
| Investigating&lt;br /&gt;
|-&lt;br /&gt;
| Impossible to capture FP of locked VI &lt;br /&gt;
| Investigating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Version History  =&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.0 ==&lt;br /&gt;
&lt;br /&gt;
Release date 15 February 2010&lt;br /&gt;
&lt;br /&gt;
*Added a border around a snippet&lt;br /&gt;
*Altered GUI (Preview window is bigger)&lt;br /&gt;
*Better key handling with text annotation, support for HOME and END.&lt;br /&gt;
*Movement of text annotation with ctrl-left, ctrl-right, up and down&lt;br /&gt;
*Movement in a text annotation with left and right&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.5  ==&lt;br /&gt;
&lt;br /&gt;
Release date 28 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Bugfix release for bug [https://sourceforge.net/tracker/?func=detail&amp;amp;atid=996819&amp;amp;aid=2905411&amp;amp;group_id=206229 2905411].&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 24 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Support for VI snippet creation &lt;br /&gt;
*Support for adding comments and drawings&lt;br /&gt;
&lt;br /&gt;
== Version 1.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 27 February 2008 &lt;br /&gt;
&lt;br /&gt;
*Bug-fixes &lt;br /&gt;
*Support for panning of the preview&lt;br /&gt;
&lt;br /&gt;
== Version 0.9.1  ==&lt;br /&gt;
&lt;br /&gt;
Release date 7 November 2007 &lt;br /&gt;
&lt;br /&gt;
*Support for LabVIEW 7.x and up &lt;br /&gt;
*Support for all OS&#039;es &lt;br /&gt;
*Support for orientation &lt;br /&gt;
*Support for selection &lt;br /&gt;
*Support for customized naming &lt;br /&gt;
*Support for customized folder&lt;br /&gt;
&lt;br /&gt;
= Licensing  =&lt;br /&gt;
&lt;br /&gt;
The CCT is licensed under the BSD license &lt;br /&gt;
&lt;br /&gt;
[[Category:Third_party_LabVIEW_tools]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4235</id>
		<title>Code Capture Tool</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Code_Capture_Tool&amp;diff=4235"/>
		<updated>2010-09-20T16:25:24Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI FP Halfsize.png|left]]The Code Capture Tool (or CCT) is a [[LabVIEW]] development tool targeted at LabVIEW users to capture images of their code and make it easier to share those images in online forums. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; The CCT is based on an idea and earlier versions originally released by [http://forums.ni.com/ni/profile?user.id=34024 Chilly Charly] on the [[NI Forums]] as [http://forums.ni.com/ni/board/message?board.id=BreakPoint&amp;amp;thread.id=1020 starware].&amp;lt;br&amp;gt; Later, it evolved to a multiple OS and LabVIEW versions tool for creating code-shots and documentation shots. &amp;lt;br&amp;gt; A collaboration between [http://forums.lavag.org/Yair-m1431.html Yair Neeman] and [[User:Tcplomp|Ton Plomp]] resulted in the 1.0 version of the CCT that is currently available through the [[LAVA CR]] at [http://forums.lavag.org/downloads-file121.html this site]. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 added the possibility to add text and drawings to the captured image, while version 2.1 added an altered GUI, a border around the snippet and better key-handling.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Instruction  ==&lt;br /&gt;
&lt;br /&gt;
A series of videos is available at [http://www.screencast.com/t/ZmQ1YjIxNj Screencast]. &lt;br /&gt;
&lt;br /&gt;
A short how to is in the [http://www.screencast.com/t/2aWPdibJ9Sk here available] &lt;br /&gt;
&lt;br /&gt;
An extensive discussion and demo of the CCT&amp;amp;nbsp;is [http://www.screencast.com/t/Yhb9IAOc here].&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Version 2.0 introduces a new option to create annotations with text and graphics and the possibility to create [[Snippet|snippets]]. There is a demo-video available at [http://www.screencast.com/t/YTY4MjllZmIt Screencast]. &lt;br /&gt;
&lt;br /&gt;
== Download  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not functional yet!&lt;br /&gt;
[[File:LAVA Download-button.png|Code Repository Download]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:LAVA_Download-button.png&lt;br /&gt;
wikipage=http://lavag.org/index.php?app=downloads&amp;amp;showfile=63&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Click [http://lavag.org/index.php?app=downloads&amp;amp;showfile=63 here] to download the file. &lt;br /&gt;
&lt;br /&gt;
= Interface  =&lt;br /&gt;
&lt;br /&gt;
The CCT offers two interfaces to make and distribute images of LabVIEW code - a [[Code Capture Tool#GUI|user interface]] and an [[Code Capture Tool#API|API]]. &lt;br /&gt;
&lt;br /&gt;
== GUI  ==&lt;br /&gt;
&lt;br /&gt;
The user interface of the CCT allows the user to select which parts of a [[Front Panel]] or [[Block Diagram]] should be captured. The resulting image will be stored on disc and optionally the image or the path can be copied to the OS clipboard. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT GUI.png|frame|center|Code Capture Tool user interface]] &lt;br /&gt;
&lt;br /&gt;
=== Front panel settings  ===&lt;br /&gt;
&lt;br /&gt;
The Front Panel listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT FP.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current panel view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the front panel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Block diagram settings  ===&lt;br /&gt;
&lt;br /&gt;
The Block Diagram listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Captured parts&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT BD.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Selected &lt;br /&gt;
| All selected parts and items in between&lt;br /&gt;
|-&lt;br /&gt;
| Visible &lt;br /&gt;
| Everything visible in the current block diagram view&lt;br /&gt;
|-&lt;br /&gt;
| All &lt;br /&gt;
| Everything on the block diagram&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Snippet Creation&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
The creation of a snippet can only be done when the &#039;&#039;&#039;Block Diagram&#039;&#039;&#039; is set to &#039;&#039;&#039;selected&#039;&#039;&#039;.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:CCTSnippetButtons.png]] &lt;br /&gt;
&lt;br /&gt;
The header-text of the snippet is dynamically and has the following options which are accessible witht the config button:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Token&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Meaning&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $VERSION$&amp;lt;br&amp;gt; &lt;br /&gt;
| Inserts the current [[Labview|LabVIEW]] version&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $NAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the captured VI, retrieved from the VI.VI&amp;amp;nbsp;Name property&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $TITLE$&amp;lt;br&amp;gt; &lt;br /&gt;
| Title of the front panel of the captured VI&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $IMAGENAME$&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of image on disk without the PNG extension&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| $DATE:xxx$&amp;lt;br&amp;gt; &lt;br /&gt;
| Date/Time formatter, &amp;lt;tt&amp;gt;xxx&amp;lt;/tt&amp;gt; must be replaced by a valid [http://zone.ni.com/reference/en-XX/help/371361F-01/glang/codes_for_time_format_str/ timestring formatter]&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Per default the header string is &amp;lt;tt&amp;gt;LV: $VERSION$ $DATE:%c$&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Clipboard settings  ===&lt;br /&gt;
&lt;br /&gt;
The clipboard listbox supplies the following options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Listbox &lt;br /&gt;
! Item &lt;br /&gt;
! Copied item &lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; | [[Image:CCT ClipBoard.png]] &lt;br /&gt;
| None &lt;br /&gt;
| Nothing&lt;br /&gt;
|-&lt;br /&gt;
| Path &lt;br /&gt;
| Path of the captured image &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Image &lt;br /&gt;
| The captured image &lt;br /&gt;
| Only on Windows&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Layout settings  ===&lt;br /&gt;
&lt;br /&gt;
The Layout picture ring supplies the following layout options: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Menu Ring &lt;br /&gt;
! Item &lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; | [[Image:CCT Layout.png]] &lt;br /&gt;
| [[Image:CCT Layout1.png]] &lt;br /&gt;
| Front panel in top, block diagram below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout2.png]] &lt;br /&gt;
| Block diagram in top, front panel below&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout3.png]] &lt;br /&gt;
| Front panel in left, block diagram on the right&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Layout4.png]] &lt;br /&gt;
| Block diagram in left, front panel on the right&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== File settings  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT FileSettings.png]] &lt;br /&gt;
&lt;br /&gt;
The file settings consists of two controls, the string control to name the file (a .png extension is added to the name automatically) and a browse button to set the folder where the file should be stored. To detect which folder is currently used hover over one of the two controls and the tip-strip will show the folder. &lt;br /&gt;
&lt;br /&gt;
==== Resetting the folder  ====&lt;br /&gt;
&lt;br /&gt;
By default the storage folder is the LabVIEW temp folder (which by default is the same as the OS temp folder), and can be changed with the browse for folder button. To revert to the temp folder use this button [[Image:CCT Reset.png]]. &lt;br /&gt;
&lt;br /&gt;
=== Zoom function  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Zoom.png]] &lt;br /&gt;
&lt;br /&gt;
The zoom slider allows the user to zoom in and out on the captured image and inspect it in detail. This only affects the preview image and will not change the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Annotation/Sketch toolbars  ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTAnnotationOptions.png]] &lt;br /&gt;
&lt;br /&gt;
The annotation/sketch toolbars are used to add annotations and sketches/drawings to the capture.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;10&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; width=&amp;quot;407&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:AnnotationOptionsRotated.png|left|18x98px]] &lt;br /&gt;
| &lt;br /&gt;
&#039;&#039;&#039;Rectangle:&#039;&#039;&#039; Use shift to draw a square&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Oval:&#039;&#039;&#039; Use shift to draw a circle&amp;lt;br&amp;gt;&#039;&#039;&#039;Line:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arrow:&#039;&#039;&#039; Use shift to limit drawing to one axis (X or Y)&amp;lt;br&amp;gt; &#039;&#039;&#039;Free: &#039;&#039;&#039; Use this to draw irregular shapes&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Drawing Styles  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCTStylesDetail.png]] The style of the line can be one of 5 styles:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Continious &lt;br /&gt;
*Dash &lt;br /&gt;
*Dot &lt;br /&gt;
*Dash-Dot &lt;br /&gt;
*Dash-Dot-Dot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line width  ====&lt;br /&gt;
&lt;br /&gt;
The linewidth of the sketch/drawing line can be alterd as well [[Image:CCT Linewidth.png]] &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Line/Text color  ====&lt;br /&gt;
&lt;br /&gt;
It&#039;s possible to alter the color of the annotation (sketch or text), when editing text changing the line coler takes effect immediatly. &lt;br /&gt;
&lt;br /&gt;
==== Text size  ====&lt;br /&gt;
&lt;br /&gt;
The font of the annotation text cannot be altered and is fixed on &amp;lt;tt&amp;gt;Arial &amp;lt;/tt&amp;gt;, the size however can be altered easily. &lt;br /&gt;
&lt;br /&gt;
==== Editing tools  ====&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;50%&amp;quot; cellspacing=&amp;quot;2&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Text.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Starts editing text&amp;lt;br&amp;gt;Use shift-enter to add anew-line&amp;lt;br&amp;gt;Use arrow keys to move the positioning of the text around&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Pan.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to move the preview window around, this is the default tool of the Annotation Sketch toolbar. It does not change the captured image.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Undo.png]]&amp;lt;br&amp;gt; &lt;br /&gt;
| Use this to undo the last edit on the annotation/sketch (4 steps possible), use &amp;amp;lt;ctrl-z&amp;amp;gt; on [[Image:Logo.Windows.png]] and&amp;amp;nbsp;[[Image:Logo.Linux.png]] and &amp;amp;lt;cmd-z&amp;amp;gt; on [[Image:Logo.Mac.png]].&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:CCT Clear.png]] &lt;br /&gt;
| Clear the annotation layer.&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help  ===&lt;br /&gt;
&lt;br /&gt;
The help button [[Image:CCT Help.png]] calls the about window of the CCT including a short description of the main functions, a link to the webpage, a list of know issues and licensing info. &lt;br /&gt;
&lt;br /&gt;
=== Capture  ===&lt;br /&gt;
&lt;br /&gt;
The capture button [[Image:CCT Capture.png]] will capture the image, save it, copy to the clipboard, save the currently selected options for the next time and close the window. This can also be done by pressing Enter. &lt;br /&gt;
&lt;br /&gt;
=== Clean up  ===&lt;br /&gt;
&lt;br /&gt;
The clean up button [[Image:CCTCleanUp.png]] will clean up the whole BD (if &#039;whole&#039; is set as BD option) or the current selection (if &#039;Selections&#039; is set as BD option). This button is only visible if this option is active (correct LabVIEW version). &lt;br /&gt;
&lt;br /&gt;
=== Key navigation  ===&lt;br /&gt;
&lt;br /&gt;
The CCT has several key shortcuts for easier access: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Key &lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| Enter &lt;br /&gt;
| Applies the current settings and does a [[Code Capture Tool#Capture|capture]] or finishes a current text edit&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| F1 &lt;br /&gt;
| Loads the about window centered on the help tab&lt;br /&gt;
|-&lt;br /&gt;
| F5 &lt;br /&gt;
| Refreshes the current image&lt;br /&gt;
|-&lt;br /&gt;
| Escape &lt;br /&gt;
| Closes the CCT without performing a capture or finishes a current text/graph edit&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API  ==&lt;br /&gt;
&lt;br /&gt;
The API provides an interface to the various functions of the CCT. Its palette is accessible under [[User.lib]]\Code Capture Tool. &lt;br /&gt;
&lt;br /&gt;
[[Image:CCT palette.PNG]] &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Support.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Support&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Methods  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Methods|Methods]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetSessions.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Create_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_Capture_icon.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SaveImage.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Save_Image&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CopyToClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Copy_to_Clipboard&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CloseSession.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Destroy_CCT_Instance&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GenerateFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Generate_File_Name&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to activate methods for the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Create CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Create CCT.png|Creat CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called for every instance of the CCT, it creates a GOOP dataspace that will contain the data of the instance. Calling this VI must be done with a valid VI reference. &lt;br /&gt;
&lt;br /&gt;
==== Capture Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture VI Images CCT.png|Capture Images]] &lt;br /&gt;
&lt;br /&gt;
This VI will apply the current settings and store the captured image in the CCT instance, additionally it returns the image itself. &lt;br /&gt;
&lt;br /&gt;
==== Save Image  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Save Captured Image CCT.png|Save Image]] &lt;br /&gt;
&lt;br /&gt;
This VI will save the image to the path specified by a folder and filename stored in the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Copy to Clipboard  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Copy Data to Clipboard CCT.png|Copy to Clipboard]] &lt;br /&gt;
&lt;br /&gt;
This VI will store the data specified by the clipboard settings to the clipboard. &lt;br /&gt;
&lt;br /&gt;
==== Destroy CCT Instance  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Destroy CCT.png|Destroy CCT Instance]] &lt;br /&gt;
&lt;br /&gt;
This VI must be called to close the CCT Instance and will free up used memory resources. &lt;br /&gt;
&lt;br /&gt;
==== Generate File Name  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Generate File Name CCT.png|Generate filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will generate a default filename based on the captured parts and VI name. This filename will not be stored inside the CCT session. &lt;br /&gt;
&lt;br /&gt;
=== Set properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Set_properties|Set properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_SetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Set_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to change properties for the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Set Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set FP Mode CCT.png|Set FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set BD Mode CCT.png|Set BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Set Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Layout Mode CCT.png|Set Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Set Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Clipboard Mode CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Set VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set VI Ref CCT.png|Set Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI sets the reference of the VI that needs to be captured &lt;br /&gt;
&lt;br /&gt;
==== Set Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set Folder CCT.png|Set Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Set Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Set File CCT.png|Set Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will change the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Get properties  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Get_properties|Get properties]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Front_Panel_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Block_Diagram_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetLayout.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Layout_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetClipboard.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Clipboard_Mode&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetVI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_VI_Ref&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFolder.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Folder&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_GetFileName.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Get_Filename&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These VIs are used to retrieve properties from the CCT instance. &lt;br /&gt;
&lt;br /&gt;
==== Get Front Panel Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get FP Setting CCT.png|Get FP mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current front panel capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Block Diagram Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get BD Mode CCT.png|Get BD mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current block diagram capture mode. &lt;br /&gt;
&lt;br /&gt;
==== Get Layout Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Layout Mode CCT.png|Get Layout mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current layout orientation. &lt;br /&gt;
&lt;br /&gt;
==== Get Clipboard Mode  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Clipboard Mode CCT.png|Get Clipboard mode]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the current clipboard mode. &lt;br /&gt;
&lt;br /&gt;
==== Get VI Ref  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get VI Ref CCT.png|Get VI Reference]] &lt;br /&gt;
&lt;br /&gt;
This VI returns a reference to the that is currently captured in this isntance &lt;br /&gt;
&lt;br /&gt;
==== Get Folder  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get Folder CCT.png|Get Folder]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the folder where the images will be saved. &lt;br /&gt;
&lt;br /&gt;
==== Get Filename  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Get File CCT.png|Get Filename]] &lt;br /&gt;
&lt;br /&gt;
This VI will read the filename of the stored image. &lt;br /&gt;
&lt;br /&gt;
=== Support  ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! [[#Support|Support]] &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureFP.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Front_panel&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_CaptureBD.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Capture_Block_diagram&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_ShowGUI.png&lt;br /&gt;
wikipage=Code_Capture_Tool#Show_CCT_GUI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_70Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#7.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt; &lt;br /&gt;
| &amp;lt;linkedimage&amp;gt;&lt;br /&gt;
img_src=Image:CCT_80_Container.png&lt;br /&gt;
wikipage=Code_Capture_Tool#8.0_container_VI&lt;br /&gt;
&amp;lt;/linkedimage&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This submenu shows additional low level functions of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== Capture Front panel  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Panel Picture CCT.png|Capture front panel]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a front panel. &lt;br /&gt;
&lt;br /&gt;
==== Capture Block diagram  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:CCT Capture Diagram Picture CCT.png|Capture block diagram]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to have direct access to the capturing of a block diagram. &lt;br /&gt;
&lt;br /&gt;
==== Show CCT GUI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Code Capture Tool GUI CCT.png|Show CCT GUI]] &lt;br /&gt;
&lt;br /&gt;
Use this VI to show the user interface of the CCT. &lt;br /&gt;
&lt;br /&gt;
==== 7.0 container VI  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 70 CCT.png|7.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 7.0 and up. &lt;br /&gt;
&lt;br /&gt;
==== 8.0 container VI (deprecated in version 2.0)&amp;lt;br&amp;gt;  ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Container 80 CCT.png|8.0 container]] &lt;br /&gt;
&lt;br /&gt;
Use this VI if you want to build a source distribution or an executable and need to make sure all dynamic VIs are included. For LabVIEW 8.0 and up, don&#039;t forget to include the 7.0 container. &lt;br /&gt;
&lt;br /&gt;
Version 2.0 of the Code Capture Tool installer will automatically select the correct container VI, so an additional 8.x container isn&#039;t needed anymore. &lt;br /&gt;
&lt;br /&gt;
= Known issues  =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description &lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| After using a non-default path and resetting it to the default, the new setting (temp) is not used &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Installing on Linux fails due to case sensitivity &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Capturing a non-visible part on a multi-pane front panel fails &lt;br /&gt;
| A limitation due to the LabVIEW implementation of panes, most-likely not fixable&lt;br /&gt;
|-&lt;br /&gt;
| Saving an empty image returns an error &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Opening the CCT from the Getting Started Window locks up LabVIEW &lt;br /&gt;
| Solved in version 1.0&lt;br /&gt;
|-&lt;br /&gt;
| Possible High use of memory &lt;br /&gt;
| Investigating&lt;br /&gt;
|-&lt;br /&gt;
| Impossible to capture FP of locked VI &lt;br /&gt;
| Investigating&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Version History  =&lt;br /&gt;
&lt;br /&gt;
== Version 2.1.0 ==&lt;br /&gt;
&lt;br /&gt;
Release date 15 February 2010&lt;br /&gt;
&lt;br /&gt;
*Added a border around a snippet&lt;br /&gt;
*Altered GUI (Preview window is bigger)&lt;br /&gt;
*Better key handling with text annotation, support for HOME and END.&lt;br /&gt;
*Movement of text annotation with ctrl-left, ctrl-right, up and down&lt;br /&gt;
*Movement in a text annotation with left and right&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.5  ==&lt;br /&gt;
&lt;br /&gt;
Release date 28 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Bugfix release for bug [https://sourceforge.net/tracker/?func=detail&amp;amp;atid=996819&amp;amp;aid=2905411&amp;amp;group_id=206229 2905411].&lt;br /&gt;
&lt;br /&gt;
== Version 2.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 24 November 2009 &lt;br /&gt;
&lt;br /&gt;
*Support for VI snippet creation &lt;br /&gt;
*Support for adding comments and drawings&lt;br /&gt;
&lt;br /&gt;
== Version 1.0.0  ==&lt;br /&gt;
&lt;br /&gt;
Release date 27 February 2008 &lt;br /&gt;
&lt;br /&gt;
*Bug-fixes &lt;br /&gt;
*Support for panning of the preview&lt;br /&gt;
&lt;br /&gt;
== Version 0.9.1  ==&lt;br /&gt;
&lt;br /&gt;
Release date 7 November 2007 &lt;br /&gt;
&lt;br /&gt;
*Support for LabVIEW 7.x and up &lt;br /&gt;
*Support for all OS&#039;es &lt;br /&gt;
*Support for orientation &lt;br /&gt;
*Support for selection &lt;br /&gt;
*Support for customized naming &lt;br /&gt;
*Support for customized folder&lt;br /&gt;
&lt;br /&gt;
= Licensing  =&lt;br /&gt;
&lt;br /&gt;
The CCT is licensed under the BSD license &lt;br /&gt;
&lt;br /&gt;
[[Category:Third_party_LabVIEW_tools]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Application_Builder&amp;diff=4230</id>
		<title>Application Builder</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Application_Builder&amp;diff=4230"/>
		<updated>2010-08-09T07:13:28Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: Automatic build&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCnestright}}&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
= Introduction&amp;lt;br&amp;gt;  =&lt;br /&gt;
&lt;br /&gt;
The application builder (AB) is a part of the LabVIEW Project environment, it has the possibilities to distribute your code in various ways:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Executables&amp;lt;br&amp;gt; &lt;br /&gt;
*DLLs&amp;lt;br&amp;gt; &lt;br /&gt;
*Source distributions&amp;lt;br&amp;gt; &lt;br /&gt;
*Web services&amp;lt;br&amp;gt; &lt;br /&gt;
*Installers&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on the LabVIEW version you have one or more of the above options might be missing.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
= Manual&amp;lt;br&amp;gt;  =&lt;br /&gt;
&lt;br /&gt;
{{Stub}}&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
= Advanced&amp;lt;br&amp;gt;  =&lt;br /&gt;
&lt;br /&gt;
The application builder has several interesting advanced uses&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Automatic building&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
You can use a VI inside vi.lib that can build without user interaction. The VI is located in &amp;lt;span style=&amp;quot;font-style: italic;&amp;quot;&amp;gt;&amp;amp;lt;&amp;lt;/span&amp;gt;&#039;&#039;vi.lib&amp;amp;gt;\AppBuilder\BuildTargetBuildSpecification.vi&#039;&#039;. This VI takes a project path and optionally a build and target name as parameters.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Symbolic paths&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
Inside the application builder LabVIEW uses several symbolic paths to have envorinment dependent variables.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;width: 708px; height: 104px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Symbolic path&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Contents&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Usage&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| NI_AB_PROJECTNAME&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the project&amp;lt;br&amp;gt; &lt;br /&gt;
| Automatically place the build in a folder that is named after the project&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| NI_AB_TARGETNAME&amp;lt;br&amp;gt; &lt;br /&gt;
| Name of the (Real-Time) target&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Category:Building_executables]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Application_Builder&amp;diff=4229</id>
		<title>Application Builder</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Application_Builder&amp;diff=4229"/>
		<updated>2010-08-09T07:06:40Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: New page: {{TOCnestright}}&amp;lt;br&amp;gt;  = Introduction&amp;lt;br&amp;gt; =  The application builder (AB) is a part of the LabVIEW Project environment, it has the possibilities to distribute your code in various ways:&amp;lt;br&amp;gt;...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCnestright}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduction&amp;lt;br&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
The application builder (AB) is a part of the LabVIEW Project environment, it has the possibilities to distribute your code in various ways:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Executables&amp;lt;br&amp;gt;&lt;br /&gt;
*DLLs&amp;lt;br&amp;gt;&lt;br /&gt;
*Source distributions&amp;lt;br&amp;gt;&lt;br /&gt;
*Web services&amp;lt;br&amp;gt;&lt;br /&gt;
*Installers&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on the LabVIEW version you have one or more of the above options might be missing.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Manual&amp;lt;br&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
{{Stub}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Advanced&amp;lt;br&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
The application builder has several interesting advanced uses, for instance it can be used for automatic building. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Symbolic paths&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Inside the application builder LabVIEW uses several symbolic paths to have envorinment dependent variables.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;width: 708px; height: 104px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Symbolic path&amp;lt;br&amp;gt;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Contents&amp;lt;br&amp;gt;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | Usage&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| NI_AB_PROJECTNAME&amp;lt;br&amp;gt;&lt;br /&gt;
| Name of the project&amp;lt;br&amp;gt;&lt;br /&gt;
| Automatically place the build in a folder that is named after the project&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| NI_AB_TARGETNAME&amp;lt;br&amp;gt;&lt;br /&gt;
| Name of the (Real-Time) target&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building executables]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Category:TestStand&amp;diff=4218</id>
		<title>Category:TestStand</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Category:TestStand&amp;diff=4218"/>
		<updated>2010-05-11T17:05:27Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: New page: [http://www.ni.com/teststand/ Teststand] is a test sequence tool made by NI.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://www.ni.com/teststand/ Teststand] is a test sequence tool made by [[NI|NI]].&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Diff_Teststand&amp;diff=4217</id>
		<title>Diff Teststand</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Diff_Teststand&amp;diff=4217"/>
		<updated>2010-05-11T17:03:19Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to use a [[Source Code Control Tools|SCC tool]] with [[Teststand|teststand]] sequence files, it&#039;s possible to use SeqFileDifferApp.exe deliverd by [[NI|NI]] in the &amp;amp;lt;Teststand&amp;amp;gt;\bin folder.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
For [[TortoiseSVN client to Subversion|TortoiseSVN]] the following settings can be used:&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;C:\Program Files\National Instruments\TestStand 4.2\Bin\SequenceFileDiffer.exe&amp;quot;&amp;amp;nbsp;%base&amp;amp;nbsp;%mine&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Reported by Asbo&amp;lt;ref&amp;gt;http://lavag.org/topic/12386-tortoisesvn-diff-with-teststand-sequences/page__view__findpost__p__74269&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Teststand]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Diff_Teststand&amp;diff=4216</id>
		<title>Diff Teststand</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Diff_Teststand&amp;diff=4216"/>
		<updated>2010-05-11T17:02:38Z</updated>

		<summary type="html">&lt;p&gt;Tcplomp: New page: In order to use a SCC tool with teststand sequence files, it&amp;#039;s possible to use SeqFileDifferApp.exe deliverd by NI in the &amp;amp;lt;Teststand&amp;amp;g...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to use a [[Source_Code_Control_Tools|SCC tool]] with [[teststand|teststand]] sequence files, it&#039;s possible to use SeqFileDifferApp.exe deliverd by [[NI|NI]] in the &amp;amp;lt;Teststand&amp;amp;gt;\bin folder.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For [[TortoiseSVN_client_to_Subversion|TortoiseSVN]] the following settings can be used:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;C:\Program Files\National Instruments\TestStand 4.2\Bin\SequenceFileDiffer.exe&amp;quot; %base %mine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reported by Asbo&amp;lt;ref&amp;gt;http://lavag.org/topic/12386-tortoisesvn-diff-with-teststand-sequences/page__view__findpost__p__74269&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SCC]]&lt;/div&gt;</summary>
		<author><name>Tcplomp</name></author>
	</entry>
</feed>