Trigger Line Reserved

I'm trying to route a signal from a PXI-6251 PFI line to the Gate of a counter (PCI-6602) for pulse width and period measurements.  When I add in the connect terminals VI, I get error code -89126: Trigger line requested could not be reserved because it is already in use.  The documentation for the PXI-6602 says I can route directly from the RTSI bus to the gate of a counter.  I'm not sure why this conflict is happening.
Attached is a VI showing my setup and jpg of the error I'm seeing.  No error shows up until it hits the DAQmx Read VI. 
Attachments:
Trigger Reserved.vi ‏35 KB
Trigger Reserved.JPG ‏54 KB

SirMutt,
The recommended way of making your connection would be to allow the driver to automatically configure the route for you.  You can accomplish this by making the following changes to your code. 
Also, I tested your original code with a PCI-6221 and a PCI-6602 and got it working after making the following change.
You were previously trying to connect the RTSI0 Line from the 6251 to the CTR Gate on the 6602, when in fact you should be connecting the RTSI0 Line from the 6602 to the CTR Gate on the 6602.   
Either way is an acceptable, but the first the recommended method.  Have a great weekend.
Ryan N
Message Edited by Ryan N. on 02-15-2008 03:19 PM
Ryan N
National Instruments
Application Engineer
ni.com/support
Attachments:
2008-02-15_150237.png ‏11 KB
2008-02-15_151534.png ‏2 KB

