EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: IP330 modules question
From: Mark Rivers <[email protected]>
To: "'Geon-Yeong Mun'" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 7 Jun 2013 15:38:07 +0000
> And, I reading all channel. But, input voltage was connected only channel 0.
> however, I found All channel was changed.

Having all channels change when you just change the voltage to channel 0 is normal, assuming the other channels were not connected, i.e. "floating".

The floating inputs have no defined voltage.  Because this is a multiplexor system the residual charge from the channel 0 signal will also be measured on the other channels.  If you want the unused channels to read "0 V" then you can simply connect them to ground.

Your calibration values actually look OK.  The slopes are all near 1, and the offsets are relatively small.

The RVAL on channel 0 with 0V looks not too far off, it should be 32768, and it is 32880.

The RVAL on channel 0 with -5V is 27629.  It should be 0.  The corresponding voltage for 27629 = (27629-32768.)/32768.*5 = -0.784.

The RVAL on channel 0 with +5V is 37823.  It should 65535. The corresponding voltage for 37823 is (37823-32768.)/32768.*5 = 0.771.

So something is definitely wrong.  What pins are you connecting your voltage source and ground to on the 50-pin IP carrier cable?  I still suspect you may have a wiring problem.

Can you modify the driver to print all of the raw and corrected readings for normal measurements, like it does for calibrations, using ASYN_TRACEIO_DRIVER?  It will slow the system way down when you do that of course, but I want to see the variation in the readings.

What CPU card are you using?  Perhaps it is faster than anything we have used before, and we have a timing issue we did not know about.

Mark


-----Original Message-----
From: Geon-Yeong Mun [mailto:[email protected]] 
Sent: Thursday, June 06, 2013 10:15 PM
To: Mark Rivers
Cc: [email protected]
Subject: RE: IP330 modules question 

I send the asynReport and, raw-values.
And, I reading all channel. But, input voltage was connected only channel 0.
however, I found All channel was changed.

-> asynReport 10,"IP330_1"
IP330_1 multiDevice:Yes canBlock:No autoConnect:Yes
    enabled:Yes connected:Yes numberConnects 1
    nDevices 16 nQueued 0 blocked:No
    asynManagerLock:No synchronousLock:No
    exceptionActive:No exceptionUsers 0 exceptionNotifys 0
    interfaceList
        asynCommon pinterface 0x4dd5904 drvPvt 0x4574bb0
        asynInt32 pinterface 0x4dd5910 drvPvt 0x4574bb0
        asynFloat64 pinterface 0x4dd5924 drvPvt 0x4574bb0
        asynInt32Array pinterface 0x4dd8f74 drvPvt 0x4574bb0
        asynDrvUser pinterface 0x4dd5934 drvPvt 0x4574bb0
    addr 0 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 9 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 10 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 11 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 12 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 13 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 14 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 15 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 1 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 2 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 3 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 4 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 5 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 6 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 7 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
    addr 8 autoConnect Yes enabled Yes connected Yes exceptionActive No
    exceptionActive No exceptionUsers 0 exceptionNotifys 0
    blocked No
Port: IP330_1, carrier 0 slot 0, base address=0x91000000
    messages sent OK=154175208; send failed (queue full)=4959
    firstChan=0, lastChan=15, scanPeriod=0.001000
    chan 0, offset=52.107781 slope=0.998242, raw=32440 corrected=32434
    chan 1, offset=52.394770 slope=0.998233, raw=32444 corrected=32438
    chan 2, offset=42.854592 slope=0.998390, raw=32441 corrected=32431
    chan 3, offset=62.484694 slope=0.998097, raw=32441 corrected=32441
    chan 4, offset=-23.822066 slope=0.999420, raw=55060 corrected=55004
    chan 5, offset=-170.046556 slope=1.001672, raw=32441 corrected=32324
    chan 6, offset=12.731505 slope=0.998862, raw=65535 corrected=65473
    chan 7, offset=36.919643 slope=0.998481, raw=49273 corrected=49235
    chan 8, offset=8.376913 slope=0.998926, raw=32441 corrected=32414
    chan 9, offset=42.949617 slope=0.998388, raw=44532 corrected=44503
    chan 10, offset=51.440689 slope=0.998259, raw=32441 corrected=32435
    chan 11, offset=51.281888 slope=0.998263, raw=32442 corrected=32436
    chan 12, offset=51.788265 slope=0.998253, raw=8056 corrected=8093
    chan 13, offset=51.466837 slope=0.998266, raw=7870 corrected=7907
    chan 14, offset=51.630740 slope=0.998255, raw=32444 corrected=32438
    chan 15, offset=51.154337 slope=0.998266, raw=32435 corrected=32429
    chan 16, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 17, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 18, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 19, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 20, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 21, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 22, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 23, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 24, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 25, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 26, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 27, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 28, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 29, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 30, offset=0.000000 slope=0.000000, raw=0 corrected=0
    chan 31, offset=0.000000 slope=0.000000, raw=0 corrected=0
    int32 callback client address=0x4c295b8, addr=0, reason=0
    int32 callback client address=0x4c295b8, addr=9, reason=0
    int32 callback client address=0x4c295b8, addr=10, reason=0
    int32 callback client address=0x4c295b8, addr=11, reason=0
    int32 callback client address=0x4c295b8, addr=12, reason=0
    int32 callback client address=0x4c295b8, addr=13, reason=0
    int32 callback client address=0x4c295b8, addr=14, reason=0
    int32 callback client address=0x4c295b8, addr=15, reason=0
    int32 callback client address=0x4c295b8, addr=1, reason=0
    int32 callback client address=0x4c295b8, addr=2, reason=0
    int32 callback client address=0x4c295b8, addr=3, reason=0
    int32 callback client address=0x4c295b8, addr=4, reason=0
    int32 callback client address=0x4c295b8, addr=5, reason=0
    int32 callback client address=0x4c295b8, addr=6, reason=0
    int32 callback client address=0x4c295b8, addr=7, reason=0
    int32 callback client address=0x4c295b8, addr=8, reason=0
