List of Contributions

CodeAssist

Contact Details

CodeAssist


My Content

1 to 20 of 50+ total
Posted By CodeAssist Aug 06, 2026 05:55:11 PM
Found In Egroup: FactoryTalk Optix
\ view thread
Yes, the sort order is a know issue which is under investigation and should be fixed in a future release. As far as localization/translation is concerned, if it does not show as an option to be added to a dictionary then it cannot be localized. Be sure that the type is Localized text and not String ...
Posted By CodeAssist Aug 06, 2026 05:50:58 PM
Found In Egroup: FactoryTalk Optix
\ view thread
Hi. That project is actually quite old by now and not so compatible with the current version of Optix. It was also developed for a specific implementation of the recipe functionality. I would recommend instead to use the current recipe editor available in the Template Libraries within Optix Studio, unless ...
Posted By CodeAssist Aug 06, 2026 05:44:16 PM
Found In Egroup: FactoryTalk Optix
\ view thread
No worries. The first two VS Code extensions in my screenshot are the standard ones from Microsoft: C# C# Dev Kit The third: C# Snippets (author Jorge Serrano) ------------------------------ Data Science Technical Consultant Rockwell Automation ------------------------------ Please don't ...
Posted By CodeAssist Aug 06, 2026 05:35:06 PM
Found In Egroup: FactoryTalk Optix
\ view thread
Hi Andy. I looked at the project and made some attempts to figure out what is going wrong. To be honest, I'm a bit lost. I'm running quite low on sleep and free time, so maybe that is a factor, but I do feel like there is too much here to sift through. If the problem is repeatable, could you instead ...
Posted By CodeAssist Aug 05, 2026 05:05:19 PM
Found In Egroup: FactoryTalk Optix
\ view thread
Salut Yohan. You're very welcome. I had a chat with one of our experts who has experience with nested recipes like this. He confirmed that doing it via NetLogic is the best way, if not the only possible way. Good that you've already made that decision yourself and started with some code! Your initial ...
Posted By CodeAssist Aug 04, 2026 09:35:40 PM
Found In Egroup: FactoryTalk Optix
\ view thread
Of course, NetLogic will always give the most flexibility, but it is not always the only option. This may be possible without NetLogic, but I would need the time to experiment with it. I'm on deployment this week and part of next, so I don't have the free time, unfortunately. The new recipe management ...
Posted By CodeAssist Aug 03, 2026 09:44:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Salut Yohan. That project was created a few years ago, before the new object-oriented recipe management of v1.7+. So, no it is not really compatible. Related to also the From PLC to Model script, I think I would advise not starting from the PLC. That script will pull in data structures (UDTs) from ...
Posted By CodeAssist Aug 03, 2026 06:07:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Ok, I understand the concern. However, if everything is logged in current UTC time and displayed with the offset, I would expect everything to be accounted for. It should be recognized that the date and timestamp of the historical alarms is before the DST change and displayed as such. It's possible I ...
Posted By CodeAssist Aug 03, 2026 05:13:53 AM
Found In Egroup: Automation Control
\ view thread
IL is essentially assembly language for PLC. It is very low level. There's really no benefit to supporting such an old language alongside modern, standard ones. Siemens still supports it because it was a large part of their platform for many years and there is a still a very significant amount of programs ...
Posted By CodeAssist Jul 30, 2026 02:34:49 PM
Found In Egroup: FactoryTalk Optix
\ view thread
Hi Ladrone. It's not very obvious from the documentation, but the TimeZoneOffset should include the correction for DST. It was asked here before. Have a look to this previous discussion to see if it makes anything more clear: https://engage.rockwellautomation.com/discussion/ftoptix-timezone-offset ...
Posted By CodeAssist Jul 30, 2026 07:25:59 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Value is simply the value of the variable. DataValue is a composite structure which encapsulates Value. In addition to the actual data, it has StatusCode to give the quality or state of the data, SourceTimestamp, and ServerTimestamp. Your last point isn't the most clear to me, but I believe what you're ...
Posted By CodeAssist Jul 29, 2026 07:46:48 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Hi. You cannot read anything from one page to another. In the UI section of your project, all of the screens/panels are types. This means they are simply the definition for what will be created at runtime. When you run the application, a presentation engine (native or web) starts a new UI session. Within ...
Posted By CodeAssist Jul 28, 2026 09:37:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Hi Tim. In general, you should only ever import into Optix what you need. As you see, everything boils down to OPC UA nodes and when you have an excessive amount of nodes in the project it takes a lot of resources to process all that information. How big are these 2 UDT arrays? It sounds like you don't ...
Posted By CodeAssist Jul 28, 2026 06:59:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Hi Juliun and welcome to Engage! For that, it sounds like you already have a great idea about the approach. To make it possible, you need to monitor for changes to the project's Model folder (or maybe a specific node within it). That can be done by setting up an observer. Register Observers From ...
Posted By CodeAssist Jul 27, 2026 10:59:42 AM
Found In Egroup: FactoryTalk Optix
\ view thread
In short, I don't think you'll have much success in trying to do what you want with an event logger. As you state, it is more suited to capturing alarm and audit events. I think you should look at the FeaturesDemo2 project. There, it uses a regular logger to capture variable change events by using ...
Posted By CodeAssist Jul 27, 2026 07:20:37 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Hi Delgado. With the navigation panel tab appearance set to Underlined, there is no way to separate the color of the text and the color of the underline. They are tied to the same property of the style sheet. If you change the appearance back to Default, the entire tab will be a solid color and it ...
Posted By CodeAssist Jul 24, 2026 11:35:54 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Add a variable for font size to the main window. Apply that expression evaluator to it. Then you have a session-level variable for text font size. You can link all the labels and whatnot to this variable via the (Window) alias and everything stays session dependent. Alternatively, you can add a changed ...
Posted By CodeAssist Jul 22, 2026 08:43:56 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Nice investigation. I have noticed that also with the dynamic link and the alpha channel. @asemlucben what do you make of this? ------------------------------ Data Science Technical Consultant Rockwell Automation ------------------------------ Please don't forget to LIKE and mark the BEST ANSWER: REPLY ...
Posted By CodeAssist Jul 21, 2026 08:23:52 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Yes, I've seen this far too many times before. As I recall, it is a warning and not an error. I don't know what is the reason for it, but other than being annoying in the logs there is no real consequence. ------------------------------ Data Science Technical Consultant Rockwell Automation ------- ...
Posted By CodeAssist Jul 16, 2026 11:47:53 AM
Found In Egroup: Automation Control
\ view thread
The timer should not account for any time that the PLC wasn't running and scanning the logic. I would expect that any large jumps of the local clock time be accounted for and corrected in the firmware. You already made some online changes to the controller's clock and it did not cause the timer's accumulated ...