|
setVideoMode
|
|
|
|
|
Simulation
|
Selects among several video formats (pixel depths) in the order they appear in the Format list of the Video Format dialog.
|
|
BitFlow Camera Interface
|
Selects among several video formats (pixel depths) in the order they appear in the Format list of the Video Format dialog.
|
|
FireWire (IEEE-1394)
|
Selects among available video modes (image size and pixel depth) in the order they appear in the Mode list of the Video Format dialog.
|
|
Video for Windows (VFW)
|
No action
|
|
DirectShow (WDM)
|
No action
|
|
|
|
|
| Index
|
|
|
| An integer specifying the zero-based mode index.
|
|
|
| ERR_OK
|
|
|
| The flag set if successful.
|
|
|
| ERR_NOTFOUND
|
|
|
| Video device not found.
|
|
|
| ERR_FAILED
|
|
|
| The flag set if failed.
|
|
|
| This set of statements switches between two video modes every 10 seconds:
|
|
|
| showVideo(TRUE)
|
| Do
|
| setVideoMode(0)
|
| wait(10000)
|
| setVideoMode(1)
|
| wait(10000)
|
| Loop
|
|
|
|
|
|
|