Similar Messages

  • Trigger line requested could not be reserved because it is already in use.

    Hi , I am trying to export markers on PFI0 and PXI_Trig0 on NI5450 (in the script mode)
    using the following code 
    There are no errors when I configure using the following code.
    commWrapper.ExportSignal(PXICommonGenWrapper.niFge​nConstants.MarkerEvent, "Marker1", "PFI0")
    commWrapper.ExportSignal(PXICommonGenWrapper.niFge​nConstants.Marker, "Marker0", "PXI_Trig0")
    When I run the script, I get the following error
    Trigger line requested could not be reserved because it is already in use.
    Property: Marker Event Output Terminal
    Destination Device: PXI1Slot2
    Status Code: -89126
    Would appreciate any solution that enables to me configure the two triggers/markers. I use these markers to trigger another PXI card (NI5644R on PXI_Trig0) and an external piece of equipment (using PFI0 output).
    Thank you.
    Solved!
    Go to Solution.

    Hi Surya,
    Thanks for posting this on the community page. What this error is telling you is that it can't route a trigger to your requested destination because something else has already reserved that trigger line. One pottential typo is that your second ExportSignal command specifies niFgenConstants.Marker and not .MarkerEvent. This is a simple error to resolve but there are many possible sources. Is it possible for you to share the full code with me? Or,maybe you could host a join.me session and I can look at your full setup.
    Sean Ferguson
    Application Engineering Specialist | RF and Reconfigurable Test

  • Trigger lines across busses

    I have not been able to get more than one line to route dynamically.  Here is the setup code:
        viUnmapTrigger(instr, VI_TRIG_TTL6, VI_TRIG_TTL6);
        viUnmapTrigger(instr, VI_TRIG_TTL5, VI_TRIG_TTL5);
        checkErr(viSetAttribute(instr, VI_ATTR_PXI_SRC_TRIG_BUS, 2));
        checkErr(viSetAttribute(instr, VI_ATTR_PXI_DEST_TRIG_BUS, 1));
        checkErr(viMapTrigger(instr, VI_TRIG_TTL5, VI_TRIG_TTL5, VI_NULL));
        checkErr(viMapTrigger(instr, VI_TRIG_TTL6, VI_TRIG_TTL6, VI_NULL));
        checkErr(viSetAttribute(instr, VI_ATTR_PXI_SRC_TRIG_BUS, 2));
        checkErr(viSetAttribute(instr, VI_ATTR_PXI_DEST_TRIG_BUS, 3));
        checkErr(viMapTrigger(instr, VI_TRIG_TTL5, VI_TRIG_TTL5, VI_NULL));
        checkErr(viMapTrigger(instr, VI_TRIG_TTL6, VI_TRIG_TTL6, VI_NULL));
    When both TTL5 and TTL6 are setup using viMapTrigger() I get the following error when calling niTClk_ConfigureForHomogeneousTriggers() for the second group.  I am able to map one of the TTL lines across busses but not both. Any ideas?
    Error fffc2f4f: NI-TClk committed a session, and the instrument driver reported
    an error.
    Session index (starts at zero): 0
    Error reported by the instrument driver:
    DAQmx Error -89126 occurred:
    Trigger line requested could not be reserved because it is already in use.
    Property: Marker Event Output Terminal
    Destination Device: Scan1
    Status Code: -89126
    Status Code: -250033

    Hi tonys10,
    Why are you both manually mapping trigger lines using viMapTrigger AND automatically configuring the crosspoint switches using niTClk_ConfigureForHomogeneousTriggers?  When you use viMapTrigger you are reserving the trigger lines.  This may be why you receive the error.  I am assuming niTClk_ConfigureForHomogeneousTriggers is all you want to do.
    If you desire to manually map the trigger lines, please follow the instructions in the attached pdf.  These instructions are also documented in the NI-TClk Synchronization Help. 
    Please let me know if you have further questions or if this does not resolve your issue!
    Chad AE
    Applications Engineer

  • Firewire-B cable with built-in trigger lines?

    Hi all,
    We are building multiple vision systems.  Each system has a camera with Firewire-b cable and also a Trigger Cable (with 3 conductors).
    For our application, we need as few cables as possible.  Our users are very concerned about having too many cables. 
    Does anyone know if I can purchase a firewire-B cable that has trigger lines.  Some kind of two-in-one cable?
    Our best option right now is to use spiral wrap.
    - John

    The signal is being generated by an NI DAQ card:
    Pin 1: +5V
    Pin 2: DGND
    Pin 3: A digital pulse train that fires the camera shutter. From 0.25 Hz to up to 60 Hz.
    Not really sure about jitter or latency. I'd rather not have much of either. But don't have specific requirements.
    How can I put the signal "in band" with the FireWire cable? Are there unused pins I could utitilize? Not sure if it'd be worth the effort, but I am curious.
    Thanks! This machine vision board is very helpful!

  • Error message: no registered trigger lines

    Hi,
    I was using the example within labview 7.1 under "Hardware input and output ------Daqmx ------Synchronization------Multi-function---multi-funtion-synch AI-AO.vi". I was using pci-6032e card (device 2) for input and pci-6713 card (device 1) for output.
    Then this error message jumped out when I was trying to run the labview vi.
    Possible reason(s):
    No registered trigger lines could be found between the devices in the route.
    If you have a PXI chassis, identify the chassis correctly in MAX, and make sure it has been configured properly. If you are using PCI devices, make sure they are connected with a RTSI cable and that the RTSI cable is registered in MAX. Otherwise, make sure there is an available trigger line on the trigger bus shared between the devices.
    Source Device: Dev2
    Destination Device: Dev1
    Task Name: _unnamedTask<9>
    I am using RTSI cables connecting the two devices. But I don't know how to check if this RTSI cable is registered in MAX or not. If not, how could I register it?
    Thanks,
    Zexi,
    http://mypage.iu.edu/~zzhuang

    Thank you for your information.
    I just had trouble finding that item RTSI cable in the MAX. Later in the help, I found that I needed to use "creat new" to creat that item. Thanks very much.
    http://mypage.iu.edu/~zzhuang

  • Sales Order line Reservation API

    Hi All,
    how to do reserve the sales order line by using plsql program. Can you provide the API name which i can use for sales order line reservation.
    thanks
    reddy

    Hi,
    Please mention the application release and the OS. Also, post the code of the API you are using.
    Please See if these documents are applicable.
    Note: 887776.1 - NO LOT VALIDATION AFTER PATCH 4649626
    Note: 396645.1 - "APP-GMI-83119 Invalid lot no" While Transferring from Newly Created Lot with Null Inventory
    Note: 428393.1 - Cannot Move Lot with No Onhand Inventory
    Regards,
    Hussein

  • 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 ...

  • Drive trigger line by multiple devices (or connect many trigger lines)

    Hey all,
    Here's what i've been trying to do recently and am starting to get frustrated. So basically I want multiple devices to drive the same trigger line. Thought this mighyt be a problem for my application. Let me rephrase with a question that would give me the optimal solution. I have an PXI-6653 card on my PXI-1045 and what i want to do is say:
    Send triggers generated on 2 lines (say PXI_Trig0 and PXI_Trig1) to a 3rd line (say PXI_Trig2). effectively I want the line PXI_Trig2 to get triggered whenever either of the first 2 get triggered. (If you want to think of this in a binary logic way, I want something like "Trig2 = Trig0 OR Trig1" , so I will get a rising edge on 2 whenever 0 or 1 have a rising edge)..
     If it try to send (connect) both Trig0(source) and Trig1(source) to Trig2(destination) using NISYNC vi's, it wont work because it will say that Trig2 is already in use after connecting to one of the others (0 or 1).
    Note that I dont want Trig0 or Trig1 to change, i.e i dont want to send trig0 to trig1 and then send trig1 to trig2
    PS: when i say "send trig1 to trig2" i mean connect trig1 as the source and trig2 as the destination in the NISYNC connect trigger terminal VIs.
    What can be done about this? Smart workarounds? or some way of overriding the fact that i cant connect multiple lines to the same destination line??

    Hey mimomar,
    Could you give us a little more background as to why you are trying to share the connection between these trigger lines? Most likely you will have to implement some sort of external connection to achieve this, but if I had more details as to the hardware that you are trying to synchronize with this setup then we should be able to give you the best solution. Let me know!
    Regards,
    Lars

  • PXI trigger line names.

    What are terminal names for PXI-Trig lines in traditional NI-DAQ?
    There are only ND_PXI_STAR and ND_PXI_STAR_3... constants.

    Hi Shibaev,
    Thanks for posting on the NI forums.
    I have taken a look into this one. From what is documented in the Traditional NI-DAQ manual, and the DAQ help file, the trigger lines for PXI devices are referred to as RTSI lines. For PCI devices there is an optional connector for a RTSI cable to provide shared triggers in a desktop PC. With PXI these lines are built into the PXI chassis. Although PXI and PCI are different form factors for DAQ devices, the (Traditional) NI-DAQ driver refers to either RTSI lines or PXI lines as simply 'RTSI'.
    To route your clocks/triggers accross these lines you should use the string "RTSI X", where X is the line number you wish to use (X = {0,1,...,6,7}). Take a look at the attached .jpg for a list of possible signal route connections (this was extracted from the NI-DAQ help file).
    I hope this helps!
    Rob
    Field Sales Engineer | National Instruments | UK & Ireland
    Attachments:
    TriggerLineOptions.JPG ‏98 KB

  • 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

  • Where is RTSI trigger lines in 6711 card

    Hi there,
      I have a PCI-6711 card. The manual said it supports the RTSI trigger line to connect the external clock as the timing source. I try to find the pin associate with the RTSI in the layout for PCI 6711 but I didn't see any. I only see PFI8/GPCTR0_SOURCE. Is it the same thing? I am pretty confusing how to use external clock to replace the internal software-based clock. Thanks.
    Solved!
    Go to Solution.

    TheRealMichaelJordan wrote:
    Hi dragondriver,
    Refer to this KnowledgeBase article for information on the RTSI trigger lines on PCI cards. The RTSI bus will allow allow synchronization between DAQ devices on the computer.
    Regards,
    Jordan G.
    Thanks you. I didn't realize that there are some pin on the top of the card. But then cause my doubts. I have a 6711 card. Many posts said that it only support softwared based clock, I cannot use the external or hardware clock to drive the digital output. Ok, so my question is, can I connect the external clock to the RTSI pin so as a hardware clock and use it to drive the analog ouput and counter output? The manual said I can use the external clock connected to the PFI or RTSI, so are they the same. It is so confusing since I don't see any example to do that on 6711 card and I don't know which PFI pin I should go to ?

  • SCXI 1140 - Track-and-hold trigger line error.

    I am running an SCXI chassis where 1 of the modules is 1140 with a 1301 terminal. I've tried just acquiring a signal, and I receive the following error.
    Error -10740 occurred at AI Group Config.
    Possible reasons:
    NI-DAQ LV: A signal has already been assigned to the SCXI track-and-hold trigger line, or a control call was inappropriate because the specified module is not configured for one-channel operation.
    Any help or insight would be appreciated.
    Thanks,
    Alex

    Hello cconley,
    I searched our website and was able to find the following KnowledgeBase article in regards to the error you are seeing. Although it specifically references the SCXI 15xx module, I believe that the same information applies to the 1140 module.
    http://digital.ni.com/public.nsf/websearch/91C7DE7A2C2C9AC586256A0A001D8B5D?OpenDocument
    Take care,
    E.Lee
    Eric
    DE For Life!

  • What trigger Line Protocol Down?

    Hi,
    Recently I encountered a problem on "line protocol down" as I'd posted on 4th April.
    Could anyone direct me to any webpage or sites where there's a detail explaination of how & what would trigger a line protocol down. Or these kinda data-link failure. Thanks!
    With regards

    Hi Friend,
    There could be few reasons majorly physical layer issue when the line protocol goes down.
    Can you please update which interface was showing line protocol down. Logical interface (SVI) on layer 3 switch, physical port on layer 2/3 switch or any physical interface on router?
    If it is a physical interface on layer 2 switch it is majorly a physical layer issue or may be that particular vlan asscosiated to that port got deleted.
    If it is a layer 3 logical interface showing line protocol down may be there is no vlan associated to that vlan configured on layer 2 switch port or no trunk carrying that vlan on that switch.
    HTH, if yes please rate the post.
    Ankur

  • Digital trigger line

    Sorry about htis probably already been answered but not sure how to phrase it
    I want to start acquiring data after a trigger and in the main NI example it shows the trigger in-line with the rest of the DAQ (first figure)
    but I don't want this I want it as a seperate block (next figure, this is makebeleive as the trigger does not give a bool output but that is what I would like)
    Is there any way of doing this, as I want to use PFI0 and on a digital edge
    cheers

    If I get you correct you are trying to do something on a digital high edge.  There are two different things you are trying to do, the first case is a HW trigger using daq, this is internal to the DAQmx driver where you can program a task to start on a digital edge, essentially programming the DAQ card to do HW edge detection.  The second thing is software edge detection and gating.  Here you actually are going to setup a digital input line and poll it.  Use a shift register to detect a low to high transition and then pass the result to the case structure.
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • NI pci-1409:Trigger one line and Trigger all line??

    Who can give me the answer, why I just set trigger (output) on the line 0 and I get the same trigger on all other trigger lines? How to solve the problem?
    I feel quite strange and confusion on NI device.

    Thanks much. I will try what you say.
    But I don't think it is an unknown state, it is exactly the same as the trigger line 0.

