Fwd: Solaris 9 Vnmr 6.1C accounting

From: Brian Myers <b-myers_at_onu.edu>
Date: Wed, 20 Jul 2005 13:42:25 -0400

Thanks to Craig Grimmer and Tim Burrow, I have found my simple
solution: the macro usergo. I used part of the routine from the ppa
macro to get the experiment time in a useful format, and I found that
I did not want to log gradient shimming. So, here is my version of
usergo:

if seqfil='gmapz' then
    write('line3',' Gradient Shimming')
else
    " calculate experiment time "
    exptime:$etime
    $seconds = $etime % 60
    $minutes = $etime / 60
    $hours = $minutes / 60
    $minutes= $minutes % 60
 
write('file','/vnmr/adm/accounting/usergo.log','%s,tn:%s,nt:%d,exp_type:%s,%s,Exp.
Time:
%d:%d:%d',operator,tn,nt,seqfil,solvent,$hours,$minutes,$seconds)



>Date: Tue, 19 Jul 2005 14:55:23 -0400
>To: ammrl_at_chemnmr.colorado.edu
>From: Brian Myers <b-myers_at_onu.edu>
>Subject: Solaris 9 Vnmr 6.1C accounting
>
>I am interested to know if anyone has a simple solution for setting
>up accounting for Vnmr 6.1C running on Solaris 9. I would like to
>record the number, type of, and/or length of NMR experiments.
>Although I have set up individual user account, I am not looking to
>charge users for instrument time. I want to get away from users
>manually signing a book each time they use the instrument.
>
>Thanks,
>
>Brian

-- 
Brian Myers, Ph.D.
Assistant Professor
Department of Chemistry and Biochemistry
Meyer Hall of Science (rm 258)
Ohio Northern University
525 South Main Street
Ada, OH 45810
419-772-2350 (voice)
419-772-2985 (fax)
b-myers_at_onu.edu
http://www2.onu.edu/~b-myers/
Received on Wed Jul 20 2005 - 17:00:27 MST

This archive was generated by hypermail 2.4.0 : Sat Jun 10 2023 - 18:42:07 MST