Doc. # 1-0002702
Date Updated 01-16-2004 Date Created 07-27-2000
Document Type Knowledge Base Related OS
Related Product PCI-1713
How to change PCI-1713 "unipolar/bipolar" input range during program?
Solution:
Yes, you can change (unipolar - bipolar) during program. Please have a look at structure "PT_AIConfig". There's a property 'DasGain'. You just need to adjust this property before get AI voltage. Following information just for your reference. ================================================================== configure input range AiConfig.DasChan = 0 ?'channel: 0 AiConfig.DasGain = 0 ?'gain code: 0 <== Just change the GAIN code here ErrCde = DRV_AIConfig(DeviceHandle, AiConfig); If (ErrCde <> 0) Then DRV_GetErrorMessage ErrCde, szErrMsg Response = MsgBox(szErrMsg, vbOKOnly, 'Error!!? Exit Sub End If ==================================================================