Search talk: NOT ISTL'

 
<< < 1 .. 741 742 743 744 745 .. 799 > >> (Page 743 of 799)

Post by salvadegianluca on List files in a directory with SysDiropen And SysDirRead CODESYS Forge talk (Post)
Good morning; I'm facing an issue that seems being caused by the library itself. I'm trying to create the list of all the files that are stored inside a psecific directory. Unluckily the first file is allways hidden. VAR CONSTANT arysEmptyArray:ARRAY[iArrayMinDimension..iArrayMAXDimension] OF STRING := [(iArrayMAXDimension - iArrayMinDimension)('')]; iArrayMinDimension:INT := 1; iArrayMAXDimension:INT := 99; END_VAR VAR_INPUT sDirectoryToInspect:STRING; sSearchFilter:STRING; END_VAR VAR_IN_OUT xCheckFileInsideDirectory:BOOL; END_VAR VAR arysListOfFoundFiles:ARRAY[iArrayMinDimension..iArrayMAXDimension] OF STRING; sNullString:STRING; iNullIndex:INT := 0; libInfoAboutThePath:DirInfo; libResultOfThePathMonitoring:CmpErrors.RTS_IEC_RESULT; libInstanceToMonitorThePath:CmpErrors.RTS_IEC_HANDLE; sEntityToSearch:STRING; dMaxEntityDimension:DINT := SIZEOF(sEntityToSearch); libFileInfo:DirInfo; sFilteredFileName:STRING; iIndexToScrollArrays:INT; END_VAR IF xCheckFileInsideDirectory THEN arysListOfFoundFiles:=arysEmptyArray; iIndexToScrollArrays:=iArrayMinDimension; libInstanceToMonitorThePath:= SysDirOpen(szDir:= sDirectoryToInspect,szDirEntry:=sNullString,diMaxDirEntry:= iNullIndex,pDirInfo:= ADR(libInfoAboutThePath),pResult:= ADR(libResultOfThePathMonitoring)); WHILE libResultOfThePathMonitoring = Errors.ERR_OK AND iIndexToScrollArrays <= iArrayMAXDimension DO sEntityToSearch:= ''; libResultOfThePathMonitoring:=SysDirRead(hDir:=libInstanceToMonitorThePath,szDirEntry:=sEntityToSearch,diMaxDirEntry:=dMaxEntityDimension,pDirInfo:=ADR(libFileInfo)); sFilteredFileName:= FUN_06_00_FindItemInString_0(sFilter:=sSearchFilter,sSource:=sEntityToSearch); IF sFilteredFileName <> '' THEN arysListOfFoundFiles[iIndexToScrollArrays]:=sFilteredFileName; iIndexToScrollArrays:=iIndexToScrollArrays + 1; END_IF IF libResultOfThePathMonitoring <> Errors.ERR_OK THEN libResultOfThePathMonitoring:= Errors.ERR_OK; END_IF END_WHILE libResultOfThePathMonitoring:=SysDirClose(hDir:= libInstanceToMonitorThePath); xCheckFileInsideDirectory:=FALSE; END_IF How is possible to solve this issue? Any known work around?
Last updated: 2024-09-17

