Operator LED

運算子庫:硬體平台

The LED operator provides an interface for accessing the board user LEDs of the frame grabber via the applet.

Driving a logic HIGH on the input forces the correspondent board LED to light on. Driving a logic LOW on the input forces the correspondent board LED to light off.

For the exact location of board LEDs on the frame grabber, see the manual of your frame grabber.

適用於硬體平台
imaFlex 2 Dual 100
imaFlex CXP-12 Penta
imaFlex CXP-12 Quad
mE5 marathon VCLx
mE5 marathon VCL
mE5 marathon VCX-QP1
mE5 marathon VF2
LightBridge VCL
mE5 ironman VQ8-CXP6D
mE5 ironman VQ8-CXP6B
mE5 ironman VD8-PoCL

1

On marathon VCX-QP, the numbering of the LEDs is mirrored, see parameter description of parameter Port below.

資源

The operator mirrors the Port parameter settings into the FPGA Device Resources dialog as read-only parameters. You can see the FPGA device resources, if you open the FPGA Device Resources dialog from the Analysis menu. The device resources are read-only:

FPGA Device Resources All Platforms Except imaFlex 2 Dual 100

Figure 438. FPGA Device Resources All Platforms Except imaFlex 2 Dual 100


For the imaFlex 2 Dual 100 platform, the operator is using a read-only resource of type User LED, which is influenced by the Port operator parameter. The User LED resource index is always the Port label value, i.e., USR1 is mapped to the User LED resource index 1 and USR6 to the User LED resource index 6.

FPGA Device Resources of imaFlex 2 Dual 100

Figure 439. FPGA Device Resources of imaFlex 2 Dual 100


I/O Properties

Property Value
Operator Type M
Input Link I, signal input

Supported Link Format

Link Parameter Input Link I
Bit Width 1
Arithmetic 無號數
Parallelism 1
Kernel Columns 1
Kernel Rows 1
Img Protocol VALT_SIGNAL
Color Format VAF_GRAY
Color Flavor FL_NONE
Max. Img Width any
Max. Img Height any

Parameters

Port (imaflex, mE5 marathon, and LightBridge VCL platforms)
Type 靜態寫入參數
Default USR1
Range

imaFlex 2 Dual 100, imaFlex CXP-12 Penta, and imaFlex CXP-12 Quad: {USR1, USR2, USR3, USR4, USR5, USR6}

LightBridge VCL, mE5 marathon VCLx, and mE5 marathon VCL: {USR1, USR2}

mE5 marathon VCX-QP and mE5 marathon VF2: {USR1, USR2, USR3, USR4}

The parameter defines which of the board LEDs will be connected by the operator.

imaFlex 2 Dual 100, imaFlex CXP-12 Penta and imaFlex CXP-12 Quad:

  • USR1 maps the operator to the LED USR1.

  • USR2 maps the operator to the LED USR2.

  • USR3 maps the operator to the LED USR3.

  • USR4 maps the operator to the LED USR4.

  • USR5 maps the operator to the LED USR5.

  • USR6 maps the operator to the LED USR6.

On the imaFlex 2 Dual 100, the board LEDs are located in the following positions:

LEDs on the imaFlex 2 Dual 100 Board

Figure 440. LEDs on the imaFlex 2 Dual 100 Board


在 imaFlex CXP-12 Penta 上,主機板 LED 的位置如下:

imaFlex CXP-12 Penta 主機板上的 LED

圖 441. imaFlex CXP-12 Penta 主機板上的 LED


在 imaFlex CXP-12 Quad 上,主機板 LED 的位置如下:

imaFlex CXP-12 Quad 主機板上的 LED

圖 442. imaFlex CXP-12 Quad 主機板上的 LED


mE5 marathon VCLx, mE5 marathon VCL, LightBridge VCL:

  • USR1 maps the operator to the LED USR1.

  • USR2 maps the operator to the LED USR2.

mE5 marathon VF2:

  • USR1 maps the operator to the LED USR1.

  • USR2 maps the operator to the LED USR2.

  • USR3 maps the operator to the LED USR3.

  • USR4 maps the operator to the LED USR4.

mE5 marathon VCX-QP:

  • USR1 將 operator 對應至 LED 4。

  • USR2 將 operator 對應至 LED 3。

  • USR3 將 operator 對應至 LED 2。

  • USR4 將 operator 對應至 LED 1。

若要將 LED 開啟,輸入 I 必須驅動為 HIGH。若要將 LED 關閉,輸入 I 必須驅動為 LOW。

[重要] 可用性

此參數適用於以下平台:

  • imaFlex 2 Dual 100、imaFlex CXP-12 Penta 與 imaFlex CXP-12 Quad(數值範圍 {USR1, USR2, USR3, USR4, USR5, USR6})

  • mE5 marathon VCLx(數值範圍 {USR1, USR2})

  • mE5 marathon VCL(數值範圍 {USR1, USR2})

  • mE5 marathon VCX-QP(數值範圍 {USR1, USR2, USR3, USR4})

  • mE5 marathon VF2(數值範圍 {USR1, USR2, USR3, USR4})

  • LightBridge VCL(數值範圍 {USR1, USR2})

Pin_ID(ironman 平台)
Type 靜態寫入參數
Default 0
Range [0;3]

Pin_ID 參數定義了 4 個主機板 LED 中 哪一個會由 operator 連接。範圍為 [0; 3]。

[重要] 可用性

此參數適用於這些平台:

  • mE5 ironman VQ8-CXP6D

  • mE5 ironman VQ8-CXP6B

  • mE5 ironman VD8-PoCL

Examples of Use

operator LED 的使用方式如下列範例所示:

  • 'Hardware Test'

    DMA、RAM、GPIO、觸發與 LED 硬體自我測試的範例。