Configure I/O Port of Vector Interfaces in CANoe/CANalyzer 7.6 – 8.5

This article shows you how I/O ports of Vector interfaces can be configured in the Vector Hardware and CANoe (and CANalyzer).

The article applies to CANoe (and CANalyzer) versions 7.6 to 8.5.
For CANoe versions ≥ 9.0 please see this article.


IOcab

Click on Configuration|I/O Hardware|Vector I/O to open the configuration menu.

Select the interface you want to configure for I/O usage:

Click Custom in the dropdown menu to configure the pins of the I/O port.

More I/O options can be configured by clicking Settings

After that, assign the physical channel of your hardware to the CANoe DAIO channel which is configured in the Vector I/O configuration in CANoe:

Usage:
After configuring, the pins are available as system variables which can be logged with the logging block. The system variables can also be used in panels, shown in the trace window, in the graphics window or in CAPL:

on key 'a'
{
  @sysvar::IO::IOCab1::DOUT0 = 1;  // sets the digital output to "1"
  @sysvar::IO::IOCab1::AOUT0 = 5;  // sets the analog output to 5 V
}



IOpiggy (VN89 and VN75 family)

Click Configuration|I/O Hardware|Vector I/O to open the configuration menu.

Select the interface you want to configure for I/O usage:

Click Custom in the dropdown menu to configure the pins of the I/O port.

More I/O options can be configured by clicking on Settings

After that, assign the physical channel of your hardware to the CANoe DAIO channel which is configured in the Vector I/O configuration in CANoe:

Usage:
After configuring, the pins are available as system variables which can be logged with the logging block. The system variables can also be used in panels, shown in the trace window, in the graphics window or in CAPL:

on key 'a'
{
  @sysvar::IO::IOpiggy1::DOUT0 = 1;  // sets the digital output to "1"
  @sysvar::IO::IOpiggy1::AOUT0 = 5;  // sets the analog output to 5 V
}



VN0601

Click Configuration|I/O Hardware|Vector I/O to open the configuration menu.

Select the interface you want to configure for I/O usage:

Click Custom in the dropdown menu to configure the pins of the I/O port.

More I/O options can be configured by clicking on Settings.

After that, assign the physical channel of your hardware to the CANoe DAIO channel which is configured in the Vector I/O configuration in CANoe:

Usage:
After configuring, the pins are available as system variables which can be logged with the logging block. The system variables can also be used in panels, shown in the trace window, in the graphics window or in CAPL:

on key 'a'
{
  @sysvar::IO::VN0600_1::DOUT = 1;    // sets the digital output to "1"
}



VN1630(A)/VN1640(A)

Click Configuration|I/O Hardware|Vector I/O to open the configuration menu.

Select the interface you want to configure for I/O usage:

Click Custom in the dropdown menu to configure the pins of the I/O port.

More I/O options can be configured by clicking Settings.

After that, assign the physical channel of your hardware to the CANoe DAIO channel which is configured in the Vector I/O configuration in CANoe:

Usage:
After configuring, the pins are available as system variables which can be logged with the logging block. The system variables can also be used in panels, shown in the trace window, in the graphics window or in CAPL:

on key 'a'
{
  @sysvar::IO::VN1600_1::DOUT0 = 1;    // sets the digital output to "1"
}




Article ID: 1094
Last updated: 2019-08-02
Revision: 22
CANalyzer/CANoe -> I/O Configuration -> Configure I/O Port of Vector Interfaces in CANoe/CANalyzer 7.6 – 8.5
https://kb.vector.com/entry/1094/