Comments (22)
from secs4net.
the current version uses Array.Empty method. it only available on 4.6+
It is not difficult to get rid of the dependency and downgrade to 4.5.2.
from secs4net.
so you mean it's totally ok to downgrade to 4.5.2.? @mkjeff
from secs4net.
i set up the 4.6.2 version on my pc, but the software visual studio2015 can not recognize it. @mkjeff
from secs4net.
@zhuwei3359 you have to install the corresponding version of Developer Pack.
from secs4net.
@mkjeff i'll try ,thanks a lot
from secs4net.
@mkjeff thanks for your advice, the 4.6.2 version is available now. bravo
from secs4net.
@mkjeff i think there is some faults in item.cs. The brackets are not matching .can i get some advice?
from secs4net.
@mkjeff sorry, i download the older version resource code. i just found that, now it's totally ok!
from secs4net.
@mkjeff i have some question about the header.DeviceId ,is the default value 12320? i set the device number 16, and got a frame of data from the window 00 00 00 0A FF FF 00 00 00 01 1A FB 81 75(select.req),and i reply 00 00 00 0A 00 10 00 00 00 02 1A FB 81 75(select.rsp),and then the window tell me:Received Unrecognized Device Id Message, and i find that the value of the header.DeviceId is 12320
from secs4net.
Default device id is 0(ushort), please make sure the device id of both client/server are the same.
00 00 00 0A FF FF 00 00 00 01 1A FB 81 75
00 00 00 0A 00 10 00 00 00 02 1A FB 81 75
from secs4net.
so the correct transaction is:
00 00 00 0A FF FF 00 00 00 01 1A FB 81 75
00 00 00 0A FF FF 00 00 00 02 1A FB 81 75
is this right? @mkjeff
from secs4net.
@mkjeff i got another question. this project should be regarded as an equipment or a host?
from secs4net.
The API design has no assumption on this. it should be work on both sides.
from secs4net.
@mkjeff sorry for bothering you again. if i want to reply a primary message,what is the format that i should input to the interface window? for example s1f2.
from secs4net.
Can you help me? I get this error message,OS:Win10 ,visual studio community 2017 version:15.9.5
System.IO.FileNotFoundException: 未能加载文件或程序集“System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51”或它的某一个依赖项。系统找不到指定的文件。
文件名:“System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51”
在 Secs4Net.StreamDecoder.<.ctor>g__GetMessageHeader|23_1(Int32& length, Int32& need)
在 Secs4Net.StreamDecoder.<.ctor>g__GetTotalMessageLength|23_0(Int32& length, Int32& need)
在 Secs4Net.StreamDecoder.Decode(Int32 length)
在 Secs4Net.SecsGem.<.ctor>g__SocketReceiveEventCompleted|84_9(Object sender, SocketAsyncEventArgs e)
from secs4net.
@Joan2019 Do you have resolved this problem? I have same problem.
if you resolved this problem, I want to know answer.
from secs4net.
@zhuwei3359 do you have any progress of this project ?
from secs4net.
from secs4net.
@keinen-lab @Joan2019 do you have any progress on this project?
from secs4net.
@Joan2019 @dzhydaniel @keinen-lab i also got System.memory cannot be loaded issue, cause there is no version=4.0.1.1.
i found that under vs2017, the system.memory has been upgraded to 4.5.3 automatically by vs2017.
the problem is why code is still raise the error.
any ideas will be appreciated.
thank you
from secs4net.
.net framework was outdated on v2 roadmap. so, close the issue
from secs4net.
Related Issues (20)
- public static Item ToItem(this JObject jobject)这个方法有问题? HOT 1
- Secs4Net
- Occur T3 timeout while sending many grouped messages HOT 2
- Function number error in json HOT 1
- SecomSimulator can't connect my application with secs4net HOT 1
- Cannot cast type "PooledAwait.ValueTaskCompletionSource1[System.Object]" to type "System.Threading.Tasks.TaskCompletionSource1[System.Object]" HOT 4
- Sometime can't reply message HOT 2
- NullReferenceException
- How to send data to the device
- SecsDevice based on NET461/NET472 cannot send SecsItem which contains large array HOT 1
- LinkTest timer not re-enable after reconnect HOT 1
- I got Unhandled exception occurred on PipeDecoder producer HOT 4
- Bit mask of 'Stream' field is wrong
- too many T3 HOT 2
- Turn On the eqp one more time HOT 1
- analysis first s1f13 incorrect,and then T6 outtime occured。[Net6] HOT 1
- registering COM
- Linq方式添加item错误 HOT 2
- Stream greater than 63 is a parsing error
- network error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from secs4net.