08-24-2011 12:16 AM
The company I work for has always used LookoutDirect with DirectSoft5. Since LookoutDirect is not compatible with Windows7, they have elected to begin using Lookout 6.5 and retire LookoutDirect. All of the hundreds of applications developed previously must be made to work on the NI Lookout. I purchased the driver from AutomationDirect that allows this and I am able to recvompile the old files so that they work on Lookout just fine on an XP machine. When I went through the same process on a Windows7 machine I received the following error:
Lookout Process File Compiler Version 6.5 (build 49153)
Copyright National Instruments111 1992-2009 All rights reserved.
E:\J074-Cal_Tech\HMI-J074\hmi_cal_04-14-11.lks
E:\J074-Cal_Tech\HMI-J074\hmi_cal_04-14-11.lks(108): error: Class not found: DirectLogic
E:\J074-Cal_Tech\HMI-J074\hmi_cal_04-14-11.lks(112): error: Class not found: DirectLogic
E:\J074-Cal_Tech\HMI-J074\hmi_cal_04-14-11.lks(20): error: Object is not defined: DRV1
E:\J074-Cal_Tech\HMI-J074\hmi_cal_04-14-11.lks(54): error: Object is not defined: DRV4
I looked at lines 20, 54, 108 and 112 and did not find anything wrong. Why can I not get this driver to allow Lookout to compile?
08-27-2011 02:04 PM
I believe that those lines reference the DLPlus driver object or the DirectSofts driver. Based on my experience you will be better off using the OPC servers that ship with Lookout 6.5. These work fine with Windows 7 and also provide all the necessary drivers for the Direct logic PLCs.
We have encountered one issue using the NI OPC servers with Windows 7 on a 64 bit machine. We had to enable a particular service in Windows 7 to be able to easily switch to the OPC server configuration while running lookout. This may be due to the way we set permissions of the Lookout user. I'll have to look up the details if you need them. Over all the NI OPC server is more stable than the DL Plus driver was.
Jim Besselman