XCLIB™ LIBRARY - Epix - #5

/ 5


catalogue search
P. 01
P. 02
P. 03
P. 04
P. 05
Pages:


See other catalogues for Epix

Text version of the page
Untitled
XCLIBTIBRARY
for PIXCI® Imaging Board
FEATURES
SPECIFICATIONS
HDC hDC; RECT rect;
pxd_PIXCIopen("", //pxd_PIXCIopen("", //pxd_PIXCIopen(MMf //pxd_PIXCIopen(MMf //pxd_PIXCIopen(MMf //pxd_PIXCIopen(MMf //pxd_PIXCIopen(MMf
MRS-17 0M, MM);
"NTSCM, MM);
"NTSC/YC", mm); "CCIRM, ""); "PAL", ""); "PAL/YC", ""); M", "VIDEO.FMT");
// // // // // // // // // // //
Use standard RS-170, or
.. NTSC, or
.. NTSC S-VIDEO, or
.. CCIR, or
.. PAL, or
.. PAL S-VIDEO, or
.. customized formats
& resolution? get handle to window get size of window inclusive->exclusive set window display modes snap image into buffer 1 specify frame buffer & AOI specify window window upper left corner window size display! release handle
IMAGING BOARD:
Any PIXCI® séries imaging board.
Up to eight (32 bit O.S.) or sixteen (64 bit O.S.) ident-ical, or four non-identical, PIXCI® imaging boards can be controlled.9
ENVIRONMENT:
■ Watcom C/C++ V11.0 32 bit in F model. For Ten-berry (Rational) DOS extender, 80386 or better.
■ Windows 95, 98, ME 32 bit DLLs, for any compiler or Windows application.
■ Windows NT (V4.0), 2000, XP, Vista 32 bit DLLs, for any compiler or Windows application.
■ Windows XP(x64), Vista(x64) 64 bit DLLs, for any compiler or Windows application.
■ Linux V2.4.8 or later kernel on Intel i386.
■ Linux V2.6 or later kernel on Intel x86-64.
XCLIB-Lite only available for Windows 95, 98, ME, NT, 2000, XP, Vista (32 bit).
Other environments available on request. LICENSING:
Licensing permits royalty free inclusion of library rou­tines into programs using EPIX® PIXCI® series imaging boards.
SOFTWARE INCLUDES:
As required by environment: Object code library (.lib), Dynamic Link Library (.dll), Object code archive (.a), Windows 95, 98, ME Driver (.vxd), Windows NT, 2000, XP, Vista, XP(x64), Vista(x64) Driver (.sys),
and/or Linux driver (.o, .ko). C prototype files (.h).
Example C/C++ programs demonstrating typically used PIXCI® imaging board features, with Windows (GDI), DOS (stdio), or Linux (stdio & Gnome) inter­face (.c/.cpp).
Example Visual Basic, VB.NET, C#.NET programs. Labview example available separately.
XCLIB function declaration files for Visual Basic,
VB.NET, C#.NET, Matlab.
HTML manual.
Printed manual (not w. XCLIB-Lite).
hDC = GetDC(hWnd);
GetClientRect(hWnd, &rect);
rect.right++; rect.bottom++;
SetStretchBltMode(hDC,STRETCH_DELETESCANS); //
pxd_doSnap(0x1, 1, 0); //
pxd_renderStretchDIBits(0x1, 1, 0, 0, -1,-1,//
0, hDC, //
rect.right/4, rect.bottom/4, //
rect.right/2, rect.bottom/2, //
0); //
ReleaseDC(hWnd, hDC); //
Image capture and VGA display example (Windows only).
pxd_doSnap(0x3, 2, 0);
// snap image into buffer 2 of // board 0x1 and buffer 2 of // board 0x2.
// save 256x128 AOI of buffer 2 of // board 0x1 in .bmp format (in // DOS versions too!) // save full buffer 2 of board 0x2 // in .bmp format
pxd_saveBmp(0x1,"IMAGE1.BMP",2, 0,0,256,128,0,0)
pxd_saveBmp(0x2,"IMAGE2.BMP",2, 0,0,-1,-1,0,0)
Dual board image capture and save example.
int b;
pxd_PIXCIopen("", "NTSC", ""); // Use standard NTSC, or
//pxd_xcopen("", "CCIR", ""); // .. CCIR, or a saved
//pxd_xcopen("", "video.fmt"); // .. nonstandard video?
for (b = 1; b <= pxd_imageZdim(); b++) { // Run thru all buffers. printf("Key ENTER to capture buffer #%ld\n", b);
while (getchar() != '\n') ; pxd_doSnap(0x1, b, 0);
}
printf("All buffers captured.\n");
Interactive sequence capture example.
// Wait for user trigger // Capture into buffer 'b'
pxd_PIXCIopen("", "NTSC/YC", "");
//pxd_PIXCIopen("", "PAL", "");
pxd_renderDirectVideoInit(1, hWnd);
pxd_renderDirectVideoLive(1, hWnd, 0,0,INT_MAX,INT_MAX, RGB(0,0,189),RGB(0,0,189));
hDC = GetDC(hWnd)
RECT rect;
SetRect(&rect, 20, 20, 40, 40); DrawFocusRect(hDC, &rect); ReleaseDC(hWnd, hDC);
// Use standard S-Video, or // .. PAL
// init direct video to S/VGA // display live video on S/VGA // location & extent in window // color keyed to allow graphic // overlays over live video
// any standard GDI/MFC calls // can be used to draw graphics // OVER the live video
Live video to S/VGA with graphics overlay example (Windows only).
f. These older products are no longer in production, but are still supported by XCLIB.
1. Software may require upgradeto operate future ver­sions or options of PIXCI ® imaging boards.
2. XCLIB provides accessto pixel data so that the appli­cation can perform analysis. The optional PXIPL library provides pre-written analysis routines.
3,4. Support for different video formats is dependent upon the particular camera and PIXCI ® imaging board used.
5. Support for varying resolution is dependent upon the particular camera and PIXCI ® imaging board used.
6. Support for general purpose input and output signals is dependentuponthe particular PIXCI ® imaging board used.
7. Support for live video via DirectDraw is dependent upon the native color space of the particular PIXCI ® imaging board used, and on the capabilities of the S/VGA card used.
8. The size of a single image may not exceed 232-1 bytes.
9. Each functional half of a PIXCI ® E1DB, EL1DB, or E4DB, or each functional quarter of a PIXCI ® SI4, counts as one board.
Specifications subject to change without notice.
EPIX® imaging products are made in the USA.
EPIX, PIXCI, QUICK SET VIDEO, XCAP, XCIP, XCOBJ, and XCLIB are trademarks or registered trade-marks of EPIX, Inc. Other brand, product, and com­pany names are trademarks or registered trademarks of their respective owners.
Copyright © 2009 EPIX, Inc. All rights reserved. 26-May-2009.
EPIX
EPIX, Incorporated 381 Lexington Drive Bufialo Grove, IL 60089 USA Tel - 847 465 1818 Fax-847 465 1919 epix@epixinc.com www. epixinc. com

pageCatalog pdf di En 2012-05-19-11