X___ Posted May 24 Report Share Posted May 24 4 hours ago, gleichman said: Interesting Demo at NI Connect today. Link starts at NIgel demo. It's heavily scripted, but on face value, that looks promising. Quote Link to comment
ShaunR Posted May 25 Author Report Share Posted May 25 (edited) 11 hours ago, X___ said: It's heavily scripted, but on face value, that looks promising. I was mesmerised by the cheesy forced grin of the guy demonstrating. Why does AI type so slowly? I agree it's looking promising. It's at the level if an intern but actually listens to you. Linear coding is never the final solution. I expect it was tuned for very specific requirements but I was more impressed with it reading the emails and specs and interpreting them in context. Would suffice for Unit Test cases and feasibility prototypes. Looking forward to getting my hands on it. Edited May 25 by ShaunR Quote Link to comment
Jordan Kuehn Posted May 25 Report Share Posted May 25 The demo made me wonder if it could theoretically create drivers from spec sheets automatically. It seems like it would be a well bounded problem, create labview wrappers for the commands listed in the manual. Quote Link to comment
bbean Posted Friday at 07:55 PM Report Share Posted Friday at 07:55 PM On 5/25/2023 at 1:35 PM, Jordan Kuehn said: The demo made me wonder if it could theoretically create drivers from spec sheets automatically. It seems like it would be a well bounded problem, create labview wrappers for the commands listed in the manual. you can already do this in a limited fashion in python. This is a simple example from a single prompt but you can see where its going: https://poe.com/s/BEWvBcTIEkrVXzTezpza The manual was probably online when the model was trained so it already has knowledge of it in this example. But once the size limitations of the text entry increase, you will be able to just upload a manual. And here's a simple refactoring to make an abstract class https://poe.com/s/MJp4t75WVrA5MR5SiS8B On 5/25/2023 at 4:04 AM, ShaunR said: Why does AI type so slowly? I believe the way they work is they are predicting each character on the fly Quote Link to comment
X___ Posted Friday at 09:10 PM Report Share Posted Friday at 09:10 PM 1 hour ago, bbean said: you can already do this in a limited fashion in python. This is a simple example from a single prompt but you can see where its going: https://poe.com/s/BEWvBcTIEkrVXzTezpza The manual was probably online when the model was trained so it already has knowledge of it in this example. But once the size limitations of the text entry increase, you will be able to just upload a manual. And here's a simple refactoring to make an abstract class https://poe.com/s/MJp4t75WVrA5MR5SiS8B Actually that makes more sense: get an actually debuggable Python code and wrap it into a Python Node call. Un-commented spaghetti code is pretty much useless... The flat (single VI) LabVIEW generated code demo doesn't tell anything about the ability for this type of AI assistant to generate structured code. The first step is for NI to demonstrate that they can use AI to clean up (or expand/shrink) diagrams meaningfully. Quote On 5/25/2023 at 1:04 AM, ShaunR said: Why does AI type so slowly? I believe the way they work is they are predicting each character on the fly I hope not... at least if they are using the thing right. Quote Link to comment
acb Posted Tuesday at 06:33 AM Report Share Posted Tuesday at 06:33 AM (edited) Hey everyone! It's Alejandro from the keynote demo. Wanted to shed some light on Nigel and gather feedback from this important forum (my first post!). A little about myself: Stepped foot at NI in 2007 and had the honor to work on the LabVIEW language design and compiler teams alongside all the incredible folks you already know. In fact, Aristos Queue was once my mentor! Deeply fond of LabVIEW and all its users. Back to AI -- On 5/24/2023 at 11:48 AM, LogMAN said: Jokes aside, the copilot looks interesting but it needs much better integration to be useful for any of my day-to-day tasks. It needs much faster response time and it will have to show how well it can work with legacy and non-standard code bases that aren't developed with NI's portfolio and vision in mind. What types of day-to-day tasks would you want Nigel to help you with? And yes, I intend Nigel to help you with your hardware and codebases that aren't the latest & greatest. On 5/25/2023 at 3:04 AM, ShaunR said: Why does AI type so slowly? [...] Linear coding is never the final solution. I expect it was tuned for very specific requirements but I was more impressed with it reading the emails and specs and interpreting them in context. It types slowly because we are using GPT 4.0 under the hood, and the demo was live on stage. GPT 4.0 is about that fast, and it varies throughout the day; at night, it seems twice as fast. This presents a challenge that we are working on; we have lots of ideas to make the generation speed a non-factor. Nonetheless, I'm hopeful that GPT 4.0 will get faster over time, as Open AI fully transitions it out of beta, and as they buy more GPUs. It is possible to retrain Nigel with GPT 3.5 (what ChatGPT uses), but it does not perform as well. On 5/26/2023 at 4:10 PM, X___ said: Un-commented spaghetti code is pretty much useless... The flat (single VI) LabVIEW generated code demo doesn't tell anything about the ability for this type of AI assistant to generate structured code. Nigel is capable of using structures, documenting VIs, and creating subVIs, but we did not show that on stage to keep the keynote short & sweet and focused on the core message of spec-to-test (going from a spec sheet to a working hardware test in seconds or minutes). Nigel can do much more than what we showed. On 5/25/2023 at 12:35 PM, Jordan Kuehn said: The demo made me wonder if it could theoretically create drivers from spec sheets automatically. It seems like it would be a well bounded problem, create labview wrappers for the commands listed in the manual. Would you share a device you'd like Nigel to create a driver for automatically? That would be a wonderful test for us. Edited Tuesday at 06:42 AM by acb 1 Quote Link to comment
LogMAN Posted Tuesday at 07:01 AM Report Share Posted Tuesday at 07:01 AM (edited) 55 minutes ago, acb said: my first post! Welcome to the forums 🎉 55 minutes ago, acb said: What types of day-to-day tasks would you want Nigel to help you with? I haven't really thought about it as this was the first time I learned about Nigel (never thought anything like that is even remotely possible in LV). Still, I'm familiar with GitHub Copilot and Visual Studio's IntelliCode, which have great IDE integration. What I'm looking for is not so much an AI that writes my code (because I know how to do that), but one that accelerates my development process by suggesting changes in the context of my code. For example, to predict what I'm going to do and provide hints in the form of grayed-out suggestions I can simply accept by pressing a key (tab-driven-development 😉). Things like: When I place an "open connection" function, it suggests the corresponding "close connection" function. When I place several methods of a class or VISA or DAQmx, it suggests how to order them in a sensible manner (open, read, write, close). When I connect the terminals of a VI, it suggests to connect error wires as well. When I place error terminals it suggests adding an error case structure. Of course, there are more specialized tasks where a smart AI would also be really useful: Creation of driver libraries, just like your example from importing a PDF to generating code. Configuration of CLFNs Beautify/Cleanup my block diagram Suggest changes when upgrading to a newer version of LabVIEW Suggest icons for my VIs 😍 Derive VI descriptions from code Apply changes to a set of VIs (i.e., renaming them) Point out mistakes in my code (missing cases, unhandled errors, etc.) 55 minutes ago, acb said: And yes, I intend Nigel to help you with your hardware and codebases that aren't the latest & greatest. That's awesome. I hope we can play with it soon Edited Tuesday at 07:29 AM by LogMAN Quote Link to comment
ShaunR Posted Tuesday at 08:26 AM Author Report Share Posted Tuesday at 08:26 AM 1 hour ago, acb said: What types of day-to-day tasks would you want Nigel to help you with? HTML Help files (manuals). Documentation is by far the greatest resource hog and we should be able to get away from programmer created VI descriptions. But I don't just mean documenting VI's though. I also mean generating API references, menu layouts, including external references and collating examples with descriptive comments about their function and what they demonstrate (from the code in the diagrams). A far better DLL importer. The one we have currently is next to useless for 80% of DLL's. I'd like an AI that can do what Rolf does . It should be able to import the DLL and create the VI's containing CLFN's for complex structures (e.g strings nested in structures), callbacks (he, he), events and error handling. 1 Quote Link to comment
Popular Post dadreamer Posted 14 hours ago Popular Post Report Share Posted 14 hours ago (edited) On 5/30/2023 at 1:26 PM, ShaunR said: callbacks (he, he) It should also automagically install Visual Studio, write the callback wrapper, compile it into a DLL and connect it to the VI with a CLFN. Moreover it would be nice to have a .NET translator from textual code to G code, as the current way of calling .NET assemblies is too awkward. It may take 10 minutes to find a good combination of Assembly -> Constructor -> Method/Property, especially when dealing with the OS native API. Edited 14 hours ago by dadreamer 3 Quote Link to comment
Jordan Kuehn Posted 13 hours ago Report Share Posted 13 hours ago On 5/30/2023 at 1:33 AM, acb said: Would you share a device you'd like Nigel to create a driver for automatically? That would be a wonderful test for us. Here's one for you. The AXS Port is a modbus device that monitors power inverters. It would be great to feed Nigel the attached document and have it generate drivers/API for communication with the device. https://www.outbackpower.com/products/system-management/axs-port Another one for you, in a similar vein, but a little less straightforward. This is a Banner IO-Link Master that can communicate via ethernet/IP or modbus. An ethernet/IP driver would be great that could configure the device as well as the IFM DTI434 IO-Link RFID read head also linked below with attached documents. https://www.bannerengineering.com/us/en/products/industrial-networking---smart-i-o/io-link-masters/dxmr90-ethernet-io-link-master.html?sort=4#all https://www.ifm.com/us/en/product/DTI434 ifm-DTI410-20190125-IODD11-en (2).pdf dxmr904k.pdf axs_app_note.pdf 229732.pdf Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.