Syntax

rtobj.getRTDBItemValue(itemid)

itemid is required.

Arguments

itemid
ID of the item in shared memory whose value you wish to obtain. id must be numeric. in order to display a list of items and their corresponding id's please use the getsharedmemrtdbvarlist('items') method.

Description

getRTDBItemValue is a method of the simwb.rtobj object. The getRTDBItemValue method returns the value of the RTDB item in shared memory. For this function to return the value of the RTDB item, a test has to be started on the real-time host and the test RTDB should contain the RTDB items whose value needs to be obtained. At present this method can only return values for RTDB items. A current limitation of this methods is that it cannot return values for RTDB parameters or signals.

See also:

     startTestSession   getSharedMemRTDBVarList   setRTDBItemValue   setRTDBParamValue

Example: rtobj_getRTDBItemValue.m