Re: STG2 Outputs





> JohnDRoc-at-aol.com wrote:
>
> > Does anyone know how to re-assign the DAC's on the STG card.  (Fred and Will
> > are on vacation, so I can't ask them.)  I think, by process of elimination,
> > that I have a bad DAC - DAC1.  Since this is the Y axis on the machine, it's
> > kind of crucial.  Just for giggles I'd like to assign the output to DAC3.  I
> > tried changing the offset in the STG2.h file from 12 to 16, but it didn't
> > work.  I think there might be more to it.  Thanks.
>

It appears from looking at stg.c stg.h stg2.c and stg2.h that if you go into the
.h file you are using and swap the values for DAC_1 to be the 3rd dac, so to do
what you want change the line #define DAC_1 0x12 to be
#define DAC_1 0x16   This will do what you have asked.  I don't know if you are
using a stg or a stg2, but change the stg.h or stg2.h as appropriate.
eric






Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact