Search found 2 matches

by rossmoffett
Tue Feb 19, 2013 12:43 pm
Forum: Scripting
Topic: Access a tag via string and write to it
Replies: 6
Views: 14507

Re: Access a tag via string and write to it

What error does it crash with? You should be able to run it on your PC in iX Developer and it should generate an exception. Object reference not set to an instance of an object. You may need to do: GetGlobalDataItem("Well" + wellNumber.ToString() + "SourceData13").Value.Int It depends on what the d...
by rossmoffett
Tue Feb 19, 2013 7:03 am
Forum: Scripting
Topic: Access a tag via string and write to it
Replies: 6
Views: 14507

Re: Access a tag via string and write to it

I've tried this and it compiles, but later causes the Qterm A7 to crash when this is called. Am I making some mistake here? namespace Neo.ApplicationFramework.Generated { using System.Windows.Forms; using System; using System.Drawing; using Neo.ApplicationFramework.Tools; using Neo.ApplicationFramew...