Trying to connect to multiple Keysight devices using USB & GPIB. For some unknown reason, I See 2 USB ID for the USB Devices.
I only want to be able to select one using my dropdownlist. it seems like one ID is in Hex and another in decimal.
How can I only be able to able to see 1 in the dropdownlist.
![Name: Multiple USBID.PNG
Views: 61
Size: 6.9 KB]()
I only want to be able to select one using my dropdownlist. it seems like one ID is in Hex and another in decimal.
How can I only be able to able to see 1 in the dropdownlist.
Code Code:
Public Sub VisaresourceLoad() On Error Resume Next Dim Resourcemanager As New Ivi.Visa.Interop.ResourceManager Dim ArrayVisaResourcesLoad() As String ArrayVisaResourcesLoad = Resourcemanager.FindRsrc("?*INSTR") If ArrayVisaResourcesLoad.Length > 0 Then PSComboBox.Items.AddRange(ArrayVisaResourcesLoad) DMM1ComboBox.Items.AddRange(ArrayVisaResourcesLoad) DMM2ComboBox.Items.AddRange(ArrayVisaResourcesLoad) PS2Combobox.Items.AddRange(ArrayVisaResourcesLoad) End If End Sub