List of Contributions

CodeAssist

Contact Details

CodeAssist


My Content

1 to 20 of 50+ total
Posted By CodeAssist Aug 17, 2026 04:21:50 PM
Found In Egroup: FactoryTalk Optix
\ view thread
It sounds like the setup is correct. Still, you should verify there isn't anything else wrong by testing with a small, simple test project. There, you should find that relatively soon (within a few minutes) after a push to remote, the other user should see the icon in their project change state indicating ...
Posted By CodeAssist Aug 17, 2026 10:59:55 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Ok, you still did not answer my first two questions. Is version control set up in Optix Studio whereby Optix itself initiated Git for the project, authenticated to the VC provider, pushed the project, and now you are just using the VC controls in the top toolbar of Optix Studio? OR Are you attempting ...
Posted By CodeAssist Aug 14, 2026 04:20:00 PM
Found In Egroup: FactoryTalk Optix
\ view thread
There's a couple of things that are needed in order for a NetLogic function to be visible in Optix Studio. First, the method must have a public modifier. Second, it must be preceded by a [ExportMethod] tag. For example: [ExportMethod] public void MyMethod() ( ... ) Save the file in VS Code which should ...
Posted By CodeAssist Aug 14, 2026 04:14:51 PM
Found In Egroup: FactoryTalk Optix
\ view thread
Hi. Welcome to Enage! Are you using the integrated version control features of Optix? Are you waiting for the notification to show up that there are changes available to push/pull? The workflow should be pull then push. This makes it so that you can rectify any changes or conflicts from the remote ...
Posted By CodeAssist Aug 14, 2026 03:29:56 PM
Found In Egroup: FactoryTalk Optix
\ view thread
Yes, agreed. Optix supports AD, if Windows, but also LDAP. This is the correct way to securely manage users across different Optix applications. Local model-based authentication cannot be shared across projects (via OPC UA, for example). Configure the authentication mode Cross-server sharing of other ...
Posted By CodeAssist Aug 12, 2026 05:49:50 PM
Found In Egroup: FactoryTalk Optix
\ view thread
My pleasure, Andy. I understand your case and it is quite reasonable. I think the evolution of the library functions in Optix will serve your needs in the long-run. Whether you use a local library (stored on the PC where Optix Studio is installed or a remote one (cloud sync'd via VC provider) the library ...
Posted By CodeAssist Aug 11, 2026 09:14:33 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Hi. It sounds like you have already ruled out that this is an array issue. Regardless, is block read enabled both in the comm station and for the StsTimer array? How are you checking the value in Optix, via a UI component or in NetLogic? Make a test. Right-click the ACC tag in Optix and add a Changed ...
Posted By CodeAssist Aug 11, 2026 08:34:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
I think I've already explained it. Stretch just means that the button will stretch that dimension to match the parent's dimension. Border thickness is still additional, beyond that. If you want all of it to be within the container, you must take all of it into account. That is, if your border thickness ...
Posted By CodeAssist Aug 10, 2026 07:28:03 AM
Found In Egroup: FactoryTalk Optix
\ view thread
You should use the localization and translation features built-in to Optix. See the section on locales and translations in the technical training. See the FeaturesDemo2 project for demonstration. Helpful info: Translations Tutorial https://wawelk.org/optix/changing-languages-for-localization/ ...
Posted By CodeAssist Aug 10, 2026 07:19:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
With type LocalizedText, it is expecting a corresponding entry in a LocalizationDictionary within the project. The text in parentheses in the key for the text in the dictionary. Here, for example: In the dictionary: If you add the imported texts to a localization dictionary and use the same ...
Posted By CodeAssist Aug 10, 2026 07:01:59 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Check all the properties of the style sheet. I suspect there is one that is causing the effects you notice. For example, the drop shadow could be a cause: Also, depending on what you have clicked/selected, these could be a factor: Regarding the border, it surrounds the outer dimensions of ...
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 ...