Detect and employ PCI or PXI chassis

I'm currently on a project which has historically bee based around a PCI backplane (in a desktop PC) containing a couple of PCI-6229 cards and a PCI-7833R. This forms the core of a testrig of which there are about 25 instances worldwide. In addition, we also support many rigs which are cored around a NI PXI chassis.
There is a drive to replace the PCs and we have opted for a for smaller footprint unit having fewer PCI slots. These are being equipped with an MXI extender card to a PXI backplane. This means in future, we need only keeps spares in the PXI format. Supporting two sets of backplanes containing near-identical hardware without implementing two near-identical pieces of software does present its problems: The FPGA bitmap build for the PCI version of the card will not open through the reference type for the PXI version of the card. We need to have a PCI and a PXI version of the bitmap. Irritatingly, the source code for these two is identical.
The first part of the solution is to establish which backplane we're using. This is straightforward. Supplying the VISA Find Resource function with the appropriate search string will identify if any PXI backplanes are connected. (Figure 1.)
Next, we need to maintain references to both FPGA VIs. Figure 2 illustrates how the FPGA to be used can be opened and proposes a structure in which the references to all available FPGA types (this example actually has four FPGA bitmaps which might be selected). In each of the other cases, the appropriate bitmap is selected in the Open FPGA Reference VI. Further, in each case, the reference is wired to the appropriate component from the cluster. (For calibration records, we also find it necessary to return the serial number of the card, but that portion of this code can be ignored.) Notice that the FPGA_Type component of the cluster is used to control which bitmap loads and which Ref component is used to store its Reference. This is necessary because the reference types are different for each bitmap.
Having set FPGA_Type, Figure 3 shows how to employ the selected resource. A separate Read/Write Control must be coded for each FPGA type.
Closing the resource also requires a case for each FPGA type.
I hope anyone else planning a stepped migration between backplanes can make use of this.

To program any DAQ card for use in Linux you need to use Register Level Programming. Unfortunately, Register level programming for the counter/timer products based on the NI-TIO ASIC (includes the 660x boards) is not supported.

