I've got three instruments that Vee's controlling using PC's Com ports.
Com1 and Com2 work fine together but when I try to send a SCPI command to
Com3, Vee gets a timeout error. Com3 works fine, so long as Com1 is not
used in the same program.
I'm not trying to read data from Com3 (yet). Com1 and Com3 share IRQ4 which
I believe is normal and works OK with other programs that I have tested.
The Com ports have been configured to logical addresses 9, 10 and 11.
Has anyone had any experience with setting up more than two com ports ?
If I can't get this simple problem solved soon I'll write a DLL to do the
job and pass SCPI commands as string.
Jonathan Guy
jguy@xtra.co.nz
Guy Electronics Ltd.
Auckland, New Zealand
Ph (64-9) 535-4686
Com1 and Com2 work fine together but when I try to send a SCPI command to
Com3, Vee gets a timeout error. Com3 works fine, so long as Com1 is not
used in the same program.
I'm not trying to read data from Com3 (yet). Com1 and Com3 share IRQ4 which
I believe is normal and works OK with other programs that I have tested.
The Com ports have been configured to logical addresses 9, 10 and 11.
Has anyone had any experience with setting up more than two com ports ?
If I can't get this simple problem solved soon I'll write a DLL to do the
job and pass SCPI commands as string.
Jonathan Guy
jguy@xtra.co.nz
Guy Electronics Ltd.
Auckland, New Zealand
Ph (64-9) 535-4686
Jonathan Guy wrote:
>
> I've got three instruments that Vee's controlling using PC's Com ports.
> Com1 and Com2 work fine together but when I try to send a SCPI command to
> Com3, Vee gets a timeout error. Com3 works fine, so long as Com1 is not
> used in the same program.
>
> I'm not trying to read data from Com3 (yet). Com1 and Com3 share IRQ4 which
> I believe is normal and works OK with other programs that I have tested.
> The Com ports have been configured to logical addresses 9, 10 and 11.
>
> Has anyone had any experience with setting up more than two com ports ?
>
> If I can't get this simple problem solved soon I'll write a DLL to do the
> job and pass SCPI commands as string.
I once developed a VEE application that used 3 serial devices.
You have to assign 3 different IRQ's to the serial ports. You can not
allow COM1 and COM3 to share IRQ4.
I assume you have an extra serial card installed in your computer. You
can probably set COM3 to a new IRQ using jumpers. I believe that I used
IRQ5 for COM3 (Normally IRQ5 is assigned to the sound card or LPT2).
Kind Regards,
John Sletten
Independent Consultant,
Oslo Norway