Maybe you are looking for

  • Disk Utility unable to format or partition external HD

    Last weekend I bought Leopard and prepared everything in my iMac (PowerPC G5, 2.0 GHz) to install it. One of the things I tried was to repartition an external USB hard drive (Iomega 120 GB P/N: DHD120-C) for use with Time Machine. This drive was alre

  • BSEG - EBELN value

    Hi All, I want the Ebeln, lifnr and matnr fields in BSEG table for Account Type = GL Accountiing. Because of performance i want to use other table to get the same datas. I checked in BSIS and BSAS table, but fields are not in the table. Could you ple

  • How to make fields Non Editable in Web ADI

    Hi All, Can you please let me know how we can make fields Non Editable in Web ADI? Thanks, Anil

  • Hi,all i think it seems to be silly question about markable interface

    i know that markable interface doesnt consists any methods.But when we implements those interfaces how they behave to service the class. ex. public class MyClass implements java.io.Serializable MyClass is serializable but the java.io.Serializable doe

  • Accessing JavaScript objects via JSObject

    The jaws.jar file, which contains JSObject was included in the sdk directory up to j2sdk1.4.1_05 (in j2sdk1.4.1_05\jre\lib). However, apparently this JAR file is not included in versions 1.4.2 and later versions of the sdk. So I have the following qu