'PARAM.DAT

'****************************************************************************
'This file contains all the parameters of the magnet test.
'
'Zachary Wolf
'9/20/95
'****************************************************************************

'Define the GPIB addresses
'Don't use address 21, system controller
pt2025addrP$ = 02                 'Metrolab PT2025 NMR teslameter
gp3addrP$ = 16                    'Group3 teslameter GPIB address
ls450addrP$ = 15                  'Lake Shore Model 450 Gaussmeter
b9900addrP$ = 17                  'F. W. Bell 9900 Gaussmeter
par5209addrP$ = 12                'PAR 5209 lock-in amplifier
sr850addrP$ = 04                  'Stanford Research 850 lock-in amplifier
mc4addrP$ = 14                    'MC4 Klinger stepping motor controller
hp3457addrP$ = 22                 'HP3457 DVM GPIB address
bit488addrP$ = 01                 'BIT488 GPIB address
dac488addrP$ = 19                 'DAC488 GPIB address
dac488hraddrP$ = 08               'DAC488HR GPIB address
pshp3457addrP$ = 23               'PS HP3457 DVM GPIB address
psdac488addrP$ = 11               'PS DAC488 GPIB address

'Define which measurement to perform
'The choices are XYMAPH, ZMAPH, ZMAPNMRH, ZMAPCOIL
measurementP$ = ZMAPCOIL

'Define the measurement device being used
'The choices are GP3, LS450, B9900, GP3NMR, LS450NMR, PAR5209, SR850
measdeviceP$ = PAR5209

'Define the motion device being used
'The choices are MANUAL, LEADSCREW, KLINGER
movedeviceP$ = MANUAL

'Field measurement parameters
coilconstantP! = .3364            'Rotating coil constant for Btrans (T/V), V is 0 to peak
hallrangeP% = 1                   'Hall probe range, use manual for field values

'Motion parameters
velcmsP! = .4                     'velocity during the wire motion in cm/sec
acctimeP! = .5                    'acceleration time in sec
tmovesettleP% = 1                 'settling time after move in sec
xaxisP$ = W                       'x axis stage ID
yaxisP$ = X                       'y axis stage ID
zaxisP$ = Y                       'z axis stage ID

'Power system configuration
imagconfigP$ = IMAN               'KEPCO, 1, 2, 3, 12S, 12P, 123P, IDAC, IDACHR, IMAN, IVAX, etc.

'Magnet current read parameters
imagnmeasaveP% = 1                'number of measurements for averaging
imaghpchanP% = 0                  ''the HP3457 channel for the transductor voltage, not used for PS123
vtransperimagP! = .005            ''transductor voltage per magnet amp, not used for PS123

'Magnet current set parameters
imagdacchanP% = 1                 ''DAC488 & HR channel to control a PS, not used for PS123, KEPCO
imagpervdacP! = 120.              ''power supply amps per DAC volts, not used for PS123, KEPCO
imagtstableP% = 30                'the number of seconds to wait after a ramp
imagramprateP! = 10               'power supply amperes per second during a ramp
imaglimitP! = 400                 'absolute value of maximum current

'Define the standardization cycle
imagsaturateP! = 0                'saturation current
nstandcycleP% = 0                 'number of standardization cycles
imagstandP! = 400                 'standardization current, negative means bipolar

'Define the test currents
nimagtestP% = 1                   'number of test currents
imagtestP!(1) = 375.

'Define the measurement positions in cm for X and Y, inches for Z

nxposP% = 11                      'the number of measurement positions
xminP! = -1                       'starting x position
dxP! = .2                         'step size (cm)

nyposP% = 17                      'the number of measurement positions
yminP! = -1.6                     'starting y position
dyP! = .2                         'step size (cm)

nzregionsP% = 2                   'number of regions of constant step size; 1, 2, or 3
zminP! = -5.1                     'starting Z position

nzpos1P% = 20                     'the number of measurement positions, region 1
dz1P! = .5                        'step size (in) in region 1

nzpos2P% = 12                     'the number of measurement positions, region 2
dz2P! = 1.                        'step size (in) in region 2

nzpos3P% = 2                      'the number of measurement positions, region 3
dz3P! = .5                        'step size (in) in region 3

