- Code: Select all
Public Declare Function UsbDrDaqGetSingle Lib "USBDrDAQ.dll" (ByVal handle As Integer, ByVal channel As Integer, ByVal value As Integer, ByVal overflow As Integer) As Long
The Pico programming document indicates that the type for the channel argument is supposed to be defined as: USB_DRDAQ_INPUTS. I am not sure how to handle this in VBA. I have tried all the known types without any luck. Any suggestions on how to make this function work in VBA?