Main INDEX
Monthly INDEX
PREV
NEXT
Make New Entry,
Make Followup Entry
User name R. Michaels
Log entry time 09:45:35 on September28,2010
Entry number 332993
This entry is a followup to: 332939
Followups:
keyword=solution to EPICS truncation
The solution to the problem noted in halog 332939 was found.
See my new version of THaEpics.C in ~adaq/bob/hana_decode.
The "temporary" solution was to increase "MAX" to 1 million.
It had been 5000. Some "slow" EPICs events had 19352 words,
so the end got truncated, and Julie's new variables were on
the end. Yes, that was ugly. Bad programming. I should be
fired, etc. Actually I don't see any reason for this parameter,
so let it be 1 million. There may be a more elegant solution
but I suppose nobody ever will try to put a million words
into the datastream. And memory is cheap.
To try it : goprex ; ./bobana (my private version of Podd)
.x onlana.C
answer questions
Then
root ./onlroot/happexsp_6757.root
for run 6757 observe the following. The first 8 entries are due
to the "fast" EPICS insertions which do not contain haVMI3128*.
Then entry 9 is a "slow" EPICS insertion. Entries 10-19 are
also "fast" but the data for these variables are not updated
since they only come with the slow. Everything makes sense now.
There are subsequent "slow" updates of these variables (not
shown below).
root [1] E->Scan("haVMI3128_1_AI1:haVMI3128_1_AI2:haVMI3128_1_AI3:haVMI3128_1_AI4")
************************************************************
* Row * haVMI3128 * haVMI3128 * haVMI3128 * haVMI3128 *
************************************************************
* 0 * -1e+32 * -1e+32 * -1e+32 * -1e+32 *
* 1 * -1e+32 * -1e+32 * -1e+32 * -1e+32 *
* 2 * -1e+32 * -1e+32 * -1e+32 * -1e+32 *
* 3 * -1e+32 * -1e+32 * -1e+32 * -1e+32 *
* 4 * -1e+32 * -1e+32 * -1e+32 * -1e+32 *
* 5 * -1e+32 * -1e+32 * -1e+32 * -1e+32 *
* 6 * -1e+32 * -1e+32 * -1e+32 * -1e+32 *
* 7 * -1e+32 * -1e+32 * -1e+32 * -1e+32 *
* 8 * -1e+32 * -1e+32 * -1e+32 * -1e+32 *
* 9 * -0.002441 * -0.003662 * -0.006103 * 0 *
* 10 * -0.002441 * -0.003662 * -0.006103 * 0 *
* 11 * -0.002441 * -0.003662 * -0.006103 * 0 *
* 12 * -0.002441 * -0.003662 * -0.006103 * 0 *
* 13 * -0.002441 * -0.003662 * -0.006103 * 0 *
* 14 * -0.002441 * -0.003662 * -0.006103 * 0 *
* 15 * -0.002441 * -0.003662 * -0.006103 * 0 *
* 16 * -0.002441 * -0.003662 * -0.006103 * 0 *
* 17 * -0.002441 * -0.003662 * -0.006103 * 0 *
* 18 * -0.002441 * -0.003662 * -0.006103 * 0 *
* 19 * -0.002441 * -0.003662 * -0.006103 * 0 *