From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Datasocket on RT target

I am trying to acquire an image from an ethernet camera using an RT target computer.  The camera is attached to the same router as the host and target computer.  The camera has to be on a different subnet than the host computer for things to work (host & target subnet 255.255.0.0, camera subnet 255.255.255.0)
 
I used the Example Grab.vi from the Knowledge Base article "Displaying an image from the Web" ( http://digital.ni.com/public.nsf/websearch/B92648089952CDD386256D0F00792187?OpenDocument ).  The code runs fine on the host computer (displays image), but when I move it over to the Target, I get error 1181 "Protocol unrecognised by datasocket".  The URL works fine in IE
 
Anyone have ideas on what I am doing wrong?
0 Kudos
Message 1 of 2
(2,352 Views)

Hello RobDekker,

Did you have to download any type of driver to your host computer to get the images to appear?  I doubt this is the problem, but it would definately mean that you would not be able to communicate correctly. 

I found a knowledgebase that lists the protocols supported by datasockets on a Real-Time system.  It mentions logos, file, and dsp.  Since http is not one of the listed protocols, this is probably what is breaking the VI.

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

I hope this helps. 

Steven T.

0 Kudos
Message 2 of 2
(2,341 Views)