09-15-2023 12:57 PM - edited 09-15-2023 01:00 PM
While working on my EXIF reader (getting close), I decided that the best way to have the user select which tags are to be read is with a custom Express VI that browses the tags. The problem is that, due to a deficiency in LabVIEW, when you move the code that defines an Express VI, it breaks*. So I will need to create an installer that performs a fixup after copying. But where should it put the Express VI?
What do you think?
* Inside an Express VI is a link to the configuration VI. This consists of a path that is either symbolic or absolute. LabVIEW doesn't update that path when things are moved.
09-15-2023 01:40 PM
Why not put the whole package together in user.lib or vi.lib?
09-15-2023 03:57 PM - edited 09-15-2023 03:59 PM
An ExpressVI is a development tool. In my opinion, it would be a mistake to move the configuration VI anywhere other than the default location. IIRC, that is <LabVIEW>\vi.lib\ExpressVI\...or thereabouts. Then, just configure the proper destination in the installer or package .
09-15-2023 05:12 PM
@JÞB wrote:
An ExpressVI is a development tool. In my opinion, it would be a mistake to move the configuration VI anywhere other than the default location. IIRC, that is <LabVIEW>\vi.lib\ExpressVI\...or thereabouts. Then, just configure the proper destination in the installer or package .
I make lots of tools. I don't think it's a mistake to put them anywhere I want.
The actual default folder for homemade Express VIs is:
... \user.lib\_express\
09-16-2023 06:00 AM
@paul_a_cardinale wrote:
@JÞB wrote:
An ExpressVI is a development tool. In my opinion, it would be a mistake to move the configuration VI anywhere other than the default location. IIRC, that is <LabVIEW>\vi.lib\ExpressVI\...or thereabouts. Then, just configure the proper destination in the installer or package .
I make lots of tools. I don't think it's a mistake to put them anywhere I want.
The actual default folder for homemade Express VIs is:
... \user.lib\_express\
Mistake or not? Sometimes you crash when using other tools.
Just saying. Your tools are probably perfect. The others weren't written by a developer with your standards. 😉
09-16-2023 11:47 AM
@JÞB wrote:
@paul_a_cardinale wrote:
@JÞB wrote:
An ExpressVI is a development tool. In my opinion, it would be a mistake to move the configuration VI anywhere other than the default location. IIRC, that is <LabVIEW>\vi.lib\ExpressVI\...or thereabouts. Then, just configure the proper destination in the installer or package .
I make lots of tools. I don't think it's a mistake to put them anywhere I want.
The actual default folder for homemade Express VIs is:
... \user.lib\_express\
Mistake or not? Sometimes you crash when using other tools.
Just saying. Your tools are probably perfect. The others weren't written by a developer with your standards. 😉
Lemme see if I understand your position: You're saying that it's ok for me to put my tools anywhere I want because they are perfect; but if other people put their tools wherever they want, LabVIEW will crash because the tools are imperfect and imperfect tools will crash unless they're in a certain location.
Have I got that right?