Jump to content

viSci

Members
  • Posts

    464
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by viSci

  1. Apologies for the bad example. GrokAI emphasized the importance of closing .net references which I blatently disregarded
  2. Example of camera grab using the Pylon .net API. (Credits: GrokAI)
  3. Asked GrokAI and got a working example...
  4. Hi Yair - Would you mind sharing some example code to grab an image using the Pylon .net interface?
  5. Or this...
  6. A customer asked me to create a powerpoint explaining the advantages of LabVIEW. While putting together the practical rationales, just for grins I asked Chatgpt to create a presentation explaining the philosophy of LabVIEW in a Zen sort of way. Here is what it came up with. Zen_of_LabVIEW.pdf
      • 6
      • Like
  7. The Gpower IOLink toolkit looks great but the cost is prohibitive. For $1000 I was inclined to give it a go but I would never saddle up to such a cost on a subscription basis and as you said they are also requiring a annual runtime license. What a disaster that would be for any of my customers when their critical systems stop working on Jan 1st. until they pony up their subscription fees. I think like you I will just dip my toes in the RESTful JSON waters and then see what it will take to generalize it.
  8. Now that we are NI/Emerson I would expect to see more connectivity in the automation sector. It seems that IOLink is a dominate communications standard that would be a good candidate for support in LabVIEW. IFM is one company that makes a ton of really cool sensors and networking hubs that are largely IOLink capable. It should be relatively straightforward to develop a restful IOLink interface using GET/POST with JSON formatted commands. I am planning on doing this and was wondering if anyone has gone down this path before. https://www.ifm.com/us/en/shared/technologies/io-link/select-products/product-configuration-pages/dataline-tee-cable-wiring
  9. What! Does lvserial acutally support regex termination strings? How is that accomplished? Is that capability built into an interrupt service routine or is it just simulated in a polling loop under the hood?
  10. This one slipped under the radar but I think is finally a viable starting point for an open source TestStand Lite that was imagined many years ago. https://github.com/Tom-Lu/TestLite
  11. viSci

    LuaVIEW

    Anyone know what ever happened to the late great LuaVIEW framework. I used it many moons ago and have an application for a scripting language that interoperates well with LV.
  12. viSci

    MLua

    Wondering if anyone has tried to use this LUA wrapper library. It looks very promising and would be a great open source scripting tool for the LV community. https://github.com/antonie-coetzee/GLue See attached pdf documentation MLua Help.pdf
  13. Later this afternoon I plan on remoting into the server. Could you suggest a specific MSC runtime to try?
  14. Greetings, a long running LV 2018/2020 app was recently migrated to run on windows server 2019 and am finding that I can no longer initialize the python script server. I have verified that my python 2.7.6 (32 bit) is installed correctly (BTW, it coexists with python 3.1 which needs to be on the machine for another non LV app). I have tried the usual things like running as admin, checking folder permissions, etc to no avail. Any ideas?
  15. Finally able to create a USB boot disk using a great program called Rufus and an iso image called Rescatux which like Hiren, is a pocketknife of tools and utilites to repair broken Linux and Windows installations. Thanks for all you help. I was able to reset the WES7 password. BTW - One thing that confounded me for awhile was that when the USB boots it presents as a blank desktop screen until a <CR> is entered on the keyboard at which point the USB drive becomes active again and finally starts running the iso software.
  16. Now that i am looking more closely at the NI LInux recovery boot, I can see that the status led is also flashing orange so I guess that is normal. Perhaps the Hiren boot with a windows 2000 image was booting but not able to display with its video driver.
  17. Tried your suggestion using Hiren Boot CD as well as several other similar boot loaders. The cDAQ restarts, is accessing the USB, then the status led blinks orange continuously indicating a boot error. Interestingly I tried using the NI Linux realtime recovery files I had on hand from another project and it actually booted to some sort of quasi linux command prompt. The NI recovery tool uses something called grub which I found is an open source linus boot loader.
  18. I have been given a cDAQ 9137 to reprogram and found that there is a forgotten windows password on this computer. I have tried getting to the bios (F10 or Del) but cannot even get that to work. Called NI but they were no help at all. Anybody have any advise other than reformatting and trying to reestablish the WES7 OS?
  19. Two of the most consummate software architects (AQ and Jack Dunnaway) in league with the worlds greatest technology visionary (Elon), so there is much to be optimistic about. Let's make LabVIEW multi-planetary and beyond...Ad Astra!
  20. It appears that in a built application, the Undo from the App menu works for all UI control value changes.
  21. I seem to remember that at one time the LV runtime did support a basic Undo functionality.
  22. viSci

    Fast Ping

    I have found that disabling the Nagle algorithm (using Visa Property TCP NoDelay) greatly improved the responsiveness of my tcpip communications and alleviated intermittent lockup between the raw socket ping and my TCPIP transactions.
  23. viSci

    Fast Ping

    So far, the best solution I have found is based on the Raw Socket Ping library where I can consistently achieve 50ms pings. Thanks Rolf! https://forums.ni.com/t5/LabVIEW/Ping-Ping-Ping-Native-Win2k-LV7-code/m-p/708672?view=by_date_ascending#M324556
  24. viSci

    Fast Ping

    Thanks for all the replies! I tried the ICMP approach courtesy of https://forums.ni.com/t5/LabVIEW/A-list-of-IP/td-p/4174564 but still cannot seem to get the timeout to work for values <500ms. IcmpSendEcho_Ping.llb
×
×
  • Create New...

Important Information

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