Back to Aurora Vision Library website

You are here: Start » Function Reference » Hardware Support » Advantech SUSI » AdvantechSUSI_ReadByteSMB

AdvantechSUSI_ReadByteSMB


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Reads byte from SMBus.

Syntax

void avl::AdvantechSUSI_ReadByteSMB
(
	AdvantechSUSI_State& ioState,
	atl::Optional<int> inDevice,
	int inAddress,
	int inCommand,
	int& outData
)

Parameters

Name Type Range Default Description
Input will be modified ioState AdvantechSUSI_State& Object used to maintain state of the function.
Input value inDevice Optional<int> 1 - 4 NIL Select SMBus device or empty for main host device.
Input value inAddress int 0 - 255
Input value inCommand int 0 - 255
Output value outData int&

Remarks

I/O device driver software

This filter is intended to cooperate with a device using its vendor SDK. To be able to connect to a device, it is required to install Advantech SUSI SDK.

Add DLL path to system environment variable is required.

Recommended runtime version for Aurora Vision Studio usage is 4.

Setup low level system functionality e.g. watchdog may still affect the system after the program finished.