kushmer@bnlux0.bnl.gov (christopher kushmerick) (06/01/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
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!
kushmer@bnlux0.bnl.gov (christopher kushmerick) (06/09/90)
In article <3777@newton.physics.purdue.edu> murphy@newton.physics.purdue.edu (William J. Murphy) writes: >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? >-- I tried many different values for the channel, in fact I tried 0 through 8 It did not like any of them.. As far as examples go, all that the beta 3.0x came with were 2 .tpu files. No docs, no nothing. Of course I have the docs from the 2.1 version which supported turbo 3.0. -- Chris Kushmerick kushmer@bnlux0.bnl.gov kushmerick@pofvax.sunysb.edu