value = 0 = 0x0

----------------------------------------------------------------------------
input voltage : -5, input voltage was connected only channel 0. others are
not connected(channel 1 ~ channel 15).
13LAB:IP330_1.RVAL             2013-06-07 11:57:05.296798 27629  
13LAB:IP330_2.RVAL             2013-06-07 11:57:05.296864 27423  
13LAB:IP330_3.RVAL             2013-06-07 11:57:05.296871 27503  
13LAB:IP330_4.RVAL             2013-06-07 11:57:05.296879 27207  
13LAB:IP330_5.RVAL             2013-06-07 11:57:05.296887 25972  
13LAB:IP330_6.RVAL             2013-06-07 11:57:05.296895 25607  
13LAB:IP330_7.RVAL             2013-06-07 11:57:05.296903 26006  
13LAB:IP330_8.RVAL             2013-06-07 11:57:05.296912 26268  
13LAB:IP330_9.RVAL             2013-06-07 11:57:05.296920 26372  
13LAB:IP330_10.RVAL            2013-06-07 11:57:05.296807 26689  
13LAB:IP330_11.RVAL            2013-06-07 11:57:05.296815 26793  
13LAB:IP330_12.RVAL            2013-06-07 11:57:05.296823 27387  
13LAB:IP330_13.RVAL            2013-06-07 11:57:05.296831 27228  
13LAB:IP330_14.RVAL            2013-06-07 11:57:05.296839 27817  
13LAB:IP330_15.RVAL            2013-06-07 11:57:05.296848 28267
----------------------------------------------------------------------------
input voltage : 0, input voltage was connected only channel 0. others are
not connected(channel 1 ~ channel 15).
13LAB:IP330_1.RVAL             2013-06-07 12:00:00.332794 32880  
13LAB:IP330_2.RVAL             2013-06-07 12:00:00.332859 37179  
13LAB:IP330_3.RVAL             2013-06-07 12:00:00.332867 32161  
13LAB:IP330_4.RVAL             2013-06-07 12:00:00.332875 31772  
13LAB:IP330_5.RVAL             2013-06-07 12:00:00.332883 30320  
13LAB:IP330_6.RVAL             2013-06-07 12:00:00.332891 29683  
13LAB:IP330_7.RVAL             2013-06-07 12:00:00.332899 29471  
13LAB:IP330_8.RVAL             2013-06-07 12:00:00.332907 29272  
13LAB:IP330_9.RVAL             2013-06-07 12:00:00.332915 28943  
13LAB:IP330_10.RVAL            2013-06-07 12:00:00.332803 28830  
13LAB:IP330_11.RVAL            2013-06-07 12:00:00.332811 31445  
13LAB:IP330_12.RVAL            2013-06-07 12:00:00.332819 31444  
13LAB:IP330_13.RVAL            2013-06-07 12:00:00.332827 30710  
13LAB:IP330_14.RVAL            2013-06-07 12:00:00.332835 30583  
13LAB:IP330_15.RVAL            2013-06-07 12:00:00.332843 31658 
----------------------------------------------------------------------------
input voltage : 5, input voltage was connected only channel 0. others are
not connected(channel 1 ~ channel 15).
13LAB:IP330_1.RVAL             2013-06-07 12:01:18.017360 37823  
13LAB:IP330_2.RVAL             2013-06-07 12:01:18.017428 43367  
13LAB:IP330_3.RVAL             2013-06-07 12:01:18.017436 33452  
13LAB:IP330_4.RVAL             2013-06-07 12:01:18.017444 33043  
13LAB:IP330_5.RVAL             2013-06-07 12:01:18.017452 31480  
13LAB:IP330_6.RVAL             2013-06-07 12:01:18.017460 30810  
13LAB:IP330_7.RVAL             2013-06-07 12:01:18.017469 30393  
13LAB:IP330_8.RVAL             2013-06-07 12:01:18.017477 30045  
13LAB:IP330_9.RVAL             2013-06-07 12:01:18.017485 29680  
13LAB:IP330_10.RVAL            2013-06-07 12:01:18.017370 29499  
13LAB:IP330_11.RVAL            2013-06-07 12:01:18.017378 32967  
13LAB:IP330_12.RVAL            2013-06-07 12:01:18.017386 32896  
13LAB:IP330_13.RVAL            2013-06-07 12:01:18.017395 32084  
13LAB:IP330_14.RVAL            2013-06-07 12:01:18.017403 31731  
13LAB:IP330_15.RVAL            2013-06-07 12:01:18.017411 32891

Best regards.
Geon-Yeong.

-----Original Message-----
From: Mark Rivers [mailto:[email protected]] 
Sent: Wednesday, June 05, 2013 10:39 PM
To: Geon-Yeong Mun
Cc: [email protected]
Subject: RE: IP330 modules question 

I looked carefully at your original post, which also contained output about
the calibration.  The calibration data in that message does not look good,
unlike the data you sent yesterday.  In all cases the calibration offset was
more than 1000 A/D units, and the 0V reading was never ~32K, which it should
be.

Please send the output of "asynReport" for the driver, like the following:

ioc13bmc> asynReport 10,"Ip330_1"
Ip330_1 multiDevice:Yes canBlock:No autoConnect:Yes
    enabled:Yes connected:Yes numberConnects 1
    nDevices 16 nQueued 0 blocked:No
    asynManagerLock:No synchronousLock:No
    exceptionActive:No exceptionUsers 0 exceptionNotifys 0
    interfaceList
        asynCommon pinterface 0x3885210 drvPvt 0x3345380
        asynInt32 pinterface 0x388521c drvPvt 0x3345380
        asynFloat64 pinterface 0x3885230 drvPvt 0x3345380
        asynInt32Array pinterface 0x3885240 drvPvt 0x3345380
        asynDrvUser pinterface 0x3885250 drvPvt 0x3345380
    addr 0 autoConnect Yes enabled Yes connected Yes exceptionActive No ...
