LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LVOOP HAL Deployment for Teststand

Hello All:

I have a Labview HAL Project using LVOOP

Class TreeClass Tree

I have tested this out in TestStand and Labview in project development mode and everything works ok.  However, I am unsure of my next steps for deployment for use in Teststand as I don't want to let Teststand reference the LVProj in order to use the functions.  I tried building each individual lvlib as a Packed Project Libary (PPL) but everything breaks, main issue lies with my Dynamic Dispatch Factory VI doesn't know how to reference my classes.  I tried  using "Get Exported File Path" on the PPLs to pass it to the factory pattern but I end up getting some error with lvclass instance cannot be referenced.

 

I am unsure at this point if a plug-in architecture is the the right solution, if so, I am unsure how to execute it.   Hope someone can shed some light.

 

Regards,

Mike

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

I am currently using PPLs for my HAL for use with TestStand.  What I do is make sure I keep a good directory structure.  For instance, all power supply PPLs are in a specific folder.  So then in my "Initialize" of my power supply library, I can do a simple "get folder" and then build the path to the class I actually want to use.

 

Do note that you will need A LOT of projects in order to properly use PPLs.  I have a project for all of my "base classes" and then a project for each of those types for the children class so that they can properly reference the parent that is to be in a PPL.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 4
(2,857 Views)

Hi crossrulz:

 

Have you had any bugs in the past you with snippet?  I tried using it but would get cases where it "finds" a lvlibp where one doesn't exist.

 

Thanks!

Mike

0 Kudos
Message 3 of 4
(2,822 Views)

Figured it out, it was an issue with the project I was calling into.  

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