Jump to content

pgstein104

Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by pgstein104

  1. Thanks. For anyone interested, I have moved the thread to the NI board here: http://forums.ni.com...ce/td-p/1610968
  2. 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.
  3. 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
  4. 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
  5. Hi All, I am attemping to buld an executable from source code (LV2009) that calls two seperate custom .lvlibs. The problem is when I build it, it creates the exe along with two folders containing all of the vi's in those libraries. Is there a way to roll them into the exectuable? I figuered this would be really easy but i have had no luck. Any help would be appreciated! Thanks, Paul
  6. Unchecking 'Use LabVIEW 8.x file layout' worked for me. Thanks alot!
  7. Hi All, I am building an executable that includes two custom llbs that were built. The problem I am having is that when it is built, I get two folders with the llb name filled with all of the vis. Is there anyway to just wrap them into my executable? I would think it is easy, but I can't find a way to do it. Thanks, Paul
  8. I just ended up writing my own. Thanks again for your help. Paul
  9. Thanks for the input. What I am planning on doing is what you suggested, but I was going to upload the new executable to a folder based on the time/date. You don't happen to have a VI that will create a directory? I know the FTP command is MKD and I can write it myself, but if it is already done there is no point in re-inventing the wheel. Thanks, Paul
  10. HI, I am currently updating a real-time application from LabVIEW 8.5 to 2009. In LabVIEW 8.5, I would reboot the controller, delete the exe, ftp the new exe, and then programaticaly start it using vi server. The problem I am running into is the following error: LabVIEW Real-Time: VIs built into executables cannot be accessed through VI Server calls. Use Source Distributions to dynamically call VIs on Real-Time targets."Apparently, you can no longer call a VI from an executable using VI Server in LabVIEW 2009. Using a source distribution is not an option, it must be an exe. Does anyone know a good way I can get around this? Does anyone know how to do one of the following: 1) Stop an exe running on the real-time programmatically. (This way I could delete it, place my new one on the real-time, reboot, and then have it boot on startup) 2) Start an exe on the real-time programmatically (not using VI-Server). (Reboot to kill the exe, delete it, place the new one on the real-time,start it programmatically) 3) Any other ideas on how ot deploy and run my exe. NOTE: Per project requirements, I must deploy a new executable at the start of my program. Any suggestions would be great. Thanks, Paul
  11. Hi All, I am trying to get a Velocity curve from an accelerometer in LabVIEW. The accelerameter is in G's, and I convert it to m/s2 and then take the integral of it to get velocity curve. The problem I am running into is that my entire curve is always sloped one way or another. is it something I am doing wrong with my LabVIEW functions? I am attaching the VI i have written to derive it (Written in LabVIEW 8.5). You see a sharp aceleration at the beginnning, a sudden decleration with a rebound and finally a stop. The acceleration data all adds up, and so does the velocity data except it is shifted downward. Any help anyone could supply would be a huge help. I am in a bit of a bind with this one. Why is the data not a staight line (except for when the object has velocity)? Thanks, Paul Convert Acceleration to Velocity.vi
  12. That did it! Thanks alot. My back-up plan was to replace all spaces with '?'s and convert them back in my macro. Thanks!
  13. Hi guys, I am trying to call an OpenOffice Macro from the SystemExec.vi but I suppose this could be a general question as well. The problem I am having is the macro also has a parameter that is a path with spaces. I cannot get the path to work no matter what I try. if the command line is: cmd /c "C:\Program Files\OpenOffice.org 3\program\scalc.exe" macro:///IES13148.Module1.PrintDocument(C:\test13.csv) it works wonderfully. But if the argument to my macro has spaces it will not work. examples: cmd /c "C:\Program Files\OpenOffice.org 3\program\scalc.exe" macro:///IES13148.Module1.PrintDocument(C:\Documents and Settings\test13.csv) cmd /c "C:\Program Files\OpenOffice.org 3\program\scalc.exe" "macro:///IES13148.Module1.PrintDocument(C:\Documents and Settings\test13.csv)" I have tried putting quotes around everything I could think of. Is this just a limitation of what I am trying to accomplish? Or am I missing something. Any input would be appreciated, I am spinning my wheels on what should be a simple thing. Thanks, Paul
×
×
  • Create New...

Important Information

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