From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c84dc40bc7a8c185,start X-Google-Attributes: gid1164f8,public From: Roberto SAGOleo Subject: HELP: Alpha <-> serial-I/O <-> camera Date: 1997/03/06 Message-ID: <331F5969.41C6@freenet.hut.fi>#1/1 X-Deja-AN: 223528691 Organization: D.I.S.T. Newsgroups: comp.sys.dec 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