PFI Trigger with cDAQ-9178

I am trying to receive a trigger input with the PFI on a cDAQ-9178.  Neither of the two PFI inputs show up as input options in any of the NI-DAQmx vi's in LabVIEW. How do I get the PFI inputs to show up?
Thanks,
Mike

If you use the DAQmx Start Trigger VI it will be listed in the trigger source input pulldown.  See attached image.
www.movimed.com - Custom Imaging Solutions
Attachments:
cDAQ 9178 PFI Lines.png ‏10 KB

Similar Messages

  • External trigger with cDAQ-9172

    Hi,
    I would like to synchronize my data collection between my EMG system (Delsys Myomonitor) and  my VI in LabVIEW. I have a trigger module (Delsys) and would like to use it to start my data collection in both systems. I have a NI cDAQ-9172.  Is there any ways I could start the data acquisition in LabVIEW?
    Thanks

    Which modules are you using in your 9172?
    Any DI module with 8 lines or less can be used to route trigger signals if placed in slots 5 or 6 (e.g. 9401 or 9402).  Alternatively, if you are using a 9205 or 9206 you may use the PFI to route the trigger signal from any slot in the 9172.
    Which modules are you trying to synchroinze?  The 24-bit C Series modules use Delta-Sigma converters which have special synchronization considerations.
    Best Regards,
    John Passiak

  • Unable to read 5th channel using cDAQ 9178 with NI 9219 modules

    Dear LabView user,
    I've made a VI for reading the measurements of a couple of LVDT sensors, a load cell and a couple of strain gauges. When I connect 4 of these sensors to my cDAQ 9178 with using 1 slot of NI 9219, then there is no problem for my VI. But if I use 2 modules, and connect the 2 LVDT sensors and the load cell to the first module, and the 2 strain gauges to the 2nd module, then my program only will show the readings of the first module and the readings of only 1 strain gauge on the 2nd module. I've found that there occurs an error for the 5th channel in the 'zero' state. It says my buffer size is too small... How can I solve this problem? I can't work with finite samples because it is a continious measurement. 
    I also have the cDAQ 9171 USB module, if I only connect 4 sensors to this module, the sample rate is high (100 Samples/sec), when I use the same configuration, but connect this with the cDAQ 9178, the sample rate is much lower however I use the same NI 9219 module to fill the slots. Is there some kind of setting I need to make when switching over to the cDAQ 9178?
    I've attached my VI.
    With kind regards,
    Pete

    Dear RavensFan, 
    Thank you for your answer.
    "Have you tried swapping the modules between the slots and see if you still have the same problem or if it moves?"  When I use the cDAQ 9178, I always use the first 2 slots next to the power suply and the usb connection, you mean that I should try for example the 4th and the 5th slot or other slots? I will try this on Monday, and I will let you know.
    About the states machines inside a state: How is it possible then to use several buttons, like start and stop measurement and the 'home' button inside the state "measurement"? Should I make another simple state machine inside this state? 
    What about that 5th channel that I'm unable to read? The problem happens in my "zero" state: to acquire my "zero elements", the loop does the job for the 5 channels for the first 8 samples, after that, it doesn't want to sample the 5 channels anymore, it only does for 4 channels... It's something about the buffer size, but I don't know how to fix that.
    With kind regards,
    Peter

  • Physical Connections to use 4 counters with NI 9411 in cDAQ 9178 chassis

    Hello,
    Currently I have a NI 9411 module in a cDAQ 9178 chassis.  I am using 2 of the counters to read frequency measurements.
    From the NI 9411 pinout diagram (see pdf file attached to this post), these are the connections I made:
    CTR 0 SRC, pin 1 to COM/ground
    CTR 0 GATE, pin 2 to first frequency signal
    CTR 1 SRC, pin 6 to COM/ground
    CTR 1 GATE, pin 7 to second frequency signal
    The problem is now I'd like to use the 3rd and 4th counters in my cDAQ 9178 chassis, but I am confused how to wire
    in the 3rd and 4th frequency signals, because CTR2 GATE is pin 1 and CTR3 GATE is pin 6.  Can I change the pin assignments
    to use the other pins in the NI 9411 module for counter frequency measurements?  I haven't figured out how to do that in MAX
    configuration.
    Thanks,
    Anna
    Solved!
    Go to Solution.
    Attachments:
    NI 9411 pinout.pdf ‏72 KB

    Hi EETDer,
    The "C Series Signal Connections for Counters" help that you found is a good resource.  One thing I want to point out is that for a frequency measurement on a single counter, you only need to wire the signal source to the CTR Gate.  Internally, the module will route an appropriate internal timebase to the counters source, therefore you DO NOT want to connect the CTR Source to ground.  On your device, you will just wire each signal into the counter source, thereby only utilizting pins 1,6,3,8 for your 4 frequency measurements.
    Chris
    National Instruments
    Applications Engineer

  • How syncronize PCI4472 with cDAQ-9172?

    I need syncronize the acquisition of 32 channels from PCI-4472(8 channels) and rack cDAQ-9172(16ch-9233(4modules) + 8ch-9234(2modules)). I tried several arranges but dont get to do work. I have a 9263 auxiliar module if necessary.
    Can anyone help me? A second problem when i do the aquisiton without syncronize is get waveforms with differents DTs between devices.
    VI in attached. Thx.
    Leonardo de S. Cavadas
    Maintenance Engineer and Inspection - Bureau Veritas do Brasil
    Engineer Metallurgist with emphasis in Advanced Materials
    Technologist in Computer Science
    Attachments:
    ProdCons2Devices.vi ‏61 KB
    CH23DT117.PNG ‏46 KB
    CH24DT125.PNG ‏46 KB

    Hi Leonardo,
    to use trigger from cDAQ-9172, you need an additional hardware-timed digital module to access the PFI lines. The hardware-timed digital module must be installed in slot 5 or 6 to access the PFI lines. 
    Thus, you can use PFI line from PCI-4472 to synchronize your measurements.
    I hope I help you.
    Regards,
    Ricardo Ramos
    Engenheiro de Vendas - Sul
    National Instruments Brasil

  • Error 89131 while trying to analogue trigger with NI9205

    Hi Guys,
    I have an NI 9205 mounted in an NI cDAQ-9178 chassis which I'm trying to use to supply an analogue trigger to a data capture task I'm implementing. I followed the instructions in http://digital.ni.com/public.nsf/allkb/851828B06A20E01B862571DA0005591A to set up the NI9205 to provide a digital trigger to a second input channel when the analogue level exceeds a certain threshold. However, when I run the vi I get the following error:
    Error -89131 occurred at DAQmx Start Task.vi:1
    Possible reason(s):
    An attempt has been made to perform a route when the source and the destination are the same terminal.
    In many cases, such as when configuring an external clock or a counter source, you must select a PFI, PXI Trigger, or RTSI line as the source terminal.
    Property: Start.DigEdge.Src
    Property: Start.DigEdge.Edge
    Source Device: cDAQ1
    Source Terminal: ai/StartTrigger
    Task Name: _unnamedTask<31>
    I'm not sure why this is happening, since I'm following the white paper instructions. Does anyone have any ideas? I've uploaded the VI for you to take a look at.
    RB
    Attachments:
    DAQmxtest.vi ‏28 KB

    Hi RottenBorough,
    The error you are getting clearly refers to the ‘Start.DigEdge.Src’ property, which means the ‘DaqMx start trigger’ polymorphic VI is used in the ‘start digital edge’ configuration in your code. I could not find this VI used in this configuration in the file you have attached. Are you doing this in another part of your code? Also I have the following questions after going through your VI:
    1) Is there any specifc reason why you are generating a counter pulse output and not using it? I feel you would not need this if you are just trying to trigger another task using analog triggering.
    2) Also, I noticed that you have not used the cDAQ internal digital edge ( for eg: /cDAQ4/ai/Start Trigger) to trigger another task (as mentioned in the KnowledgeBase article).
    One reason I can think of for this error is, you might be trying to set a source for your ‘DaqMx start trigger’ through the external terminal, while it has already been configured to use this source because of the option selected through the drop down arrow of this polymorphic VI. But as I have mentioned before, I do not see you setting up digital edge triggering in the code you have attached. It is worth checking if you are doing such a thing in another part of your code.
    Thanks and Regards,
    Supreeth.K
    Applications Engineer
    NIUK

  • Higher input voltage: 9213 Thermocouple Device with CompactDAQ-9178

    Hello,
    We're currently using a NI-9213 thermocouple device with our cDAQ 9178 chassis.  We need to take temperature measurements on pcb components such as voltage regulators and cathodes of diodes, thus would to use our 9213.  However, we've noticed that input volage on the 9213 device is +/-78mV.   Are there any options or methods to use the 9213 with thermcouples that possible be attached to components that may be as high as +25vdc??  Thanks for any ideas!

    Use isolated thermocouples.  They tend to be bulkier and have slower response times, but might be an option.  Omega has 24 AWG thermocouples with PFA insulation rated to 250 C for example.  They also have many other styles.
    Lynn

  • Control a VFD via cDAQ 9178

    Hi!
    I want to control a Variable frequency driver through the cDAQ-9178.
    I got an analog input module NI 9201,analog output module NI 9263 and digital output module NI 9472.
    I have never connected analog modules and digital modules together and was wondering if anyone could help me. How do you connect a my VFD to these inputs and outputs?
    I have attached the connection diagram for my VFD
    I would like to add a knob to control the frequency via labview so i can increase/decrease the speed and also turn it ON/Off.
    I know this is possible solution, but I don't really know how to wire it up to my VFD.
    If I succeed with the wiring to my modules, could I then use DAQ- assistant in labview to wire a knob to it to change the speed for an example, or is there another way to do it?
    Best Regards - Maurlind!
    Attachments:
    Connection diagram.PNG ‏76 KB

    Hi!
    Could you take a look at my wiring, (se attached picture). I just want to make sure I'm doing this correctly before I'm plugging in and starts messing around with LabView.
    I don't know where to put T3 +10v reference output. 
    Should I connect B3 instead of B2 Vsup, (Voltage supply).  I don't know what "NC" stands for or what it does on the modules NI 9263 and NI 9201
    As far as I have understood, I can control the frequency from the VFD by making a DAQ assistant function via the analog outputs AO0 and AO1. 
    What does B1 do? It is Analog output (motor speed), if wired to AI0 can i monitor the speed then, like in a graph?
    Can I connect as i have done with T1 (0volt, ground) to the COM ports, from the same ground? (In reality just put a lot of cables in T1 and the connect to all of the corresponding COM ports? 
    With the analog output I control the motors frequecny, the speed. With Analog input I can get the motor speed information. With the digital output I can control the motor direction, start stop, enable the VFD and so on. This i have got right I think.
    Since I have never done this before I just want to be sure I'm doing this right, or if I have to change something.
    Best Regards Maurlind!
    Attachments:
    Connection sketch.png ‏114 KB

  • Sync two cDaq 9178 chasis using NI9469 modules

    I have found topics using the NI9469 modules to syncing cards, but I have not found topics regarding sycing mutiple chasis using the NI9469 modules.
    Setup: two cdaq 9178 chasis, one chasis is all 9227 modules, and the other has 9229 modules. We will be putting in a 9205 and a 9213 as well.
    I attempted to use an example VI from NI attached, but it just seems like something is missing. Up to this point I have largely used DAQ assistant so this is definitely a learning experience for me. NIMax recognizes the 9469 cards, and I have them connected correctly. I do not see any lights illuminated though. I assign the hardware I want to use in the physical channels portion of the VI, but I do not see anything populate in the data field when running.
    Can anyone offer any advice?
    Attachments:
    Multichassis Synchronization Code with NI 9469 .vi ‏25 KB

    I have since found two more examples of vis that might work for this. At first I'll be using only 9227 and 9229 cards, which I believe are Delta Sigma cards. So I'll focus on that vi. Can anyone tell me what the Oversample Timebase Source and Oversample Timebase? I don't understand it. The 9469 can sample at two speeds, but the oversample timebase on the main screen just increments by ones. What is its purpose?
    I would like to add a write to measurement file vi. I would add this after the loop correct?
    Attachments:
    NI 9469 Delta Sigma Modules.vi ‏36 KB
    NI 9469 SAR ADC - Slow Sampled Modules.vi ‏33 KB

  • Cdaq-9178 slots showing empty

    I have a cDAQ-9178 with the following (8) cards installed in order NI-9421, NI-9421, NI-9201, NI-9211, NI-9211, NI-9264, NI-9472, NI-9472. From my notebook running NI Max 14.0 everything works fine. But with the new PC installed on the Test Stand with DaqMX 15.0.1 installed, NI Max does not show the first four cards. I tried the Reset and Self Test but it still shows nothing. There is also a labview executable and when I browse for the channels, only the last four cards show up.
    Any Ideas?

    Have you tried to pull the modules out and inserting one at a time to see if they show up that way?  Also, have you tried the cards that are not showing up in different slots?
    Are the devices showing up in the Windows Device Manager? If so, check out this page: http://digital.ni.com/public.nsf/allkb/D1F1D3FC80E4FFDF86256B410059DE31
    Another good step to try is to reset the Device Loader Manager Service. Here is a guideline on completing that: http://digital.ni.com/public.nsf/allkb/0819391CA91B3EB38625731D00024649?OpenDocument

  • How can i make trigger with basler camera GIGE 659x494 - 70 FPS and I/O terminal block

    Hi all,
    How can i make trigger with basler camera GIGE 659x494 - 70 FPS and I/O terminal block

    Frank,
    If you are wiring an isolated power output to the EVS you will need to apply a power supply to the terminal block.  This is mentioned in the "wiring isolated power output" section of the EVS getting started guide located here.  The guide references the EVS user manual which provides a pinout of the d-ub connector in table 2-11 of the manual located here.  For more information on the camera settings you need to set on the Basler camera please see the user manual of the camera you refrenced here.
    To provide power to the camera you can purchase a power cable for the camera.  Rather than a power cable, since you want to also do triggering, you will want a Trigger and I/O Cable instead which is part number 779985-01 as seen on this product page.  The I/O cable would allow you to wire the trigger lines to the terminal block as well as the power lines.
    David A
    National Instruments
    FlexRIO Product Support Engineer

  • Is it possible to start a PCI4472 and a PCI-MIO-16E-1 simultaneously using an analog trigger (with pre-trigger)?

    I would like to start several PCI 4472 and a PCI-MIO-16E-1 simultaneously. All boards are connected via a RTSI cable.
    My program works fine if I use software trigger, or an analog trigger from a PCI4472 channel. However, the analog trigger works only when I set pre-trigger (or pre-scan) to 0.
    Is it possible to start a PCI4472 and a PCI-MIO-16E-1 simultaneously using an analog trigger (with pre-trigger)?
    Thanks.
    Ian Ren

    Hi, Bill
    I think it is possible to set more than 38 pre-trigger scans on a single 4472 card. I've done this before. You can verify this by running the Labview example "Acquire N - Multi-Analog Hardware Trig.vi" which comes with LabView.
    What I try to do but without success/luck so far is to start data acquisitions of several 4472 cards and a PCI-MIO-16E-1 card using an anlog trigger (with pre-trigger).
    Thanks for your help.
    Ian

  • Trigger with entire row

    Hi all!
    I've a before insert trigger.
    I want to call a procedure within this trigger, with a record input param.
    How can I pass the ":NEW" as a record type?
    Thanks!

    unfortunatly this is not possible.
    You have to pass all :NEW values separately. Or transfer then to a rowtype first like:
    declare
       v_new_row table%rowtype;
    begin
      v_new_row.col1 := :NEW.col1;
      v_new_row.col2 := :NEW.col2;
      v_new_row.col3 := :NEW.col3;
      v_new_row.col4 := :NEW.col4;
      v_new_row.col5 := :NEW.col5;
      v_new_row.col6 := :NEW.col6;
      do_something(v_new_row);

  • Trigger with progressive

    Hi,
    I've this table:
    CREATE TABLE MY_TAB (
    ID VARCHAR2 (24) NOT NULL,
    NAME_ID VARCHAR2 (32) DEFAULT NULL,
    PRIMARY KEY (ID ));
    I'd like to create one trigger that for each NAME_ID insert into ID column the value "NAME_ID-progressive of 3 digit"
    For example:
    INSERT INTO MY_TAB ( NAME_ID) VALUES ('999');
    ID..............NAME_ID
    999-001.........999
    INSERT INTO MY_TAB ( NAME_ID) VALUES ('999');
    ID..............NAME_ID
    999-001.........999
    999-002.........999
    INSERT INTO MY_TAB ( NAME_ID) VALUES ('88888');
    ID..............NAME_ID
    999-001.........999
    999-002.........999
    88888-001.......88888
    INSERT INTO MY_TAB ( NAME_ID) VALUES ('88888');
    ID..................NAME_ID
    999-001.............999
    999-002.............999
    88888-001...........88888
    88888-002...........88888
    INSERT INTO MY_TAB ( NAME_ID) VALUES ('999');
    ID..................NAME_ID
    999-001.............999
    999-002.............999
    88888-001...........88888
    88888-002...........88888
    999-003.............999
    INSERT INTO MY_TAB ( NAME_ID) VALUES ('999')
    ID..................NAME_ID
    999-001.............999
    999-002.............999
    88888-001...........88888
    88888-002...........88888
    999-003.............999
    999-004.............999
    The trigger is like this:
    CREATE OR REPLACE TRIGGER TRG_MY_TAB
    BEFORE INSERT ON MY_TAB
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    WHEN (NEW.ID IS NULL)
    BEGIN
    SELECT (:NEW.NAME_ID ||('-here progressive'))
    INTO :NEW.ID
    FROM DUAL;
    END;
    How can I create this trigger with progressive
    Thank in advance!

    Create an auxiliary table:
    CREATE TABLE progressive
    (name_id VARCHAR2(32) NOT NULL PRIMARY KEY
    ,seq NUMBER NOT NULL
    /And then call this function in your trigger:
    CREATE OR REPLACE FUNCTION next_progressive (p_name_id IN progressive.name_id%TYPE)
                               RETURN NUMBER IS
      l_seq NUMBER;
    BEGIN
      LOOP
        BEGIN
          SELECT seq INTO l_seq
            FROM progressive
            WHERE name_id = p_name_id
            FOR UPDATE;
          UPDATE progressive
            SET seq = seq + 1
            WHERE name_id = p_name_id;
          RETURN l_seq;
        EXCEPTION
          WHEN no_data_found THEN
            BEGIN
              INSERT INTO progressive (name_id, seq)
                VALUES (p_name_id, 2);
              RETURN 1;
            EXCEPTION
              WHEN dup_val_on_index THEN
                null;
            END;
        END;
      END LOOP;
    END;
    /

  • 9472 Error 50808 with cDAQ-9172

    I am using the module NI-9472 (digital output) to switch a din-rail Relay with 24V DC that is switching a 3phase contactor, but am I getting the error 50808 when using this module with the cDAQ-9172 on slot 1.
    I have tryed the same application, with the same 9472 module with cDAQ-9171 and everything is working ok. The problem only pressists with the cDAQ-9172 and only when I connect the cables from the 9472 module to the relays. If these cables are disconected, I never get the error, and the module LEDs work just fine.
    I am also posting the VI I am using in order to get some help, maybe I should do this in other way.
    Thank you for the help.
    Attachments:
    error.jpg ‏92 KB
    Test 2.vi ‏50 KB

    Hello,
    DAQmx returns these errors after the host PC's USB controller reports a USB transaction error. 
    To recover from this state, you may use this : Programmatically Reset USB DAQ device in LabVIEW
    The underlying issue could come from the host controller, the device, or even the USB cable. Some host controllers are more susceptible than others to encountering these transaction errors.  It is recommended to double-check your USB cable and if necessary try the device on a different host controller.
    You could try a different USB host controller (PCI USB host controllers cost typically between 20 and 30 dollars).
    You'll find all these information in the following document : Why Do I Receive Error -50405 or Error -50808 Using an NI USB DAQ Device When Inserting or Removing ...
    FYI, a customer who met the same issue get the 9172 working by using an externally powered USB hub.
    Regards
    Jérémy C.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

Maybe you are looking for

  • Is there a way to make 3g and not wi-fi the priority for sending text messages to someone using an iOS5 device?

    Here's the problem:  I am often in a building which has free wifi but the wifi requires that you accept the terms of use during every browsing session.  If I receive a text message from someone who is also using iOS5, the phone seems to default to wi

  • Image size and dpi for iDVD menu custom background?

    I created a custom background for my iDVD menu. When showing on my TV, part of the words and image is cut off on each side, even after adjusting my tv picture between wide screen and standard screen. What is the correct size and dpi to make a photogr

  • SMB problems with Vista and Samba 3.0.25a

    I've got a huge problem with my network setup here. I've read the previous posts about non working samba shares, but I did not found any working tips. I have done some additional tests, and I would like to share them with you, maybe anyone finds the

  • Unpack HU

    While unpacking I get the error "Handling unit 600044618 has status "cannot be changed" -  Process cancelled Message no. HUGENERAL053" My HU is in already in packaging station. The strange thing is that I can unpack a drum out of a pallet, but not qu

  • How to Disable "Connection Failed Connection Unava...

    Ok I have a 808 bought it as a camera after it updated it, I get this unacceptable repeated popup "Connection Failed Connection Unavailable" Its like every 30 seconds Its total black background message occupies valuable screen real estate at the top