6/21/2024 9:42 AM | |
Joined: 2/22/2017 Last visit: 12/6/2024 Posts: 14 Rating: (0) |
Hello, I am trying to connect to a SQLite database located in a usb that has been inserted in the X61 port of MTP1500 hmi. I am using TiaPortal V19.2 and the hmi runtime is V19 (since Siemens didn't release V19.2 yet...) I followed this https://support.industry.siemens.com/cs/mdm/109828368?c=170611996171&lc=en-US If I understood correctly the V19 firmware should already have all the ODBC drivers required built-in, so I copied the example connection string and modified according my use case
Then I modified the example code provided and put into a pushbutton event
But it doesn't work and looking at the Traces I can see the SQLite connection is failed. The database path is correct, so what I am missing? Did anyone try to do something like this using the USB? Thanks! |
6/21/2024 10:23 AM | |
Joined: 1/21/2013 Last visit: 1/15/2025 Posts: 3425 Rating: (536)
|
Hi, Make sure there is no space before Database in your connection string. Kind regards |
6/21/2024 11:00 AM | |
Joined: 5/29/2024 Last visit: 1/14/2025 Posts: 74 Rating: (11) |
Hi! And have you tried the X62 USB port? In any case, the use of USB for registration is not recommended due to the number of writes and reads that can quickly damage the UBS. Better to use the SD. In the following link you can find information about the storage locations. -> Storage locations of logs https://support.industry.siemens.com/cs/ww/en/view/109828368/172650134411 |
Last edited by: ALP00 at: 06/21/2024 11:01:08Last edited by: The Helping Hand at: 06/21/2024 12:29:01Link optimized |
|
Follow us on