madtofan
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by madtofan
-
-
Hi there!
So I tried this Websocket on a cRio.
The only thing that needs to be changed is the EOF,
I used the \r\n constant instead of CR\LF.
But theres one more problem that I am currently facing,
I cant access the svg file via web publish in the cRio. The svg file looks fine if I access to it via ftp.
But if I put it in the www folder and access via http, it comes out as text instead of graphics.
I tried a lot of method including creating a html file that calls the svg.
So far, none of them worked.
Currently using LabVIEW 2011 and Chrome ver 22.
LabVIEW, Websockets, and SVG
in Remote Control, Monitoring and the Internet
Posted
my bad.
I didnt notice the mime.types part
so i went into the cRio ni-rt/system/webserver/ folder and added "image/svg+xml svg svgz" into the mime.types file.
now it pops up fine.
thanks!