Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Description

ip

IP address of Intellect Axxon PSIM Server

port

TCP/IP port over which the connection is established

id

Slave connection ID, for video

lpfunc

Callback function receiving messages from Intellect Axxon PSIM

user_param

Extra parameter that comes to Callback function in order to split slaves if there is only one function.

async_connect

0 - synchronous connection mode, the function returns TRUE if the connection is established.

-1 - asynchronous connection mode, the function always returns FALSE if the connection is established, then the CONNECTED event is created.

Any other value – at first the synchronous mode is used, in case of fault - asynchronous mode.  

connect_attempts

Number of connection attempts.

...

Parameter

Description

ip

IP address of Intellect Axxon PSIM Server

port

TCP/IP port over which the connection is established

id

Core connection ID, for video

lpfunc

Callback function receiving messages from Intellect Axxon PSIM

lpframe_func

Callback function receiving video frames

iidk_user_data_func

Callback function for data sent using the SendData4 function

user_param

Extra parameter that comes to the Callback function in order to split slaves if there is only one Callback function for all cores.

async_connect

0 - synchronous connection mode, the function returns TRUE if the connection is established 

-1 - asynchronous connection mode, the function always returns FALSE. If the connection is established, then the CONNECTED event is created

Any other value – at first the synchronous mode is used, in case of fault - asynchronous mode.

connect_attempts

Number of connection attempts

...

The function enables and sets the interval for sending KeepAlive messages to the Intellect Axxon PSIM core. It is enough to call the function once, for example, after calling CreateClient.

...