Port: Ip330_1, carrier 0 slot 1, base address=0xfbff3100  Feb. 27, 2012
    messages sent OK=-946477126; send failed (queue full)=4919
    firstChan=0, lastChan=15, scanPeriod=0.001000
    chan 0, offset=11.183036 slope=0.999364, raw=33178 corrected=33168
    chan 1, offset=11.596301 slope=0.999354, raw=33160 corrected=33150
    chan 2, offset=11.655612 slope=0.999359, raw=33188 corrected=33178
    chan 3, offset=10.835459 slope=0.999370, raw=33194 corrected=33183
    chan 4, offset=11.847577 slope=0.999352, raw=33207 corrected=33197
    chan 5, offset=11.341199 slope=0.999362, raw=33157 corrected=33147
    chan 6, offset=10.900510 slope=0.999366, raw=33211 corrected=33200
    chan 7, offset=11.343112 slope=0.999359, raw=33177 corrected=33167
    chan 8, offset=10.934949 slope=0.999362, raw=33183 corrected=33172
    chan 9, offset=11.531250 slope=0.999358, raw=33184 corrected=33174
    chan 10, offset=12.104592 slope=0.999341, raw=33176 corrected=33166
    chan 11, offset=11.499362 slope=0.999359, raw=33173 corrected=33163
    chan 12, offset=11.125000 slope=0.999358, raw=33202 corrected=33191
    chan 13, offset=11.500000 slope=0.999358, raw=33165 corrected=33155
    chan 14, offset=11.658163 slope=0.999355, raw=33189 corrected=33179
    chan 15, offset=11.376276 slope=0.999356, raw=33137 corrected=33127 ...

This is the output for one of my units.  It is working correctly.  The
offset for each channel is about 11-12 A/D units, and the slope is 0.999.

Please send the same thing for your system, and also send the raw values you
are reading for -5, 0 and 5 V on a specific channel at the same time.

Mark

________________________________
From: Mark Rivers
Sent: Wednesday, June 05, 2013 8:12 AM
To: Geon-Yeong Mun
Cc: [email protected]
Subject: RE: IP330 modules question

The data you sent yesterday shows that the internal 0 and 5V reference were
read correctly during the calibration procedure (except for 1 glitch).  That
proves that the unit is basically working correctly. It reads the internal
0V reference at ~32K, and the internal 5V reference at ~64K.

Since it is only external voltages that are not reading correctly I suspect
that it is a cabling problem.  The IP330 can operate either in
"single-ended" mode or "differential mode".  In single-ended mode all inputs
are referenced to a single ground.  In differential mode the signals are not
referenced to ground, but rather are isolated from ground.  In differential
mode there are only 16 inputs available, compared to 32 input available in
single-ended mode.  The wiring is different in the 2 modes.

Which mode are you using, single-ended or differential?  Have you carefully
followed the wiring diagram for the appropriate mode in the IP330 manual?

Mark

________________________________
From: Geon-Yeong Mun [[email protected]]
Sent: Wednesday, June 05, 2013 1:20 AM
To: Mark Rivers
Cc: [email protected]
Subject: RE: IP330 modules question

Hi,

I tried to checked the hardware using multimeter.
Terminal block, cable, input voltage was completely normal.

I was set the dip-switch as voltage range from -5 to 5.
Therefore, I had guess that
The -5 voltage was display by 0 in raw-data. And, the 5 voltage was display
by 2^16 in raw-data. Therefor, I had thought that the raw-data was not
change.
But, my thinking was wrong.

Because,
Today, I found strange.
I have monitoring the "RVAL".
then, I found the raw-data was changed about below.

Input voltage     raw-data
-5                   27392
0                    32822
5                    38284

However, the performance does not come out properly.
IP330A module had 16bit resolution. but, according to data of the above,
resolution had less than the 14bit resolution. and, calibration parameters
were incorrectly.


Best regars.
Geon-Yeong.

From: Mark Rivers [mailto:[email protected]]
Sent: Wednesday, June 05, 2013 5:45 AM
To: 'Geon-Yeong Mun'
Cc: [email protected]
Subject: RE: IP330 modules question


Hi,



The first thing I see is that the output in the calibration routine
generally looks correct.  Here is the output of the log file you sent, where
I grep for the string adj_offset:



corvette:~/scratch>grep adj_offset log_04100114.log

2013/06/04 01:02:47.932 drvIp330::calibrate channel 0 adj_slope 9.983789e-01
adj_offset 4.389286e+01

2013/06/04 01:02:50.523 drvIp330::calibrate channel 1 adj_slope 9.983731e-01
adj_offset 4.392793e+01

2013/06/04 01:02:53.113 drvIp330::calibrate channel 2 adj_slope 9.983867e-01
adj_offset 4.332526e+01

2013/06/04 01:02:55.726 drvIp330::calibrate channel 3 adj_slope 9.983770e-01
adj_offset 4.348788e+01

2013/06/04 01:02:58.318 drvIp330::calibrate channel 4 adj_slope 9.983799e-01
adj_offset 4.379847e+01

2013/06/04 01:03:00.930 drvIp330::calibrate channel 5 adj_slope 9.983838e-01
adj_offset 4.385842e+01

2013/06/04 01:03:03.522 drvIp330::calibrate channel 6 adj_slope 9.983780e-01
adj_offset 4.395599e+01

2013/06/04 01:03:06.135 drvIp330::calibrate channel 7 adj_slope 9.983654e-01
adj_offset 4.430804e+01

2013/06/04 01:03:08.725 drvIp330::calibrate channel 8 adj_slope 9.983925e-01
adj_offset 4.307143e+01

2013/06/04 01:03:11.316 drvIp330::calibrate channel 9 adj_slope 9.983440e-01
adj_offset 4.547832e+01

2013/06/04 01:03:13.929 drvIp330::calibrate channel 10 adj_slope
9.983886e-01 adj_offset 4.329273e+01

2013/06/04 01:03:16.520 drvIp330::calibrate channel 11 adj_slope
9.983799e-01 adj_offset 4.364222e+01

