|
|
Gerry Schmitz wrote: You can write an "ID" to the device; that would be your ISBN, I presume.
Can you give me an example, how to read/write string in nxp tag?
Securiy READ/WRITE problem is solved, and I very greatfull to you for this.
Thanks in advance.
|
|
|
|
|
There is a "write ID" command; whether it meets your requirements is for you to determine.
I suspect you are probably more interested in reading and writing to the device's "user area".
The "user area" depends on the device type (again, your domain); e.g. (from the link I sent).
Chip ID: 1h = 00000001b (Bit 47 - 40 of UID)
Memory organization: 32 x 4 Byte = 1kBit
Number of blocks 32 (user area: 0 – 27)
Block size 4 byte
0x23 Read Multiple Blocks
0x24 Write Multiple Blocks<br />
So; crack open the SDK and refer to "reading and writing" from / to the "user area".
|
|
|
|
|
How would you make a computer generate a response based on a question asked. and how would this be generated
|
|
|
|
|
I'd get the computer to email the question to a human being and post his response...
Sorry, but that's far, far too broad a question for us to answer!
What have you tried?
Where are you stuck?
What help do you need?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
|
And what does this have to do with this forum?
This space for rent
|
|
|
|
|
Just generate a random answer.
Sort of like the "Magic 8-Ball" ...
Question: "Will I be happy?"
Answer: "Outlook good".
(Kept them spell-bound for hours back when).
|
|
|
|
|
Hello,
I am new to C#. I have an application which has easy interface for File search. I want to trigger that application using Ctrl+F only when Windows Explorer is active.
Is it possible in .net ?
Is there any available example codes ?
Please help.
|
|
|
|
|
|
|
No code ... no help.
Suggest you review one of the many samples that comes with DevExpress; focusing on "tool bars".
Or just focus on a non-DevExpress tool bar; if it makes no difference. Will probably get more help that way.
|
|
|
|
|
how to fix that error in visual studio 2013 i use inputsimulator but it gave me an error
s.get_Keyboard().ModifiedKeyStroke((VirtualKeyCode) 17, (VirtualKeyCode) 68);
it show me an error no virtualkeycode
Error 2 'WindowsInput.InputSimulator.Keyboard.get': cannot explicitly call operator or accessor
|
|
|
|
|
Properties are accessed with the same syntax as fields:
s.Keyboard.ModifiedKeyStroke((VirtualKeyCode) 17, (VirtualKeyCode) 68);
There actually are methods for getting and setting but the C# compiler doesn't allow you to explicitly use them.
Just as an info-tidbit: You would be able to call these methods via reflection.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
|
I showed you already
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
its not working still
Error 2 Non-invocable member 'WindowsInput.InputSimulator.Keyboard' cannot be used like a method.
|
|
|
|
|
You didn't copy my corrected code. Take another look.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
yes its no error on that now but have to manage now another errors
|
|
|
|
|
Hello everyone,
I use two differents Modbus TCP library for slave server.
Each library use TcpListener.
I have a problem with both.
When my client is disconnected :
CLIENT SERVER
FIN, ACK ---->
<---- ACK
and nothing else...!
The server don't send FIN to client.
After timeout, client send RST to server.
And when client try to reconnect, server send a bad SEQ number.
CLIENT SERVER
SYN seq0 ---->
<---- ACK seq1 (Wireshark said TCP ACKed unseen segment)
RST seq0 ---->
Result, just the first connection after the start of server is done.
Image : Viewing image omOLI.png[^]
Please, do you have any idea ?
(PS. no problem with other Modbus library and server in Java)
Thanks !
Aurélien
from France
modified 1-Apr-16 10:06am.
|
|
|
|
|
I would say that the TCP driver is responsible for sending the FIN. This problem likely has nothing to do with the TcpListener .
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
OK, thanks.
I go to see the code source of Modbus library this monday.
|
|
|
|
|
I thought one of the points of MODBUS was that the "slave" only responded to direct commands from the "master", and did not initiate communications on its own (which you seem to be doing); regardless of disconnects or timeouts.
(Ignore me if MODBUS has expanded beyond my apparent limited view and use).
|
|
|
|
|
Modbus on Ethernet not really have the same definition with master and slave.
An equipement is master when it reads/writes to another equipement.
And, the same equipement is slave when it responds to a query (read/write).
In my situation, my C# server is only slave because it not reads/writes anything to an other equipment.
Only PLCs writes holding registers to the server.
|
|
|
|
|
I am beginner in Multi-threading in C# & confuse in current task.
My task is to read datatable and display datatable in C# console application using multi threading.
I have three threads and one datatable which have 50000 Rors.
All thread must start same time.
I want :
1st thread print 1st row.
2nd thread print 2nd row.
3rd thread print 3rd row.
again
1st thread print 4st row.
2nd thread print 5nd row.
3rd thread print 6rd row. Continue till last row.
How to implement this???
Is there any other technique to do this????
|
|
|
|