Hi folks,
I need your help with downloading and running a pmc file from my host PC to PMAC. I do programming in VC++ 2005. I cannot run the .pmc file using my C++ code. I tried the function Download() in VC++ as 'pmacDevice.Download(dwDevice,"MOTIONPROG1.pmc", bMacro,bMap,bLog,bDnld,&pbDriverOpen);'
I attach the messages that I obtained in the UI of PEWIN32PRO2. I obtain the messages above the blue line when I download and run the 'MOTION PROG1.pmc' within Pewin32Pro2, and obtain the messages below the blue line when I try pmacDevice.Download(dwDevice,"MOTIONPROG1.pmc", bMacro,bMap,bLog,bDnld,&pbDriverOpen). It looks like I did not download MOTIONPROG1.pmc into buffer. When I use '&1b1r', I was running the previous downloaded 'MOTION PROG1.pmc' in buffer.
pmcDownloadinfo.PDF