List of Contributions

CodeAssist

Contact Details

CodeAssist


My Content

1 to 20 of 50+ total
Posted By CodeAssist Apr 17, 2026 08:15:38 AM
Found In Egroup: Advanced Software
\ view thread
Hi @LorenzoK. Nice of you to share a great solution! Just a reminder that you can place your code snippets here on Engage into a special container using this button when writing the reply: Select formatting for C# and it will be easier for folks here to read the code. ------------------------------ ...
Posted By CodeAssist Apr 15, 2026 04:40:03 PM
Found In Egroup: Advanced Software
\ view thread
Windows cannot be invoked like a panel or dialog box, correct. Multi-window runtime is still not supported for the native engine. The LoginWindow shown above is a unique case. If there is a window assigned there, the native engine will load it first (at the start of runtime) to facilitate initial login. ...
Posted By CodeAssist Apr 15, 2026 10:24:24 AM
Found In Egroup: Advanced Software
\ view thread
During our first live event last month there was a presentation on little details of Optix, like attaching a project-level event to a session-level object (MainWindow). There may be other things in the presentation you find beneficial. See here. It starts at the 7:07 mark. ------------------------------ ...
Posted By CodeAssist Apr 14, 2026 03:55:00 PM
Found In Egroup: Advanced Software
\ view thread
Yes, they can be installed on the same machine and you can start having some of the fun, too. Optix Studio will try to reach out to the Internet for things (like attempting to connect to your MyRockwell account) but this will just result in some errors or warnings in the logs. It is still desktop installed ...
Posted By CodeAssist Apr 14, 2026 02:28:31 PM
Found In Egroup: Advanced Software
\ view thread
The Optix runtime? Sure. If you want to connect to it from Optix Studio on a different PC to re-deploy/update the runtime, you'll need TCP port 49100 open too. Optix Network Ports ------------------------------ Data Science Technical Consultant Rockwell Automation ------------------------------ Please ...
Posted By CodeAssist Apr 14, 2026 10:48:53 AM
Found In Egroup: Advanced Software
\ view thread
You're doing more or less the same thing I did. See the very bottom reply in this thread. The keyboard object is initialized at the start of the runtime, as you have found. To capture when the keyboard is attached to a new variable, you therefore cannot rely on the Start method. However, there you can ...
Posted By CodeAssist Apr 14, 2026 10:14:45 AM
Found In Egroup: Advanced Software
\ view thread
You can check the Smart Objects connection via the status variable. Click the specific instance of Smart Objects (here DataReady). In the properties you will see the Status variable. When its value is 2, the connection is good. When it is 1, the connection is bad. ------------------------------ ...
Posted By CodeAssist Apr 14, 2026 09:18:08 AM
Found In Egroup: Advanced Software
\ view thread
@Ackermans and @tsman-JamesH, the min and max value properties of a spin box are not taken into account. The keyboard gets connected only to the underlying variable, whether it is linked to a spin box, an editable label, or something else. So, the min/max can only come from that variable and if that ...
Posted By CodeAssist Apr 14, 2026 07:04:00 AM
Found In Egroup: Advanced Software
\ view thread
Yes, please share more details because what you're describing isn't clear. What are you referring to as "animations"? Also, in the project properties, is Tag Optimization enabled or disabled, assuming you're using v1.7 of Optix. ------------------------------ Data Science Technical Consultant Rockwell ...
Posted By CodeAssist Apr 13, 2026 08:46:19 AM
Found In Egroup: Advanced Software
\ view thread
That makes sense, because a folder is always a folder. The only thing about it you can change is its name, so the library just sees it as a different folder with a duplicate name and appends "1" to avoid conflict. ------------------------------ Data Science Technical Consultant Rockwell Automation ...
Posted By CodeAssist Apr 13, 2026 07:16:13 AM
Found In Egroup: Advanced Software
\ view thread
That's why a NuGet package is the best way to go. The .NET runtime embedded in Optix is cross-platform. That's why NetLogic scripts run on both Windows and Linux. ------------------------------ Data Science Technical Consultant Rockwell Automation ------------------------------ Please don't forget ...
Posted By CodeAssist Apr 10, 2026 12:09:48 PM
Found In Egroup: Advanced Software
\ view thread
This depends on many factors. Please give more details. Share with us either screenshots or details of the following: The horizontal and vertical alignment settings of the screen The screen width and height, if applicable The same details for the container into which the screen is called (e.g. ...
Posted By CodeAssist Apr 10, 2026 07:47:52 AM
Found In Egroup: Advanced Software
\ view thread
After you make changes to an object that has a library reference, just drag and drop it back into the library. It should rev up to 2. ------------------------------ Data Science Technical Consultant Rockwell Automation ------------------------------ Please don't forget to LIKE and mark the BEST ANSWER: ...
Posted By CodeAssist Apr 10, 2026 07:46:46 AM
Found In Egroup: Advanced Software
\ view thread
Hi. It's not going to be that simple. You may try installing a keystroke NuGet package if you want to do this entirely in NetLogic. This question has been brought before. In reply #4 here our resident expert shared a Python script he wrote for roughly the same purpose. It runs parallel to the Optix runtime ...
Posted By CodeAssist Apr 10, 2026 07:18:04 AM
Found In Egroup: Automation Control
\ view thread
Data Link Layer. It's the second layer from the bottom in the OSI model and the one where node-to-node or point-to-point communication is carried out on a LAN. If I understand the notes and the setup correctly, there should be other switches downstream of this one where all the other devices on each ...
Posted By CodeAssist Apr 09, 2026 12:16:00 PM
Found In Egroup: Advanced Software
\ view thread
There are certain features like this which don't render properly in the Optix Advanced SVG container. However, if you use a Web browser object in Optix and load the SVG in it, the animation should display properly. ------------------------------ Data Science Technical Consultant Rockwell Automation ...
Posted By CodeAssist Apr 08, 2026 08:20:00 AM
Found In Egroup: Advanced Software
\ view thread
If you attach a NetLogic object to the SVG image container, you can dynamically modify the SVG file content with a script. You can put placeholders in the base file and then replace them in bulk via the script at runtime. Advanced SVG Just something else to keep in mind. ------------------------------ ...
Posted By CodeAssist Apr 08, 2026 08:12:43 AM
Found In Egroup: Automation Control
\ view thread
I also cannot find which library this AOI belongs to. I've checked some of the socket interfaces. @Northshore Hero please provide relevant information like this with your requests. Tagging @Philip Hamilton in case he knows this particular AOI. ------------------------------ Data Science Technical ...
Posted By CodeAssist Apr 06, 2026 01:48:00 PM
Found In Egroup: Advanced Software
\ view thread
Yes, there's a way to disconnect from the runtime. It just isn't at all intuitive. At the bottom of Optix Studio you will see a tab for the log output of the connected OptixPanel. If you click the X on the tab it will not only close the log view, but will gracefully disconnect, leaving the application ...
Posted By CodeAssist Apr 03, 2026 09:17:47 AM
Found In Egroup: Advanced Software
\ view thread
Thanks for the screenshots. It makes it more clear. I tried to replicate your issue and I cannot. It worked well with both a local alias on a trend screen and a alias passed into a dialog box. The string formatter isn't necessary, but it also shouldn't be causing any problems. Perhaps there is a problem ...