06-07-2009 12:33 AM
I am trying to connect to DataSocket Server in Java through LAbwindows CVI.
I am able to create a dll. Everything works fine with no compilation or run-time errore but when i run the native class DS_OpenEx fails to return.
If anyone can help me out with the problem.
Thanks
Solved! Go to Solution.
06-08-2009 08:15 AM
06-08-2009 08:29 AM
Hello,
Yes i can specify.
I am creating a native class in java that is linking to DS_OpenEx in CVI.
The dll is created successfully, when i exeute the native class it executes the DS_OpenEx and connection is established now. I changed the execution model parameter to Polling Model. But still it is not changing the value of the parameter that i wish to update.
What is happening is Connection is established the packets transfer gets updated but no change in the value of samplenum.
URL i am passing is "dstp://localhost/samplenum".
the methods i am using are
DS_OpenEx
DS_SetAttrValue
Any help would be highly appreciated.
Regards and Thanks
Rachna
06-09-2009 03:38 PM
06-10-2009 02:55 AM
Hello Adri,
Thanks a lot for replying. My code now is working perfectly fine.
Actually i had to set the execution model to Polling Model for my code to work on command line.
Than i decided to build a GUI in Java to interact with DataSocket Server in Labwindows CVI.
Now its working perfectly fine and updating and retriving values from the Server.
Thanks and Regards
Rachna