| | |
| | | this.testApp.LoginOnStart = false; |
| | | this.testApp.Start(); |
| | | this.modeSeq = this.engine.GetSequenceFileEx(@"C:\Program Files\National Instruments\TestStand 2020\Components\Models\TestStandModels\ParallelModel.seq"); |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | public void SetStartFlag(int index, bool data) |
| | | { |
| | | if (this.SequenceContext == null) return; |
| | | char name = (char)(index + 65); |
| | | string name = tables[index].title; |
| | | string key = $"StationState.Start_{name}"; |
| | | this.engine.Globals.SetValBoolean(key, 0, data); |
| | | bool val = this.engine.Globals.GetValBoolean(key, 0); |
| | |
| | | |
| | | public void SetOvenProduct(int index, string product) |
| | | { |
| | | |
| | | string LookupStr = $"StationState.ProductModel_{tables[index].title}"; |
| | | engine?.Globals?.SetValString(LookupStr, 1, product); |
| | | } |
| | | } |
| | | } |