09-19-2007 03:23 PM
Run Time Error #2
I click on Continue cleanup and it will then let me edit my sequence.
The TS781784.dll is located in the Sequence directory with the .seq file.
09-20-2007 12:24 AM
Hi,
Do you have all the dependencies of the DLL on the systime you are trying to load.
Regards
Ray Farmer
09-20-2007 09:04 AM
Ray,
Thanks for the response. I am a new user to LW and TS. I'm not quite sure of what you mean, when you say dependencies. I have had problems with loading all of the NI sw on this PC.
Thanks,
David
09-20-2007 03:33 PM
09-20-2007 03:52 PM
Ray,
I think that all of the VXI and GPIB device drivers are in place. I am closing in on this problem. It seems that Test Stand wants to open a file named ccats_Init.uir. It is part of a user interface that is displayed when opening a sequence. I have add all of the directories where this file is located (multiple directories) to the "Search Directories" of this sequence. The file works for the other PC's. Something is just not set up right with the TS configuration????
Thanks,
David
09-20-2007 04:06 PM
09-20-2007 04:25 PM
James,
Thanks for the input. I found the LoadPanelEx in my ccats_Station_Init.c. The .uir file exists in the directory that is referenced. I have even tried copying it to my source and sequence directories, to no avail.
See below:
{
char *revl;
gInitPanelHandle = LoadPanelEx (0,"c:\\PTS\\ccats_common\\source\\ccats_Init.uir", INIT_RESUL,__CVIUserHInst);
SetWaitCursor(1);
DisplayPanel(gInitPanelHandle);
return;
}
Thanks,
David
09-20-2007 04:44 PM
09-21-2007 12:16 AM
Hi,
Have you got either the correct version of the CVI or the CVI RTE installed on your system. If you have CVI installed, can you open the UIR file successfully.
Regards
Ray
09-21-2007 09:12 AM
The .uir file opens properly in a LW CVI window.
I see how to set a breakpoint and add a watch expression for the LoadPanelEx, I'm not quite sure how to check for an error value while bringing up the TS seq file.
{
char *revl;
gInitPanelHandle = LoadPanelEx (0,"c:\\PTS\\ccats_common\\source\\ccats_Init.uir", INIT_RESUL,__CVIUserHInst);
SetWaitCursor(1);
DisplayPanel(gInitPanelHandle);
return;
}