PACNET Library History

04/27/2013


INTRODUCTION
The XPAC SDK and 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 PACNET.dll is used for .Net CF programs (C#, VB) for both the XPAC and WinPAC series and replaces the previous SDKs (XPACNET.dll and WinPACNET.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.

[ 04/22/2013 ]
[Version 2.1.0 .6]

·  Added the pac_GetModuleWDTStatusEX functions.

[ 04/22/2013 ]
[Version 2.1.0 .5]

·  Modify GetErrorMessage() function

·  Remove GetCPUTempureture() function

[ 2/21/2013 ]
[Version 2.1.0 .4]

·  Added the ReadAO_MF, ReadModulePowerOnValueAO_MF and pac_ReadModuleSafeValueAO_MF functions.

[10/15/2012]
[Version 2.1.0 .2]

·  This is the first released version.

·  Made modifications and updates to the PACSDK.dll.

    1. Updated the classification of the API function.
    2. Added the pac_EnableLEDs function
    3. Added a Registry API for the XPAC series
    4. Added the I/O WDT and a PowerOn/Safe Value API for pure DIO modules
    5. Added I/O access API functions for multi-function modules
    6. Added the pac_GetCurrentDirectory and pac_GetCurrentDirectoryWAPI functions for the PACSDK
    7. Added the reserved memory section for the XPAC series
    8. Enumerated the error codes
    9. Added a tooltip display feature for the classes of PACNET.dll

·         Added PWM API functions to the PACNET.dll

The PWM API functions only support the of I-7K/I-87K PWM modules exclusive of I-8K PWM modules

·         Error code modifications and updates


(The previous SDK) XPacNet Library History

[V112] by Sean (The last release version for XPacNet)

1. Add 3 functions

   uart_SendExt(IntPtr hPort, byte[] buf, uint out_Len);

   uart_RecvExt(IntPtr hPort, [In, Out] byte[] buf,uint in_Len);

   uart_SendCmdExt(IntPtr hPort, byte[] cmd, uint out_Len, [In, Out] byte[] szResult, uint in_Len);

[V111] by Sean

 1. Add supported funcitons below

    pac_GetBPTimerTimeTick_ms();

    pac_GetBPTimerTimeTick_us();

    pac_KillBPTimer(int type);

    pac_SetBPTimer(int type, uint uElapse, PAC_CALLBACK_FUNC f);

    pac_SetBPTimerOut(uint uHighElapse, uint uLOwElapse, PAC_CALLBACK_FUNC f);

    pac_SetBPTimerInterruptPriority(int type, int nPriority);  

[V110] by Cid

 1. Add tooltip when user select function or enter argument

 2. Add supported functions below

  string pac_GetModuleName(byte slot);

  bool uart_GetDataSize(IntPtr hPort, int data_type);

  bool uart_GetLineStatus(IntPtr hPort, int pin);

  bool uart_SetLineStatus(IntPtr hPort, int pin, int mode);

  bool uart_GetOutputLineStatus(IntPtr hPort);

  bool pac_SetBPTimer(int bptimer, uint count, PAC_CALLBACK_FUNC f);

  bool pac_KillBPTimer(int bptimer);

 

[V100] by Cid

 First release