2013/06/04 01:03:19.134 drvIp330::calibrate channel 12 adj_slope
9.983809e-01 adj_offset 4.354783e+01

2013/06/04 01:03:21.745 drvIp330::calibrate channel 13 adj_slope
9.983731e-01 adj_offset 4.395918e+01

2013/06/04 01:03:24.337 drvIp330::calibrate channel 14 adj_slope
9.983751e-01 adj_offset 4.402041e+01

2013/06/04 01:03:26.949 drvIp330::calibrate channel 15 adj_slope
9.983818e-01 adj_offset 4.335969e+01

2013/06/04 01:04:29.085 drvIp330::calibrate channel 0 adj_slope 9.983595e-01
adj_offset 4.453061e+01

2013/06/04 01:04:31.676 drvIp330::calibrate channel 1 adj_slope 9.983799e-01
adj_offset 4.392347e+01

2013/06/04 01:04:34.267 drvIp330::calibrate channel 2 adj_slope 9.983857e-01
adj_offset 4.345089e+01

2013/06/04 01:04:36.881 drvIp330::calibrate channel 3 adj_slope 9.983760e-01
adj_offset 4.392602e+01

2013/06/04 01:04:39.471 drvIp330::calibrate channel 4 adj_slope 9.983838e-01
adj_offset 4.373342e+01

2013/06/04 01:04:42.084 drvIp330::calibrate channel 5 adj_slope 9.983867e-01
adj_offset 4.351276e+01

2013/06/04 01:04:44.674 drvIp330::calibrate channel 6 adj_slope 9.983489e-01
adj_offset 4.510013e+01

2013/06/04 01:04:47.265 drvIp330::calibrate channel 7 adj_slope 9.983799e-01
adj_offset 4.407972e+01

2013/06/04 01:04:49.878 drvIp330::calibrate channel 8 adj_slope 9.983760e-01
adj_offset 4.411352e+01

2013/06/04 01:04:52.469 drvIp330::calibrate channel 9 adj_slope 9.983663e-01
adj_offset 4.415115e+01

2013/06/04 01:04:55.081 drvIp330::calibrate channel 10 adj_slope
9.983605e-01 adj_offset 4.440497e+01

2013/06/04 01:04:57.671 drvIp330::calibrate channel 11 adj_slope
9.983945e-01 adj_offset 4.275765e+01

2013/06/04 01:05:00.284 drvIp330::calibrate channel 12 adj_slope
9.983683e-01 adj_offset 4.471237e+01

2013/06/04 01:05:02.897 drvIp330::calibrate channel 13 adj_slope
9.983896e-01 adj_offset 4.372959e+01

2013/06/04 01:05:05.488 drvIp330::calibrate channel 14 adj_slope
9.983877e-01 adj_offset 4.360587e+01

2013/06/04 01:05:08.101 drvIp330::calibrate channel 15 adj_slope
9.983663e-01 adj_offset 4.430740e+01

2013/06/04 01:06:10.235 drvIp330::calibrate channel 0 adj_slope 1.031244e+00
adj_offset -2.027558e+03

2013/06/04 01:06:12.826 drvIp330::calibrate channel 1 adj_slope 9.983654e-01
adj_offset 4.446429e+01

2013/06/04 01:06:15.437 drvIp330::calibrate channel 2 adj_slope 9.983731e-01
adj_offset 4.392793e+01

2013/06/04 01:06:18.028 drvIp330::calibrate channel 3 adj_slope 9.983789e-01
adj_offset 4.401786e+01

2013/06/04 01:06:20.618 drvIp330::calibrate channel 4 adj_slope 9.983945e-01
adj_offset 4.310140e+01

2013/06/04 01:06:23.230 drvIp330::calibrate channel 5 adj_slope 9.983644e-01
adj_offset 4.455867e+01

2013/06/04 01:06:25.820 drvIp330::calibrate channel 6 adj_slope 9.983692e-01
adj_offset 4.393048e+01

2013/06/04 01:06:28.433 drvIp330::calibrate channel 7 adj_slope 9.983673e-01
adj_offset 4.415051e+01

2013/06/04 01:06:31.025 drvIp330::calibrate channel 8 adj_slope 9.983683e-01
adj_offset 4.446237e+01

2013/06/04 01:06:33.638 drvIp330::calibrate channel 9 adj_slope 9.983867e-01
adj_offset 4.332526e+01

2013/06/04 01:06:36.229 drvIp330::calibrate channel 10 adj_slope
9.983683e-01 adj_offset 4.427487e+01

2013/06/04 01:06:38.841 drvIp330::calibrate channel 11 adj_slope
9.983789e-01 adj_offset 4.367411e+01

2013/06/04 01:06:41.433 drvIp330::calibrate channel 12 adj_slope
9.983644e-01 adj_offset 4.446492e+01

2013/06/04 01:06:44.045 drvIp330::calibrate channel 13 adj_slope
9.983780e-01 adj_offset 4.367474e+01

2013/06/04 01:06:46.637 drvIp330::calibrate channel 14 adj_slope
9.983809e-01 adj_offset 4.370408e+01

2013/06/04 01:06:49.249 drvIp330::calibrate channel 15 adj_slope
9.983877e-01 adj_offset 4.304337e+01





Note that the slope is generally close of 0.9984 and the offset if about 44
A/D units.  There is only 1 exception, which is this line:

2013/06/04 01:06:10.235 drvIp330::calibrate channel 0 adj_slope 1.031244e+00
adj_offset -2.027558e+03



During that calibration cycle you got the following output:

2013/06/04 01:06:08.202 drvIp330::calibrate. Raw values low channel=0

2013/06/04 01:06:08.202   0 65535

2013/06/04 01:06:08.202   1 32788

2013/06/04 01:06:08.202   2 32786

2013/06/04 01:06:08.202   3 32783

2013/06/04 01:06:08.202   4 32784

2013/06/04 01:06:08.202   5 32780



