ADC-24 Serial number

Post your VB and VBA discussions here
Post Reply
islamsaid
Newbie
Posts: 0
Joined: Sat Nov 17, 2018 9:38 pm

ADC-24 Serial number

Post by islamsaid » Sun Nov 18, 2018 9:51 pm

Hi,

I've ADC-24 unit and I'm trying to get its serial number using Visual Basic :
HRDLGetUnitInfo(hrdl_handle,Serial_number,10,4)

I need to store the serial number into a string variable called Serial_number


Best regards

Martyn
Site Admin
Site Admin
Posts: 3371
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: ADC-24 Serial number

Post by Martyn » Mon Nov 19, 2018 7:06 am

Without seeing the code it would be difficult to comment but I would suggest that before you call the function you actually assign a string of ten spaces to the variable Serial_Number.

The Excel VBA example code for the ADC-24 on GitHub may help.
Martyn
Technical Support Manager

islamsaid
Newbie
Posts: 0
Joined: Sat Nov 17, 2018 9:38 pm

Re: ADC-24 Serial number

Post by islamsaid » Mon Nov 19, 2018 5:44 pm

Dear Martyn,
Many thanks , The VBA file was so useful.

Post Reply