new to Lava, so (kindly) let me know if I screwed up my post
I have a multi-user web application controlled by a LV web service. I keep track of all the users through the web service > sessions VI's. This is pretty cool and works really great. I can give each user different levels of authentication, force them to use SSL, track where they go and when throughout the website, etc.
Now what I'd like to do is keep track of when their session expires. Obviously I can provide a "Logout" link on the client-side which ultimately calls the "Destroy Session" VI, but I can't ensure that all clients will click the link to log out (e.g. how many times do you really sign out of gmail verse just close the browser?!)
What's the best way to catch the session timeout event that is specified during "Create Session" VI? It appears as if I need a "LV Web Service Request" object to even call the Destroy Session VI, which makes matters much more difficult it seems. Is this even possible?
Thanks for the help
NI week approaches. I'm doing a session on "Web Tech for Test and Automation" on Thus @ 2:15. During it I'm going to show off some open source LV Web Service code. If anyone wants to give feedback you can find the reuse code here. Any feedback is appreciated. It requires installing 3 packages and LV 2013 or later. Cheers.
I've developed program that calls subvi that queries data from MySQL data base. It works fine till I publish it as a web service. While running program, I receive errorCode and errorDesc from subvi as follows:
errorDesc=NI_Database_API.lvlib:DB Tools Open Connec (String).vi->checkLog.vi->vigateway.vi->vigateway.vi.ProxyCaller<ERR>ADO Error: 0x80004005
Exception occured in Microsoft OLE DB Provider for ODBC Drivers: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified in NI_Database_API.lvlib:DB Tools Open Connec (String).vi->checkLog.vi->vigateway.vi->vigateway.vi.ProxyCaller
It happens on LV 2012 and 2013. I've tried also with wi-fi switched off and it's the same. ODBC is supposed to be properly configured (it works for undeployed program). Everything is fine with Web Server configuration. VI works when it is run as application and web service but the problematic is VI I attached.
I'd be grateful for your help.
Hi, I am trying to tabulate data into a form such that i can display data points from a signal into an array that ultimately can be displayed graphically in a restful web service.
Iv'e been able to simulate data via a waveform indicator using a simple simulate signal vi, but i can't seem to find a solution anywhere that will allow me to extract and display points from a signal from within a simulation loop.
I've tried using the indexer funtion which seems to be limited and using the collector funtion which I am struggling to get to grips with.
If anyone could help me find a solution or give me advice on how to go about solving this problem I would appreciate it so much!