Note that the very first reading is wrong, it is 65535, not ~32780.  This is
either a hardware read problem, or perhaps not enough setting time.  If you
look at the driver code you will see that it actually reads the first value
twice to allow for settling, and maybe it needs an additional read.  But the
vale 65535 looks suspicious, because it is exactly 2^16-1, and none of the
actual high-voltage calibration values are greater than 65000.



We can ignore the calibration glitch for the time being.



The problem as I understand it is that you have a 1.5 volt input signal, but
the value measured by the IP330 is 2.66 volts.  Is this correct?



In the dbpr output you sent, EGUL=-5.0, EGUF=5.0, EOFF=-5.0 and
ESLO=1.5259e-4.  These all seem correct.



RVAL=50159.  The corresponding voltage is thus:



VAL = -5.0 + 50159 * 1.5259e-4 = 2.65 volts.



This is very close (but not identical) to the VAL field.



So it seems like the unit is calibrating correctly, and it is converting
RVAL to VAL OK.



I don't know why the RVAL value does not match what you expect for 1.5 V
input.



Are you sure you have wired up the unit correctly?



Mark





-----Original Message-----
From: Geon-Yeong Mun [mailto:[email protected]]
Sent: Tuesday, June 04, 2013 4:22 AM
To: Mark Rivers
Cc: [email protected]<mailto:[email protected]>
Subject: RE: IP330 modules question



Hi Mark.



Software version....



DEVIOCSTATS=/usr/local/epics/support/iocStats

AUTOSAVE=/usr/local/epics/support/autosave-5-0

CAPUTLOG=/usr/local/epics/support/caPutLog-3.3.3

DEVLIB2=/usr/local/epics/support/devlib2

SNCSEQ=/usr/local/epics/support/seq-2.1.12

MRFIOC2=/usr/local/epics/support/mrfioc2



IPAC=/usr/local/epics/support/ipac-2.11

ASYN=/usr/local/epics/support/asyn4-21

IP330=/usr/local/epics/support/ip330R2-7

EPICS_BASE=/usr/local/epics/base-3.14.12.3



And, I attach the asynTrace log file.

I had to think that data[] of intTask function in IP330 module was Raw-data.

so, I had to debug it.



I had to set the measuring range to -5~5voltage.(The setting of dip-switch

of IP330 was same.). so, I think that, the 33453 was means approximate

0volt. and 65535 was means approximate 5volt. and, I think that this data is

means in cailbration process. The value of epics channel access seems to

result of moving average of data.







If the data was result of calibration process, then It looks like a normal

operation.

However, the problem is that I can't check the raw-data(input voltage

1.5volt).



at now, I'm not sure that this data is calibration data or Raw-data of the

channel.

I don't know that how to reads the input voltage(1.5 volt).



Best regards.

Geon-Yeong.



-> dbpr ("13LAB:IP330_1","5")

ACKS: INVALID       ACKT: YES           ADEL: 0

ALST: 2.6586556801709                   AOFF: 0             ASG:



ASLO: 1             ASP: 0x0            BKPT: 00            DESC:



DISA: 0             DISP: 0             DISS: NO_ALARM      DISV: 1



DPVT: 0x4b69a70     DSET: 0x4dd5c2c     DTYP: asynInt32Average



EGU:                EGUF: 5             EGUL: -5            EOFF: -5



ESLO: 1.52590218966964e-04              EVNT: 0             FLNK:CONSTANT 0



HHSV: NO_ALARM      HIGH: 0             HIHI: 0             HOPR: 5



HSV: NO_ALARM       HYST: 0             INIT: 0

INP:INST_IO @asyn(IP330_1 0)DATA        LALM: 2.65377279316396



LBRK: 0             LCNT: 0             LINR: LINEAR        LLSV: NO_ALARM



LOLO: 0             LOPR: -5            LOW: 0              LSET: 0x4b80dd0



LSV: NO_ALARM       MDEL: 0

MLIS: 06 0a 10 20 06 0a 06 c0 00 00 00 06                   MLOK: 04 f1 95

a0

MLST: 2.65377279316396                  NAME: 13LAB:IP330_1 NSEV: NO_ALARM



NSTA: NO_ALARM      ORAW: 50159         PACT: 0             PBRK: 0x0



PHAS: 0             PINI: NO            PPN: 0x0            PPNR: 0x0



PREC: 4             PRIO: LOW           PROC: 0             PUTF: 0



RDES: 0x45a09d0     ROFF: 0             RPRO: 0             RSET: 0x4dd626c



RVAL: 50159         SCAN: 1 second      SDIS:CONSTANT       SEVR: NO_ALARM



SIML:CONSTANT       SIMM: NO            SIMS: NO_ALARM      SIOL:CONSTANT



SMOO: 0             SPVT: 0x6000d00     STAT: NO_ALARM      SVAL: 0



TIME: 2013-06-04 05:33:59.178195571     TPRO: 0             TSE: 0



TSEL:CONSTANT       UDF: 0              VAL: 2.6591134508278



value = 0 = 0x0

->





-----Original Message-----

From: Mark Rivers [mailto:[email protected]]

Sent: Monday, June 03, 2013 10:21 PM

To: Geon-Yeong Mun

Cc: [email protected]<mailto:[email protected]>

Subject: RE: IP330 modules question



What version of the ip330 software are you using?



The ip330::calibration function has an asynPrint statement to print the raw

calibration values.  Please set asynTrace to enable those messages so we can

see what they are.



Mark



________________________________________

From: Geon-Yeong Mun [[email protected]]

Sent: Monday, June 03, 2013 1:14 AM

To: Mark Rivers

Cc: [email protected]<mailto:[email protected]>

Subject: RE: IP330 modules question



Yes. I added.

Printf is show the Raw Data value and calibration factor.



And, I using the internal power supply +-12v. J1,J2 jumper settings is

equal.



I don't know more about the interrupt vector.

ipacAddXy9660("0000,4 A=2,800000")

initIp330("IP330_1",0,0,"D","-5to5",0,15,4)



interrupt vector value was not 4 then IP330 was print error message about

vector.

And AVME9670 link LED was not blink.



Best regards.

