List of Contributions

Wasserman

Contact Details

Wasserman


My Content

1 to 20 of 22 total
Posted By Wasserman Mar 14, 2024 09:35:00 AM
Found In Egroup: Advanced Software
\ view thread
Using the same setup as above, under VariableToModify, there should be another row with a datatype. Set the datatype to your recipe type, then point it at the user input.
Posted By Wasserman Mar 13, 2024 10:37:51 AM
Found In Egroup: Advanced Software
\ view thread
Just for funsies, I tried using the low-level Win32 MessageBox. It does display the box at designtime, but then likes to crash Optix. If anyone would like to carry on where I left off, here is my code: [ExportMethod] public void GenerateAlarmsFromPLC() ( //ask user if they want to delete old ...
Posted By Wasserman Mar 13, 2024 10:32:25 AM
Found In Egroup: Advanced Software
\ view thread
I think you need to initiate contact from the UI. As I understand it, the UI always knows how to contact the model, but since you can have multiple sessions of the UI, the model can't necessarily figure out how to get to the correct portion of the UI. I think you could probably use the SetVariable command ...
Posted By Wasserman Mar 12, 2024 08:02:10 AM
Found In Egroup: Advanced Software
\ view thread
I am using version 1.4.0.448.
Posted By Wasserman Mar 11, 2024 04:42:00 PM
Found In Egroup: Advanced Software
\ view thread
#FTOptix I have been trying to move all of my template items to a Library so that I can distribute them. In the process of dragging items into the remote library, Optix crashed. When I reopened my library, the following error appeared multiple times in the output window: "2024-03-11 16:18:32.766;FactoryTalk ...
Posted By Wasserman Mar 11, 2024 04:41:34 PM
Found In Library: Advanced Software
Posted By Wasserman Mar 11, 2024 10:16:00 AM
Found In Egroup: Advanced Software
\ view thread
#FTOptix I have items in my model that represent sensors. The model includes both the sensor value, and a calibration offset. These should both be in the same units. Is there a way that I can set both to one selected unit on the model, that can later be localized via the session if desired? I know that ...
Posted By Wasserman Mar 08, 2024 03:34:01 PM
Found In Egroup: Advanced Software
\ view thread
DisplayedUnit is in the model. I wanted a single source of truth. I was under the impression that I could force tags to be polled using the remote synchronizer. I've had some luck monitoring a CommandedScreen tag and using it to change my current screen. I ended up leaving DisplayedUnit in the ...
Posted By Wasserman Mar 08, 2024 08:14:00 AM
Found In Egroup: Advanced Software
\ view thread
Is there some sort of Windows MessageBox object that I can leverage from the underlying software? I just need a DialogBox with Accept and Cancel buttons. Yes/No and OK/Cancel are also fine. I just need some sort of boolean or DialogResult back.
Posted By Wasserman Mar 07, 2024 04:11:00 PM
Found In Egroup: Advanced Software
\ view thread
#FTOptix What is the preferred way to create a Message/Confirmation Box in my designtime logic? I just want the user to confirm that they know what they're doing before I delete and rebuild a pile of alarms. I tried making an instance of the old Windows MessageBox, but that doesn't seem to be an option. ...
Posted By Wasserman Mar 07, 2024 11:29:00 AM
Found In Egroup: Advanced Software
\ view thread
#FTOptix I am building an Optix template to interface with an existing PLC template that I cannot easily modify. Many changes on the screens, including navigation, trigger mode and state changes in the associated PLC Unit. In my models, I have a Unit object which contains a node pointer to its associated ...
Posted By Wasserman Feb 19, 2024 09:24:32 AM
Found In Egroup: Advanced Software
\ view thread
UI elements have instances per session, while Model elements have just one instance, right? So if I assume that multiple HMIs might be acting on different Units at the same time, I need to route all my logic through UI elements like the Main Window, or the models of the Units, or else I could end up ...
Posted By Wasserman Feb 16, 2024 11:12:00 AM
Found In Egroup: Advanced Software
\ view thread
I am building an Optix project to act as a replacement for our existing FT View ME template. On the MainWindow, I have a NodePointer to a model UN01, of the Unit (type). Unit instances have node pointers to their associated PLC UDTs, called Tag. I also have a series of aliases that break out important ...
Posted By Wasserman Feb 15, 2024 04:49:00 PM
Found In Egroup: Advanced Software
\ view thread
If I have Runtime Logic attached to a button on my screen, and I need to access a great-great-grandparent of the button in code, what's the preferred method for doing so? Is it possible to browse to a parent object using Owner.Get? Owner.Get("..") doesn't return anything. Alternatively, is there a ...
Posted By Wasserman Feb 15, 2024 04:44:14 PM
Found In Egroup: Advanced Software
\ view thread
I honestly just browsed the Node tree.
Posted By Wasserman Feb 15, 2024 03:47:00 PM
Found In Egroup: Advanced Software
\ view thread
I made a subclass of a MomentaryButton and added Runtime Logic to it. That's where the method that I posted is located. The method is called during the button's MouseUp event. I used the Input Arguments entry to navigate to the pertinent PanelLoader, Screen, and Tag. A bit ago, I tried getting the ...
Posted By Wasserman Feb 15, 2024 09:57:00 AM
Found In Egroup: Advanced Software
\ view thread
I wanted to call a method that both loads a new screen and writes the contents of a ScreenNumber variable to a PLC tag. Loading the screen works nicely, but my attempts to access the screen to read the variable keep returning null. I read in the Netlogix Cheatsheet that there might be multiple versions ...
Posted By Wasserman Jan 03, 2024 08:59:00 AM
Found In Egroup: Advanced Software
\ view thread
#FTOptix Is it possible to add a new property to a stylesheet? Specifically, I would like to add the top margin for the text inside of a tranparent button. ------------------------------ Wasserman ------------------------------
Posted By Wasserman Dec 14, 2023 11:40:00 AM
Found In Egroup: Advanced Software
\ view thread
#FTOptix What's the difference between an alias and a variable? You can force an alias to be a particular datatype, and in fact, you sort of have to if you are going to use the value in a converter (I ran into conversion issues when it was set to a NodeId). You can force a variable to be a NodeId datatype. ...
Posted By Wasserman Dec 13, 2023 10:21:00 AM
Found In Egroup: Advanced Software
\ view thread
Managed to find the answer. For anyone else who needs it, here's the process: Create a new Enumeration object in Model using New --> All --> Data type (Show All). Edit with Enumeration Editor (right-click object). Once the enumeration is complete, it can be used as a variable type elsewhere.