I wish to print the running VI's panel to an HTML file using PrintVI
to HTML under LV6.0.2 (NT2000) in a built App. The OpenVI Reference
connected to this works fine in Development with its VI path wired to
the LV symbol "Current VI's Path" (and the Apllication Reference
unwired). However, I am having difficulty using this when it is
compiled; I know from searching on this newsgroup that addresses
change in compilation. That's fine, but I have tried every
conceivable way of addressing this to no avail.
Specifics: two network drives M:\ for the VI in development mode, and
R: for the EXE in Runtime mode. The VI's name is TEST.VI, and the
compiled app is TEST.EXE, with TEST.VI as top-level.
Using an Open Application Reference without a machi
ne name -->
IF Application:Kind = Development System
then Application:Name=Labview.exe and Application:AppDir shows the
location of labview on my local hard drive. The list Application:All
VI's in Memory shows TEST, and the LV symbol Current VI's Path shows
M:\TEST.VI ....I understand all this, and it prints to a network
HTML file ok.
IF Application:Kind = Run Time System
then :Name = TEST.EXE, :AppDir = R:\
the string list of :All VIs in Memory is empty, and the LV symbol
Current VI's Path shows R:\TEST.EXE\TEST.VI
Seeing all this, I have without success tried wiring the following to
the Vi Path input to the Open VI Reference:
R:\TEST.EXE\TEST.VI
R:\TEST.EXE
R:\TEST.VI
TEST.EXE\TEST.VI
TEST.VI
TEST.EXE
I typically get an error code like 1043 "??? in TEST.EXE"
Any suggesti? Thanks ...