Analog edge trigger

I wonder if my USB 5133 can be triggerred, when input is a DC higher than the threshold of analog edge trigger in the setting. 
Any suggestion, thanks.

Hi,
First of all you should better post such questions in the hardware forums than here.
That beeing said, the manual of the USB-513x says:
Triggering and Clocking
• Edge, window, hysteresis, and digital triggering
• Ability to capture pretrigger and posttrigger acquisition data
• Internal 100/50 MHz clock or external clock from 1 MHz to maximum
  sample rate
Christian

Similar Messages

  • PXIe-4353 analog edge trigger

    Hello,
    I'd be grateful for some help with my case. I'm building a VI for acquisition of multiple signals from thermocouples. My hardware is NI PXIe-1073 chassis with PXIe-4353 module to read the signals.
    The problem is that I want to use an Analog Edge trigger for the start of the measurement but it is unavialable to choose in the DAQ Assistant properties window (I have only None and Digital Edge to choose form). I also tried to do the same with DAQmx functions but I got the Error which says that I can only choose Digital Edge Trigger or None.
    The hardware (PXIe-4353) does seem to support Analog Triggering: http://zone.ni.com/reference/en-XX/help/370471W-01/cdaqmxsupp/pxie-4353/ or am I mistaken ?
    Also I want to note that I currently use hardware simulation and not the actual hardware - can this be the reason?
    I'm new to Labview so I may have made some silly mistake. Please let me know then

    The product page at http://sine.ni.com/nips/cds/view/p/lang/en/nid/208291 says that only digital triggering is supported.

  • 5122 Analog Edge Trigger not working as expected

    I've created a VI that I think should be triggering on the analog edge of a signal.  I would like it to emulate exactly what the NI-Scope SFP does when it is configured to capture data using the edge trigger.  By this I mean I would like the data on the graph to stay the same until I hit the stop button, or change the trigger level/polarity. 
    In my VI it seems that the digitizer is using the immediate trigger.  I'm not sure how to solve this problem.
    Attachments:
    Analog Edge Trigger.vi ‏37 KB

    Hi Michael,
    I checked out your program and I do not see any inital problems with what you are doing in the code.  However, I would recommend to check out the niScope EX Configured Acquisition vi in the NI Example Finder.  This has all the same initial steps as what you are doing in your program so you can see if you get the desired behavior when running it. 
    When you are setting up the trigger you select either a rising/falling edge, reference/start/immediate/etc., and the trigger level.  So, what is the trigger level you are setting and when do you plan to see this trigger condition be met?  What is the signal type and voltage you are measuring?  How do you know that the trigger is immediate in your program?   
    I would recommend to check out the example I referenced above to see if you can get desired behavior and use that as a model for your program.   
    Regards,
    Jordan F
    National Instruments

  • Multiple Channels with Single Digital Edge Trigger

    I have a simple vi where two analog channels are read in and recorded simultaneously to a lvm file and plotted on a waveform graph. I need a digital edge to post trigger the data acquisition for both channels. 
    I can get this vi to work with one analog channel and the digital edge trigger just fine.
    When I remove the digital edge trigger, I can get the vi to work with both analog channels. Both signals plot on a waveform graph, and record nicely in the lvm file.
    The issue is how I am setting up the digital trigger (see attached).  The program is never entering the while loop. Where am I going wrong?
    Chassis:cDAQ-9172
    Analog Card:NI 9205 (Trigger Source PFI0)
    LabView: 8.6
    OS: Windows XP
    Solved!
    Go to Solution.
    Attachments:
    Analog Input with Digital Edge Trigger.vi ‏52 KB

    Gardma,
     I am going to take a quick guess (I'm lazy and haven't actually tested the code ), but, since it works without the trigger and given that you have it so that the read never times out (i.e. = -1), there is something going on such that the trigger is never generated on the source pin.  Just a thought.
    Cheers, Matt
    Matt Richardson
    Certified LabVIEW Developer
    MSR Consulting, LLC

  • Why did Start Analog Edge stop working?

    I have been using the Start Analog Edge DAQmx function to initiate my data read (similar to the Multi-Devices Synch-Analog Input-Finite Acq-Analog Start.vi example). It has worked fine for several days, but recently stopped working. I can see the signal at the hardware test panel, I can see the trigger signal on the waveform if I route around the start trigger function. I cannot actually get the function to recognize the start trigger.
    Not sure what other sort of debugging I can do. Hopefully, someone has encountered this before and can clue me in to what I am missing.
    =Jason Hill
    New Product Engineer
    Groth Corp.

    Hi,
    I have a couple questions for you to help narrow down the issue:
    1) What device are you using?
    2) What driver are you using?
    3) What has changed in the setup (hardware and software) from when it was working to when it stopped working?
    4) You are using a multiple device VI. Is that because you have multiple devices you are trying to trigger. Please explain in more detail what you are trying to do and how you are trying to do it.
    You could use the ContACq&Graph Voltage-Int Clk-Analog Start.vi to do the same thing with just one board. This may be better suited for your needs. This example can be found in the LabVIEW example finder.
    I hope this helps. Have a Great Day!
    George

  • Error when trying to edge-trigger to a input voltage smaller 300mVpp

    The programm shown in a cut below (just a cut of it) reads multiple channels from the PXI5105. The program allows to choose between different triggers. When I choose edge-triggering and the value of the input voltage I am triggering to is smaller than 300 mVpp the program stops and sets an error. With the 'Highlight function' I found out that the error is set at the '1D WDT'-vi.
    The error message:
    ERROR
    "Possible reason(s):
    Driver Status: (Hex
    0xBFFA4009)
    A previous acquisition is still in progress. If you are
    attempting to change an attribute, note you can only change fetch attributes
    while an acquisition is still in progress.
    Status Code: -1074118647
    I guess, if the voltage gain isn`t high enough the '1D WDT'-vi waits the 'timeout' = 5s for the trigger, isn`able to get one, and stops. But what can I do to trigger to smaller voltages as 300 mVpp? There is no option to change it. The trigger level of the 'Analog Edge Ref Trigger' is set to 0.
    Attachments:
    error1.jpg ‏120 KB

    Well then that's not it.
    Not triggering at low voltages- can be caused by either scale too high
    (so that 1 bit is bigger than the trigger level, not the case here) or
    scale too low (because of saturation the acquired signal never reaches
    the trigger level).

  • PXI-5660 / 5620. What is lowest reasonable voltage when using Analog Edge Trig?

    Presently, I am using Analog Edge Ref Triggering on the PXI-5660.  The lowest voltage that I can set the trigger level to is 0.200 volts without noise causing the trigger to occur.  Is this level reasonable?  Is there a way to reduce the noise so that the trigger level can be set lower?
    I graphed the waveform coming out of the niScope MultiRead Cluster.vi in the ni5660 Read Average Power Spectrum.vi.  The noise on the graph was as high as 0.190 volts.  I thought that I saw the noise down to 0.010 volts at one time.
    Thanks.

    Thank you for your response.
    The reference level I am using is 0 dBm.
    I ran the ‘niScope SMT Power in Band.vi’ example with dithering enabled and disabled.  I could see the noise when dithering was enabled and the reduced noise or no noise when dithering was disabled.  See attached .jpg’s.  I added ‘Waveform Graph 2’ to display the output of ‘niScope Multi Read Cluster.vi’.
    In my application, I disabled dithering and put the trigger level lower.  It now works.
    Disabling dithering needs to be set after ‘ni5660 Configure for spectrum.vi’.  Inside the ‘ni5660 Configure for Spectrum.vi’, a vi called ‘SMT Configure RFSA for Spectrum.vi’ enables dithering.  ‘SMT Config niScope for Spectrum.vi’ is another vi that enables dithering.
    Thank you for your help.
    Attachments:
    SMT Power in Band with 50 ohm termination on input of 5620 Dither Disable.jpg ‏100 KB
    SMT Power in Band with 50 ohm termination on input of 5620 Dither Enable.jpg ‏106 KB

  • How can I make an analogue falling edge trigger

    I'm using a Labjack DAQ board which doesn't support the DAQ-NI VIs. I Need to make a trigger which will stop the acquisition when it detects a significant voltage drop from the peak current. Any advice would be grateful.
    Thank you.

    Hello Pelle,
    I've never used a Labjack DAQ board before so I'm not sure how you
    would setup an acquisition that stops on an analog edge.  However,
    I know that it is very easy to setup a continuous acquisition that
    stops on an analog edge using our DAQ board and NI-DAQmx driver. 
    One thing that you might want to check is to make sure that the Labjack
    board actually supports analog "stop" triggering.  I know that
    LabVIEW and the NI-DAQmx driver installs examples of how to use analog
    triggering, perhaps the Labjack driver installs examples as well?
    Eric
    DE For Life!

  • Data acquisition from analog start trigger to analog stop trigger

    Hi,
    I'm trying to start and to stop a data aquisition by using an analog input trigger. I'm using NI-USB-6251. At input channel ai0 is a sin-signal connected. At input channel apfi0 is an analog trigger signal connected. I can start the trigger signal by pushing a button on my frequency generator. Here's a part of my code:
    Hi,
    ich versuche eine Messung mit einem analogen Eingangssignal zu starten und zu beenden. Ich benutze die Messkarte NI-USB-6251. An Eingang ai0 ist ein Sinus-Signal angeschlossen. An Eingang apfi0 ist der Triggereingang angeschlossen. Das Triggersignal löse ich immer per Tastendruck auf dem Funktionsgenerator aus. Hier ist ein Teil des Quellcodes:
    TaskHandle taskHandle = 0;
    int32 read;
    float64 *data;
    float64 sampleRate = 1000; //Samples per Channel per Second
    uInt64 sampsPerChan = 4000; //Samples per Channel to read
    int sumOfChan = 1;
    double triggerLevel = 2.0;
    double min = -0.2;
    double max = 0.2;
    double timeOutReadAnalog = 10.0;
    void calculate()
    DAQmxCreateTask("", &taskHandle);
    DAQmxCreateAIVoltageChan(taskHandle, "/dev1/ai0", "", DAQmx_Val_Cfg_Default, min, max, DAQmx_Val_Volts, NULL);
    DAQmxCfgSampClkTiming(taskHandle, "", sampleRate, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, sampsPerChan);
    DAQmxCfgAnlgEdgeStartTrig (taskHandle, "/dev1/apfi0", DAQmx_Val_RisingSlope, triggerLevel);
    DAQmxCfgAnlgEdgeRefTrig (taskHandle, "/dev1/apfi0", DAQmx_Val_RisingSlope, triggerLevel, 3000);
    DAQmxStartTask(taskHandle);
    if( (data=malloc(sampsPerChan*sumOfChan*sizeof(float64)))==NULL )
    MessagePopup("Error","Not enough memory");
    //set start and stop trigger
    //set breakpoint here
    DAQmxReadAnalogF64 (taskHandle, -1, timeOutReadAnalog, DAQmx_Val_GroupByChannel, data, (sampsPerChan * sumOfChan), &read, NULL);
    I've choosen the sample rate (1000/s) and the samples per channel (4000), that the aquisition needs 4 seconds to be complete. I can start the aquisition by Start-Trigger, but I think I have a problem with the function DAQmxCfgAnlgEdgeRefTrig. Actually the array will always be filled with 4000 values. I thought I can start the aquisition by triggering once and e.g. after two seconds triggering again for stopping aquisition with result of 2000 values in the array. I hope you can help me with this problem.
    Ich habe die Sample Rate (1000/s) und die Samples pro Kanal (4000) so gewählt, dass die Aufzeichnung 4 Sekunden dauert. Ich schaffe es auch die Aufzeichnung über den Trigger zu starten, jedoch funktioniert das Stoppen mit der Funktion DAQmxCfgAnlgEdgeRefTrig nicht. Aktuell ist es so, dass das Array immer mit 4000 Werten gefüllt wird.
    Ich hatte mir erhofft, dass ich durch einmalige Triggerung die Messung starten kann und beispielsweise nach zwei Sekunden erneut triggere und die Messung damit stoppe und dann nur 2000 Werte eingelesen habe.
    Ich hoffe, ihr könnt mir dabei helfen.

    Hi Martin,
    I looked over your code and noticed that you called the function without checking the returnvalue.
    Try to change the line to the following:
    First: define a new int32 value and call it for example: errorcode
    Second: The function returns a status code, wich if it fails, includes an error code so save this code in the new generated value
    errorcode = DAQmxCfgAnlgEdgeRefTrig (taskHandle, "/dev1/apfi0", DAQmx_Val_RisingSlope, triggerLevel, 3000);
    and try to run the programm and read out this value.
    If you got this value, please post it here and I will try to help you if I can.
    Regards
    Philipp

  • Analog start trigger for x series card gives an error?

    Hi everyone,
    I am having some trouble setting up an analog start trigger for DAQ using an x series PCIe card (6351)... Attached is my configuration... After reading the manual (http://digital.ni.com/manuals.nsf/websearch/08B4B2E1B5373B94862579BA006E6BAB), my understanding is that AFPI0 is a compatable analog trigger for the device; however, the vi will not run and I get an error... Although if I change the soruce to "Force" (which is ai0) it works..
    Also, the device document says (pg 11-8):
    "To improve trigger accuracy, do the following:
    • Use an AI channel (with a small input range) instead of APFI <0,1> as your trigger source. The DAQ device does not amplify the APFI <0, 1> signals. When using an AI channel, the NI-PGIA amplifies the AI channel signal before driving the analog trigger circuitry. If you configure the AI channel to have a small input range,"
    To me, this implies that I probably should use "Force" as the trigger soruce anyway (note that the instrunment is used to acquire data load cell data generated from human muscle contractions; so slew rates are relatively low compared to signals acquired from industrial tests).
    Could someone please comment on these issues for me?
    Regards,
    Jack
    LV2010
    Attachments:
    Untitled 1.vi ‏22 KB

    Ok... I think I have answered by own question... APFI0 needs a low impedence signal to drive the terminal... I mistakenly thought this was an internal terminal or trigger...
    So I should stick with using the first analog signal acquired in my DAQ device (e.g. ai0) as the trigger source?
    Regards,
    Jack
    LV2010

  • How to catch an analog hardware trigger from the PFI0/TRIG1 pin?

    I have a PCI-MIO-16E-4 DAQ Board, a BNC-2090 Connector Block and LabVIEW 6.1. How do I configure a VI like the example 'Acquire N - Multi-Analog Hardware Trig.vi' to accept an analog input trigger from the PFI0/TRIG1? What parameters do I give to the AI Config, AI Start and AI Read VIs? The parameter 'Trigger channel' only seem to accept channel numbers, so what channel number do I have to give to make it undestand that I want to catch the trigger using the PFIO/Trig Channel?
    Thank you.

    Hi,
    look into Help!
    AI Start needs on "analog chan and level" the string "PFI0" to use PFI0 for analog trigger input. In the example it is the control "trigger channel".
    Unfortunatly the help is not complete. "analog chan and level" is a cluster of two elements, the channel name and the level. The level is not explained in help.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Nscans pretrigger and post trfigger upon analog hardware trigger

    How can i sample N samples from multipli AI upon analog hardware trigger ? I need some pretrigger and some posttrigger samples. I'm using the pci6071e A/D.

    There are examples that do exactly what you are explaining that get installed with the NI-DAQ driver. Depending on the API (LabVIEW, C, etc.) you are using and the version of the driver (NI-DAQmx, Traditional NI-DAQ), the examples will be called different things and found in different places.
    Basically, you want to find an example that does Analog Input With Reference Triggering. If you are using LabVIEW, then launch the Example Finder and look for an example called Acq&Graph Voltage-Int Clk-Dig Ref.vi (if you're using DAQmx) or Acquire N Scans Digital Trig.vi (if you're using Traditional NI-DAQ).
    Jared A

  • Increase acquisition time in Cont Acq&Graph Voltage-Analog SW Trigger.vi

    The NI example Cont Acq&Graph Voltage-Analog SW Trigger.vi takes one second of data. I need to take much more and can't figure out how to increase the acquisition time.
    Is this something that has to be adjusted in one of the DAQmx task sub VIs?

    Hello Richard,
    Welcome to the forums. You post this question on the DAQ forums and that is the correct one to ask this so let keep it there and do not hesitate in posting back if you need more help.
    Best,
    Message Edited by Yardov on 07-09-2007 11:44 AM
    Gerardo O.
    RF Systems Engineering
    National Instruments

  • How do I use a pretriggering mode with an analog hardware trigger?

    I am trying to collect x number of points before and n number of points after an analog trigger (of specified level) is reached. I am using LabWindows with a PCI-6110 board. Any hints on the proper combination of functions to use is appreciated.

    Garland,
    A good starting point would be the DAQsingleBufStopTrig.c example that is included when NI-DAQ is installed with support for LabWindows/CVI.
    To have x points before the trigger and n points after the trigger, you configure a buffered data acquisition with a buffer size x+n and specify in DAQ_StopTrigger_Config that you want n points after the trigger. The result will be a buffer of data including x points before the trigger and n points after.
    Regards,
    Molly K.
    National Instruments
    Molly K.
    Web Support & Operations Manager
    National Instruments

  • My HAMAMATSU C4742-95-12-NRB camera is not working in EMD E (External Edge Trigger)

    Hello!
    I am trying to control the HAMAMATSU C4742-95-12NRB camera externally through an external trigger pulse.
    There are two modes in the exposure setting command:
    EMD E - External Edge
    EMD L - External Level
    The camera is working fine in the External Level mode (EMD L). I send an external pulse (through ARDUINO) and, after changing the pulse from low to high, the camera starts the exposure within 11 us.
    However, the same thing does not occur when the camera is in the External Edge mode (EMD E). I send an external pulse (through ARDUINO too) and a message with an error appears: "Error 0xBFF60093 The serial read did not complete within the specified timeout period".
    It is so strange. I think that the problem can be something in the attribute External Shutter Time - EST n (n can range from 1 to 93600 according to the camera manual). But, when I use the edit function at NI Camera File Generator for this camera, it says that this "n" ranges from 132 to 10005916.
    Could someone help me with this issue?
    Thanks in advance!
    Fábio Machado Cavalcanti
    Canada-Brazil Science Without Borders Student
    Lakehead University, Thunder Bay, Ontario, Canada
    Federal University of Pernambuco (UFPE), Recife, PE, Brazil
    Undergraduate Student in Chemical Engineering

    You need to verify what voltage the camera is expecting.  Since you are using an Arduino, I will assume that your trigger signal is 5VDC.  For a 12volt trigger, 5VDC would be right at the boundry of 0/1, and setting Level would trigger as the signal settles, presumably around 5.1VDC.
    A pulse would never get there.  If the camera does in fact need 12/24 VDC for triggering, you will need to build/buy a circuit for stepping up the voltage.
    Machine Vision, Robotics, Embedded Systems, Surveillance
    www.movimed.com - Custom Imaging Solutions

Maybe you are looking for

  • Error when testing a webservice

    hi, I am using Jdev 11 g errors and using the Web service tutorial. Some errors with embedded server (cannot locate policy file). The OS is windows 2003 server SP2 (2GB ram). Please help. [Starting OC4J using the following ports: HTTP=8988, RMI=23891

  • Translate search parameters to lower and upper case

    Hi All, I need to create a search function. Is it possible to translate the search paramaters to  both upper and lower case because inside the data there are data with upper case or lower case or both. Thanks in advance.

  • RSM_INFOCUBE_WRITE_CHECK

    Hi All,      There was an issue(Short dump), it might be due to the program error, during the rebuild or persistent staging area (PSA) process of a request from the PSA to an InfoCube, a dump occurs with MESSAGE_TYPE_X in "SAPLRSMDATASTATE" in the in

  • [SOLVED] iMessage and Facetime Authentication - iPad 2 Retina

    Just a quick note on how I got Imessage and Face time Authentication to work after the issues started in late January: Update to 8.1.3 that is supposed to fix issue, after update problem still exists. Reset password for account used with Imessage/Fac

  • Servlets and Beans

    I am developing a website using JSP, beans and servlets. The thing I need to know is can you access the variables stored in a session wide bean (those stored using set/get methods) from within a servlet? Many Thanks J-P