11-17-2008 01:38 AM
Hi,
We are doing USB communication with hardware, when we are trying to close the USB communication by calling viClose(session); function.
it takes 15 seconds to close the USB port
My code is as follows
/* Close USB Port */
s32_CloseUSBStatus = viClose(NeverlostIV);
if(s32_CloseUSBStatus < VI_SUCCESS) /* USB port status */
{
u8_CloseUSB = FALSE;
}
else /* Success */
{
u8_CloseUSB = TRUE;
}
Executing viClose(NeverlostIV) function is taking 15 second.
I want to close it immediately,
Please suggest, any alternate ways to close the port.
01-06-2017 04:47 PM
Did you ever figure out the cause ? Having the same problem...