Bonjour tlm,

Je voudrais réaliser un programme qui communique avec un équipement en utilisant la communication série. Je ne sais pas vraiment par où commencer?

La trame, c'est du chinois pour moi. Voici ce que j'ai trouvé dans la documentation:

Communication Settings
Baud Rate: 9600
Data Bits: 7
Stop Bits: 1
Parity: Even
Handshaking: RTS/CTS
Message Terminators: 13 (CR), 5 (ENQ)
Character Delete: 0 (NULL), 2 (STX), 3 (ETX)

Protocol: Standard With Intelligent Response

Startup String: (Not used)

Shutdown String: (Not Used)

Break on Startup: Yes
Break on Shutdown: Yes
Break Length Ms: 300

Intelligent Response 1
Look For: <3> (must be entered as <3> and not simply 3)
Respond With: <6> (must be entered as <6> and not simply 6)
Response Delay Ms: 300

Intelligent Response 2
Look For: <5> (must be entered as <5> and not simply 5)
Respond With: 6**A***DD<4>
Response Delay Ms: 500

Where you see the * symbols in the Response String above, these are actually spaces.

One * equals one space. The string actually looks like, 6 A DD<4>

Intelligent Response 3
Default Settings, Not Used

Window Options+
Date/Time Tag: Date Only

Message Transfer+
Delete all lines containing RTJ: this removes the Real Time Journal making the alarms/events more readable. This should be used in conjunction with the Date Tag.

Une idée?

Merci d'avance.