Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.Ulysses-Group.plist
9 changes: 9 additions & 0 deletions help/getting started/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Readme
New documentation layout inspired by the layout of [You Don’t Know JS][1]
Table of Contents
[Chapter 2: Create New Class][2]
[Chapter 3: Create Design Pattern][3]

[1]: (https://github.com/getify/You-Dont-Know-JS)
[2]: ch2.md
[3]: %20ch3.md
42 changes: 42 additions & 0 deletions help/getting started/ch2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# ch2
## Create New Class
Dialog Create New Class
To create a new GOOP class right click on My Computer in the Project explorer and select New\>\>GOOP Class or right click on an existing class and select New\>\>Create Derived Class. The Create Class Dialog Box appears.
![Create Class Dialog Box](images/create_class_dialog.png)


## Class Providers
The tools supports three different class providers. Before creating a class you should select class provider in the GOOP options dialog. Read the chapter GOOP Options to see how this is done. The following class providers are supported:
• LabVIEW native - this is a standard LabVIEW class
• Endevo GOOP 4 - this is an lvclass extended to support a class by reference model
• Endevo GOOP 3 - this is an lvclass extended to support a class by reference model
• OpenG Class Templates - this is an lvclass extended to support a class by reference model
Read more about the class providers in the chapter Class Provider Options


Dialog Box Options




Class Template
Displays a list of the class templates that you can use. Contains the following templates from the start (for GOOP 4):
       Simple DVR Template
       Singleton DVR template
You can create a your own Class Templates, for more information look in Chapter Create Class Template.
Select Parent Class
If you want the new class to inherit from an existing class, select the parent class here. Existing classes are displayed.
Class folder
Displays the full path to the folder to which the class files will be placed.
Place each class in a separate folder and do not nest class folders.
Class Folder Suffix
Sets a suffix that will be added to the name of the Class Folder.
Class Description
Description for the class.





[image-1]: /images/create_class_dialog.png
27 changes: 27 additions & 0 deletions help/getting started/ch3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# ch3
----
## Create Design Pattern

## Active Object
### Dynamic Events To and from process
This design pattern makes the class become active. This means that a standalone process starts when you create an object can read and write the objects attribute.

Add a command to a process
![][image-1]
The process.vi will handle al the que and the generated users events. Within this case statement the behavior can be defined.

Within this newly created method a custom command generating a user event can be given.
![display command][image-2]

This command can be defined within the process.vi to add some behavior when executing this method.

![Process VI Command][image-3]

----
\*\*Walk-Through of design pattern

\*\*How to make your own design patterns

[image-1]: images/fig_command.png
[image-2]: images/display_command.png
[image-3]: images/process_vi_command.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added help/getting started/images/display_command.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added help/getting started/images/fig_command.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.