PACSDK Library History

11/21/2012


INTRODUCTION
The XPAC and the WinPAC SDK have been unified and renamed as the PACSDK. The new PACSDK.dll provides support for two platforms, one being designed for the WinPAC series (ARM platforms) and the other for the XPAC series (x86 platforms).
The PACSDK.dll (x86) is linked to C/C++ programs for the XPAC series and replaces the previous SDK (XPACSDK_CE.dll), and the PACSDK.dll(ARM) is linked to C/C++ programs for the WinPAC series and replace the previous SDK (WinPACSDK.dll).

Below is a comparison of the new and previous SDK files


 Items

WinPACSDK Library

XPACSDK (CE6)
Library

PACSDK
Library

Development Header Files

WinPacSDK.h

XPacSDK_CE.h

PACSDK.h
PACSDK_PWM.h

Development Library Files

WinPacSDK.lib

XPacSDK_CE.lib

PACSDK.lib
PACSDK_PWM.lib

Target Device Native DLL Files

WinPacSDK.dll

XPacSDK_CE.dll

PACSDK.dll
PACSDK_PWM.dll

Target Device .NET CF DLL Files

WinPacNet.dll

XpacNet.dll

PACNET.dll

Other effects:
After releasing the PACSDK, the original SDK (WinPacSDK.dll/WinPacNet.dll used for WinPAC series modules and XPacSDK_CE6.dll./XPacNet.dll used for XPAC series modules) will continue to be maintained and released regularly i.e., for any update patches, but no new features will be added.

[5/30/2013]
[Version 4.2.3.7]

·    Fixed an issue with the Pure_ReadModuleSafePowerOnValueDO function that occurred with when DO modules 16 channels.

[2/18/2013]
[Version 4.2.3.5]

·    Fixed an issue where calling pub_GetSerialNumber function caused the Hardware WDT to malfunction.

·    Fixed an issue with the pac_WriteAO_MF, pac_WriteModulePowerOnValueAO_MF and pac_WriteModuleSafeValueAO_MF functions when reading or writing data in single channel AO modules.

·    Added the pac_ReadAO_MF, pac_ReadModulePowerOnValueAO_MF and pac_ReadModuleSafeValueAO_MF functions.

·    Fixed an issue where call pac_ReadDIO function to read data caused error to occur on 8-channel DI modules.

·    Updated the pac_GetModuleName function to support 87K series modules, XW512F, XW315W, XW511, XW110i and XW608.

[11/21/2012]
[Version 4.2.2.6]

·    Fixed an issue with the uart_close() function, where an error occurred if the uart_close() function was called without using a COM Port.

[10/15/2012]
[Version 4.2.2.5]

·  This is the first released version.

· Made modifications and updates to the PACSDK.dll

    1. Added the pac_EnableLEDs function
    2. Added a Registry API for the XPAC series
    3. Added the I/O WDT, PowerOn/Safe Value API for pure DIO modules
    4. Added I/O access API functions for the Multi-function modules
    5. Added the pac_GetCurrentDirectory and pac_GetCurrentDirectoryWAPI functions for the PACSDK
    6. Added the reserved memory section for the XPAC series
  • Added the PACSDK_PWM.dll

The PWM API functions in the PaCSDK_PWM.dll file only support the operation of I-7K/I-87K PWM modules, exclusive of I-8K PWM modules

  • Made modifications and updates to the error codes

 (The previous SDK) XPacSDK Library History

[09-17-2012]
[Version 2.0.1.3] (The last release version for XPacSDK)

ENHANCEMENTS

  1. Remove the response string length determined for pac_ReadAIAll() and pac_ReadAIAllHex() so that supports for all multi-channels AI modules.

BUG FIXES

1.        Fix the memory leak problem regarding of calling uart_open() and uart_close() frequently to open and close uart port.

[07-25-2012]
[Version 2.0.1.2]

·  Fixed a bug to avoid memory error in uart_Close

[04-02-2012]
[Version 2.0.1.1]

·  Added a set of functions with name ending in Ext such as uart_WriteExt, uart_ReadExt, uart_SendExt, uart_RecvExt and uart_SendCmdExt. These functions are similar to uart_Write, art_Read, uart_Send, uart_Recv and uart_SendCmd, but add buffer length parameter for specifying the length of data to avoid buffer overflow problems.

·  Fixed a bug in uart_Send, uart_Recv, uart_SendCmd, uart_SetTimeOut, uart_BinRecv, uart_BinSend, uart_BinSendCmd and pac_GetBPTimerTimeTick_ms.

·  Added support for detecting I-7000 modules in the pac_ModuleExists function.

·  Added reserved memory segment to let the OS be able to save system information.

 [09-05-2011]
[Version 2.0.1.0]

·  Fix some bug for pac_ReadDIO()

[08-09-2011]
[Version 2.0.0.9]

·  Fix some bug for CheckCPUType() and pac_GetSerialNumber()

·  Fix pac_SetWatchDogTime() overflow bug

[06-09-2011]
[Version 2.0.0.8]

·  Add backplane timer

