PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

pxi slotdetection over MXI

Hello,

is there a function (LabView, CVI or other) to detect all used slots in an PXI-Sytem over MXI 3 and how will the scanning PC-System behave, when the PXI-System is switched off?
0 Kudos
Message 1 of 4
(3,638 Views)
Hi,

Programmatic slot detection of PXI modules is a common application. Normally, one wants to take a given device and determine in which slot that device is installed. In your case, it sounds as if you want to determine if there is a device in a given slot. There are a few different methods for accomplishing this task.

I suppose the easiest way to find all PXI instruments is to use the VISA Find Resources function. This function will return a list of all VISA resources. Fortunately, VISA supports PCI and PXI. You can then use this list to determine what PXI devices are installed. Unfortunately, not all PXI devices support VISA. For more information on using this and other methods, please review KnowledgeBase 2MDFG2WD: Programmatic PXI Slot Detection at ht
tp://digital.ni.com/public.nsf/websearch/2342900AED02975A86256BD800764C8B?OpenDocument. This method is method 2 in the KnowledgeBase and is demonstrated in the Example Program PXI Slot Identification Using PXI VISA Resource Names at http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E10F56A4E034080020E74861&p_node=DZ52405&p_submitted=N&p_rank=&p_answer=&p_source=Internal.

When the PXI system is turned off or disconnected, this method simply will not detect any PXI instruments.

I hope this helps.

Regards,

David Shatila
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,639 Views)

Thank you,

The programe is no longer available on the NI website. Can you please send me the programe?

Also I tried using VISA find resources on the machine with MXI but it detects only couple devices connected to the rack. Also it does not show all the deivces connected to the PXI rack in VISA handle resources. I wasj ust wondering is there is any settings to be configured in MAX before using the device so that it can be detected by VISA find resources VI?

Thanks.

0 Kudos
Message 3 of 4
(3,402 Views)
Hey Piyu,

Here is the current link to the program.  This program shows how to progamatically (in LabVIEW) detect the slot in which the PXI module is connected to.  As far as setting up MAX, did you take a look at the knowledge base that David refers to above?  This knowledge base talks about how to set up MAX to use the VISA Open function in LabVIEW to progamatically detect the PXI instruments. 

I hope this helps!

Jason W
Application Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,383 Views)