English
Forum

Arduino over USB controlling (with XProfan naturally) - How?

 
- 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!
 
01/13/13  
 



 
- 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)
 
01/14/13  
 



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.
 
01/15/13  
 




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
 
Windows7 Xprofan 8,9,10 [...]  [...] 
01/15/13  
 



another Info of Georg:

You write: @WriteCom(f%,"2")

the sends byte 50.

If you byte 2 Send want then:
declare s$
s$=chr $(2)
@WriteCom(f%,s$)
 
01/15/13  
 




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)

215 kB
Hochgeladen:01/18/13
Downloadcounter215
Download
 
01/18/13  
 




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
 
01/19/13  
 




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 ?
 
01/20/13  
 




maroro
reading goes In any drop.

I read a ESP8266 over The virtual com from.
 
05/18/21  
 



 
- 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?
 
05/19/21  
 




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.
 
05/20/21  
 




Walter
Yes, thanks!
hopefully come The incorrect therefore but not confusion...
 
05/20/21  
 



Sub-Topic: So I would in the windows Regisry The at all vergebenen com Ports read [HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM]  [...]  created.
 
06/10/21  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

21.715 Views

Untitledvor 0 min.
Matthias Griesbach10/26/23
Thomas Zielinski06/28/23
Walter04/30/23
H.Brill03/08/23
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie