List of Contributions

Kevin S

Contact Details

Kevin S


My Content

1 to 20 of 23 total
Posted By Kevin S Jan 08, 2026 11:45:26 AM
Found In Egroup: Advanced Software
\ 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 data. ...
Posted By Kevin S Jan 07, 2026 11:31:08 AM
Found In Egroup: Advanced Software
\ 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: Advanced Software
\ 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 a Windows ...
Posted By Kevin S Jan 06, 2026 12:15:00 PM
Found In Egroup: Advanced Software
\ 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 with %appdata% ...
Posted By Kevin S Jan 06, 2026 09:29:00 AM
Found In Egroup: Advanced Software
\ 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:18:50 AM
Found In Egroup: Advanced Software
\ 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:22:47 PM
Found In Egroup: Advanced Software
\ 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 Format data ...
Posted By Kevin S Dec 30, 2025 11:10:00 AM
Found In Egroup: Advanced Software
\ 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 coming ...
Posted By Kevin S Dec 30, 2025 09:19:00 AM
Found In Egroup: Advanced Software
\ 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] = startTime; ...
Posted By Kevin S Aug 11, 2025 10:28:19 AM
Found In Egroup: Advanced Software
\ 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: Advanced Software
\ 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: Advanced Software
\ 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: Advanced Software
\ 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: Advanced Software
Posted By Kevin S May 13, 2025 11:22:00 AM
Found In Egroup: Advanced Software
\ view thread
I just found this thread because I was looking for better ways of doing this. So far I have come up with using a complex dynamic link on the left margin properties of my navigation menus and a value change animation. For my main navigation I have it set to the left off screen. I am using a ...
Posted By Kevin S May 27, 2022 08:15:00 AM
Found In Egroup: Drives, Motion Control & Low Voltage Products
\ view thread
Thank you all for your guidance. Looks like there are several things to check and I'll need to spend more time with the customer determineing exactly when the fault occurs and what they are doing around it. ------------------------------ Kevin S ------------------------------
Posted By Kevin S May 26, 2022 04:55:00 PM
Found In Egroup: Drives, Motion Control & Low Voltage Products
\ view thread
I have a system that has several Kientix 5700 servos responsible for row forming for a palatizing system. According to the customer, for about the past month they have had intermitten instances where one of the 6 row formers faulting out. They had the issue this morning and looking at the faults and ...
Posted By Kevin S Apr 07, 2022 12:13:00 PM
Found In Egroup: Automation Control
\ view thread
I recommend LibPLCTag library on GitHub. I am really new to C# and found this very easy to use and get communications up. https://github.com/libplctag ------------------------------ Kevin S ------------------------------
Posted By Kevin S Apr 07, 2022 12:10:00 PM
Found In Egroup: Automation Control
\ view thread
I'm sure the other solutions would work but the best way I found is by using LibPLCTag interface on GitHub. As someone new to C# I found it really easy to set up and use. https://github.com/libplctag ------------------------------ Kevin S ------------------------------