04-23-2014 05:29 AM
I want to set value to sequence file from customized UI, so need to get the pointor of TS::SequenceContextPtr, do anyone know how to get this pointor.
Solved! Go to Solution.
04-23-2014 08:02 AM
This example is in LabVIEW but it applies to any language: http://www.ni.com/example/27606/en/
Also, check out these:
http://www.ni.com/white-paper/4532/en/
https://decibel.ni.com/content/docs/DOC-20423
Basically anything on UIMessages.
The idea is that you pass the SequenceContext as a UIMessage from your client sequence file. Then in the UI you can capture that and access any parts of the sequence like you want.
Regards,
04-23-2014 08:35 AM
this is an approach to do it. but other from this one, can we get the pointer from IExecutionViewMgrPtr or IEnginePtr, since I already know these two pointers.
04-23-2014 09:36 AM - edited 04-23-2014 09:37 AM
Is there a reason that UIMessages are not sufficient?
Just off the top of my head here are a couple concerns with not using UIMessages:
The situation you described is exactly why UIMessages were created. Maybe you can help me understand why you are set on using the pointers you already have? There might be a better solution for your case if I am misunderstanding you.
Thanks,
04-29-2014 01:34 AM
well, I was just thinking that once the execution is running, it is able to get or set value, but UIMessage maybe a good way to do it, and it works fine, so thanks for the solution.