LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems using PCOMM32.DLL Delta Tau PMAC Driver Library

Are you doing dll calls, or using ActiveX with Pcomm server?
0 Kudos
Message 11 of 12
(2,066 Views)

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

0 Kudos
Message 12 of 12
(2,053 Views)