Hello,
Does anyone know how to path to a mobile device (GPS) using Python? I am using Windows 7, ArcGIS 10.2.1 and ArcPad 10.2 R1. I want to use Python to automate the backing up of ArcPad shapefiles and to check-in/check-out data in ArcPad. Simply put...I want to create Python code to do two things: (1) copy the shapefiles from the GPS units to a network drive, and (2) check-in/check-out .axf files. Currently, I have Python code to allow the users to input the path to the GPS (via GetParameterAsText), however when they enter the path directly using the folder button, I get a crazy path that uses a folder called 'Temporary Internet Files' (see example of the path below). The folder in the path that is all letters varies each time I path to the same unit. Therefore, I cannot hardcode the path in Python to the GPS unit. Another issue is when I add the path it adds a number to the file in brackets (see same example below). It does this for both the shapefile and the .axf file. To further complicate the issue, I can no longer check-in the .axf file using the ArcPad Data Manager toolbar, which I believe is because of the bracketed number. The check-in still doesn't work when I manually remove the bracketed number.
C:\Users\csekj1\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\YWLSUBLL\DBO_Version_IPM2014_osmpgis3[4].axf
Also, does anyone know how to path to a mobile device (GPS) in ArcCatalog?
Can someone provide me any help or advice?
Jake