GxFpga3571SetVideoMode

Purpose

Sets the board’s video output mode.

Syntax

GxFpga3571SetVideoMode (nHandle, nMode, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX3500 board.
nMode
SHORT
The video output mode can be as follows:
0.   GXFPGA_3571_VIDEO_MODE_STANDBY – Stand-by / Programming Mode.
1.   GXFPGA_3571_VIDEO_MODE_VGA – Output VGA Mode.
2.   GXFPGA_3571_VIDEO_MODE_NTSC – Output NTSC Mode.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

In Stand-by mode, video output is disabled.  The board will automatically enter Stand-by mode when programming the video memory with the functions GxFpga3571LoadColor, GxFpga3571LoadArray, and GxFpga3571LoadFile.reen.

Example

The following example sets the Gx3571 to output NTSC:

 

GxFpga3571SetVideoMode (nHandle, GXFPGA_3571_VIDEO_MODE_NTSC, &nStatus);

 

See Also

GxFpga3571SetVideoMode, GxFpgaGetErrorString