Geon-Yeong.



-----Original Message-----

From: Mark Rivers [mailto:[email protected]]

Sent: Monday, June 03, 2013 11:54 AM

To: Geon-Yeong Mun; [email protected]<mailto:[email protected]>

Subject: RE: IP330 modules question



Are the debugging print statements you show ones that you have added?



What voltage source are you using for the IP330, the internal +-12V, or

external +-15V?



Are you sure that interrupt vector 4 is correct?



The VoltCALLO values seem to be jumping all over the place in the

calibration routine.



Mark



________________________________

From: [email protected]<mailto:[email protected]>
[[email protected]] on

behalf of Geon-Yeong Mun [[email protected]]

Sent: Sunday, June 02, 2013 9:19 PM

To: [email protected]<mailto:[email protected]>

Subject: IP330 modules question





Hi all.





I tried to run IP300 module, and read the Analog data.



All Raw data(16ch Diff mode) are displayed as shown below. This data's

source is 5 voltage.





Data: 65535



Data: 65535



Data: 50845



Data: 33453



Data: 65535



Data: 65535



Data: 33454



Data: 33453



Data: 33450



Data: 65535



Data: 65535



Data: 33452



Data: 33452



Data: 33453



Data: 65535



Data: 65535



Data: 33452



Data: 33453



Data: 65535



Data: 65535



Data: 65535



Data: 33451



Data: 33454



Data: 65535



Data: 65535



Data: 65535





This repeating pattern is the 33453 and 65535



Are you known about this?







Development environment



Epics base: 3.14.12.3



Target os : vxWorks 6.9



Hardware : AVME9670, IP330A



Modules : ipac 2.11, ip330







Best regards.



Geon-Yeong





-----------------------------------------------------------------------



boot device          : geisc



unit number          : 0



processor number     : 0



host name            : gymun-evr



file name            : /home/work/image/vxWorks



inet on ethernet (e) : 141.223.48.53:ffffff00



host inet (h)        : 141.223.48.51



gateway inet (g)     : 141.223.48.99



user (u)             : work



ftp password (pw)    : work



flags (f)            : 0x0



target name (tn)     : evrTest



startup script (s)   : /home/work/st.vxWorks.evr







Loading... 2354032



Starting at 0x100000...







Loading symbol table from gymun-evr:/home/work/image/vxWorks.sym ...done











                VxWorks







Copyright 1984-2013  Wind River Systems, Inc.







             CPU: Motorola MVME6100-0173 - MPC 7457



    Runtime Name: VxWorks



Runtime Version: 6.9



     BSP version: 6.9/0



         Created: May 23 2013, 18:22:53



ED&R Policy Mode: Deployed



   WDB Comm Type: WDB_COMM_END



             WDB: Ready.







Executing startup script '/home/work/st.vxWorks.evr'...







#================







ipAttach(1,"geisc")



value = 0 = 0x0



ifconfig("geisc1 inet 192.168.10.131 netmask 255.255.255.0 up")



value = 0 = 0x0







tyBackspaceSet(0177)



value = 127 = 0x7f



#ld < mrf.munch



ld < mrfTest.munch



value = 72237072 = 0x44e4010







# env setting



epicsEnvSet("ENGINEER","Geon-Yeong Mun")



value = 0 = 0x0



epicsEnvSet("LOCATION","TestLab")



value = 0 = 0x0



epicsEnvSet("EPICS_CA_MAX_ARRAY_BYTES","1000000")



value = 0 = 0x0



epicsEnvSet("EPICS_TS_NTP_INET","141.223.48.51")



value = 0 = 0x0







#dbLoadDatabase("dbd/mrf.dbd",0,0)



#mrf_registerRecordDeviceDriver(pdbbase)







dbLoadDatabase("dbd/mrfTest.dbd",0,0)



value = 0 = 0x0



mrfTest_registerRecordDeviceDriver(pdbbase)



value = 0 = 0x0











# IRQ 3: EVR



# IRQ 4: AVME9670







# EVG(A24)



#mrmEvgSetupVME("EVG1",2,0x00050000,4,0xc0)



#mrmEvgSetupVME("EVG1",2,0x00000000,4,0xc0)



# sysBusToLocalAdrs(0x0d,0x00100000,&a)Can't reg



ister 'system' comm



and -- no command i# EVR(A24)nterpreter



available.



#mrmEvrSetupVME("EVR1",5,0x00100000,3,0x26)



#mrmEvrSetupVME("EVR1",5,0x00200000,4,0x24)



#mrmEvrSetupVME("EVR1",5,0x08000000,3,0x26)



mrmEvrSetupVME("EVR1",2,0x00000000,3,0x26)



Setting up EVR in VME Slot 2



Found vendor: 00000eb2 board: 455246e6 rev.: 00000000



EVR check. EVR-230 'EVR1' slot 2



FPGA version... 0006



Found SFP Strangeness ffffffff



FWVersVME64 ion 0x12000006Out FP:



7 FPUNIV:4 RB:Found version 6



16 IFP:2



Using IRQ 35:38EVR FIFO task start







value = 0 = 0x0



# sysBusToLocalAdrs(0x0d,0x00280000,&k)



# sysBusToLocalAdrs(0x0d,0x00300000,&k)



#



# 0xF8 : 7C00000







# ACROMAG AVME9670



ipacAddXy9660("0000,4 A=2,800000")



Now finish parsing....  A=2,800000



AVME-IP: init success...1



value = 0 = 0x0







# ACROMAG IP330



# string : portName



# int carrierID



# int SlotID



# string type : "D" or "S" for differential or single-ended



# string range



# int firstChan



# int lastChan



# int interruptVector



#initIp330("IP330_1",0,0,"D","-5to5",0,15,4)



initIp330("IP330_1",0,0,"D","-5to5",0,15,4)



value = 0 = 0x0



configIp330("IP330_1",3,"Input",1000,60)



########### CALIBRATION ########



CH 00



Corrected_Count: 1.019773



Ideal_Volt_Span: 10.000000



