Document toolboxDocument toolbox

DF PROFINET IO | Setup a communication btw. KUNBUS PN Controller and several Devices

Issue:

Calling the device VIs in a for-loop will not ensure a correct connection, since the driver kernel (e.g. CS_PN_ReadWrite.vi) is reentrant. i.e. if one and the same vi is called with different device properties it will end in starvation each others access. The error message 0x80000011 will occur, since the resources of the called device vi differs.

Solution:

It is mandatory recommended to call one driver-VI per Kunbus board.

Example:

  • one controller VI connected to many device VIs

  • you will find our controller VI and device VI in your GettingStarted project.

 

Description:

 

VI: