CANhack.de CAN interfaccia RKS+CAN
Tecnica diesel, tecnica motori, diagnosi auto, riparazione e manutenzione.

CAN Bus Simulator

 
Nuovo argomento 🔒 Bloccato 🔗 🖨 CANhack.de - Indice » Generale
Autore Messaggio
mobbi1



Iscritto il: 09/12/2016
Messaggi: 1
Karma: +0 / -0   Grazie, mi piace!


Account gratuito, nessun supporto sviluppo CAN

Messaggio13-03-2017, 18:07    Oggetto: CAN Bus Simulator Traduzione in corso...

[Traduzione in corso...]

Hallo miteinander,
ich bräuchte mal ein wenig Hilfe.
Ich will eine Art Simulator Panel in C# schreiben.

Was soll dieses Panel können:
-ID auswählen
-Nachricht editieren

und das ganze als Kombination über die serielle Schnittstelle verschicken, so dass ein CAN Interface die Daten aufzeichnen kann. Eben ein ganz einfacher Simulator.

So in etwa wie das Video hier. Nur nicht all zu kompliziert:
https://www.youtube.com/watch?v=c6LqRw0NHtQ


Hat jemand eine Idee wie man das am einfachsten realisieren kann?

MFG
mobbi
Torna su Profilo MP
Paulius
Hacker
Hacker


Iscritto il: 13/11/2013
Messaggi: 61
Karma: +7 / -0   Grazie, mi piace!


Supporto CAN

Messaggio13-03-2017, 20:34    Oggetto: CAN Bus Simulator Traduzione in corso...

[Traduzione in corso...]

sorry, maybe i dont understand correctly was is your problem.

I did in this way:
I choose USB HID communication.
though about protocol how send data from PC to interface.
Write PC application to pack my data into packet, and send this package to interface.
Interface will parse it, prepare and send CAN message.

So basicaly interface only parse and send. PC application does all rest things.

Now i can fill message fields, press button and CAN message will be sent. Also i can put this function to thread or timer function and i will send CAN message periodical.
Torna su Profilo MP
Furis



Iscritto il: 16/11/2016
Messaggi: 1
Karma: +0 / -0   Grazie, mi piace!


Account gratuito, nessun supporto sviluppo CAN

Messaggio14-03-2017, 10:43    Oggetto: CAN Bus Simulator Traduzione in corso...

[Traduzione in corso...]

I think the point is he wants to create a simulator by himself. Selecting an ID change the message and then send it via RS232 (par example) out.
Torna su Profilo MP
Paulius
Hacker
Hacker


Iscritto il: 13/11/2013
Messaggi: 61
Karma: +7 / -0   Grazie, mi piace!


Supporto CAN

Messaggio14-03-2017, 12:36    Oggetto: CAN Bus Simulator Traduzione in corso...

[Traduzione in corso...]

Furis ha scritto:
I think the point is he wants to create a simulator by himself. Selecting an ID change the message and then send it via RS232 (par example) out.

So i wrote the same.
PC app > prepare data > send data to interface > interface parse data package > send CAN message.
Torna su Profilo MP
CAN-Diagnose
Administrator
Administrator
Avatar-CAN-Diagnose

Iscritto il: 07/06/2011
Messaggi: 573
Karma: +29 / -0   Grazie, mi piace!
Località: Ländle



Messaggio14-03-2017, 13:04    Oggetto: CAN Bus Simulator Traduzione in corso...

[Traduzione in corso...]

KCANMonitor kann das was der Threadstarter anfragt sowieso schon.

Siehe "Send and Replay" View im Video ab 1:42:
http://www.canhack.de/it/viewtopic.php?t=2023

Wenn es schön macht, kannst Du natürlich Deine eigene Oberfläche mit C# schreiben und das API nutzen:
http://www.canhack.de/it/viewtopic.php?t=137

Viele Grüsse, Rainer
Dipl.-Ing. (FH) Rainer Kaufmann - Embedded Software Freelancer
System RKS+CAN: CANHack.de CAN-Bus Interface


Ultima modifica il 14-03-2017, 13:05, modificato 1 volta in totale.
Torna su Profilo MP WWW
Nuovo argomento 🔒 Bloccato 🔗 🖨 CANhack.de - Indice » Generale
Articoli e argomenti simili
Argomento Forum
Nessun nuovo messaggio CAN-Simulator Bus CAN Generale
Nessun nuovo messaggio Can Simulator CAN Motore
Nessun nuovo messaggio Suche Can Bus Simulator Bus CAN Generale
Nessun nuovo messaggio Antwort auf PID00 für OBD2-Simulator CAN Diagnosi
Vai a:  
Non puoi scrivere nuovi argomenti in questo forum.