source: fact/trigger/v560_test.py@ 17963

Last change on this file since 17963 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
3import _VME
4
5import 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:
20print "v812:\n"
21_VME.V812_Open()
22_VME.V812_Print_Info()
23#trying to set the hexpat:
24myhexpat = 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.