LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Instrument drivers LV Class

Solved!
Go to solution

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

0 Kudos
Message 1 of 4
(2,765 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(2,763 Views)
Solution
Accepted by topic author Jim_Glanz

Hi Jim,

 

Here is example, which is for DMM in task & class oriented both.

 

 

Message 3 of 4
(2,751 Views)

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.

 

0 Kudos
Message 4 of 4
(2,746 Views)