Remote Control Programming User’s Guide
PM024A02 Rev.2
32
2.
F_OpenInstances_AndFPAs( snlist ); // hardcoded SN list
or
3.
// scanned available FPA’s SN list
long SN[MAX_USB_DEV1], Snr[MAX_USB_DEV1];
CString snlist;
char * buf[20];
F_OpenInstances( 1 );
// DLL initialization - one instance
F_Set_FPA_index(
1 );
// select access to the first instance
n = 0;
//number of detected FPAs
for( k=1; k<=MAX_USB_DEV_NUMBER ; k++ )
{
SN[k] = F_Check_FPA_access(k);
if ( SN[k] > 20000000 ) n++;
}
F_CloseInstances();
// write your own procedure .......
// remap available FPAs SN to desired FPAs order from SN[k] to Snr[p]
snlist = “*#”;
for( k=1; k<=n ; k++ )
{
sprintf( buf, “ %8.8li”, Snr[k] );
= buf;
}
F_OpenInstances_AndFPAs( snlist );
2.The FPA list in the configuration file:
String -> “C:\Program Files\Elprotronic\FPAs-setup.ini”
Example of the FPA configuration file:
;
-> semicolon - comment
; Syntax of the FPAs configuration specified
; FPA-x Serial Number
; where FPA-x can be FPA-1, FPA-2, FPA-3 .... up to FPA-8
; e.g
FPA-1 20050116
FPA-3 20050199
FPA-5 20050198
FPA-6 20050205
; FPA-x can be listed in any order and can contain gaps,
; like above without FPA-2, FPA-4
; When list like above is used, then following fpa can be valid
; fpa -> 1,3,5,6
Summary of Contents for FlashPro-CC
Page 10: ...10...