Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* HELP: Alpha <-> serial-I/O <-> camera
@ 1997-03-06  5:00 Roberto SAGOleo
  0 siblings, 0 replies; only message in thread
From: Roberto SAGOleo @ 1997-03-06  5:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-03-06  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-06  5:00 HELP: Alpha <-> serial-I/O <-> camera Roberto SAGOleo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox