kushmer@bnlux0.bnl.gov (christopher kushmerick) (06/06/90)
If you are a user or have used the Data Translations Beta version 3.0x of PCLab .TPU files for TP 5.5, please send me a mail message. I am having difficulty with SETUP_ADC routine, it reports illegal channel number, even though I am using channel 0 for start_ and stop_ chan. Thank you, -- Chris Kushmerick kushmer@bnlux0.bnl.gov kushmerick@pofvax.sunysb.edu
murphy@newton.physics.purdue.edu (William J. Murphy) (06/06/90)
It could be a very benign mistake. Since Turbo likes the array to naturally go from 1 to N, you might check the file PCLDEFS.pas to find out what are considered to be the legal channel values. In ATLAB, the channels run from 0 to maxchannel-1. Doesn't Data Translation provide some examples to follow? -- Bill Murphy | Zaphod, Vell he's just zis murphy@newton.physics.purdue.edu | guy you know. Amiga, it's not a religion, it's a lifestyle | Honk if you're Elvis!