From: Roberto SAGOleo <sago@freenet.hut.fi>
Subject: HELP: Alpha <-> serial-I/O <-> camera
Date: 1997/03/06 [thread overview]
Message-ID: <331F5969.41C6@freenet.hut.fi> (raw)
Hi to everyone! 08-)
I have a serious (4 me) but simply (! 4 me) problem.
I have a video-camera connected to a Dec-Station Alpha,
in this way:
Alpha-station
/\
/||\
||
||
\||/
\/
digital/analog
interface
converter
/\
/||\
||
||
\||/
\/
video-camera
The problem:
------------
I wish adjust camera focus and zoom,
sending serial commands to D/A-interface;
the 'simple' following PC-GWbasic program works fine;
but I don't know which is the device
that I must open in a C-program
for communicating with the interface.
10 INPUT "VALUE_A";VA
20 INPUT "VALUE_B";VB
30 OPEN "com1:1200,n,8,1" FOR RANDOM AS #1
40 PRINT #1, CHR$(VA + 128); CHR$(VB)
50 C$ = INPUT$(1, #1): D$ = INPUT$(1, #1)
60 CLOSE 1
The question:
------------
<< How can I know which is the device
that I must open for serial communication
in my Dec-Alpha ? >>
E.g.
my_descriptor = open( "/dev/tty00", O_RDWR, O_NDELAY );
- Any ideas?
- FAQs?
- Presents for me?
- Sweet cakes?
Thanks in advance.
Roberto. 08-)
Please reply to: sago@freenet.hut.fi
reply other threads:[~1997-03-06 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox