Jump to content
pgstein104

Web UI Builder General Questions

Recommended Posts

Hi All,

I am fairly new to any kind of Web based development and am trying to teach myself how to create a webservice and thin-client using LabVIEW 2009 and the Web UI Builder appliciation. I have followed the tutorial on how to create a thin-client app that connects to an existing web service provided by NI. I also completed the tutorial on how to create a webservice in LabVIEW 2009 and access it from a web browser (the one where you add two numbers and it returns the result in html).

My question is; is there anyway I can create a webservice in LV2009 and import it into my Web UI Builder project? Anytime I try to import a webservice I made, I get a 'LabVIEW Web UI Builder cannot connect to the server" message. Is it not possible since the webservice would be hosted on my localhost and the Webbuilder app is coming from the internet? What I really want to do is be able to create a webservice and import it to play with in Web UI Builder. I have tried creating a clientaccesspolicy.xml file, but with no luck. What would be the next logical step?

Again, I am a fairly advanced LabVIEW programmer, but releatively new to web-based development. Any suggestions would be greatly appreciated.

Thanks,

Paul

Share this post


Link to post
Share on other sites

Could this be your problem?

"Previously LabVIEW Web UI Builder could not import NI Authenticated Web Services. March 15th National Instruments pushed an update that allows LabVIEW Web UI Builder to import LabVIEW 2010 SP1 authenticated web services."

From:

LabVIEW Web UI Builder NI Auth Support Documentation

Share this post


Link to post
Share on other sites

I did finally get it to work correctly. It had something to do with how I was addressing the web server.

Now I am trying to make an application that runs on a web server that I can 'poll' for information, but keeps running. An example would be connecting from a web browser to monitor a plant of some sort. The only thing I could figuere out was to use global variables to pass out the information. Is that my only option? I tried using queues, but the data would not pass through.

Thanks,

Paul

Share this post


Link to post
Share on other sites

Also, (and sorry for all of my questions), has anyone expierienced this error before? I can connect to the web server, but it cannot retrieve the description.

post-17342-0-60465300-1308582547_thumb.j

Share this post


Link to post
Share on other sites

Also, (and sorry for all of my questions), has anyone expierienced this error before? I can connect to the web server, but it cannot retrieve the description.

post-17342-0-60465300-1308582547_thumb.j

You should post these questions on a forum where more Web UI Builder users and developers hang out:

http://forums.ni.com/t5/LabVIEW-Web-UI-Builder/bd-p/480

I strongly suspect you'll get faster, better answers there.

Share this post


Link to post
Share on other sites

You should post these questions on a forum where more Web UI Builder users and developers hang out:

http://forums.ni.com...uilder/bd-p/480

I strongly suspect you'll get faster, better answers there.

Thanks. For anyone interested, I have moved the thread to the NI board here:

http://forums.ni.com...ce/td-p/1610968

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.