Jump to content

Jon Kokott

Members
  • Content Count

    186
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Jon Kokott

  1. I'm using this library, but I've had to modify alot of the variant related attributes for performance and data handling. Most of what I have removes the OpenG stuff and directly casts types. It will also properly preserve data names/typing unlike the current version without extra variant to data casts. I don't really want to go through all the data types that I'm not using, but If you're still interested in maintaining this its probably a worthwhile upgrade. Get as Variant logic will change to look more like this surely there will be some difficul
  2. Not CLA restricted: https://decibel.ni.com/content/docs/DOC-38927 You'll have to be a CLA to get the power point, but thats all that is there, and a link to what I just posted. Trying again... silly NI redirects.... https://decibel.ni.com/content/docs/DOC-38927
  3. I use websockets to do this. This is the same code I presented at the CLA summit -- without the SSL encryption/authentication server. At the summit I had about 50-75 clients at a given time messaging them all updates at 100 ms (packets were smaller than the TCP frame size, I didn't' really notice any kind of CPU spike at that point on my laptop) WebSocket.zip
  4. The labview webbrowser stuff is pretty crappy. Use a .net webBrowser control, navigate, get the document and you can pretty much do what you want using standard .net calls, and really gives you better control over the browser (which is IE version on your machiene) At this point you can pretty much google how to get stuff, just look to use visual basic or C# and follow the .net calls putting them in labVIEW. Enjoy! Get Webpage Stuff.vi
  5. If anyone stumbles across this, a better method is to use the windows .net calls. https://msdn.microsoft.com/en-us/library/system.diagnostics.process%28v=vs.110%29.aspx its probably the same thing system exec does under the hood, but you get asynchronous control of standard in, out, and err. I'm certain the performance of this will crush anything else, and all the software is already on your windows machine. ~Jon
  6. For the only Xnodes I created/actually used, I created a method where you could right click on the Xnode and replace the Xnode with a subVI containing whatever the xnode created. Its really straightforward to implement, I'll try to dig it up but its been a while and I haven't been maintaining it.
  7. Good luck with those Xnodes, they're pretty tricky. I used some tools available on this forum that were pretty helpful, I just never had the confidence to put one in a project someone paid me for. ~Jon
  8. I think its because your terminal on the xnode isn't really a typedef but just an adapted terminal. Maybe try opening the typedef itself (by using the string of the actual name) and then getting the path. So somethign like: control -> Value-> Strip out typedef name from variant -> open vi reference (with the string name in same application ref) -> then get path. ~Jon
  9. It would be easier if you simply posted the code, however, I suspect that the class going into your init function is not the same as the one coming out. Other LVOOP comment, take a look at the Actor Framework. It comes with labVIEW, and I think will take you to a better place, however, it is probably a difficult place to start off with LVOOP as some of the conceptual aspects of it are more difficult than the code you've presented.
  10. AHH VI.lib just got password protected!!!! just kidding. thanks.
  11. I need to automate password protecting a large amount of VIs. I can't seem to find a way to do this easily, anyone know how? ~Jon
  12. if you are using plink to create an ssh tunnel, I assure you that it is being encrypted. in fact the whole idea of ssh tunneling is to perform the encryption/decryption. I would seriously doubt you'd be able to outperform putty's implementation using a labview based ssh implementation (there are ALOT of hours of development and test in that application.) If you want to try a different ssh client, openssh on cygwin is a really solid ssh program as well. (BTW I'm pretty sure that plink is open source, its just putty for the command line.) Lastly, if you want to test for encryption, use a
  13. I believe that the actor framework shows this same behavior, does anyone have a way of aborting actor framework (actors) when you forget to send the stop message? ~Jon
  14. Un-abortable from VI Server: Start Asynchronous Call Prepare to call and forget 0x80 I'm trying to abort call and forget VIs that don't get shutdown properly. I'm launching using 0x80 (call and forget) Problem is, I can't seem to find them in memory using VI server. If I "trick" labview and just start opening a VI by name, and put in the correctly (guessed) clone name i.e. dameon.vi:3 and it just so happens to be the right name I can find it. Why isn't it appearing in all VI's in memory? Is there any way to find clones of a VI through server? Stra
  15. Interesting, I take it you're not drinking the AF coolaide? The arguement you're making hasn't been my experience, and one of my favorite applications of the AF IS a complicated Subpanel architecture. If I had to knock the AF it would be more for removing compile time type safety on methods than anything else.
  16. Hmm, It sounds like you want the parent to have a partial abstract. (that would be C# lingo, where partial means the definition of the implementation of the parent is incomplete, and abstract means it must be overridden; furthermore I've never done this in C# so I'm not even sure if its legal) You'd can (or cannot) complete the parent implementation to match your (now known) override of the abstract implementation, but once you do that you'll have the same interface for all children of that parent (which is what I think you're trying to avoid) ANYWAY In labview, if I wanted to do
  17. Good deal, double checking the firewall/Norton. Symantec Endpoint has cause considerable trouble for me before, it probably yanked the connection. Thanks for the insight. ~Jon
  18. This is on a TCP write command. I'm getting an error code 62 -- "" Error 62 occurred at an unidentified location Possible reason(s): LabVIEW: Serial port overrun error. ========================= LabVIEW: The system caused the network connection to be aborted. "" This is interface is not being taxed terribly heavily, maybe 1Kb/s on total of 3 sockets for one Ethernet connection, and 3 other ethernet connections with only 1 active socket (pretty slow on these ones.) The bizare thing is that once this occurred, I lost every single socket on the entire computer for about a minute, then
  19. Instead of using the "menu launch information.vi" (which I'm totally unfamiliar with/do not have) try using an application (read) property node -> App.MenuLaunchApp to get the calling application reference. I also use App.MenuLaunchVI to get the name of the VI in memory, but you can only open that vi in memory when wiring the application reference from teh app.menulaunchapp. I think that the property node I use is not available by browsing. ok here it is GetActivationVI.vi
  20. Is the application reference of the open VI reference VI wired with the same application reference it exists in?
  21. I did this exact thing in Labview 2010. It was super annoying because then a popup would occur during the build saying that the vi had been modified (obviously) which occurred like a half hour into the build. I cant upload files right now, but all I did was modify a string constant with a new date and save it (using Save.Instrument invoke node.) I was pretty careful about closing all the references, but I doubt that is what your problem is.
×
×
  • Create New...

Important Information

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