#ifdef LAN
scope = bus;
#else
scope = iopen( DEVICE_ADDR );
if ( scope == 0)
{
printf( "Scope session invalid\n" );
return FALSE;
}
itimeout( scope, 20000 );
iclear( scope );
#endif
return TRUE;
} /* end init_IO */
Sample Programs
sicl_IO.c Sample Program
/* set device timeout to 20 sec */
/* perform Selected Device Clear on oscilloscope */
6-28
/* open the scope device session */