Jump to content

Bruniii

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by Bruniii

  1. Hi, in my code I'm using "Spline Interpolant.vi" and "Spline Interpolation.vi" (the last one in a for loop) to interpolate an array of 11 elements and the final array has 501 elements. The time required (on my pc) is ~40 microseconds. I have to do the same operation thousand of times for every measure and, every time, I need to execute also "Splite Interpolant.vi" because the original array will change. I have tried others interpolation method available in LabVIEW but the time required is the ~ same or more; I don't know if there is something else I can try to do to increase the speed of the interpolation. But, at the moment, the time budget between two consecutive measure is very limited. I have looked at the code of the two vi's and, from my understanding, they are not calling some C/C++ primitive to calculate the 2nd derivative and interpolate; instead it looks like pure LabVIEW till the end. I found this C++ implementation https://kluge.in-chemnitz.de/opensource/spline/ but it's a "header-only" library and I don't know how to call it from LabVIEW without dll file. Anybody here can help me? can I expect a decrease of the required time? The linked library is just an example, I'm open to any other solutions/library/dll. Thank you. Marco.
  2. I had missed the talk, is it possible to watch it on demand?
  3. Hello, first of all: I'm new to web server in general (non only labview web server)! Starting from the official examples now I managed to realize very simple web server with two methods and SSL communication enabled; it' only a small test that I'm using to understand the basic, than I will create the fully featured one and implement it in my main application. I'm stuck with the authentication aspect of the web server. I was able to create a group and a permission, set a specific method to accept communication with this permission (auth with username/pw); but my understanding is that, choosing this type of authentication, only request from Internet Explorer (the only browser that's still supporting Silverlight) or from a LabVIEW client will work. In the final application the request to the LabVIEW Web Server will be performed from a client coded in python. Now I'm trying to configure a LabVIEW Web Server with API-based authentication. Unfortunately, even a simple LabVIEW client cannot successfully communicate with the server. Here you can find some screenshot of the LabVIEW WS settings, the web-based Configuration and Monitoring, the block diagram of the client and its front panel with the reply from the web server. The LabVIEW client works fine with the same GET string when the server has no authentication or the username/pw. When I try to use the API key solution the response to the client from the server is 403 - Forbidden. Any help? Thank you very much! Marco. Web server - security of the method getDynamicData. "Require API key" selected. Web server. URL Mapping of the method "getDynamicData" Web-based Configuration and Monitoring. Web services API key Block diagram of the LabVIEW client Front panel of the LabVIEW client
×
×
  • Create New...

Important Information

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