03-31-2009 11:36 AM
04-01-2009 03:09 AM
Hello
Thanks for your quick reply. I am using a dll call at the moment. The command i'm trying to call is: PmacDownLoadA() which according to the Pcomm32pro manual should have structure:
long PmacDownloadA (DWORD dwdevice, DOWNLOADMSGPROC msgp, DOWNLOADGETPROC getp, DOWNLOADPROGRESS pprg, PCHAR filename, BOOL macro, BOOL map, BOOL log, BOOL dnld).
I have attached the VI I have tried to use. However this crashes my Labview! I think it may have something to do with how I deal with the 2nd, 3rd and 4th inputs (I was not sure what these should represent). Also I have had to use a string for the file path and not a proper labview filepath input which I think may also not be helping.
Any help you could provide would be great!
Thanks
Martyn