01-11-2012 04:51 PM
Solved! Go to Solution.
01-12-2012 01:23 PM
Hi Kerugoya,
I’ve got a few links for you that may help.
Visual Studio Object Oriented Programming - http://msdn.microsoft.com/en-us/library/dd460654.aspx
Here’s a link to Object Oriented Programming in C#: (http://zone.ni.com/devzone/cda/ph/p/id/7).
Might be helpful to take a look at the .NET Class Hierarchy Chart - http://digital.ni.com/manuals.nsf/websearch/2D5660F0060CF256862577AB007FF67E
Regards,
Michael Miracle
NI Americas | AE
01-12-2012 01:27 PM
Hi Kerugoya,
Also, you should probably post your questions here if it's .NET related : http://forums.ni.com/t5/Measurement-Studio-for-NET/bd-p/232
Regards,
Michael Miracle
NI Americas | AE
01-12-2012 02:53 PM
Thanks for this information. I have to deliver something for work in a short while, so I would greatly appreciate if you may please help to clarify the questions below for me. I plan to read up on everything else you have mentioned later. Here are my questions :
1. If the "Create an Object" tick mark is grayed out for a property, what does that mean?
2. Can I simply create a local object reference type variable to access a property and retrieve the information I need from the property?
01-12-2012 04:14 PM
Hi Kerugoya,
Can you re-post your question in the Measurement Studio Forum I mentioned above. I think you'll get more support there.
Also, when you do, post a screen shot for question 1, I think it will depend on the property whether you're able to create an object. Once you have an object created you should be able to get the property as long as it's a public property. If it's private, there will probably be a get or set method to access it. If you can list some of the properties/objects that you're dealing with and what you're using to access them, that would be helpful for the post.
Regards,
Michael Miracle
NI Americas | AE