Post by salvadegianluca on List files in a directory with SysDiropen And SysDirRead CODESYS Forge talk (Post)
Good morning; I'm facing an issue that seems being caused by the library itself. I'm trying to create the list of all the files that are stored inside a psecific directory. Unluckily the first file is allways hidden. VAR CONSTANT arysEmptyArray:ARRAY[iArrayMinDimension..iArrayMAXDimension] OF STRING := [(iArrayMAXDimension - iArrayMinDimension)('')]; iArrayMinDimension:INT := 1; iArrayMAXDimension:INT := 99; END_VAR VAR_INPUT sDirectoryToInspect:STRING; sSearchFilter:STRING; END_VAR VAR_IN_OUT xCheckFileInsideDirectory:BOOL; END_VAR VAR arysListOfFoundFiles:ARRAY[iArrayMinDimension..iArrayMAXDimension] OF STRING; sNullString:STRING; iNullIndex:INT := 0; libInfoAboutThePath:DirInfo; libResultOfThePathMonitoring:CmpErrors.RTS_IEC_RESULT; libInstanceToMonitorThePath:CmpErrors.RTS_IEC_HANDLE; sEntityToSearch:STRING; dMaxEntityDimension:DINT := SIZEOF(sEntityToSearch); libFileInfo:DirInfo; sFilteredFileName:STRING; iIndexToScrollArrays:INT; END_VAR IF xCheckFileInsideDirectory THEN arysListOfFoundFiles:=arysEmptyArray; iIndexToScrollArrays:=iArrayMinDimension; libInstanceToMonitorThePath:= SysDirOpen(szDir:= sDirectoryToInspect,szDirEntry:=sNullString,diMaxDirEntry:= iNullIndex,pDirInfo:= ADR(libInfoAboutThePath),pResult:= ADR(libResultOfThePathMonitoring)); WHILE libResultOfThePathMonitoring = Errors.ERR_OK AND iIndexToScrollArrays <= iArrayMAXDimension DO sEntityToSearch:= ''; libResultOfThePathMonitoring:=SysDirRead(hDir:=libInstanceToMonitorThePath,szDirEntry:=sEntityToSearch,diMaxDirEntry:=dMaxEntityDimension,pDirInfo:=ADR(libFileInfo)); sFilteredFileName:= FUN_06_00_FindItemInString_0(sFilter:=sSearchFilter,sSource:=sEntityToSearch); IF sFilteredFileName <> '' THEN arysListOfFoundFiles[iIndexToScrollArrays]:=sFilteredFileName; iIndexToScrollArrays:=iIndexToScrollArrays + 1; END_IF IF libResultOfThePathMonitoring <> Errors.ERR_OK THEN libResultOfThePathMonitoring:= Errors.ERR_OK; END_IF END_WHILE libResultOfThePathMonitoring:=SysDirClose(hDir:= libInstanceToMonitorThePath); xCheckFileInsideDirectory:=FALSE; END_IF How is possible to solve this issue? Any known work around?
Last updated: 2024-09-17

Post by salvadegianluca on List files in a directory with SysDiropen And SysDirRead CODESYS Forge talk (Post)
Good morning; I'm facing an issue that seems being caused by the library itself. I'm trying to create the list of all the files that are stored inside a psecific directory. Unluckily the first file is allways hidden. VAR CONSTANT arysEmptyArray:ARRAY[iArrayMinDimension..iArrayMAXDimension] OF STRING := [(iArrayMAXDimension - iArrayMinDimension)('')]; iArrayMinDimension:INT := 1; iArrayMAXDimension:INT := 99; END_VAR VAR_INPUT sDirectoryToInspect:STRING; sSearchFilter:STRING; END_VAR VAR_IN_OUT xCheckFileInsideDirectory:BOOL; END_VAR VAR arysListOfFoundFiles:ARRAY[iArrayMinDimension..iArrayMAXDimension] OF STRING; sNullString:STRING; iNullIndex:INT := 0; libInfoAboutThePath:DirInfo; libResultOfThePathMonitoring:CmpErrors.RTS_IEC_RESULT; libInstanceToMonitorThePath:CmpErrors.RTS_IEC_HANDLE; sEntityToSearch:STRING; dMaxEntityDimension:DINT := SIZEOF(sEntityToSearch); libFileInfo:DirInfo; sFilteredFileName:STRING; iIndexToScrollArrays:INT; END_VAR IF xCheckFileInsideDirectory THEN arysListOfFoundFiles:=arysEmptyArray; iIndexToScrollArrays:=iArrayMinDimension; libInstanceToMonitorThePath:= SysDirOpen(szDir:= sDirectoryToInspect,szDirEntry:=sNullString,diMaxDirEntry:= iNullIndex,pDirInfo:= ADR(libInfoAboutThePath),pResult:= ADR(libResultOfThePathMonitoring)); WHILE libResultOfThePathMonitoring = Errors.ERR_OK AND iIndexToScrollArrays <= iArrayMAXDimension DO sEntityToSearch:= ''; libResultOfThePathMonitoring:=SysDirRead(hDir:=libInstanceToMonitorThePath,szDirEntry:=sEntityToSearch,diMaxDirEntry:=dMaxEntityDimension,pDirInfo:=ADR(libFileInfo)); sFilteredFileName:= FUN_06_00_FindItemInString_0(sFilter:=sSearchFilter,sSource:=sEntityToSearch); IF sFilteredFileName <> '' THEN arysListOfFoundFiles[iIndexToScrollArrays]:=sFilteredFileName; iIndexToScrollArrays:=iIndexToScrollArrays + 1; END_IF IF libResultOfThePathMonitoring <> Errors.ERR_OK THEN libResultOfThePathMonitoring:= Errors.ERR_OK; END_IF END_WHILE libResultOfThePathMonitoring:=SysDirClose(hDir:= libInstanceToMonitorThePath); xCheckFileInsideDirectory:=FALSE; END_IF How is possible to solve this issue? Any known work around?
Last updated: 2024-09-17

