List of Contributions

Kevin S

Contact Details

Kevin S


My Content

1 to 20 of 29 total
Posted By Kevin S Jun 16, 2026 03:20:55 PM
Found In Egroup: FactoryTalk Optix
\ view thread
Does this system have a PLC? If so, I'd set it up to generate the file name string on the PLC then trigger a bit when you want to run the backup. In Optix, connect the CSVPath to the PLC tag and make a new variable (maybe called PLCTrigger). Connect PLCTrigger to the PLC tag. Right click and create ...
Posted By Kevin S Jun 16, 2026 03:16:00 PM
Found In Egroup: FactoryTalk Optix
\ view thread
I've had this happen a few times with an IPC. I'll double-click on the EXE file (or shortcut) to start the application and nothing will appear to happen for several minutes. I can see the runtime exe running in the Task Manager using about 4%-16% of my CPU but otherwise nothing appears to be happening. ...
Posted By Kevin S Jun 08, 2026 09:48:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
I want to give my users a method of selecting a csv file to import. I added the Filesystem Browser component from the library to a default program. When I try to run the application the window never appears even though the Studio Output window says "FactoryTalk Optix Runtime started". I am running Optix ...
Posted By Kevin S Jun 04, 2026 02:21:19 PM
Found In Egroup: FactoryTalk Optix
\ view thread
That is what I was missing in the steps. Having to go into FTHub and find the side menu to allocate a license. For the record (and so I can find it easier next time) I needed this page from the help: https://www.rockwellautomation.com/en-us/docs/factorytalk-optix/current/installation-guide-ditamap/ ...
Posted By Kevin S May 21, 2026 11:00:33 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Is there some way to "purge" the data store and compile it fresh with the new data types? I have had this problem when changing data types for a column (for example changing from a float to an int32 because I don't need the precision a float gives). -------------------------------------------
Posted By Kevin S Apr 28, 2026 10:07:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Are there any detailed instructions on how to convert a serial number and product key to an entitlement? I looked at the entitlement area on the FactoryTalk Hub, but it only lets me allocate entitlements (and I'm not totally sure what that does). ---------------------------------------- ...
Posted By Kevin S Jan 08, 2026 11:45:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
C# has so many ways to format a string that it is hard for me to keep track of which to use when. I didn't realize I needed to use ResourceUri. I thought the path was just a string like you get in windows explorer. Current update. I made a new Optix program and populated a table with random ...
Posted By Kevin S Jan 07, 2026 11:31:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
C# needs the double slashes to parse the slash. Like \" and \r. I'm generating the file name in a function that returns a string. string p = "%APPLICATIONDIR%\CSV\OrderHistory-All.csv"; This won't compile. string p = "%APPLICATIONDIR%\\CSV\\OrderHistory-All.csv"; This will compile. ...
Posted By Kevin S Jan 07, 2026 11:11:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
I tried "%APPLICATIONDIR%\\CSV\\OrderHistory-All.csv" When I logged the directory it made it resolved into: C:\Program Files\Rockwell Automation\FactoryTalk Optix\Studio 1.6.0.626\FTOptixRuntime\1.6.0.626\Win32_x64\%APPLICATIONDIR%\CSV\OrderHistory-All.csv I deployed the application to ...
Posted By Kevin S Jan 06, 2026 12:15:00 PM
Found In Egroup: FactoryTalk Optix
\ view thread
No, file isn't opened. I can't even make the file in the first place. I need to be able to save the file to an easily accessible location so the customer can retrieve it. Where exactly would %APPLICATIONDIR% place the file? Windows Explorer doesn't let me go to that directory like it does ...
Posted By Kevin S Jan 06, 2026 09:29:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
I am using the GenericTableExporter that comes with Optix. I have tried to write the file to the Windows Desktop, a directory on the C drive, and right to C:\ and they all give me the following error: Unable to export table: Access to the path 'C:\FastBend\CSV\OrderHistory-All-2026-01-06_09-00-19.csv' ...
Posted By Kevin S Jan 05, 2026 08:19:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
The query in the debug log looked right. Query = UPDATE OrderHistory SET QuantityComplete = "198", FinishTime = "2026-01-05 08:17:51" WHERE OrderID = "7" -------------------------------------------
Posted By Kevin S Dec 30, 2025 01:23:00 PM
Found In Egroup: FactoryTalk Optix
\ view thread
Formatting the string didn't do anything. I don't see an updated method listed for a Table or Store. As a hack to get something to work I did the following: Use SELECT WHERE OrderID = orderID Save the relevant data to local variables (startTime, etc) DELETE WHERE OrderID = orderID ...
Posted By Kevin S Dec 30, 2025 11:10:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Creating a DateTime variable before the query doesn't appear to have helped. Digging in, I found that the table had some columns that I had removed in optix. I deleted the .sqlite file to force the database to regenerate. I don't have the unneeded columns now, but the FinishTime column is still ...
Posted By Kevin S Dec 30, 2025 09:19:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
I run a INSERT when a part is started to set the initial values in my production database. string[] OrderHistoryColumns= ( "StartTime", "FinishTime", "PartNumber", "QuantityOrdered", "QuantityComplete", "OrderID" ); var data = new object[1, 6]; DateTime startTime = DateTime.Now; data[0, 0] = ...
Posted By Kevin S Aug 11, 2025 10:28:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
I didn't realize the italics meant anything specific. Thanks. -------------------------------------------
Posted By Kevin S May 27, 2025 10:08:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Ya, it was an issue with the instances. Been buried in Optix for the past few weeks and eventually figured it out. It would be nice if there was a icon or something to let you know if an object is an instance or not.
Posted By Kevin S May 14, 2025 02:40:00 PM
Found In Egroup: FactoryTalk Optix
\ view thread
I have a Screen within the MainWindow which contains a few things including a VerticalLayout. The VerticalLayout has a text box and a few images. I am not sure when this issue started, but I just tried to delete one of the images to replace it with a new panel. I added the panel to the layout just fine, ...
Posted By Kevin S May 13, 2025 03:51:00 PM
Found In Egroup: FactoryTalk Optix
\ view thread
Don't know if this will make you feel better or worse. But almost a year later and the documentation is very lacking. I have started using the "submit your feedback" link and giving them suggestions on how to improve the documentation. Maybe if enough people put in tickets the documentation might get ...
Posted By Kevin S May 13, 2025 11:22:24 AM
Found In Library: FactoryTalk Optix