Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

PC as Multiple device simulator

In order to test a large piece of software, I need to simulate a number
of devices. To achieve this, my simulator needs to capture the address
of the device that the controller is Talking to, and Listening from. How
is this done?

I am planning to use a PC running DOS, and with the simulator written in
C.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
0 Kudos
Message 1 of 2
(5,131 Views)
From my experience with GPIB I can think of two ways this might be
accomplished - I don't think it would be possible to change the GPIB adress
on the fly.

#1. Use mutiple GPIB cards with each card set up to the GPIB address of the
device you are simulating - the down side to this is that you could probable
only plug in 2 or 3 GPIB cards before you ran out of IRQs and DMA channels.

#2 Use multiple PCs with each one simulating a particluar device - 386 or
486 PCs (cheap and available) should be up to the task - this has the added
benefit of a more realistic simulation since you have all the loads and such
as the final system would.

Good Luck

Chris

asmith@sced.esoc.esa.de wrote in message <7lt78g$gsg$1@nnrp1.deja.com>...
>In order to test a large piece of software,
I need to simulate a number
>of devices. To achieve this, my simulator needs to capture the address
>of the device that the controller is Talking to, and Listening from. How
>is this done?
>
>I am planning to use a PC running DOS, and with the simulator written in
>C.
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.
0 Kudos
Message 2 of 2
(5,131 Views)