LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Print VI to HTML in run-time

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 ...
0 Kudos
Message 1 of 2
(2,735 Views)
Here are a couple of sites that may help.

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/7da6b2904e33e59386256adf006512ba?OpenDocument

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/fd7de8bc8ffc256c862565f4006be363?OpenDocument

http://digital.ni.com/public.nsf/websearch/942daa35c7b35616862565fe005f713f

Jeremy Braden
0 Kudos
Message 2 of 2
(2,735 Views)