Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

ATL, UDT and Visual Basic

Hi,
This isn't a measurement studio question but....

I'm writing an ATL COM object that contains some UDTs that are used in some of the methods

Ex:

typedef [public, v1_enum]enum GateModeVal{
ContinousGating = 0,
GateOnce = 1
}GateModeVal;


typedef [public, v1_enum]enum MeasurementVal{
FreqA = 1,
TI_A_B = 2,
TI_Delay = 3,
RatioA_B = 4,
FreqC = 5,
Totalize_Stop = 6,
Period = 7,
TI_Average_A_B = 8,
Check_10MHz = 9,
A_Gated_By_B = 10,
Gate_Time = 11,
Totalize_Start = 12
}MeasurementVal;

The component will be used in Visual Basic.

Does anybody know if there is a way to access the UDT list in VB so I can populate a list box in the VB app at run time with the descriptive strings

Thanks

Curt
0 Kudos
Message 1 of 2
(3,541 Views)

Hi Curt,

This forum is reserved for Measurement Studio questions. I would recommend posting your question to Microsoft or perhaps refer to this forum.

Thanks

 

 

Jonathan N.
National Instruments
0 Kudos
Message 2 of 2
(3,523 Views)