List files in a directory with SysDiropen And SysDirRead CODESYS Forge talk (Thread)
List files in a directory with SysDiropen And SysDirRead
Last updated: 2024-09-17

List files in a directory with SysDiropen And SysDirRead CODESYS Forge talk (Thread)
List files in a directory with SysDiropen And SysDirRead
Last updated: 2024-09-17

List files in a directory with SysDiropen And SysDirRead CODESYS Forge talk (Thread)
List files in a directory with SysDiropen And SysDirRead
Last updated: 2024-09-17

Post by ph0010421 on Stack overflow with really simple function CODESYS Forge talk (Post)
Hello I wouldn't call an FB from inside a FUN; it feels wrong to me. I have had something similar. Try declaring the FB instances as GlobaVars rather than the instance memory.
Last updated: 2024-09-17

codesys VLAN tagging CODESYS Forge talk (Thread)
codesys VLAN tagging
Last updated: 2024-09-17

Post by yannickasselin on codesys VLAN tagging CODESYS Forge talk (Post)
The one I bought is a Mokerlink managed switch with 4x2.5G and 2x10G. It is a very generic switch. You can find it under many different brand names.
Last updated: 2024-09-17

Post by nano on ERROR: CodeMAccess2: Used CmRuntime 2.61.2705.500 is too old CODESYS Forge talk (Post)
the codemeter deb files are part of the runtime-sl-installatonfiles. so u can download the whole raspberry pi package from store-page, unzip it with a progam like 7zip, there you'll find a folder called dependencys i thing. here should the deb files placed
Last updated: 2024-09-18

J1939 DM1 Message CODESYS Forge talk (Thread)
J1939 DM1 Message
Last updated: 2024-09-18

J1939 manager DM1 message reading CODESYS Forge talk (Thread)
J1939 manager DM1 message reading
Last updated: 2024-09-18

Post by kd50 on J1939 DM1 Message CODESYS Forge talk (Post)
Hi all, I am new to J1939 and DM1 field. I would like to work on this topic at my office. Could anyone please give me some information about how l can practice on DM1 topic at my office? Is there any small product l can buy so that l could practice on it? Thanks
Last updated: 2024-09-18

Post by kd50 on J1939 DM1 Message CODESYS Forge talk (Post)
Hi all, I am new to J1939 and DM1 field. I would like to work on this topic at my office. Could anyone please give me some information about how l can practice on DM1 topic at my office? Is there any small product l can buy so that l could practice on it? Thanks
Last updated: 2024-09-18

Post by kd50 on J1939 manager DM1 message reading CODESYS Forge talk (Post)
Hi, Could you please give me some information about how l can practice on DM1 topic at home? Is there any small product l can buy so that l could practice on it?
Last updated: 2024-09-18

J1939 DM1 Message CODESYS Forge talk (Thread)
J1939 DM1 Message
Last updated: 2024-09-18

Post by thn-power on Codesys Communication Manger - Required information model version exists in the model repository but is not found CODESYS Forge talk (Post)
Hi Did you found a solution for this? I also have the same problem
Last updated: 2024-09-18

Post by hx05 on Querverweisliste wird nicht mehr angezeigt CODESYS Forge talk (Post)
Last updated: 2024-09-18

OPC UA Companion Specifications / Information model CODESYS Forge talk (Thread)
OPC UA Companion Specifications / Information model
Last updated: 2024-09-18

Querverweisliste wird nicht mehr angezeigt CODESYS Forge talk (Thread)
Querverweisliste wird nicht mehr angezeigt
Last updated: 2024-09-18

Post by thn-power on OPC UA Companion Specifications / Information model CODESYS Forge talk (Post)
Hi Anyone have a solution for this? What is the reason?
Last updated: 2024-09-18

Post by hx05 on Querverweisliste wird nicht mehr angezeigt CODESYS Forge talk (Post)
Auch wenn es lange her ist, ich hatte aktuell das selbe Problem: Fenster -> Fenster-Layout zurücksetzen hat bei mir geholfen.
Last updated: 2024-09-18

Post by egau on OPC UA C# client connecting to OPC UA CODESYS server CODESYS Forge talk (Post)
any updates on this?
Last updated: 2024-09-18

Post by otbeka on CmpCrypto CryptoGenerateHash Not Outputting CODESYS Forge talk (Post)
Still unable to fix this - is anyone able to help?
Last updated: 2024-09-18

Visu -Probleme mit Wago-Webpanel CODESYS Forge talk (Thread)
Visu -Probleme mit Wago-Webpanel
Last updated: 2023-08-29

<< < 1 .. 741 742 743 744 745 .. 799 > >> (Page 743 of 799)

Showing results of 19968

Sort by relevance or date