06-29-2006 10:21 AM
06-30-2006 09:25 AM
Hi,
In MAX, we don't automatically identify our chassis, it's a manual process, so if there was a way of finding out exactly which chassis it was, then there'd be no need for this. (knowing the chassis model, then you could have a lookup table for the number of slots)
An alternative would be to look at the number of devices plugged into the chassis.
Are you on a MXI link, or directly on the controller?
The information for PXI devices can be found under the following Windows registry key:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\PCI. All NI PXI devices will begin with "VEN_1093...."
If a MXI interface is used, you still get to all of the devices, but the PXI boards on the remote device will appear to have the slot number of the MXI card. THat still atleast gives you a number of devices though.
Does that help?
Can I ask why you need to do this?
The above information came from here : http://digital.ni.com/public.nsf/websearch/2342900AED02975A86256BD800764C8B?OpenDocument
Thanks
Sacha Emery
National Instruments (UK)