Page 1 of 1 1
Topic Options
#172377 - 2007-01-04 01:42 PM lpt and/or serial port controlling [ANYONE? INFO NEADED]
Dejan Offline
Lurker

Registered: 2007-01-04
Posts: 3
Loc: Rijeka, Croatia, Europe
First sorry for my terreble english.
Is port control possible in Kixtart? If yes, where cann i find some examples, tutorial etc. I have look all over your site and didn't find any anwsers.
Tnx in advance

Dejan


Edited by Dejan (2007-01-06 11:44 AM)

Top
#172383 - 2007-01-04 02:36 PM Re: lpt and/or serial port controlling [Re: Dejan]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
Hi Dejan and Welcome to the board,

Sure, is this what you are looking for?
If you want to delete something on LPT1:
Code:
Use LPT1 /delete


If you want to attach a printer to LPT1:
Code:
Use LPT1 "\\ServerName\PrinterShareName"
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#172384 - 2007-01-04 02:41 PM Re: lpt and/or serial port controlling [Re: Benny69]
Dejan Offline
Lurker

Registered: 2007-01-04
Posts: 3
Loc: Rijeka, Croatia, Europe
Well, i nead to control some of pins. I nead a state of 0 or 1 changing. In example, if keypressed "p" turn pin 8 in state "1" (some voltage).
If keypressed "s" turn pin 10 in state "0". and so on. I just nead command like in c++ "outb(32, LPT1PORT);" or something like it.

Top
#172385 - 2007-01-04 02:43 PM Re: lpt and/or serial port controlling [Re: Dejan]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
Don't think that is possible with KiX at least.
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#172391 - 2007-01-04 04:03 PM Re: lpt and/or serial port controlling [Re: Benny69]
Dejan Offline
Lurker

Registered: 2007-01-04
Posts: 3
Loc: Rijeka, Croatia, Europe
Anyone think this is possible? Anyhow, some UDF?
Tnx

Top
#172392 - 2007-01-04 04:05 PM Re: lpt and/or serial port controlling [Re: Dejan]
Björn Offline
Korg Regular
*****

Registered: 2005-12-07
Posts: 953
Loc: Stockholm, Sweden.
I estimate that kix is a bit to highlevel-language for that.
_________________________
as long as it works - why fix it?
If it doesn't work - kix-it!

Top
#172469 - 2007-01-06 08:19 PM Re: lpt and/or serial port controlling [Re: Björn]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
KiXtart cannot do so natively. Howeve,r you can utilize a COM component that can interact with e.g. serial interfaces. Similar to what e.g. http://www.marshallsoft.com/serial-communication-library.htm offers.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 259 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.155 seconds in which 0.086 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org