13.07.2015 Views

User manual - ICP DAS USA

User manual - ICP DAS USA

User manual - ICP DAS USA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

9. LinPAC-8000 Library Reference in C LanguageIn this chaper, all the functions of libi8k.a will be listed to allow users to able to lookthem up quickly.9.1 List Of System Information Functionsint Open_Slot(int slot)void Close_Slot(int slot)int Open_Slot(void)void Close_SlotAll(void)void ChangeToSlot(char slot)WORD Open_Com(char port, DWORD baudrate, char cData, char cParity, char cStop)BOOL Close_Com(char port)WORD Send_Receive_Cmd (char port, char szCmd[ ], char szResult[ ], WORD wTimeOut,WORD wChksum, WORD *wT)WORD Send_Cmd (char port, char szCmd[ ], WORD wTimeOut, WORD wChksum)WORD Receive_Cmd (char port, char szResult[ ], WORD wTimeOut, WORD wChksum)WORD Send_Binary(char port, char szCmd[ ], int iLen)WORD Receive_Binary(char cPort, char szResult[], WORD wTimeOut, WORD wLen,WORD *wT)int sio_open(int slot)int sio_close(int slot)int GetModuleType(char slot)void Read_SN(unsigned char serial_num[] )int GetNameOfModule(char slot)void setLED(unsigned int led)int GetBackPlaneID()int GetSlotCount()int GetDIPswitch()int GetRotaryID()float GetSDKversion(void)LinPAC-8x4x SDK:273

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!