Справочник Пользователя для National Instruments 321645c-01
Chapter 2
Function Reference — SC_2040_Config
©
National Instruments Corporation
2-293
NI-DAQ FRM for PC Compatibles
Example 1
You have selected set the jumper for a gain of 100 for all your SC-2040 channels. You should
call
call
SC_2040_Config
as follows:
SC_2040_Config(deviceNumber, -1, 100)
Example 2
You have selected gain set the jumper for a gain of 100 for channels 0, 3, 4, 5, and 6 on your
SC-2040, gain 200 for channels 1 and 2, and gain 500 for channel 7. You should call function
SC-2040, gain 200 for channels 1 and 2, and gain 500 for channel 7. You should call function
SC_2040_Config
several times as follows:
SC_2040_Config(deviceNumber, -1, 100)
SC_2040_Config(deviceNumber, 1, 200)
SC_2040_Config(deviceNumber, 2, 200)
SC_2040_Config(deviceNumber, 7, 500)