Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5361

Get RunState Value

$
0
0

Hello,

 

I have a serious problem :-/ 

I need to read a value from TS : "RunState.ThisContext.SequenceFile.Path" but the API function seems to be no able to find it.. 

My code : 

 

TS_PropertyExists(SeqContext, &errorInfo, "RunState.ThisContext.SequenceFile.Path", 0, &propertyExists);
	if (propertyExists)
	{
		TS_SequenceGetName (SeqContext, &errorInfo, &sequenceName);
    	        TS_PropertyGetValString(SeqContext, &errorInfo, "RunState.ThisContext.SequenceFile.Path", 0, &stringVal);
	}

The Value of "propertyExists" is always zero. And when I try to execute the "TS_PropertyGetValString" directly, I get an error saying that the variable I'm looking for didn't exist. 

Even if under TestStand, I can see it !! And it contains a string value (Path). 

 

Any idea please ? 

Thanks in advance, 

 

Blue

 


Viewing all articles
Browse latest Browse all 5361

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>