Diff for "WritingStimulusDeliveryPrograms" - Methods
location: Diff for "WritingStimulusDeliveryPrograms"
Differences between revisions 7 and 32 (spanning 25 versions)
Revision 7 as of 2007-07-26 19:00:09
Size: 1824
Editor: RhodriCusack
Comment:
Revision 32 as of 2013-03-08 10:28:26
Size: 3070
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
----
 ''' Contents ''' <<TableOfContents>>
----
== Languages and tools ==
=== Eprime ===
The successor to "Psyscope" and "Mel", this point & click program is good for non-programmers, who wish to write fairly simple experiments. It has a scripting back end that is like Visual Basic. While quite flexible, it does have its limits, and sometimes ends up more complicated and harder to set up than when using a full programming language.
Line 3: Line 9:
== Languages ==
=== Visual Basic ===
A Microsoft language, with a slick development environment, which is quick to develop in, fast and flexible. It allows easy integration with the vast range of Windows components, including those in the "Useful tools" section below.
=== Visual Basic 6 & .net ===
A Microsoft language that is quick to develop in, fast to run and flexible. It has a slick development environment and good support for the design of graphical interfaces. It allows easy integration with the vast range of Windows components, including those in the "Useful tools" section below.
Line 7: Line 12:
The new version is VB.Net, which runs on the "Microsoft .Net Framework", which allows easy integration with other .Net languages such as C#. These languages are interoperable, with users able to extend programs written in one language with another. The latest version is VB.net, which runs on the "Microsoft .Net Framework", which allows easy integration with other .Net languages such as C#. These languages are interoperable, with users able to extend programs written in one language with another.
Line 9: Line 14:
The free versions of VB.Net The older version, Visual Basic 6, is gradually being phased out, so if you are new to programming, choose VB.net.
Line 11: Line 16:
The older version, Visual Basic 6, is gradually being phased out, so if you are new to programming, choose VB.Net. ==== Downloading & learning Visual Basic ====
* Free "Express" versions of VB.net and C# are available, and probably do everything needed for experiements http://msdn.microsoft.com/vstudio/express/downloads/.

* An example .net experiment written by us, is on this page VbDotNetExample

* The msdn website also contains lots of training material. There are feature overviews and starter guides to programming here:
http://msdn.microsoft.com/vstudio/express/beginner/windows/tier1/

* I've found the videos very helpful and painless (or at the very least, effortless) way of learning about these tools. Try for example:
http://msdn.microsoft.com/vstudio/express/beginner/windows/tier1/vb/

Line 14: Line 30:
A new language somewhat like C or Java, but running on the .Net Framework. The most refined of the .Net languages. A new language somewhat like C or Java, but running on the .net Framework. The most refined of the .net languages.
Line 19: Line 35:
=== Eprime ===
The successor to "Psyscope" and "Mel", this point & click program is good for non-programmers, who wish to write fairly simple experiments. It has a scripting back end that is like Visual Basic. While quite flexible, it does have its limits, and sometimes ends up more complicated and harder to set up than when using a full programming language.
An introduction to Matlab 'for Psychologists' can be found at http://www.antoniahamilton.com/matlab.html

The official documentation plus a list of examples can be found here:
http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/demo_example.html

=== DMDX ===
 * [[http://www.mrc-cbu.cam.ac.uk/personal/matt.davis/dmdx.html|DMDX]]
 * [[ZilUtility|DMDX zil output file parser]] for analyzing scanner pulses
Line 23: Line 46:
 * ScannerSync for synchronising with the scanner
 * DirectX. You'll need this if you want tight control of your visual or auditory presentation. Designed for games, it allows complete use of the hardware. Most people in the unit still use DirectX 7 (DirectDraw) but in due course we must switch to more recent versions. Check out msdn.microsoft.com/directx
 * Other (partly obsolete) help not yet transferred to Wiki at
http://www.mrc-cbu.cam.ac.uk/vb
=== ScannerSync ===
The ScannerSync tool is designed to help synchronising with the scanner from Windows programs.
 
===
DirectX ===
You'll need this if you want tight control of your visual or auditory presentation. Designed for games, it allows complete use of the hardware. Most people in the unit still use DirectX 7 (DirectDraw) but in due course we must switch to more recent versions. See http://msdn.microsoft.com/directx

Writing stimulus delivery programs



Languages and tools

Eprime

The successor to "Psyscope" and "Mel", this point & click program is good for non-programmers, who wish to write fairly simple experiments. It has a scripting back end that is like Visual Basic. While quite flexible, it does have its limits, and sometimes ends up more complicated and harder to set up than when using a full programming language.

Visual Basic 6 & .net

A Microsoft language that is quick to develop in, fast to run and flexible. It has a slick development environment and good support for the design of graphical interfaces. It allows easy integration with the vast range of Windows components, including those in the "Useful tools" section below.

The latest version is VB.net, which runs on the "Microsoft .Net Framework", which allows easy integration with other .Net languages such as C#. These languages are interoperable, with users able to extend programs written in one language with another.

The older version, Visual Basic 6, is gradually being phased out, so if you are new to programming, choose VB.net.

Downloading & learning Visual Basic

* Free "Express" versions of VB.net and C# are available, and probably do everything needed for experiements http://msdn.microsoft.com/vstudio/express/downloads/.

* An example .net experiment written by us, is on this page VbDotNetExample

* The msdn website also contains lots of training material. There are feature overviews and starter guides to programming here: http://msdn.microsoft.com/vstudio/express/beginner/windows/tier1/

* I've found the videos very helpful and painless (or at the very least, effortless) way of learning about these tools. Try for example: http://msdn.microsoft.com/vstudio/express/beginner/windows/tier1/vb/

C#

A new language somewhat like C or Java, but running on the .net Framework. The most refined of the .net languages.

Cogent (runs under Matlab)

A piece of software from various London labs http://www.vislab.ucl.ac.uk/Cogent/

An introduction to Matlab 'for Psychologists' can be found at http://www.antoniahamilton.com/matlab.html

The official documentation plus a list of examples can be found here: http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/demo_example.html

DMDX

Useful tools for Windows

ScannerSync

The ScannerSync tool is designed to help synchronising with the scanner from Windows programs.

DirectX

You'll need this if you want tight control of your visual or auditory presentation. Designed for games, it allows complete use of the hardware. Most people in the unit still use DirectX 7 (DirectDraw) but in due course we must switch to more recent versions. See http://msdn.microsoft.com/directx

None: WritingStimulusDeliveryPrograms (last edited 2013-03-08 10:28:26 by localhost)