void pt104_set_channel (
unsigned short port,
unsigned short channel,
unsigned short data_type
unsigned short no_of_wires);
You should call this routine once for each channel that you would like to take readings from. You can do this any time after calling pt104_open_unit.
The fewer channels are selected, the more frequently these channels will be updated: it takes about 1 second per active channel.
channel specifies which channel you want to set the details for: it should be between 1 and 4 or between 1 and 8 if using single ended inputs in voltage mode.
data_type set to the type of reading you require (1 for pt100, 2 for pt1000, 3 for resistance 0..500R, 4 for resistance 0..10k, 5 for differential voltage 0..100mv, 6 for differential voltage 0..2V5, 7 for single ended voltage 0..100mv and 8 for single ended voltage 0..2V5
no_of_wires specifies how many wires the pt100 or pt1000 has (set to 2, 3 or 4)
Users browsing this forum: No registered users and 0 guests