Last change
on this file since 19993 was 52, checked in by rissim, 15 years ago |
trigger software (VME) v1
|
-
Property svn:executable
set to
*
|
File size:
448 bytes
|
Line | |
---|
1 | #!/usr/bin/python
|
---|
2 |
|
---|
3 | import _VME
|
---|
4 |
|
---|
5 | import time
|
---|
6 |
|
---|
7 | _VME.VME_Open()
|
---|
8 | _VME.V560_Open()
|
---|
9 | _VME.V560_Print_Info()
|
---|
10 |
|
---|
11 |
|
---|
12 | #while 1:
|
---|
13 | # _VME.V560_Clear_Scales(1)
|
---|
14 | # time.sleep(1)
|
---|
15 | # print "rate: " , _VME.V560_Read_Counter(1,1)/1000., " kHz"
|
---|
16 |
|
---|
17 |
|
---|
18 |
|
---|
19 | #now the V812:
|
---|
20 | print "v812:\n"
|
---|
21 | _VME.V812_Open()
|
---|
22 | _VME.V812_Print_Info()
|
---|
23 | #trying to set the hexpat:
|
---|
24 | myhexpat = 0x0001
|
---|
25 | _VME.V812_Set_Pattern_Inhibit_Hex(1,myhexpat);
|
---|
26 |
|
---|
27 |
|
---|
28 | _VME.V812_Close()
|
---|
29 | _VME.V560_Close()
|
---|
30 | _VME.VME_Close()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.