LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

datasockets

hi,
i was trying out the example progms DSReader.vi and DSWriter.vi.these two vi was run on one machine say mach A while the data socket server was on the mach B.
i entered the URL of the two vi's as dstp://ip address of mach b/wave
the data socket sever manager was configured as
administrators:local host
default readers:everyhost
default writers:everyhost
creators:local host
sample group:every host
new group:every host

but when i run the above two VI's
i get the following error

Error 1101
Possible reason
insufficient priviliges to read,write or create an item in DSserver

Regards
Sithara
0 Kudos
Message 1 of 9
(4,045 Views)
Hi Sithara

If the two VI's are on one machine and the DS Server is on another then your URL is correct, but the settings on the server manager aren't. You have to change the creator settings. This setting says, which machine has the right to create dynamic items. So add the IP-Adress of the machine where the VI's are running. Or to test it easy: Set the creator setting to "everyhost"

Luca
Regards,
Luca
Message 2 of 9
(4,051 Views)
Sir,

My requirement is to built an Interactive webpage using Datasockets and can be accessable from any PC.

I followed the Document named "Building an Interactive Web Page with DataSocket™" from National Instruments. I created a .htm file using VB6.0. I can able to open this file and connect to Datasocket server in my PC and its working fine.

Now I need to open the .htm file from the remote PC through HTTP. How can I do that?

In the document "Building an Interactive Web Page with DataSocket™" they have specified about HTTP server. Actually what is HTTP server and where it is located?

I used the following settings for Datasocket manager in my PC.
administrators: localhost
default readers: everyhost
default writers: everyhost
creators: everyhost
sample group: everyhost
new group: everyhost


Please clear my queries that will help to complete my job as early as possible?

Thanks,
Ramkumar. D
Engineer.
Thanks,
Ramkumar.D
QuEST, INDIA.
0 Kudos
Message 3 of 9
(4,005 Views)
Ramkumar,

An HTTP server is just an internet server. I am including a few links that may help you to understand how this works:

http://digital.ni.com/public.nsf/websearch/C14BBD0BA2F0BB3086256C62007E34B5?OpenDocument

http://forums.ni.com/ni/board/message?board.id=170&message.id=13584&requireLogin=False

http://zone.ni.com/devzone/conceptd.nsf/webmain/b30d7ba3f8ffb930862567f2006a90bb

I hope these help. Have a great day!

TylerS
0 Kudos
Message 4 of 9
(3,990 Views)
Sir,

Thanks for your response.

I got an idea about HTTP server.

I tried creating a web page using Web Server in LabVIEW. I created test.htm file in "www" folder, then I opened it in Internet Browser with "http://localhost:8090/test.htm". It open the Frontpanel of the test.vi. But sometimes "Client doesnot have access to the specified VI" comes in the screen. What is the reason for that?

Kindly help me regarding this.

Thanks,
Ramkumar. D
Engineer
Thanks,
Ramkumar.D
QuEST, INDIA.
0 Kudos
Message 5 of 9
(3,978 Views)
There are one of two issues that could generate that messgage. One is that the server-side configurations are not correct to allow the client access. The other is that more clients are trying to access than licenses that are available. LabVIEW comes with one remote panel license, so only one client should be able to access at a time. Here is another discussion forum post that gives a link to a useful document on this topic:

http://forums.ni.com/ni/board/message?board.id=170&message.id=25973&requireLogin=False

See if this helps out.

TylerS
0 Kudos
Message 6 of 9
(3,963 Views)
Sir,

Thanks Tyler. Thats fine. I got it.

regards,
Ramkumar. D
Thanks,
Ramkumar.D
QuEST, INDIA.
0 Kudos
Message 7 of 9
(3,946 Views)
Tyler,

What should I do if I need to access the Server from more than one client at a time?

Thanks,
Ramkumar. D
Thanks,
Ramkumar.D
QuEST, INDIA.
0 Kudos
Message 8 of 9
(3,944 Views)
You would need to purchase additional remote panel licenses from NI. Actually, what I told you in the last post was not completely accurate. The Full Development system comes with 1 remote panel license. If you have the Professional Development package, it comes with 5 licenses. If you need more than that, you can by packages of 20 or 50 licenses, but they are not additive. This means that if you currently have 5 licenses and buy a package of 20, you have 20 licenses, not 25. Here is a link to the product page for remote licenses:

http://sine.ni.com/nips/cds/view/p/lang/en/nid/11017

TylerS
Message 9 of 9
(3,928 Views)