/alps/ipecamera

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to tests/ipecamera/autotrigger.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2015-04-27 00:28:57 UTC
  • Revision ID: csa@suren.me-20150427002857-82fk6r3e8rfgy4wr
First stand-alone ipecamera implementation

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/bash
2
 
 
3
 
function pci {
4
 
    PCILIB_PATH="../../"
5
 
    LD_LIBRARY_PATH="$PCILIB_PATH" $PCILIB_PATH/pci $*
6
 
}
7
 
 
8
 
echo "Starting the grabber"
9
 
pci -g -o /dev/null --run-time 12000000 --verbose 10 &
10
 
pid=$!
11
 
 
12
 
usleep 100000
13
 
pci -w 9040 80004a01
14
 
usleep 10000000
15
 
pci -w 9040 80000201
16
 
 
17
 
echo "Waiting grabber to finish"
18
 
wait $pid