| |
|
|
- Page 1 - |
|
QWurzel | Hello on any,
I Search a Possibility Arduino-Controller over The USB-interface with Profan anzusteuern. (Arduino UNO or Arduino Duemilanove (over Virtual-USB) )
If the here someone already time made?
About The COM-command have I it already attempts. the has but nothing brought.
I Please therefore for a example.
(need I a additional DLL to Ansteuerung ?)
Thank you! |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
QWurzel | have the following Program (Script-Language) found and tested: "AutoIT" means with "AutoIT" can I with the same Ansatz How with XProfan whom Arduino controlling.
Why weg The COM-command not XProfan ?
(with AutoIT have I The same COM-Parameter) |
|
|
| |
|
|
|
| yet having any Controller-Freaks gemeldet that The com-command super so functions. have You time SetComExt angeschaut? I faith that this the Key to that Happiness is or. my I on it To remind. myself be unfortunately no Controller-Freak and kanns not testing. |
|
|
| |
|
|
|
GDL | Hallöle
probier times under the Prerequisite the com25 The Right thing is.
f% = @OpenCom("COM25", 12024, 12024) print f% ' look over whether interface at all opened becomes @SetCom("COM25:9600,n,8,1") data$=chr$(2) Error%=WriteCom(f%,data$) ComError(f%) print Error% sleep 1000
with Error% should You see whether what gesendet becomes. and then first closecom(f%)
so GEHTS by me correct |
|
|
| |
|
|
|
| another Info of Georg:
You write: @WriteCom(f%,"2")
the sends byte 50.
If you byte 2 Send want then:
|
|
|
| |
|
|
|
QWurzel | Juhu!
I bin's again!
so How your the see goes it unfortunately not.
XProfan shining no "RS232" To support.
with the "commg.dll" of AutoIT shining But to go.
Bsp. :
Declare hCom&
hCom& = @UseDll("commg.dll")
Def @SetzePort(8) !"commg.dll","SetPort"
Def @SendeString(2) !"commg.dll","SendString"
Def @BeendeCom(1) !"commg.dll","CloseDown"
@SetzePort(25,9600,8,"none",1,2,0,0)
@SendeString("1",0)
@BeendeCom(0)
|
|
|
| |
|
|
|
Pedro Miguel | Hello QWurzel
Fals possibly poste still a small Beipiel circa data To Send and To receive with the DLL. where can I The DLL find.
already since years use I XProfan and the serial interface and I so no Problems. Fals but the from you named DLL rather functions watts I it too gladly experementieren.
greeting Pedro |
|
|
| |
|
|
|
QWurzel | Hello Pedro,
The DLL is in the attachment include.
or use subesquent Link: [...]
The Dll functions by me to that seriellen reading and Send.
thereby use I a Arduino (on USB) and Windows 7 64bit.
XProfan supported even no "USB to RS232" ! or ? |
|
|
| |
|
|
|
maroro | reading goes In any drop.
I read a ESP8266 over The virtual com from. |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
Walter | have me now to Kurzem too on a Arduino ventured - and be with the XProfan COM-command very successful.
to that a has me IFs List the COM-Ports helped [...] , to that others in the X4-Help in the "Einführung / 18.2 - The serial Schnittstelle" quite far under the Beispielprogramm for a terminal, weiters too GDLs above-mentioned Examples.
The COM to find out, The windows the Arduino zuordnet, is händisch no trouble (over the Gerätemanager), tappt im dunkeln of computer but automatically explore To let already. I tried, in a Loop over The ermittelten COMs a Kennungsstring auszulesen, whom I of Arduino vorneweg always mitschicke. still somehow funktionierte then in the Loop the open not any more.
gives it there irgendeine simple Possibility? |
|
|
| |
|
|
|
maroro | So I would in the windows Regisry The at all vergebenen com Ports read [HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM] whom Ardino would I so program the it on a serial inquire reacted. into com Ports The inquire send ... the the correctly. answer is the Right thing. |
|
|
| |
|
|
|
Walter | Yes, thanks! hopefully come The incorrect therefore but not confusion... |
|
|
| |
|
|
|
Sub-Topic: So I would in the windows Regisry The at all vergebenen com Ports read [HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM] [...] created. |
|
|
| |
|
|