PXI-6541 Trigger Interrupt

Hello,
I'm using the PXI6541 to perform a simple digital output based on an interrupt input.
As seen in the attached diagram I drew up, I want one of the PXI's trigger lines to listen for a falling edge from my hardware.
Once the CONVST falling edge occurs, I want to wait x ns before I set one of the DIO pins (EN) to go high until CONVST goes high.
I've been modifying the HSDIO "Dynamic Generation of Multiple Waveforms" example VI in LabVIEW, trying to add triggering to it. (See attached VI). 
My problem is that it doesn't appear to wait for a trigger, but instead times out after a number of seconds. I've attached my modified VI to this post.
Also, what happens if I do not enable "Voltage Configuration"? What's the logic level it will work at by default?
Many thanks in advance.
Attachments:
Dynamic Generation + Trigger.vi ‏33 KB

Hi guys,
To answer each of your questions in turn.
Regarding the trigger lines, what is the difference between say PFI 0 and PXI Trigger Line 0/RTSI 0? I had been using the latter pin from the breakout cable. The hardware I am testing is just a bench top eval board for the part. I hadn't realised there was access to PFI 0 via the SMB connectors.
Regarding timing, I require a minimum of 15ns, so a 20ns interval would be fine for this. The constraint is to allow the part time to wakeup and setup, so having it slightly longer is ok.
Hope this clarifies the questions.

