adc16_open_unit

Pico ADC-16

adc16_open_unit

Top  Previous  Next

 

short int adc16_open_unit (short int port);

 

This routine specifies the serial port number with an ADC-16 unit. If you wish to use more than one ADC-16, you should call the routine once for each ADC-16.

The port must be 1 for COM1, 2 for COM2, etc.

Under Windows, this information is defined in your WIN.INI file, so it  is not necessary to specify a value.

This routine returns TRUE if the driver successfully opens the ADC-16.