WWSDK4.0 S4GetFileTime and IRC5 [WebWare SDK]
 
            Hy Anders,

we tested the following with IRC5 5.04.66 and we did get all the time the error -3102:
 intResult = Helper1.S4GetFileTime("/hd0a/", "temp/READM.prg", dteFiletime)
With S4Cplus it is working fine. We tried with other devices like "ctrl:" but we receives all the time the same error....
This was tested due to customer detection of Desma..
Comments
- 
            Hello Kevin, I have investigated the issue you are reporting and unfortunately it seems to be a defect. For some reason, the S4GetFileTime method works on directories, but not files on the IRC5. When trying to use file/s on a IRC5 system, a -3102 error will be thrown. This will be fixed it the next release. Until this problem has been fixed, one possible work-around for this could be using the S4Dir and FileList methods (see vb6 code below): ------------------------------------------------------------------ AndersD38294,7155902778
 Dim intResult As Integer
 Dim lngResult As Long
 
 intResult = Helper1.S4Dir("/hd0a/", "5_04_66TESTWWSDK", 0, 3, lngResult)
 For i = 0 To Helper1.FileListCount - 1
 If CStr(Helper1.FileList(i)) = "Renamed.txt" Then
 MsgBox (Helper1.FileList(i) + " " + CStr(Helper1.FileDate(i)))
 End If
 Next
 ------------------------------------------------------------------
 ______________________________
 Anders Dannberg
 ABB Automation Technologies
 Support Engineer0
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 363 IRC5
- 80 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 853 RAPID Programming
- 30 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings
