All Forums
 Hardware
 General Hardware, ADSmartIO, Digital I/O and A/Ds
 Reading the ADSmartIO version programmatically
 Forum Locked
 Printer Friendly
Author Topic  

KnowledgeBase

296 Posts

Posted - 19 Apr 2002 :  15:52:37  Show Profile
Q: How can I read the ADSmartIO version programmatically?

Here's a code sample for use in Windows CE that you can adapt for your needs:


UINT v = SIOReadDeviceVersion();
UINT part = SIOReadDevicePartType();

if ((part == 0x0000) || (v==0x00))
{
RETAILMSG(TRUE,(TEXT("Error: ADSmartIO not responding or not programmed\r\n")));
return 1;
}
else
{
RETAILMSG(TRUE,(TEXT("Device = %x, firmware version %x rev %c\r\n"),
part,SIOFirmwareVersion(),v));
}


------------------
ADS Knowledge Base

dbrisbois

27 Posts

Posted - 22 Jun 2004 :  09:28:07  Show Profile
Is it possible to read the boot version programmatically?
Go to Top of Page

ctacke

877 Posts

Posted - 22 Jun 2004 :  10:24:08  Show Profile
Unfortunately no. It's output during boot, but not stored anywhere static or locatable.
Go to Top of Page
  Topic  
 Forum Locked
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.01 seconds. Snitz Forums 2000