ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
05-12-2009 10:35 AM
I am creating variables/parameters programmatically in a code module (C#) by passing in the Locals object and calling the method 'NewSubProperty'.
I've also tried SetValNumber with PropOption_InsertIfMissing.
But it seems they are only being created in that instance of the sequence, because they are gone when the sequence is over. I really wanted them to persist.
I wanted to avoid creating station globals dynamically like this, but maybe that's all I can do to make them last.
Any ideas would be gratefully appreciated.
Thanks,
Ronnie
Solved! Go to Solution.
05-13-2009 12:47 AM
Hi,
Check out the links on this response
http://forums.ni.com/ni/board/message?board.id=330&message.id=11226&query.id=267719#M11226
It maybe of help
Regards
Ray Farmer
05-13-2009 10:47 AM
Thanks Ray - I thought I'd searched extensively before asking the question, but obviously not!
Thanks for taking the time to direct me to that post.
Best regards,
Ronnie