Difference between revisions of "CAEN V260 Scalr"

From New IAC Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
=Setting address=
 
=Setting address=
  
 +
260N has NIM inputs
 +
 +
The address pins on this module are not labeled so I adopted the convention of numbering them from left to right as I look from the front pannel.
 +
 +
[[Image:CAEN_V260_ScalrAddress.jpg | 400 px]]
  
 
{| border="1"  |cellpadding="20" cellspacing="0  
 
{| border="1"  |cellpadding="20" cellspacing="0  
Line 7: Line 12:
 
| Pin ||  Setting
 
| Pin ||  Setting
 
|-
 
|-
|SW 1 ||  0
+
|SW 1 ||  D
 
|-
 
|-
|SW 2 ||  0
+
|SW 2 ||  A
 
|-
 
|-
|SW 3 ||   A
+
|SW 3 || 0
 
|-
 
|-
|SW 4 ||   D
+
|SW 4 || 0
 
|}
 
|}
 +
 +
=Initializing from ROC console=
 +
 +
The V260 library has an initialization function called v260Init to use for getting a pointer to its VME memory location.
 +
The scaler uses A24 bit addressing so you need to add 2 zeros at the end.
 +
 +
-> v260Init 0xda0000
 +
Initialized SCALER ID 0 at address 0x90da0000
 +
value = 0 = 0x0
 +
 +
= Status function =
 +
 +
-> v260Status(0,1)                                                             
 +
STATUS for SCALER id 0 at base address 0x90da0000                             
 +
--------------------------------------------------                             
 +
  Version = 0x10dc    Module Type = 0x080d                                     
 +
  Scalers ENABLED                                                             
 +
                                                                               
 +
  Scaler Data :                                                               
 +
  SCAL01:          0  SCAL02:          0  SCAL03:          0  SCAL04:          0
 +
  SCAL05:          0  SCAL06:          0  SCAL07:          0  SCAL08:          0
 +
  SCAL09:          0  SCAL10:          0  SCAL11:          0  SCAL12:          0
 +
  SCAL13:          0  SCAL14:          0  SCAL15:          0  SCAL16:        28
 +
value = 0 = 0x0                                                               
 +
 +
[http://wiki.iac.isu.edu/index.php/VME_modules Go back]
 +
[[VME_modules]] Go back

Latest revision as of 21:02, 29 December 2013

Setting address

260N has NIM inputs

The address pins on this module are not labeled so I adopted the convention of numbering them from left to right as I look from the front pannel.

CAEN V260 ScalrAddress.jpg

Address
Pin Setting
SW 1 D
SW 2 A
SW 3 0
SW 4 0

Initializing from ROC console

The V260 library has an initialization function called v260Init to use for getting a pointer to its VME memory location. The scaler uses A24 bit addressing so you need to add 2 zeros at the end.

-> v260Init 0xda0000
Initialized SCALER ID 0 at address 0x90da0000 
value = 0 = 0x0

Status function

-> v260Status(0,1)                                                              
STATUS for SCALER id 0 at base address 0x90da0000                               
--------------------------------------------------                              
 Version = 0x10dc    Module Type = 0x080d                                      
 Scalers ENABLED                                                               
                                                                               
  Scaler Data :                                                                
 SCAL01:          0  SCAL02:          0  SCAL03:          0  SCAL04:          0 
 SCAL05:          0  SCAL06:          0  SCAL07:          0  SCAL08:          0 
 SCAL09:          0  SCAL10:          0  SCAL11:          0  SCAL12:          0 
 SCAL13:          0  SCAL14:          0  SCAL15:          0  SCAL16:         28 
value = 0 = 0x0                                                                 

Go back VME_modules Go back