02-27-2012 02:17 PM
Is there any good examples of using the LV Class for instrument drivers. Just learning about LV classes and simple examples such as a GPIB DMM or Power supply would be great.
Thanks,
Jim
Solved! Go to Solution.
02-27-2012 02:27 PM
I don't know of any examples off-hand aside from what I have done and there I can only offer some images here.
Notes from my mistakes;
DO up a Domain Model and work from that.
Use a generic widget as the parent class and avoid naming it after the thingy you are controlling. This will eliminate odd inheritance like "why are of my I/L clases decending from a single USB widget?
Think about the API you want to use and make those public and keep the rest protected at the least.
Ben
02-28-2012 12:55 PM
Hi Jim,
Here is example, which is for DMM in task & class oriented both.
02-28-2012 02:09 PM
Puneet K,
This is exaclty what it was looking for. It is very basic as not to overwelm me with a lot of functions. I can build off of this, thanks very much.
One thing I have a question on is what is the purpose of the sequence structure in the top level VI for classes.