Similar Messages

  • Using PXI 6541 in real time applications

    Hi,
    I am using PXI 6541 for data acquisition from an electronic card. Electronic card generates an interrupt signal and PXI acquire data  when it gets interrupt signal. The interrupt signal is generated 1 KHz. But using my windows XP, I cannot acquire data on this high rate. The highest rate that I can acquire data is 50 Hz. If I want to acquire data with 1 K Hz, from electronic card using PXI 6541 and using Windows XP,  What Should I do.

    Are you trying to use the 'interrupt signal' as a sample clock for your acquisition?  If so, you should be able to route the signal to the PFI input and configure it as the sample clock.  
    As mentioned in your other thread (http://forums.ni.com/t5/Digital-I-O/Using-PXI-6541-in-real-time-applications/m-p/2561885), I would also recommend looking through some of the examples to get a starting point for your application.  
    James K.
    National Instruments
    Applications Engineer

  • Using PXI 6541 in real time applicatio​ns

    Hi,
    I want to use PXI 6541 in real time mood, can it be used in real time applications.

    I am using PXI 6541 for data acquisition from an electronic card. Electronic card generates an interrupt signal and PXI acquire data. The interrupt signal is generated 1 KHz. But using my windows XP, I cant acquire data on this rate. The highest rate that I can acquire data is 50 Hz. If I want to acquire data with 1 K Hz, from electronic card using PXI 6541 and using Windows XP,  What Should I do.

  • External in and out triggers on pxi 6541

    I need to use both trigger-in and trigger-out events.  It appears there is only one front panel port, i.e. SMB PFI<0>.  If I use that port for the trigger-in, what options are there to get a trigger-out signal out of the box (not pxi bus)?
    Solved!
    Go to Solution.

    The PXI 6541 actually has four PFI lines which can be used for importing and exporting triggers - though as you've determined, only PFI 0 has a direct front panel connection.  The others (PFI 1-3) are accessible through the Digital Data & Control port, and thus can be easily accessed when using either the CB-2162 or SMB-2163 connector block (or any similar breakout for the DDC port):
    http://www.ni.com/pdf/manuals/370369b.pdf
    http://www.ni.com/pdf/manuals/373660d.pdf
    Hope this helps!
    James M.  |  Applications Engineer  |  National Instruments
    James M. | Applications Engineer | National Instruments

  • How to use PXI Star Trigger for PXIe-5663 in PXIe-1075 chassis

    HI all,
    I have this sytem configuration:
    PXIe-8135 controller. Windows 7 64-bit, RFSA 2.7.5. NI-SYNC 3.4.1
    PXIe-1075 chassis
    PXIe-5663 (2x)
    PXIe-6672 Timing & Sync Card (slot #10)
    I want to trigger the recording of my Digitizer with an external trigger.
    The External Trigger is connected to PFI0 of the PXIe-6672 Timing card.
    Then, the PXIE-6672 card routes the trigger to the backplane of the PXIe-1072 (Destination "NISYNC_VAL_PXITRIG0")
    The PXIe-5663 are triggered with “NIRFSA_VAL_PXI_TRIG0_STR” as the source.
    The trigger fires my PXIe-5663 correctly, but the timing is not tight (> 5ns).
    I would like to use the PXI Star trigger instead, I think that I should be able to acheive much better synchronization with this.
    But NI-RFSA won't let me do this:
    When I try to call
    "niRFSA_ConfigureDigitalEdgeStartTrigger(rfsa_sess​ion, NIRFSA_VAL_PXI_STAR_STR , NIRFSA_VAL_RISING_EDGE)", I get the error:
    "Specified Route Cannot Be Satisfied, Because the Hardware Does Not Support It"
    I don't understand why the PXIe-5663E would not be able to use that Route.
    Any idea?
    Regards,
    Serge
    Serge Malo, ing.
    Concepteur logiciel
    Software Developer
    T (514) 842-7577 x648 | [email protected]

    That explanation isn't quite right. Usually, even PXIe modules have a connection to PXI_Star. The PXIe standard added the PXIe_DStar trigger buses, and it also preserved the PXI_Star bus from the PXI standard.
    However, there is an additional twist in this situation. I'm assuming that your PXIe-5663 includes a PXIe-5622 as the digitizer. It turns out that a synchronization technique called NI-TClk has eliminated the need for our more recent digitizers to rely on triggering from PXI_Star. I was able to find some documentation that includes this information, here and here. Given that, I think you have two options that should result in better synchronization.
    The first option is to use TClk; I found an example program that demonstrates using TClk to acheive phase coherent signal acquisition across two 5663s. The second option is to use cables of matched length to connect two PFI front panel terminals of the timing board (6672) to the PFI1 front panel terminals of the digitizers (5622). The timing board would accept the external trigger on PFI0 and then issue triggers on PFI1 and PFI2 with around 500 ps of skew (manual, page A-4) . The digitizers would use NIRFSA_VAL_PFI1_STR as the trigger. I hope one of these solutions will meet the demands of your particular application.
    I will also follow up with the owners of the RFSA product documentation to see if we can include a note about why PXI_Star is not supported in some cases.
    James Blair
    NI R&D

  • Compatibility between BNC-2090 and PXI-6541

    Can we use BNC-2090 terminal with HS-DIO  PXI-6541 ?
    John Doe

    Hello,
    As it said in the BNC-2090 documentation :
    BNC-2090 – A shielded, rack-mountable adapter with 22 signallabeled
    BNC connectors and 28 spring terminal blocks to simplify
    connections to your I/O signals. The BNC-2090 includes component
    locations for passive signal conditioning and connects to any 68-pin
    M Series, S Series, E Series, or B Series DAQ device.
    So your card isn't a DAQ card but a HS-DIO card, so it doesn't appear in the supported cards list.
    So it shouldn't be compatible.
    Please contact your commercial contact at NI France for more informations.
    Regards,
    Pierre R...
    Certified LabVIEW Developer

  • PXIe-1065 Trigger lines

    Hi all
    I'm trying to acquire data on 7 PXIe-6358 boards. All these boards are put in a PXIe-1065 chassis which is connecte to a RMC 8354 throught a MXI 8360. In order to synchronize all boards togethet i use a PXI 6682H board which will generate a clock and a start trigger on two PXI trigger lines.
    I made some test on a PXIe 1075 chassis and everything seems to work fine. I moved then on a PXIe-1065 chassis and now i'm having some problem when i try to acquire data on the 7 boards. When i have more than 5 boards, it seems at least one board doesn' receive either the clock or the start trigger.
    Then trigger are configured in MAX to go through all 3 bus. When i configure only 5 boards (wherever in the slot) i works fine. But when i declare more than 5 boards i have the problem again.... It seems you cannot connect more than 5 boards to the trigger lines.
    Does someone have an idea...

    Ok, i found the problem, it has nothing to do with the PXIe 1065 chassis.
    In my application i use the PXI 6682H to generate the start trigger and a clock. The acquisition tasks are waiting for the trigger to start the acquisition. In my case when i switched the chassis, the PXI 6682H becomes a master (in the old configuration it was parameter as a slave). When it is configured as a slave i check that the board is synchronized with the master (this can takes a little time). When i am the master i doesn't wait (cause i am already synchronized). Therefore, in that case the start Trigger is generated before all instances of the PXIe-6358 are started, and they wait indefinitively the trigger ....
    I modify the code in order to wait a certain amount of time (even if the PXI6682 is configured as the matser) , and now its works properly ...

  • Setting up a PXI-5412 Trigger

    Hi,
    I have a PXI-5412 FGen and a PXI-5105 Digitizer. I was wondering if anyone could explain how to internally and/or externally set up a trigger. The idea is that I'm sending a signal with a pulse repetition frequency (PRF of 500Hz for example) from my Fgen to one of the channels on my, but I would like the digitizer to acquire at that same PRF so that my signal is not all over the place.
    Both these PXIs are installed on a PXI-1044 chassis which I'm assuming was correctly set up!
    I know this should be relatively simple, but I don't know where to start. I've been seeing a lot of the NI-TClk VIs in the examples and discussions forums. Should I be looking to use those? And will I only be using one set of VIs for the Fgen or do I have to play around with the scope as well?
    If need be, I can provide more details on the way I set up the Fgen and the scope.
    Thanks,
    Marc

    Hi Marc,
    You're on the right track. TClk is one of the ways to synchronize your cards, and makes the most sense for your application.  You will need both a NI-SCOPE and NI-FGEN session with NI-TCLK tying the two together. Refer to this example:
    NI-TCLK Synchronize AWG and High-Speed Digitizer
    Let me know if you have further questions.
    Cheers,
    Aaron
    National Instruments

  • Pxie-1073 trigger

    Can the PXIe-1073 drive/monitor the PXI trigger lines?

    Hello Robert,
    I have not seen any software that can monitor and display the information of the PXI Trigger Bus that is in the backplane of the PXI. A workaround is using an external card that can be used to export this lines to the front panel of the PXI. Some of the cards that can help with this are the 6652 or the 6653 timing and synchronization cards.
    On the following link you should be able to see an example on how to export a Trigger to a PFI line:
    https://decibel.ni.com/content/docs/DOC-2350
    Also, I would like to show you some articles that speaks how to manipulate the trigger lines:
    Using PXI Timing and Triggering Functionality
    http://digital.ni.com/public.nsf/allkb/BD37A128B1DF27F3862570FC0072359D
    Routing PXI Trigger Lines Across the Buses of Multisegment PXI Chassis
    http://digital.ni.com/public.nsf/allkb/CA9A49FA50393C4186256DC200774E2B
    Signal Routing for PXI Devices - NI Digital Waveform Generator/Analyzer Help
    http://zone.ni.com/reference/en-XX/help/370520J-01/hsdio/hsignal_routing_pxi/
    I really hope this answer properly your question. If not, please let me know so I can see how I can assist you further.
    Regards,
    Luis C.
     

  • PXI 5422 Trigger output control

    How can the trigger output of the Digital Data and Control be controlled?
    Can it produce either a trigger pulse or digital value change on one of the PFI outputs through software instead of just at the start of the generation?

    Hi,
    Could you explain a little more about your application and what you are trying to achive,  as well as what events you want your trigger to be output on?  What is this tigger going to be driving?
    Thanks
    Matt Surridge
    National Instruments

  • Route PXI SMB connector to Chassis Trigger line

    Hi, 
    I want to use this toolkit to route my PXI SMB connector to a chassis trigger line.
    I ask this question to the originator of this tool with no response:
    Quote/
    I used your library to route my SMB connector on PXI controller to the trigger 1 line of the back plane of the chassis. But I have a question, when I route the signal to the trigger line I always have a 3.5vdc that output from my SMB connector of the PXI controller. I use the PXI SMB Trigger Router - Map Trigger.vi with input to "Input for Direction, Trigger 1 for Trigger, and False for Inverted Polarity". What I need to do the get 0vdc at the SMB connector and not getting a short circuit with my external device that generate a Trig.
    /Quote
    Anyone have experience with this tool that can help me to resolve my problem?
    Anyone have a different approach to route the PXI SMB trigger to a chassis trigger line?
    Thank you
    Dany
    Dany Allard

    Hi Frank,
    I use PXIe-8106,8108,8130 Controller, with PXIe-1062,1065,1075,1000B Chassis and 5663,5660,5673,5672 RF Module.
    Yes I have taken a look at this with no more success.
    In my application I have some limitation on the number of module most of the time the chassis is full.
    Can't add additional module.
    Have you tested this example on your side?
    Thank you
    Dany
    Dany Allard

  • Triggerring PXI-4110 to measure 1 current value while HSDIO PXI-6552 generating waveform

    Hi,
    Some question about PXI-4110 to measure current while PXI-6552 is generating the waveform. 
    1. Let say, I need to measure 3 points of current values, i.e. while PXI-6552 is generating sample-1000, 2000 and 3500. On the edge of sample 1000,2000 and 3500, the PXI-6552 will send a pulse via PFI line or via PXI backplane trigger line. My question is, is it possible to trigger PXI-4110 (hardware trigger or software trigger) to measure current values at these points ?
    2. Let say I need to measure the current on 0ms (start of waveform generation by PXI-6552) , 1ms, 2ms, 3ms, 4ms... and so on for 1000 points of measurement, code diagram as shown at the figure below. It is possible for the VI "niDCPower Measure Multiple" to measure exactly at 1ms, 2ms, 3ms .. ? How much time will have to spend to complete acquire 1 point of measurement by "niDCPower Measure Multiple" ?
    Thanks for viewing this post. Your advice on hardware used or software method is much appreciated. Thanks in advance.  
    Message Edited by engwei on 02-02-2009 04:24 AM
    Attachments:
    [email protected] ‏46 KB

    Hi engwei,
    1. Unfortunately, the 4110 does not support hardware triggering. Therefore you cannot implement direct triggering through the backplane or anything like that. However, there are a couple of possible workarounds you can try:
    a) Use software triggering: Say your 6552 is generating in one while loop, and your 4110 is to measure in another while loop. You can use a software syncrhonization method like notifiers to send a notification to your 4110 loop when your 6552 has generated the desired sample. This method, however, will not be very deterministic because the delay between the trigger and the response depends on your processor speed and load. Therefore, if you have other applications running in the background (like antivirus) it will increase the delay.
    b) Use hardware triggering on another device: If you have another device that supports hardware triggering (like maybe an M-series multifunction DAQ module), you can configure this device to be triggered by a signal from the 6552, perform a very quick task (like a very short finite acquisition) then immediately execute the DCPower VI to perform the measurement. The trigger can be configured to be re-triggerable for multiple usage. This will most likely have a smaller time delay then the first option, but there will still be a delay (the time it takes to perform the short finite acquisiton on the M-series). Please refer to the attached screenshot for an idea of how to implement this.
    2. To make your 4110 measure at specific time intervals, you can use one of the methods discussed above. As for how long it will take to acquire 1 measurement point, you may find this link helpful: http://zone.ni.com/devzone/cda/tut/p/id/7034
    This article is meant for the PXI-4130 but the 4110 has the same maximum sampling rate (3 kHz) and so the section discussing the speed should apply for both devices.
    Under the Software Measurement Rate section, it is stated that the default behavior of the VI is to take an average of 10 samples. This corresponds to a maximum sampling rate of 300 samples/second. However, if you configure it to not do averaging (take only 1 sample) then the maximum rate of 3000 samples/second can be achieved.
    It is also important to note that your program can only achieve this maximum sampling rate if your software loop takes less time to execute than the actual physical sampling. For example, if you want to sample at 3000 samples/second, that means that taking one sample takes 1/3000 seconds or 333 microseconds. If you software execution time is less than 333 microseconds, then you can achieve this maximum rate (because the speed is limited by the hardware, not the software). However, if your software takes more than 333 microseconds to execute, then the software loop time will define the maximum sampling rate you can get, which will be lower than 3000 samples/second.
    I hope this answers your question.
    Best regards,
    Vern Yew
    Applications Engineer, NI ASEAN
    Best regards,
    Vern Yew
    Applications Engineer
    Attachments:
    untitled.JPG ‏18 KB

  • Utilisatio​n de PFI0 NI-6541

    Bonjour,
    J'utilise actuellement une carte NI-PXI-6541 et j'ai besoin de me déclencher sur plusieurs triggers.
    La 6541 en possède 4, cependant le PFI0 se trouve en façade et non sur le cable C68-C68-D4.
    Pour des raisons techniques je ne peux pas utiliser la prise en façace, mais j'ai remarqué que le signal PFI0 passe quand même à travers le cable par le biais d'une pin "reserved".
    Malheureusement, je n'arrive pas à exploiter ce signal (celui venant du cable) à l'aide de la librairie HSDIO de Labview.
    D'où ma question : y a-t-il un paramétrage particulier à faire pour préciser que je souhaite utiliser le signal PFI0 provenant du cable et non de la prise en façade ? Ou bien est-ce tout bonnement impossible ?
    Merci d'avance,

    Bonjour PI18-Paul,
    D'après le manuel, il semble bien que la PFI0 n'est disponible qu'en facade de la carte alors que PFI 1,2&3 sont accessible depuis le connecteur DDC.
    Avez-vous besoin des 4 PFI ou bien 3 vous suffissent?
    Bonne journée,
    Flo
    Open Diagram First

  • NI PXIe devices cannot be detected

    Hello, I am 1-year-user of NI instrument. I am using NI PXIe-1062Q. I have some problems with several NI PXI devices installed on this NI PXIe1062Q. My devices are:
    1. NI PXIe-8115
    2. NI PXI-4071
    3. NI PXIe-6556
    4. -
    5. NI PXI-5922
    6. NI PXI-4132
    7. NI PXI-6541
    8. NI PXI-6602
    As attached in the pictures, only the NI PXIe-6556 are detected and the green LED is on. But the other devices are not detected and their green LEDs are off. 
    I have used these NI PXI-4071 and NI PXI-5922 before for measurement and they worked well. Several days ago I replaced NI PXIe-6556 with NI switch NI PXIe 2527, and the new device are detected.
    But after I want to use other devices again, I found that other devices cannot be detected.
    Could anybody help me to solve this problem?
    Thank you before
    Attachments:
    NI error 2.JPG ‏116 KB
    20150413_120628.jpg ‏2743 KB

    Hello bilox,
    This is certainly strange and unexpected, so let's see what other information we can dig up about your system to identify the root cause of this issue, as there could be many different possibilities to sort through.
    The first thing NI support will typically ask from you is a MAX report that details the system software and the hardware as reported by MAX. You can find out how to generate the report here: Using MAX Technical Report to Document Measurement & Automation Explorer (MAX) Configuration Informa...
    Besides this, I'll go through a checklist of items to help narrow down the reason for this issue.
    Check your device manager to see if the instruments not detected by MAX are identified by your OS. If so, it could indicate MAX is not appropriately displaying your instruments. You can also check here if the system is identifying the devices and their appropriate device drivers correctly.
    Speaking to device drivers, are they up to date for the OS you are using? The version of MAX? Are you coming off an image or a clean machine that used to have device drivers on it? Did you uninstall any SW lately? The device drivers are required to identify SW in your machine.
    If you remove all the HW in your chassis and add each instrument one at a time, are they detected? This takes some time, so if it were me, I'd remove the 6556 to see if any other instrument is detected. If so, then take those results and mix/match to try and identify if a particular instrument is causing the behavior.
    If you have a spare chassis, try changing it out to see if the issue follows the chassis, the controller, or the instrument.
    Hopefully, this provides enough information to continue troubleshooting and finding the answer to the issue. If you need more online resources, you may always visit ni.com and ni.com/support for more help online. If you continue having issues, you may want to email/call one of our Application Engineers to assist you with further troubleshooting steps for your system.
    Thank you for the follow up information.
    Kyle A.
    National Instruments
    High Speed Digital I/O Product Support Engineer - R&D

  • Driver install with PXI 8360 Error " This device cannot start - Code 10"

    While trying to instal PXI-6541 in PXI-1036 chassi with PXI 8360 controller[express-8360 on laptop side] , getting the error message "This device cannot start [Code 10]" Laptop is Lenovo T60 with latest BIOS
    Thanks
    Manu 
    Solved!
    Go to Solution.

    Hello Manu,
    I'm sorry to hear that you are having so many issues with getting your Expresscard 8360 working on your Lenovo. I recommend that we first look into Device Manager in more details. You mentioned that there were question marks (?) on certain devices. This usually means that there are devices on your PC that do not have any associated hardware drivers. For the Expresscard 8360, the drivers should be native to the Windows system, so I am unsure if those "?" do belong to this portion of the system. We can test this out by removing the expresscard 8360 and see if the "?" are still present. These "?" can be from the internals of the PC or modules that you've attached. If you've restored your operating system recently, it could be from the peripherals of your computer in which case you will need to find and install the chipset drivers. This can also be from the modules that you in your chassis, assuming that you haven't installed the necessary drivers for them, in which case you can find them on the Driver CD you have.
    The exclamation mark (!) in Device Manager usually signifies a problem with getting the hardware started/operational. From your earlier posts I believe that the "!" is related to the Error Code 10 that you are receiving. Assuming that the correct power sequence was performed, chassis then PC, this is representative of a BIOS compatibility issue. Essentially this is occuring because the BIOS of the motherboard is not correctly allocating the necessary resources to all the devices as it is supposed to. Since you already have the latest BIOS, I would recommend that you try using the MXI Express Compatibility Software, here ni.com/beta. This is something that National Instruments created in order to correct for the incorrect resource allocation of the PC. It is not a beta program, it is only on the site so that we can manage it more easily. I have seen Lenovo T60 laptops work with this software installed.
    Let me know if this helps
    Thanks
    Can W.
    PXI and VXI Platform PSE
    National Instruments

Maybe you are looking for