From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 17001 - the sequence file pointer is invalid

Hello everybody !!


In a sequence file, I call a DLL (with MFC) without any problem. It works pretty good, but when I want to close the sequence file editor, errors occur :
System level Exception
Error Code :  -17502

following by

The sequence file pointer is invalid
Error Code : -17001 program error

After, there's no way to exit the sequence file editor without killing it.


Is there any C++ syntax code that TestStand doesn't understand ?
Is there special code line to include into the DLL ?


Thank you for your answers.

Have a nice day.


MrOrange
0 Kudos
Message 1 of 3
(2,995 Views)

Hi,

Have a look at the example

.....\TestStand 3.5\Examples\AccessingArrays\PassingSequenceContextToMFCDLL\AccessingArrays.seq

to see where you might be going wrong.

Or post your code or an example of your code that shows the problem.

Regards

Ray Farmer

Regards
Ray Farmer
Message 2 of 3
(2,988 Views)
Thanks a lot.

With NI sequence file example, about using MFC and DLL with TestStand, I succeed in debugging my sequence file.

extern "C" {

//your code

}
0 Kudos
Message 3 of 3
(2,968 Views)