Hi,
I am building an application with Labwindows CVI 8.0 , VISA 4.0, a NI USB 6008 board and a Tektronik TDS1002 scope.
All works fine but VISA. It does never returns an error when it should !! To verify this I have turned off the Scope and run the program ,expecting to get the Error MSG,,, but it executes as if the scope was turned on... I always get VI_SUCCESS !!
Please help me... I am really lost a this point

Here is a piece of my code, it is very simple ... I am just opening a VISA session..
static ViSession defaultRM;
static ViSession instr;
static ViStatus status;
.....
/****open VISA ***/
status=viOpenDefaultRM (&defaultRM);
if (status < VI_SUCCESS)
{
MessagePopup ("MSG","Could not open a session to the VISA Resource Manager!!");
exit (EXIT_FAILURE);
}
status = viOpen (defaultRM, "ASRL1::INSTR", VI_NULL, timeout, &instr);
if (status < VI_SUCCESS)
{
MessagePopup ("MSG:","Cannot open a session to TDS1002.");
goto Close;
}
Close:
status = viClose (instr);
status = viClose (defaultRM);
......