| int ser_sr24_input_analog( | |
| ser_sr24 handle, | //serial board handle |
| int channel, | //analog channel to read |
| int *value | //pointer to integer which receives the value read from the analog channel |
| ); |
| handle: |
|
| channel: |
|
| value: |
|
| object.InputAnalog( | |
| ByVal channel As Long | 'analog channel to read |
| ByRef value As Long | 'variable where the read value is stored |
| ) As Long |
result = object.InputAnalog(0, value) 'read analog Channel 0 (Port 1) and store in 'value'
| Back to Contents | Winford Engineering (2000) |