05-30-2008 12:41 AM
05-30-2008 12:50 AM
Hi,
I am guessing that you must be using relative addressing for the paths to your sequencefiles. Its works in the sequence editor because everything is within the search directories. Therefore, you need to make sure your search directories are still relevant from your application.
Or
You haven't got a file called 'file name.seq'.
There is not a lot to go on here. Maybe post the actual error message, snippets of code on how your are deriving your paths and envoking the sequence call.
Regards
Ray Farmer
05-30-2008 01:04 AM
Hi Ray,
This is the error I got
" could not find the 'Subsequence1.seq'.
The code is :
SequenceCallModule ^objm = (SequenceCallModule^)m_ObjStep ->Module;
stepSeqFile[paraNGrpNum] = m_ObjEngine ->GetSequenceFile(objm ->SequenceFilePath,
GetSeqFileOptions::GetSeqFile_FindFile); This line throws an error : -17208
objm =
nullptr;objStepSeq = stepSeqFile[paraNGrpNum] ->GetSequenceByName(
"MainSequence");exeObj1 = m_ObjEngine ->NewExecution(stepSeqFile[paraNGrpNum],objStepSeq->Name,stepSeqFile[paraNGrpNum],
false,ExecutionTypeMask::ExecTypeMask_Normal,System::Reflection::Missing::Value,System::Reflection::Missing::Value,System::Reflection::Missing::Value);
Thank you
05-30-2008 05:19 AM
SequenceFile seqFile = engine.GetSequenceFileEx(strAbsolutePath, GetSeqFileOptions.GetSeqFile_OperatorInterfaceFlags, TypeConflictHandlerTypes.ConflictHandler_Error); ..............
Hope this helps
juergen
05-30-2008 05:56 AM
Thank you j_dodek ,
I will try with your code.
regards
Kulkarni
05-26-2010 02:34 AM
Hi all,
Am using the Teststand simple operator interface example and slightly modified it by providing the path to open the sequence file instead of using the combobox and a button to open it.
But when executed it is throwing the error -17208 saying "File or directory not found". But when i verified the path it seems fine.( the same sequence file was executed in teststand editor without any problems.)
Please some one help to solve this issue.
thanks and regards,
sandeep
05-26-2010 03:42 AM
Does your path include the sequence file?
Regards
Ray Farmer
05-26-2010 04:01 AM
Hi Ray,
Thanks for the reply. Yes the path which i am specifying includes the sequence file also.
Regards,
sandeep
05-26-2010 04:23 AM - edited 05-26-2010 04:24 AM
Can you post some pictures of your mods, or code snippets?
regards
Ray
05-26-2010 05:43 AM
Hi Ray,
Please findattached code module where I am calling the sequence file to be opened.
Also i have attached some pictures for with comments.
Regards,
sandeep