07-21-2004 06:57 AM
07-21-2004 07:20 AM
07-21-2004 07:21 AM
04-03-2006 11:59 AM
04-04-2006 08:57 AM
Hey Maximus00,
I'm not sure what you mean by "not very elegant", exactly. I could imagine a number of possibilities, but it would be simpler if you would describe them. Chances are that you could make your PDF output "elegant" by editing the DIAdem-REPORT layout file.
Note that DIAdem has to be present on any computer which makes calls to it. There is no way to package up the functionality of DIAdem into a VI or a LabVIEW executable and distribute it to a new system. You can distribute a LabVIEW executable which makes calls to DIAdem to a new system, but unless DIAdem is installed separately on that computer, your VI will not run because DIAdem's ActiveX server will not be installed, and LabVIEW will be trying to make calls to a missing ActiveX layer.
Regards,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
04-04-2006 09:05 AM
04-12-2006 04:28 AM - edited 04-12-2006 04:28 AM
You can export a report from DIAdem directly.
Just use a script like:
Call PICUPDATE()
PRINTLEFTMARG =0.592666666666667
PRINTTOPMARG =0.592666666666667
PRINTWIDTH =28.2857131958008
PRINTORIENT ="landscape"
Call PICPDFEXPORT("I:\CSE_machinedata_M2\"&Kmachinenum&".PDF")
Message Edited by themad on 04-12-2006 04:30 AM