m: 0.000156



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.968750



CountCALLO: 33451.968750



drvIp330::calibrate channel 0 adj_slope 1.019773e+00 adj_offset

-1.319316e+03



########### CALIBRATION ########



CH 01



Corrected_Count: 1.018058



Ideal_Volt_Span: 10.000000



m: 0.000155



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.718750



CountCALLO: 33398.687500



drvIp330::calibrate channel 1 adj_slope 1.018058e+00 adj_offset

-1.211921e+03



########### CALIBRATION ########



CH 02



Corrected_Count: -54.189974



Ideal_Volt_Span: 10.000000



m: -0.008269



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.406250



CountCALLO: 65535.000000



drvIp330::calibrate channel 2 adj_slope -5.418997e+01 adj_offset

-6.613969e+04



########### CALIBRATION ########



CH 03



Corrected_Count: -54.178546



Ideal_Volt_Span: 10.000000



m: -0.008267



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.281250



CountCALLO: 65535.000000



drvIp330::calibrate channel 3 adj_slope -5.417855e+01 adj_offset

-6.613982e+04



########### CALIBRATION ########



CH 04



Corrected_Count: 2.016120



Ideal_Volt_Span: 10.000000



m: 0.000308



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.843750



CountCALLO: 49013.906250



drvIp330::calibrate channel 4 adj_slope 2.016120e+00 adj_offset

-3.276091e+04



########### CALIBRATION ########



CH 05



Corrected_Count: -54.189974



Ideal_Volt_Span: 10.000000



m: -0.008269



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.406250



CountCALLO: 65535.000000



drvIp330::calibrate channel 5 adj_slope -5.418997e+01 adj_offset

-6.613969e+04



########### CALIBRATION ########



CH 06



Corrected_Count: 1.019771



Ideal_Volt_Span: 10.000000



m: 0.000156



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.250000



CountCALLO: 33452.187500



drvIp330::calibrate channel 6 adj_slope 1.019771e+00 adj_offset

-1.319471e+03



########### CALIBRATION ########



CH 07



Corrected_Count: 1.021627



Ideal_Volt_Span: 10.000000



m: 0.000156



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.968750



CountCALLO: 33509.125000



drvIp330::calibrate channel 7 adj_slope 1.021627e+00 adj_offset

-1.434795e+03



########### CALIBRATION ########



CH 08



Corrected_Count: -54.149996



Ideal_Volt_Span: 10.000000



m: -0.008263



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.968750



CountCALLO: 65535.000000



drvIp330::calibrate channel 8 adj_slope -5.415000e+01 adj_offset

-6.614013e+04



########### CALIBRATION ########



CH 09



Corrected_Count: 1.019775



Ideal_Volt_Span: 10.000000



m: 0.000156



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.843750



CountCALLO: 33451.906250



drvIp330::calibrate channel 9 adj_slope 1.019775e+00 adj_offset

-1.319317e+03



########### CALIBRATION ########



CH 10



Corrected_Count: 1.063591



Ideal_Volt_Span: 10.000000



m: 0.000162



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.437500



CountCALLO: 34749.781250



drvIp330::calibrate channel 10 adj_slope 1.063591e+00 adj_offset

-3.940948e+03



########### CALIBRATION ########



CH 11



Corrected_Count: 11.663407



Ideal_Volt_Span: 10.000000



m: 0.001780



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.625000



CountCALLO: 62189.343750



drvIp330::calibrate channel 11 adj_slope 1.166341e+01 adj_offset

-5.937987e+04



########### CALIBRATION ########



CH 12



Corrected_Count: 1.019800



Ideal_Volt_Span: 10.000000



m: 0.000156



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.875000



CountCALLO: 33452.718750



drvIp330::calibrate channel 12 adj_slope 1.019800e+00 adj_offset

-1.320927e+03



########### CALIBRATION ########



CH 13



Corrected_Count: 1.019208



Ideal_Volt_Span: 10.000000



m: 0.000156



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.031250



CountCALLO: 33434.593750



drvIp330::calibrate channel 13 adj_slope 1.019208e+00 adj_offset

-1.284147e+03



########### CALIBRATION ########



CH 14



Corrected_Count: -54.147143



Ideal_Volt_Span: 10.000000



m: -0.008262



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.937500



CountCALLO: 65535.000000



drvIp330::calibrate channel 14 adj_slope -5.414714e+01 adj_offset

-6.614017e+04



########### CALIBRATION ########



CH 15



Corrected_Count: 1.020357



Ideal_Volt_Span: 10.000000



m: 0.000156



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.968750



CountCALLO: 33470.000000



drvIp330::calibrate channel 15 adj_slope 1.020357e+00 adj_offset

-1.355746e+03



########### CALIBRATION ########



CH 00



Corrected_Count: -54.158558



Ideal_Volt_Span: 10.000000



m: -0.008264



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.062500



CountCALLO: 65535.000000



drvIp330::calibrate channel 0 adj_slope -5.415856e+01 adj_offset

-6.614004e+04



########### CALIBRATION ########



CH 01



Corrected_Count: -54.144290



Ideal_Volt_Span: 10.000000



m: -0.008262



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.906250



CountCALLO: 65535.000000



drvIp330::calibrate channel 1 adj_slope -5.414429e+01 adj_offset

-6.614020e+04



########### CALIBRATION ########



CH 02



Corrected_Count: 1.019775



Ideal_Volt_Span: 10.000000



m: 0.000156



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.812500



CountCALLO: 33451.875000



drvIp330::calibrate channel 2 adj_slope 1.019775e+00 adj_offset

-1.319286e+03



########### CALIBRATION ########



CH 03



Corrected_Count: -142.248682



Ideal_Volt_Span: 10.000000



m: -0.021705



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.250000



CountCALLO: 65168.000000



drvIp330::calibrate channel 3 adj_slope -1.422487e+02 adj_offset

-6.539836e+04



########### CALIBRATION ########



CH 04



Corrected_Count: 1.678135



Ideal_Volt_Span: 10.000000



