gup_08 Posted February 23, 2024 Posted February 23, 2024 Not sure if I am on the write group but my question is how to get either a serial number or device ID from the Data Translation DT9817. QuickDAQ does show me a "Device_ID" when the device is plugged. I would like to get that information from VB6 but I don't know how to call it? I use the DTAcq32 and there's no members that get the device ID or some identifier. Any help would be appreciated.
1 Fausto Posted February 26, 2024 Posted February 26, 2024 Attached are two Visual C examples. DTSerialNum.zipShowBoardInfo_x64.zip
0 Fausto Posted February 26, 2024 Posted February 26, 2024 Hello @gup_08. QuickDAQ was developed with Data Translation's Open Layers.NET. The DTx-EZ ActiveX library for Visual Basic 6 does not have a wrapper function to return a Data Translation device's serial number. However, the DTx-EZ document (found in 'C:\Program Files (x86)\Data Translation\Win32\DTx-EZ\Documentation') instructs a user to add the OLMEMDEFS.BAS and OLDADEFS.BAS modules to the project. In the OLDADEFS.BAS module, resides the DA SDK function olDaGetHardwareInfo(). The DA SDK Help describes the function. Regards, Fausto
0 gup_08 Posted February 26, 2024 Author Posted February 26, 2024 Thank you very much, Fausto. I will explore this.
Question
gup_08
Not sure if I am on the write group but my question is how to get either a serial number or device ID from the Data Translation DT9817.
QuickDAQ does show me a "Device_ID" when the device is plugged. I would like to get that information from VB6 but I don't know how to call it?
I use the DTAcq32 and there's no members that get the device ID or some identifier.
Any help would be appreciated.
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now