Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Demo usage issues

Hello,

 

I am attempting to add some functionallity to one of your demo programs but it is causing problems. Specifically, I am attempting to modify the demo located at:

 

/National Instruments/MSStudioVS2010/Dotnet/Examples/Application/SimpleGraph/VB

 

I am using VS2010 and have Measurement Studion 2013 installed.

 

The application "works", but if I add a form and button, any controls I add to that form are not recognized. In the design environment, references to the control cause an error.

 

Is there something I need to do to allow adding of forms with controls?

 

Thanks,

bartj

 

 

 

 

0 Kudos
Message 1 of 4
(5,347 Views)

Hi bartj,

 

Can you provide more information about the errors you are receiving?  What do you mean when you say that the controls you add to the new form are not being recognized?  Feel free to provide information about the error messages or screenshots of the errors themselves.  Is it possible that Measurement Studio is not fully licensed on your computer?

 

Thanks,

 

Myriam

0 Kudos
Message 2 of 4
(5,325 Views)

Hello,

 

Here is what I am doing(using your demo simple graph):

 

1) Add a new form to the project (form1.vb)

2) In the form1_load sub, I type the following:

 

Mainform.cursorStatusbar

 

Following typing Mainform. I see a list of objects, but none of the Mainform objects are in that list. They should include:

 

a) cursorStatusbar

b) mainWaveformGraph

c) mainToolBar

d) and...various menu items

 

I am using VS2010 Academic and have Measurement Studio 2013 installed on a win7 x64 PC. As I understand there should be no limitations on the capabilities of the VS.

 

Comments?

Bartj

 

 

 

 

 

 

 

 

 

 

0 Kudos
Message 3 of 4
(5,311 Views)

Hi Bartj,

 

It may have to do with how the objects are declared with certain modifiers in the Mainform source code (i.e. public, friend, etc.). Have you tried verifying that these declarations will allow for other Windows Forms to access Mainform's objects?

 

Thanks, 

 

Myriam

0 Kudos
Message 4 of 4
(5,295 Views)