vtsSetInterconnectionMode
CAPL Functions » VT System » vtsSetInterconnectionModeValid for: CANoe DE • CANoe:lite DE
NoteThis function may not be called in any CAPL handler routines or in ECU nodes. It may only be called in the context of the MainTest method of a test module. Use a test module that automatically runs at the start of measurement to set an initial state.
Function Syntax
Description
Sets the mode for interconnection of the three possible power supplies and the two power outputs of the power module VT7001.Parameters
- Target: Name of the system variable/namespace that will be affected by this function call.
- Mode: Values see eVTSInterconnectionMode
Return Values
- 0: Successful call
- -1: Call error
- -2: The namespace on which the command was called does not exist, is not a valid VT System namespace or does not support this command.
- -3: The specified mode is not valid
- -4: The function wasn’t called in the context of the main method of a test module. It is not possible to wait until the setting will be taken over from the VT System. Otherwise, the call was successful but it is not sure if the settings have been taken over already when the call returns.
Example
CAPL- Select PowerSupply
- Set Sidebar | Interconnection Settings | Mode to supint
- Select IntSupply
- Set Sidebar | Output | Ref Voltage Mode to Constant
- Set Sidebar | Output | Ref Voltage to 12.0
- Select Clamp30
- Set Schematic | Active to active
- Select Clamp15
- Set Schematic | Active to active
- Check measurement values ‘AvgCurrent’