02-23-2024 01:19 AM
Hello
I am new to Labview 2019 and i have a question about adding vi's to an exciting driver.
I have downloaded a driver from the manufacturers website for a power analyzer and i have used the driver and it works fine, but i mis some functionality in the driver and i want to add that functionality.
According to the documentation i have to go to "Tool -> instrumentation -> Create instrumentation driver project". Then i can select "new driver copy an exciting driver ". Then i should be able to select an exciting driver but in the list of drivers i don't see the driver from my power analyzer that i have installed. Why not ?
Or is there a better way to a vi's to an exciting driver ?
Thanks in advance for support
Solved! Go to Solution.
02-23-2024 01:48 AM
Hi Tonnie,
@Tonnie wrote:
I am new to Labview 2019 and i have a question about adding vi's to an exciting driver.
I have downloaded a driver from the manufacturers website for a power analyzer and i have used the driver and it works fine, but i mis some functionality in the driver and i want to add that functionality.
Does that driver come as LabVIEW project with several/lots of VIs?
Then you can simply add your own VIs to this project.
Recommendation: use some SCC tool (SourceCodeControl) to keep track of your changes!
02-23-2024 02:01 AM
Hello GerdW
No the driver does not have a Labview project file. I comes with only vi's, a tree vi and dir.mnu files
kind regards
Tonnie
02-23-2024 02:37 AM - edited 02-23-2024 02:42 AM
Hi Tonnie,
@Tonnie wrote:
No the driver does not have a Labview project file. I comes with only vi's, a tree vi and dir.mnu files
Then it is much easier: simply add your own VIs to the driver's folder.
Recommendations:
02-23-2024 03:19 AM
Hi GerdW
Thanks for your support
I will try you suggestion
kind regards
Tonnie
02-23-2024 06:37 AM
@GerdW wrote:
Hi Tonnie,
@Tonnie wrote:
No the driver does not have a Labview project file. I comes with only vi's, a tree vi and dir.mnu files
Then it is much easier: simply add your own VIs to the driver's folder.
Recommendations:
- Place the driver VIs in its own folder in your own "Sources" directory. Use a SCC tool...
- Create a LabVIEW project for your driver to manage the driver VI better than a simple Tree.vi can do.
- I would also create a lvlib from the driver VIs to even better manage the driver API (by hiding internal support VIs).
- I would delete the menu (mnu) files because I very seldomly place the device drivers in LabVIEW's instr.lib folder...
How exciting. 😉