Similar Messages

  • Can I use NI 5761 and NI 7954R on PXI chassis to work as an oscillosco​pe?

    Hi all,
           Is it possible that we use NI 5761 digitizer and NI 7954R FlexRIO to work as an oscilloscope? I know there are some PXI oscilloscope modules. I am wondering whether we can use the 5761 digitizer to work as an oscilloscope. If it is possible, is ther any access to the labview and fpga code?
           Thank you very much.

    Hello qdlpavel,
    Have you looked into the NI5761 - Getting Started example project? You can find it from LabVIEW by navigating to Help » Find Examples. Then, with the NI Example Finder open, search for 5761 and the Getting Started example project should show up.
    Daniel K | NI Applications Engineer | Certified LabVIEW Developer

  • Use NI LabView and LabView RT with third party PXI chassis

    I want to use NI LabView and LabView RT, some PXI chassis of N.I and
    some PXI chassis of Third Party( not N.I ) for diversity, How I will Install
    Pharlap ETS ( LabView RT ) on those third party PXI's.
    More simply
    Third party PXI chassis and controllers support LabView RT or not?
    Note: Mark Andre Hary [email protected] of Sensing Systems LLC answer to this question as:
    "You can't.  I think NI bought Pharlap, and they do not offer board support packages (BSPs) for non-NI PXI controllers.  There is no way to get LabVIEW-RT running on a controller not purchased from NI.  You will have to use a standard RTOS like Linux,VxWorks, or QNX.
    Regards

    As described in the web links below, the only way to run LabVIEW Real-Time for ETS on a third-party system would be to follow the procedure for desktop PC computers. You may find that your third party PXI controller may meet the requirements listed in the below link and you will be able to run Real-Time on the controller. If you decide to do this, you will need to purchase the LabVIEW Real-Time Desktop Deployment license (also linked below). After purchasing the deployment license, you will be sent boot disks that will install the real-time OS onto your system. There is no need to purchase Pharlap ETS from Ardence directly.
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/cb3434da94466dd286256e9e006bb775?OpenDocument
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/13751
    Instead of using LabVIEW Real-Time for ETS, you could use LabVIEW Real-Time for RTX instead. This system allows you to run Windows and the Ardence Real-Time eXtensions (RTX) real-time kernel concurrently on one machine. Currently device support for LabVIEW RT for RTX systems is limited to RIO devices. This is all described in the below link.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/9cc60298315a687e86256e78007b3a96
    I hope this answers your question.
    Regards,
    Kristi H - National Instruments

  • Compatability of LabView RT with Third Party( NOT N.I ) PXI chassis

    I want to use NI LabView and LabView RT, some PXI chassis of N.I and
    some PXI chassis of Third Party( not N.I ) for diversity, How I will Install
    Pharlap ETS ( LabView RT ) on those third party PXI's.
    More simply
    Third party PXI chassis and controllers support LabView RT or not?
    Note: Mark Andre Hary [email protected] of Sensing Systems LLC answer to this question as:
    "You can't.  I think NI bought Pharlap, and they do not offer board support packages (BSPs) for non-NI PXI controllers.  There is no way to get LabVIEW-RT running on a controller not purchased from NI.  You will have to use a standard RTOS like Linux,VxWorks, or QNX.
    Regards

    Hello,
    You can install LabVIEW RT ETS on a third party PXI controller just as if it were a PC.  Check the requirements that a PC needs to have in order to run LabVIEW RT ETS.
    Check the following link:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/cb3434da94466dd286256e9e006bb775?O...
    Ricardo S.
    National Instruments

  • Ethercat won't boot on PXI chassis

    I have a PXI chassis successfully running Industrial EtherCAT 2.0. I've retrieved the image using RTAD and imaged a new PXI chassis. Afterwards I went into MAX and verified that my primary ethernet and Master EtherCAT NICs were set correctly. Regardless, when I boot my newly imaged PXI the phase "NI-Industrial COmmunications for EtherCAT 2.0 started successfully" is never shown on the console out and my PXI returns ZERO discovered EtherCAT chasiss/channels. Why is this not booting??
    Thanks,
    Craig

    Hi Craige,
    I think this is the KB you are talking about.
    Cheers,
    Ryan
    Applications Engineer
    National Instruments

  • NI System Monitor. PXI chassis info? Where?

    I am trying to update my system to LV 14 from 12.  However I used the NI System Monitor to read various temperatures and items from my PXI chassis.  It seems that the installer for NI System Monitor only works up through LV 12?  Is there a replacement?  Has this useful tool just been dropped?  Did NI just forget to update it for 2 years?
    http://www.ni.com/download/ni-system-monitor-1.2.0​/3550/en/
    Solved!
    Go to Solution.

    Jeff·Þ·Bohrer wrote:
    I'm with the blue bars on this Scott.  The system configuration API is the way to go.
    I am fine with the "Blue Bars".  Or any decent bar or brew pub, but the Documentation then should mention that for newer versions the functionality have been superseded or replaced with the "System Configuration" API.  I don't mind switching API, but a little pointer on the road map goes a long way in helping one stay on track.  Especially for those of us who sometims leap frog versions!

  • Problems with the link between PXI chassis and PC via MXI-4

    MAX display the chassis with a yellow exclamation point, and the MXI-4 conection monitor indicates taht the connection to the chassis has timed out.
    Under the windows device manager appears PCI std PCI-to-PCI bridge and MXI-4 connection monitor working properly.
    The system has bben working properly for one year and suddenly start to fail.
    I've tried to uninstall fromn device manager and reinstall again, and teh problem continues. When the PC starts detect new hardware and reinstall from CD with MXI-4 software for windows v 1.0
    Only the led PWR lights. The link indicator remains always off, from power up continuously. The cable connection has benn checked ok.
    The chassis is powered up in the proper sequence, first the PXI chassis, and the the PC.
    Operating system windows XP service pack 2; latest update KB835732 30/12/2004 (V 6.2)
    labwindows/cvi (fds) 7.0
    ivi compliance oackage 2.1.2
    max 3.1
    ni-daq 7.3
    visa 3.1
    chassis pxi-1000b with PXI-8331.

    Hello,
    it could it be an incompatibility with the desktop PC (maybe?). I know of cases in which the PCI board can be incompatible with a certain PC for various reasons (PCI bus not 100% compliant to PCI standards, PCI power rails, PCI bus-master capabilities, motherboard/chipset issues, etc..).
    I mean, has the PC been changed?
    Wich PC model/brand is it?
    Have you tested it on another of PC (another model)?
    In case you have already tested your mxi-4 in other PCs and the behavior is the same, I suggest you to contact your local NI office for assistance.
    Regards,
    Jorge M.

  • HELP! I need to be able to remove power from a PXI chassis and replace a card without rebooting the whole system

    I do not have particulars on the controller, but I am sure it's an NI chassis
    and NI regular controller that has a serial cable leading back to the PC.
    I am making this PXI rack into a debug rack for instrument cards,
    so I need to be able to remove power from just the PXI chassis
    and then replace the card with another one
    or the same one and then turn the power back on and restart a
    diagnostic test on the card WITHOUT
    having to reboot the PC.
    Is there a PCIe bridge setup that would allow me to do this?
    Is there software that I need that can accomplish this?

    Yes
    The Chassi is a NI PXI 1045
    and the controller is a NI-PXI-8331
    Let me re-enumerate my requirements:
    Background:
    I have a number of NI cards as well as other manufactured cards in the system.
    One of these cards in the NI system is considered to be a UUT.
    That is, I am using the NI card cage system and other cards in the system to test a CARD
    during a manufacturing test of said UUT CARD.
    The UUT uses a PLX 9030 for it's PCI interfacing.
    This UUT is not designed for hot swap, and I do not bieleve it is plug and play.
    Requirement:
    1. I need to be able to shut off the chassis and remove the UUT when the test finishes, replace the tested UUT
    with a unknown UUT, re-apply power and then test the new UUT WITHOUT having to reboot the PC.
    I have tried several things, such as disabling the PCIe busses in the windows control panel, and then removing power
    replacing the UUT with the next one, re-applying chassis power and then re-enabling the bus and SOMETIMES it works.
    I need a very robust way to do this.
    I also bought a CHROMA PXI-52906-E extender card with bus switches on it, so that I can remove power to the UUT
    without shutting off the chassis. The card is supposedley designed so that when power is re-applied to the UUT, the necessary
    signals to boot the PXI PCI interface is conducted, but I think something else has to be written to the card's PCI registers.
    I am by no means an expert in PCI/PXI, 
    but I seem to have exhausted all of my reserach online in how to meet my requirements.
    Perhaps there is a way for the NI8331 controller to capture PCI configuration data to the card's on system boot,
    and then "replay it" to my UUT after I re-apply power to the UUT?
    Or perhaps PLX makes such a tool?
    Any ideas?

  • Will NI PXI chassis support NI PCI card?

    Will NI PXI chassis support NI PCI card? If not means WHY???

    National Instruments PXI chassis and cards are keyed for 5V operation, and there are not any current plans to migrate to a 3.3V setup. We currently do not have a solution for using a 3.3V-only card in one of our chassis.
    Ryan Tamblin
    Applications Engineer
    National Instruments

  • Access PXI chassis resources via LAN and MXI?

    I have a PXI chassis that I access from an external PC via MXI. I would like to have remote access to the PXI system from another PC on the network. [How] can I do this?

    This really depends on what you mean by remote access. If you want to see what's running on the external PC you can use remote desktop (a summary of setting this up is below). If you're running LabVIEW and want to see a VI you could try "remote panel connection" in the tools menu.
    To use remote desktop the external PC needs to be running WinXP Pro (and the other PC needs a version of WinXP).
    To enable remote desktop on the external PC, go to "system properties" (right-click on "my computer" and select "properties"), and enable it on the "remote" tab.
    From the other PC, go to start->all programs->accessories->communications->remote desktop connection.

  • Timers do and communication not working on RT system on PXI chassis

    I am having problems with my application when I "Install it to a real-time target". When I run the program in debug mode everything works fine.
    I have two programs. One runs on a real-time OS on a PXI chassis Controller (Client). The other runs on my Windows 7 PC (host).
    When I run the Client application in debug mode (Run->Debug Project) everything works fine. When I run the Client application in the release mode (Run->Install Program to Real-time execution target) things do not work.
    It appears that the timers do do start. The Client application does receive communication sent from the Host application but is not able to send communication from the Client to the Host.
    I have been fighting this for a while and have tried to get help through emailing the support but have not had much luck that way. I think I need a phone call with an application engineer.

    It is not LabView. I am developing software with LabWindows\CVI. I've seemed to narrow things down a bit. When I send a message to my application on the PXI Controller it is  calling a function PostDeferredCall(...). The deferred function is never called. Not sure why it works when I am running the code in Debug Mode but not when I install it on the target. In my while loop in my RTmain() function it looks like this:
     while (!RTIsShuttingDown () && !gDone)
      /* Your code. */
      /* Sleep for some amount of time to give the desired loop rate */
      /* and to allow lower priority threads to run.                 */
      SleepUS (1000);
      ProcessSystemEvents ();
    I thought the deferred function was supposed to be called in the Main thread? Not sure where it is hanging up yet.

  • Program identifies the pxi chassis

    I have a utility in Lab Windows CVI 2012 that runs on a PC, PXI or PXIe. I would like the program to be able to identify which of these it is running on.
    Right now we have a read of a device in the PXI chassis, just initialize a switch card, if it is successful, we have the PXI or the PXIe. My concern is if that one card is not present, also this results in a run time error if the card is not there, or if it is a PC.
    I would really like something to read directly from the PXi, a serial or device number or something. Sort of like we have in our code to read the type of CAN device, first we get the CAN device number, then the device type:
    /* find "can_num" for NI CAN device (just not USB) */
    Status = ncGetHardwareInfo(can_num, 1, NC_ATTR_HW_FORMFACTOR, 4, port_check);
    /* use "can_num" from PCI, PXI, or PCMCIA Device to get port number */
    Status = ncGetHardwareInfo(can_num, 1, NC_ATTR_INTERFACE_NUM, 4, port_check);
    Is there any such function to read the PXI chassis?

    Hi Ken-this-..., 
    I think what you want is DAQmxGetDeviceAttribute().  Here is a link to a similar post:
    http://forums.ni.com/t5/LabWindows-CVI/How-to-detect-PXI-chassis-cards-and-their-serial-numbers-in-C...
    Peter T
    Applications Engineer
    National Instruments

  • MULTI PXI CHASSIS

    Dear All,
    Based on my requirement i wanted to use 8 modules of NI PXI-6238. I thought to use 9-slot chassis with Processor and 8 modules of NI-PXI-6238, However, the PXI Advisor did not allow me to insert 8 modules of the above type (Reason unknown).
    But i continued the design selecting 14 slot chassis with 8 modules of NI PXI-6238 and processor. With this design almost 5 slots remain unoccupied.
    To optimize the design, is it possible to select 2 (6-slot chassis) connected for extension, in order to place the remaining 3 modules of NI PXI-6238 in the second 6-slot chassis. Please advice as i am new to designing systems with PXI.
    Is this configuration possible ?? and does the second chassis also needs to be equipped with Processor ??
    Regards,
    Srini

    Jim,
    first of all: Is the increased jitter in "time per UUT" a problem for the system?
    I don't get the point of the 'image' you are referring to. WinXP can handle multi core and will use all cores available to it. So if you create a WinXP image on a single core, install and run it on a multi core machine, it will behave differently than on the single core. The scheduler will take all availables cores to run the tasks on and will possibly switch tasks currently running from one core to another. This is called "load balancing" and there is always a chance something like this happens. Please note that swapping tasks from one core to another is creating overhead.
    There have also been changes in the TS and LV versions regarding multi core support since true parallelism (which is possible on multi core machines, but not on single core) requires additional security features. Simple reason: prevention of race conditions. So for instance, LV includes now an improved algorithm for detection and resolution of race conditions for subVI calls (non reentrant). The increased security has a pay off: the time for the algorithm to work properly is increased by about 100% (from about 1us to nowadays 2us).
    There are many features to control execution of the tasks on the cores, but most often, the automatic load balance leads to the best/fastest execution times.
    Nevertheless, there might be some additional jitter as you observe.
    So if the jitter is something you can capo with, than i would simply take it as "as is". If the jitter is unbearable, this is definetly something we should take a closer look. If so, you should post some example code.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Do NI PXI Chassis support 3.3V PXI?

    Newer DSPs, e.g. TI TMS320C6415, which have a PCI interface built in, only support 3.3V PCI levels. Therefore, the PXI chassis must operate at the 3.3V level as well. In addition, the cards, such as MXI-3 need to operate at those same levels. Will they? If not, does NI have any migration plans to 3.3V? Also, if 3.3V is not supported, then does NI have any suggestions for how to use a 3.3V only chipset in a new design which is intended to fit into a NI PXI cardcage? Thanks.

    National Instruments PXI chassis and cards are keyed for 5V operation, and there are not any current plans to migrate to a 3.3V setup. We currently do not have a solution for using a 3.3V-only card in one of our chassis.
    Ryan Tamblin
    Applications Engineer
    National Instruments

  • How many PXI Chassis can be connected (Daisy Chain)on MIXI Express.

    How many PXI Chassis can be connected (Daisy Chain)on MIXI Express?
    Regards
    Prabhakant Patil

    Hi Prabhakant
    Based on the MXI-Express datasheet and the MXI-4 Series User Manual "The PCI specification makes provisions for up to 255 bus segments to simultaneously exist in a PCI hierarchy and MXI-4 hardware provides everything needed to support those provisions." 
    I'll get back to you after speaking to a specialist.
    Kind Regards
    Chris | Applications Engineer NIUK

Maybe you are looking for

  • Apps 11i  SET_CLIENT_INFO in Multi-Org environment

    How do you set the client info (dbms_application_info.set_client_info) in a portal session so reports have access to correct Operations ORG data in a multi-org environment

  • Web temllates with tabs

    Hi Experts, I am using BI.7,but using web application designer(3.x). i am having a requrement to design a web template with multiple tabs. so could any body can say is it possible to create web templates with diffrent tabs by using web application de

  • Background Jobs are failing

    Hi Gurus, Below are the jobs which are being failed in our solution manager system since two weeks with error " Logon of user 'DDAWES' in cleint 100 failed.  Found that user got locked due to some auditing reasons and i had changed the background job

  • SAP NetWeaver Mobile 7.1

    Hi All, My name is Malinda and im totally new to SAP's Mobile Side. What i want to know is how or what do you need for to setup and run SAP Netweaver Mobile 7.1?, where does the Data Orchestration Engine & Mobile Administrator come? are these compone

  • Quicktime won't stay open.

    Our Itunes worked fine until just the other day. I was on the phone with Apple for 1 1/2 hours yesterday and tried everything. He told me that I should hit CtrlAltDel, and go to Processes. He said there was a program that was a program that was shutt