Returns the board’s current video output mode.
GxFpga3571GetVideoMode (nHandle, pnMode, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX3500 board. |
pnMode |
PSHORT |
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. |
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.
The following example reads the current video output mode into nMode:
SHORT nMode;
GxFpga3571GetVideoMode (nHandle, &nMode, &nStatus);