NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in accessing file globals for another sequence file

I have this code  from my custom TS model step
 
 
tsErrChkMsgPopup( TS_SeqContextGetEngine (testData->seqContextCVI, &errorInfo, &hEngine));
 
 TS_EngineGetSeqFileEx (hEngine, NULL, "D:\\Program Files\\National Instruments\\TestStand 3.1\\Examples\\Demo\\C\\computer.seq", 11,
         TS_ConflictHandler_Error, &hSequence);
        
  tsErrChk (TS_PropertyGetValString(hSequence, &errorInfo, "FileGlobals.TUAPartNum", 0, &TUAPartNum));
 
However when I run it , I recv an error which says Unkown property FileGlobals?
 
Do I have problem with my lookup string ?
 
Also I wanted to know how can I use a relative path instead of an absolute path in TS_EngineGetSeqFileEx  above.
 
0 Kudos
Message 1 of 1
(2,862 Views)