11-26-2008 09:48 AM
Hi
Firstly, with the 9211 4 channel thermocouple input module, I presume it's okay to connect different types of thermocouple to different channels, at the same time? (eg channel 1 - T type, channel 2 - E type etc). Also why is the sampling rate for this '14 Sample/sec' - seems low - but I can apparently run it at much higher rates and labview doesn't complain?
Secondly, I want to implement a simple 14 channel PI temperature controller. I've had a look at some of the examples but 'PID Control-Multi Channel.vi' (for example) seems only to be a proportional controller, no integral term. Perhaps I should just write my own? Can anyone point me in the right direction?
Dave
Solved! Go to Solution.
11-27-2008 05:50 AM
11-27-2008 08:58 AM - edited 11-27-2008 09:04 AM
11-28-2008 10:28 AM
Thanks - presumably if I do sample at a faster rate eg 140Hz, the 9211 will simply return the same value 10 samples in a row ( in this case, since 140Hz / 14Hz = 10)?
Is there any detriment to sampling faster than the maximum rate for the hardware?
Dave
11-28-2008 10:42 AM - edited 11-28-2008 10:43 AM
Hi Dave,
I presume you have not bought and used a 9211 yet? In reality if you set a sampling rate that is out of its specifications, the driver (DAQmx) will report a fault and will not continue the task.
For example, if you set it to sample at 140 Hz for 140 samples, the DAQmx will return with the following errors:
Error -200077 occurred at Test Panel
Possible Reason(s):
Measurements: Requested value is not a supported value for this property.
Property: SampClk.Rate
You Have Requested: 140.000000
Valid Values Begin with: 2.793968e-3
Valid Values End with: 12.000000
As you can see, in the error report, it also indicates the maximum and minimum values you can specify for this parameter. In this case, the min rate is 2.79e-3 samples/s and the max rate is 12 samples/s.
Hope this helps,
11-28-2008 11:16 AM