m: 0.000256



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.875000



CountCALLO: 45805.968750



drvIp330::calibrate channel 4 adj_slope 1.678135e+00 adj_offset

-2.627953e+04



########### CALIBRATION ########



CH 05



Corrected_Count: 1.019750



Ideal_Volt_Span: 10.000000



m: 0.000156



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.156250



CountCALLO: 33451.468750



drvIp330::calibrate channel 5 adj_slope 1.019750e+00 adj_offset

-1.318114e+03



########### CALIBRATION ########



CH 06



Corrected_Count: -54.175690



Ideal_Volt_Span: 10.000000



m: -0.008267



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.250000



CountCALLO: 65535.000000



drvIp330::calibrate channel 6 adj_slope -5.417569e+01 adj_offset

-6.613985e+04



########### CALIBRATION ########



CH 07



Corrected_Count: 11.856519



Ideal_Volt_Span: 10.000000



m: 0.001809



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.031250



CountCALLO: 62233.593750



drvIp330::calibrate channel 7 adj_slope 1.185652e+01 adj_offset

-5.946988e+04



########### CALIBRATION ########



CH 08



Corrected_Count: -54.187117



Ideal_Volt_Span: 10.000000



m: -0.008268



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.375000



CountCALLO: 65535.000000



drvIp330::calibrate channel 8 adj_slope -5.418712e+01 adj_offset

-6.613972e+04



########### CALIBRATION ########



CH 09



Corrected_Count: -54.175690



Ideal_Volt_Span: 10.000000



m: -0.008267



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.250000



CountCALLO: 65535.000000



drvIp330::calibrate channel 9 adj_slope -5.417569e+01 adj_offset

-6.613985e+04



########### CALIBRATION ########



CH 10



Corrected_Count: 1.019763



Ideal_Volt_Span: 10.000000



m: 0.000156



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.031250



CountCALLO: 33451.718750



drvIp330::calibrate channel 10 adj_slope 1.019763e+00 adj_offset

-1.318747e+03



########### CALIBRATION ########



CH 11



Corrected_Count: -66.207363



Ideal_Volt_Span: 10.000000



m: -0.010102



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.781250



CountCALLO: 65426.812500



drvIp330::calibrate channel 11 adj_slope -6.620736e+01 adj_offset

-6.592174e+04



########### CALIBRATION ########



CH 12



Corrected_Count: 1.014113



Ideal_Volt_Span: 10.000000



m: 0.000155



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.937500



CountCALLO: 33276.187500



drvIp330::calibrate channel 12 adj_slope 1.014113e+00 adj_offset

-9.641977e+02



########### CALIBRATION ########



CH 13



Corrected_Count: 1.019767



Ideal_Volt_Span: 10.000000



m: 0.000156



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.031250



CountCALLO: 33451.843750



drvIp330::calibrate channel 13 adj_slope 1.019767e+00 adj_offset

-1.318999e+03



########### CALIBRATION ########



CH 14



Corrected_Count: -54.164267



Ideal_Volt_Span: 10.000000



m: -0.008265



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64942.125000



CountCALLO: 65535.000000



drvIp330::calibrate channel 14 adj_slope -5.416427e+01 adj_offset

-6.613997e+04



########### CALIBRATION ########



CH 15



Corrected_Count: 9.344492



Ideal_Volt_Span: 10.000000



m: 0.001426



Gain: 1.000000



VoltCALHI: 4.900000



VoltCALLO: 0.000000



CountCALHI: 64941.906250



CountCALLO: 61505.375000



drvIp330::calibrate channel 15 adj_slope 9.344492e+00 adj_offset

-5.799871e+04



value = 0 = 0x0











Data: # EVG db



#dbLoadRecords("db/vme-evg230.db", "SYS=TST, D=evg:1, EVG=EVG1")



64694



# BNL specific timing sequence constructor







#dbLoadRecords("db/nsls2-inj-seqs.db","LN=LN-TS, BR=BR-TS, INJ=TST,

EVG=evg:1, SEQ=SoftSeq:0")Data:







# EVR



#



33452dbLoadRecords("db/evr-vmerf-230.db","SYS=TST, D=evr:1, EVR=EVR1")







Data: 33451



Data: 33452



Data: 33454



Data: 33453



Data: 33452



Data: 3value = 0 = 0x0







# IP330



#



dbLoadTemplate("db/ip330Scan.substitutions")



3448



Data: 36040



Data: 64906



Data: 63022



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 41509



Data: 33451



Data: 33453



Data: 33452



Data: 33452



Data: 33451



Data: 33451



Data: 33452



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 33456



Data: 33451



Data: 33451



Data: 33452



Data: 33451



Data: 33453



Data: 33451



Data: 33453



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 33454



Data: 33452



Data: 334value = 520 = 0x0







dbLoadRecords("db/iocAdminVxWorks.db", "IOC=evrTest")Data:



33452



Data: 33452



Data: 3345value = 0 = 0x0















iocInit()Data:



Starting iocInit



65535####



###################Data: ##############65535###############



###################Data: #####



## EPICS65535 R3.14.12.3 $Da



te: Mon 2012-12-17 Data: 14:11:47 -060065535$



## EPICS Base



built May 14 2013



Data: ##############65535###############



###################Data: ##############65535##############







Data: 45663



Data: 33452



Data: 33452



Data: 33452



Data: 33451



Data: 33452



Data: 33453



Data: 33451



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 65535



Data: 33456



Data: 33451



Data: 33451



Data: 33452































References:
IP330 modules question Geon-Yeong Mun
RE: IP330 modules question Geon-Yeong Mun
RE: IP330 modules question Geon-Yeong Mun
RE: IP330 modules question Geon-Yeong Mun
RE: IP330 modules question Mark Rivers
RE: IP330 modules question Geon-Yeong Mun

Navigate by Date:
Prev: Re: Changing SCAN field in many records Tim Mooney
Next: new synApps module versions Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: IP330 modules question Geon-Yeong Mun
Next: EPICS cross compile with buildroot problems Tom Slejko
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·