08-23-2005 07:44 PM
myTask0 =
New Task("aiTask0") Dim accelerometerChannel0(numDevChans - 1) As AIChannel Dim ChanScale(maxsigs) As LinearScale Dim myChanScale As New LinearScale(SigChanName(ichan), SigChanScale(ichan), SigChanOffset(ichan))ChanScale(ichan) = myChanScale
accelerometerChannel0(ichan - 1) = myTask0.AIChannels.CreateVoltageChannel(DevString0, "", _
AITerminalConfiguration.Differential, Convert.ToDouble(minimumValueNumeric.Value), _
Convert.ToDouble(maximumValueNumeric.Value), ChanScale(ichan).Name)
If I try to use any value outside the range of +/- 10 for minimumValueNumeric or maximumValueNumeric I get the following error message:
Any suggestions?
Thanks,
Jerry
08-24-2005 03:18 PM
08-24-2005 07:00 PM
08-25-2005 08:18 PM
08-26-2005 11:11 AM
08-26-2005 05:05 PM
Dear Avi,
Thanks for your help and the attachments. The problem is now fixed!
Jerry