Re: Multiple Sensoray cards with Windows Real Time Target



Hi Quinton,

slot numbers aren't necessarily small numbers from 1 to 32. Motherboards use various numbering schemes, so it is important to start searching around what does "rtwho" display after you load the driver without any slot number. It does load without error in this case, doesn't it?

Or try this little program which searches slots from 0 to 65535 - it may take up to 15 minutes to finish but should be able to reliably find the slot number.

%%%%%%%% save this as slotdetect.m
function slots = slotdetect(name, numboards)

slots = [];
for slot=0:65535
try
rtload(name, slot);
slots(end+1) = slot;
if numel(slots)>=numboards
break;
end
catch ME
end
end
slots = dec2hex(slots);
%%%%%%%%

% then call it like this:
slotdetect('Sensoray/Model_626', 2);

This will print the slot numbers in hex, and you should then type them to driver GUI literally as printed.

Good Luck, Jan


Quinton Christensen wrote:
Thanks Jan,

I spent about an hour last night changing PCI slot numbers starting from 1 through I believe 32 and never got them to recognize the cards. I noticed that the port numbers are listed as being a hex value so would I try 0 through F ?

Thanks again for your help.

Quinton


--

--
Jan Houska HUMUSOFT s.r.o.
houska@xxxxxxxxxxxx Pobrezni 20
http://www.humusoft.com 186 00 Praha 8
tel: ++ 420 284 011 730 Czech Republic
fax: ++ 420 284 011 740
.


Quantcast