·  Modfy _pac_us_delay to support ATOM delay time

·  add I-8000 module (8014RW, 8041AW, 8024DW, 8057PW, 8057RW, 8037, 8017HCW, 9017DW, 8014, 8024, 8026, 8034, 8074, 8210, 8211, 8114, 8081, 8082, 8114H, 8043, 8054, J1939, OEM, 8017UH-OEM, 8044W-OEM, 8112iW, GPIB, 8054A)

·  Fix pac_GetModuleName to read 8017 serial module name error

·  Determine whether there is inserted the module in the slot, when use di/dio/do function

[03-18-2011]
[Version 2.0.0.7]

·  Fix a bug that "pac_GetModuleName" cannot detect some module.

·  Add detect module (I-8211W, I-8212W, I-8213W, I-8135W, I-8046W and 8093W)

[02-11-2011]
[Version 2.0.0.6]

·  Fix a bug that "callback_func_list[slot] = NULL" called on pac_UnregisterSlotInterrupt causes the memory leakage

·  Fix pac_GetModuleType bug

[11-25-2010]
[Version 2.0.0.5]

·  Add  _pac_get_CPUtype function

·  Modified pac_EnableLED function - supported for LX800 and ATOM

·  Modified pac_GetRotaryID function - supported for LX800 and ATOM

·  Modified pac_EnableWatchDog function  - Supported for LX800 and ATOM

·  Update pac_GetBatteryLevel function - Add mode 3 to get RTC battery level (Only for ATOM)

 [11-01-2010]
[Version 2.0.0.4]

·  Add _pac_inpw/_pac_outpw functions

[10-19-2010]
[Version 2.0.0.3]

·  Add uart_GetDataSize/uart_GetLineStatus/uart_SetLineStatus/uart_GetOutputLineStatus  functions

·  Modified uart_Read/uart_BinSendCmd/uart_BinSend/uart_ReadEx

·  Modified pub_show_rs() on rotaryswitch

·  Add pac_EnableLED for XPAC-ATOM

[10-05-2010]
[Version 2.0.0.2]

  • Modified pac_SetSlotInterruptPriority

[04-16-2010]
[Version 1.0.2.0]

  • Modify pac_GetModuleName to support I-8120 module.

[04-13-2010]
[Version 1.0.1.9]

  • Fixed uart_Read's problem, receving data has an extra byte.

[04-07-2010]
[Version 1.0.1.8]

  • Modify uart_EnableCheckSumcheck
  • Modify uart_Read
  • Add an error define, PAC_ERR_SPECIAL_IO

[10-07-2009]
[Version 1.0.1.6]

  • pac_GetModuleName supported 8088 and 8084 modules.

[09-23-2009]
[Version 1.0.1.5]

  • Fixed the function, pac_GetSlotCount.

[07-30-2009]
[Version 1.0.1.4]

  • Modified define of WDT and EEPROM/SRAM of XPacSDK_CE to synchronize with XPacSDK

[07-24-2009]
[Version 1.0.1.3]

  • Modified parameter of pac_WideToAnsiString(LPCTSTR wstr, LPSTR astr);
  • Modified parameter of pac_AnsiToWideString(LPCSTR astr, LPTSTR wstr);

[07-23-2009]
[Version 1.0.1.2]

  • Fixed return error of pac_WriteDOBit during using 8K modules

[07-21-2009]
[Version 1.0.1.1]

  • Renamed pac_WindStringToAnsi to pac_WideToAnsiString

[07-15-2009]

  • Added get OS version API, pac_GetOSVersion
  • Modified pac_Reboot

[07-09-2009]

  • Fixed bugs of interrupt by adding delay after pac_RegisterSlotInterrupt finished
  • Added _pac_us_delay

[07-02-2009]

  • Fixed bugs of pac_GetErrorMessage
  • Added pac_Reboot

[06-30-2009]

  • Fixed a bug of pac_GetBatteryLevel
  • Fixed a bug of pac_EnableWatchDog(0xd80a) cannot reboot

[06-23-2009]

  • Fixed pac_GetModuleName

[06-22-2009]

  • Fixed uart_SendCmd/uart_Send
  • Added pac_GetMacAddress
  • Added pac_GetModuleType
  • Added pac_GetModuleName
  • Added pac_GetBatteryLevel
  • Added pac_GetErrorMessage
  • Fixed hash_map

[06-16-2009]

  • Enlarge ReadAIAll/ReadAIAllHex buffer
  • Fixed bug of 8063 4DI
  • Fixed buf 8060W 6 channel

[06-08-2009]

  • Fixed pac_InterruptDone
  • Fixed Callback function, true ==> auto call pac_InterruptDone

[06-06-2009]

  • Fixed bug of self tuner
  • Added Windows XP-like Sample Skin
  • Added Network user interface
  • Added Silent FAT File System UI
  • Added Storage Manager Control Panel Applet

[05-20-2009]

  • Memory Access......ok
  • WatchDog......ok
  • System Information......ok
  • Backpland......ok

[11-21-2008]

  • Basic Inport/Outport......ok
  • Uart......ok
  • Local IO......ok