Forum Replies Created
-
AuthorPosts
-
MikhailModeratorI have no source code of OpcNetApi. Does a decompier, that you use, can create a VS project that can be build for debug?
MikhailModerator🙂
MikhailModeratorInstall .NET Framework 3.5. This version of Administrator requires it.
MikhailModeratorThese errors are very specific. To find answers I should do all this stuff by myself. I hope you can find out how to solve it.
I recommend to catch the exception and write to log complete stack trace. Something like that:
catch (Exception ex) { WriteToLog(ex.ToString()); }
MikhailModeratorHi,
how do I manually send a test string SMS?
In Communicator select Device Libraries node and then KpSms.dll. You will find command examples to send SMS.
email;message – means phone_number;message
MikhailModeratorHi,
However, click on ScadaAdmin it tried but not show up. It flash appeared inside the Task Manager, but then terminated.
Try to reinstall MS SQL Compact from the distributive zip.
You can find a error info in Windows event log.
MikhailModeratorI really do not understand how to call override write method.
You should create an instance of your own class instead of the parent class.
MikhailModeratorHi,
I wanna see the method inside. Said that the simbols are not charged.
Because this method belongs to another DLL. If you need to debug this method, attach open the source code of the appropriate DLL.
MikhailModeratorbecause i do not how to use it.
I’ll try to help you. Open the project KpOpc.csproj in VS2017. Check references node in Solution Explorer to make sure that all assemblies are found. Run Build and make a screenshot if there are errors.
MikhailModeratorHi,
Is there another modem anyone know that works?
I suppose, all Cinterion modems should works. However, I have no such information. Ask their support for compatibility with MC52iT in part of sending SMS.
Are there now other ways to send SMS, such as online tools?
Of course. Look for a SMS provider in your country which support HTTP API for sending SMS. There is a driver named KpHttpNotif.dll that allows sending custom HTTP requests with SMS parameters.
MikhailModeratorSet a breakpoint in the beggining of the SendCmd method.
Why you did not compile the source of KpOpc which I shared?
MikhailModeratorHi,
How do I stop opening a KpOpc project with VS? I only open the dll with DOTPEEK and export to VS. I open the project, compile, without errors. Copy the KpOpc.dll generated in bin / debug and paste it into SCADAcomm / KP. break point in:
1. After compile KpOpc you should find KpOpc.dll in bin\Debug. Not put it here, but the compiler creates it.
2. Copy KpOpc.dll from bin\Debug to C:\SCADA\ScadaComm\KP
3. Start Communicator service.
4. Attach to ScadaCommSvc.exe process in VS.
Then breakpoints should work.
MikhailModeratorGood 🙂
MikhailModeratorI use VS 2017 Community Edition.
I have trouble loading the symbols
DLL must be compiled in Debug configuration. It’s located in bin\Debug
MikhailModeratorOpen Administrator, double click the Interface table in the tree view.
If you don’t see the Path column, please place a link to a screenshot here. -
AuthorPosts