F_OpenInstances
F_OpenInstances - API-DLL initialization in the PC.
Instruction must be called first - before all other instruction. Instead this function the
F_OpenInstancesAndFPAs is recommended.
Important: It is not recommended to use this function. Function used only for compatible with
the old software. Use the F_OpenInstancesAndFPAs instead.
Do not use the F_OpenInstances or F_Check_FPA_access after using the
F_OpenInstancesAndFPAs. The F_OpenInstancesAndFPAs is assigning the FPAs to
USB ports and it is not recommended to reassign once again the USB port using the
F_Check_FPA_access function. To check the communication activity with FPA use the
F_Get_FPA_SN function that allows to check te communication with the FPA adapter
without modifying the USB ports assignment.
DO NOT use this instruction for activating connection with the MSP-FET430UIF adapter.
Use the F_OpenInstancesAndFPAs for it.
Syntax:
INT_X MSPPRG_API F_OpenInstances ( BYTE no );
Parameters:
no -> number of the single API-DLL to be open
no -> 1 to MAX_USB_DEV_NUMBER
where MAX_USB_DEV_NUMBER = 64
Return value:
number of opened instances
F_CloseInstances
F_CloseInstances - Close all active API-DLLs and free system memory.
Syntax:
INT_X MSPPRG_API F_CloseInstances ( void );
Parameters:
void
Return value:
TRUE
37