
Running PSRemote from other apps 15
© 2014 Breeze Systems Ltd
6 Running PSRemote from other apps
Overview
PSRemote includes an interface library called PSRemoteLib.dll which can be used by other
applications to control PSRemote. Also included is a simple command line application called
PSRemoteTest.exe which can be used to control PSRemote from a command prompt or a
batch file. For example a batch file could be written to take a series of photos using different
apertures and shutter speeds to bracket the exposure.
PSRemoteLib.dll
PSRemoteLib.dll is a library that can be used by other programs to control PSRemote. It can
be found in the PSRemoteTest folder where PSRemote is installed (usually C:\Program
Files\BreezeSys\PSRemote\PSRemoteTest). Please see the ReadMe.txt and PSRemoteLib.h
files for details.
Files included in the PSRemoteTest directory:
PSRemoteTest.exe - compiled console application
interval_shooting.pl - example Perl script for time-lapse sequences
PSRemoteLib.dll - DLL used by PSRemoteTest.exe to interface with PSRemote
PSRemoteLib.lib - lib for C++ apps to link to the DLL
PSRemoteLib.h - header file for C++ applications using the DLL
Source - directory containing a VC++ project and source code for PSRemoteTest.exe
PSRemoteTest.exe
PSRemoteTest.exe is a simple command line application that communicates with PSRemote
and allows the shutter to be released and some of the camera settings to be changed.
PSRemoteTest.exe and complete source code to build it using Visual C++ .Net can be found
in the PSRemoteTest folder where PSRemote is installed (usually C:\Program
Files\BreezeSys\PSRemote).
To run PSRemoteTest.exe first run PSRemote and then open a command prompt window and
change directory to the PSRemoteTest folder. Then run PSRemoteTest.exe -h to get a list of
the available commands.
Here is the output from a simple session where the output directory is set and the shutter is
released (commands typed in by the user are shown in bold):
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
Comentarios a estos manuales