Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass an enum from Test Stand

Solved!
Go to solution

Is it possible to pass an enum in from TestStand ? If not I will have to make it into a string and do compares on my cases but it would be handy if I could ?

 

The compiler has mentioned

 

Error 1 Inconsistent accessibility: parameter type 'ChamberClass.Chamber.ChamberName' is less accessible than method 'ChamberClass.Chamber.Initialise(NationalInstruments.TestStand.Interop.API.SequenceContext, ChamberClass.Chamber.ChamberName, int, out bool, out int, out string)

 

The enum (highlighted) is declared in my class and so I could understand why it wouldn't like it but just on the off chance that there is a solution ? ..

0 Kudos
Message 1 of 2
(5,637 Views)
Solution
Accepted by topic author LizzardSB

Fixed ! No need to reply:- Once again it wasn't a test stand issue: it was because my enum was private...

0 Kudos
Message 2 of 2
(5,627 Views)