08-10-2005 12:31 PM
08-10-2005 02:36 PM
08-15-2005 03:09 PM
10-25-2005 06:59 PM
Brian:
I think I am experiencing the same dll-related issue that member Nkdnihil wrote about regarding problems using Delta Tau's pcomm32.dll driver library. Reading your response and then his, it seems your example VI lead Nkdnihil to a solution!
Unfortunately, when I attempt to open your
PMAC status.vi
that you supplied, my 6.0.2 LabVIEW complains that it cannot open the 7 version. Might you be so kind as to save it in an earlier version for me?
Sincerely,
Jordan
10-26-2005 07:16 AM
10-26-2005 01:44 PM
Brian:
Much appreciated! After looking at your example, it turns out I was doing the DLL call "correctly", except that I was calling the "wrong" function! Instead of calling PmacGetResponseA, I was calling PmacGetResponseExA. It seems that in this latter case, a dummy string of arbitrary-length does not work for input as maxchar. It seems that one must know precisely the length of the response string and use this for maxchar. If so, that seems rather non-useful for my application and practically causes labview to crash frequently! Delta Tau defines this latter function as:
"PmacGetResponseExA () always matches the command string with the response string or else it times out."
The former function does not have this restriction and I suspect it is why it works with your approach.
Many thanks,
Jordan
05-14-2007 08:49 AM
Jordan-
Where did you find the definitions for the function calls?
Brian
05-14-2007 11:45 AM
05-14-2007 12:14 PM
03-31-2009 09:51 AM
Hello.
I am having a similar problem, but with the PmacDownloadA() command in the PMAC Driver library. I am trying to download .pmc text files (containing motion programs) via labview. However I cannot get the connections with the driver library correct. Any ideas??
Thanks
Martyn