Search the Community
Showing results for tags 'shared variable library'.
-
Hi I should connect to PLC LS .i can’t use OPC-LS so I decided to make 3 file. One of them (opc.vi) to connect to plc and another (main.vi) to show of result of testing and For relation between PLC and Main program I use Shared Variable Library and make “OPC-Share.lvlib”. When I make these 3 file and run in the LabVIEW and build EXE file, every thing is OK, but when I build Installer file, this not work correctly. I set these items : . . Project . . .Main.vi Propertise . . .OPC.vi Propertise . . .Deploy ALL . . . . . . . . . I use this code in the main.vi for run opc.exe after build EXE file : . . . . . . And for delopy and undelopy OPC-Share.lvlib I use these codes in first and end main.vi file : . . . . . . I use Like these codes in the OPC.vi. But after build installer file for distribute programm and use in the another computer , this erroe shows : “Initializing... Calculating dependencies... Checking items for conflicts. This operation could take a while... Preparing items for download. This operation could take a while... Deploying My Computer Deploying OPC-Share.lvlib\\127.0.0.1\OPC-Share deployment failed (error: -1967362042, IAK_SHARED: (Hex 0x8ABC7006) Unable to start service.). Deployment completed with errors Do you wish to run the application anyway or abort the execution?” and after install in another computers this error shows : . . . . . . help me please