11-08-2007 01:17 PM
11-12-2007 02:03 AM
Hello Mike,
I amtesting the downloaded zip example and added a few minor alterations to see what is happening.
I added a second loop to see if Labview is hanging or the shared variable. If there is an error I display it but after that I clear the error and attemp to continue.
Deployment must work by using the invoke node, as I understood.
The answer to the prompt for the SVE path is to the server shared sv_lib.lvlib (which runs in the VI version).
I tried other paths and libs just in case, but no success.
Maybe you can try the attached zip.
Frank.
11-12-2007 06:29 PM
11-13-2007 10:00 AM
Hello Mike,
I enabled debug in the advanced settings of both client and server. Running and debugging on the server works but on the client debug is not possible. ( after connect, debug waits forever till I end the client.exe ,which is still hanging, then debug reports "Failed to connect to the remote application").
Looking at the Variable Manager, I can get variables in the watch list (by copy /past the lvlib), which shows variables are active (see attachment), but I cannot get the processes in the Variable Manager Tree in the normal way , as I automatically would see in the VI version. Maybe this is a lead for you?
After searching for days, trying all sorts of ideas, I don't know where to look now. I hope you can help out.
Frank
11-14-2007 06:46 PM
11-15-2007 04:25 AM
Hello Mike,
Thanks for the suggestions. Unfortunately I still have the same problems+1 new discovered.
Is there a fundamental problem with the Shared Variable Engine?....I guess not.
In sted of addressing the shared variable, I made an other client using DataSocket addressing, which also uses the SVE if I understand correctly. This works fine on my PC and also on an other remote PC, after running the installer for this application.
Is there a fundamental problem with programmatically deploying shared variables and building an executable?....I guess yes.
Sequential tryings using the example method, shared variable addressing:
1. remove the invoke nodes in both server and client, manual deploy all in project, run Variable Manager >all processes are seen in the Tree, run VI version, no problem.
2.Build executables, Variable Manager still active, deploy all again, run server.exe...>now the server also hangs just like the client! Exit the Variable Manager, deploy all again, run server.exe...runs with no errors, now run Variable Manager,refresh...no process in Tree! Client still hangs. Placing the shared variables in a case statement makes the client run untill I activate the case statement, ...client hangs as before.
3.Running the client.exe on a remote PC with programmatically deploy (manualy is not possible), in spite of above problems, manual deploy all on my PC,on the remote PC browse to my PC, after entering my PC no path and items to choose. (maybe I am doing this wrong)
4.Just for "fun" changed the Shared Variable property to "target relative" comes with an other new problem; "unable to build due to "broken VI" ,although there is no broken VI seen. Setting back to "absolute" makes build possible again. **strange thing is it not?**
I hope it is clear what I discribed above and hope you can help me.
Regards,
Frank
11-16-2007 05:45 PM
11-19-2007 10:11 AM
Hello Mike,
Things I tried;
1. Re-install Labview (without un-install) on my PC...no results
2. Un-install Norton Anti-virus.. no result, re-install Norton anti-virus...no result
3.Run client with frontpanel binding. Fails with Application error instruction 0x7784298a in mem loc 0x1000009c, written failed (Dr.Watson event ID 4097 in log file)
4.Installed Labview 8.5 from DVD on a Windows XP Laptop, copied the project, ...Build warning,..removed files, tried to build new application.exe but the only item which appears is"new resource distribution" , I cannot build an executable or installer etc. , so ApplicationBuilder is not included? Before Labview 8.5 , I had Labview 8.20 Full Dev.System and Labview 8.20 Application Builder seperately. After automatically received Labview 8.5 ,I received the message that Application Builder is included (no seperate delevery) but reading in the help shows that only Labview Prof.Dev.System has Application Builder included, NOT Full Dev.Sys.(which shows in the start-up logo). It seems to me that N.I. update procedure failed resulting in all these strange problems, if so, I hope N.I. will send me the complete version a.s.a.p.
Frank
11-20-2007 04:28 PM
12-07-2007 07:49 AM
Hello Mike,
It took me a while but there is some progress. I did what you suggested and installed on an other WinXP Laptop and on an other Win2000Pro machine Labview 8.5+RT module.
Eventualy I got both machines working client and server on local machine. Communicating between the two PC's took me again some time. The Firewall is not cooperating with me so I made a share folder for the server and added full rights to it. On the WinXP machine added to the exceptionlist tagger.exe and lkads.exe. Check and set Dcomcnfg settings etc. Everything works fine.
For my own PC there is little progress. Running client and server on local machine still hangs the client. Running the server on my machine and the client on an other machine works fine! Vica versa also works fine! ??? I completly removed and re-installed Labview, run RegClean,RegScrub,switch off Symantec virus scanner and many other tryings. Maybe I forgot to set or unset a property somewhere? I am afraid that I have to re-install Windows and everything else, unless you have another brilliant idea?
regards,
Frank