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.

Similar Messages

  • 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

  • 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

  • PXI-6230 analog input trigger setup

    Hi,
    Can anyone point me in the right direction of how to configure the PXI-6230 card to implement 3 of the analog input channels as a digital input trigger? The input to each channel is TTL pulses. I want to have a trigger event on every pulse from any of the three inputs. I'm using LabVIEW 8.5. Any help is appreciated. Thanks.

    Hey HarveryL,
    I'm not sure it is possible to do this. Can you give me some more details on your application, and why you want to use the analog inputs as a digital trigger? Here is an article on how to use PXI triggers with the analog input and output, perhaps you can adapt that code to your purposes. I'll continue to look into this for you, but any more information you can provide would be appreciated. Have a great week! 
    John B.
    Embedded Networks R&D
    National Instruments
    Certified LabVIEW Developer

  • Analog Trigger unavialable in PXIe-4353

    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?
    My VI and SubVI are attached to this post. I'm new to Labview so I may have made some silly mistake. Please let me know then
    Attachments:
    poczatek.vi ‏124 KB
    poczatek.vi ‏124 KB
    DAqass.vi ‏70 KB

    Dear pancarlos,
    Unfortunately, the hardware does not support analog triggering, as stated in this thread. If that is necessary in your application, you might want to consider adding another PXI card to the system that does trigger on analog input, and use the trigger lines to start your PXIe-4353.
    Regards:
    Andrew Valko
    National Instruments Hungary

  • 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

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

  • 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

  • Hi, iam facing proble in synchronizing 4 ni 4472 cards input with pxi -6052e analog output. please help me out to sort out this problem

    hi, iam facing problem in synchronizing 4 ni 4472 cards input with pxi -6052e analog output. please help me out to sort out this problem

    Hi achyuth,
    Thank you for posting on the National Instruments forum.
    I am not sure what you are trying to do.  Are you trying to input and output at the
    same time?  Are you just trying to
    synchronize all of your inputs?  Do you
    want them to run off the same clock?  If
    you could, give me some more information so I can understand your problem
    better.
    In the meantime, this might help you:
    PXI Timing,
    Triggering, and Synchronization Capabilities of E-Series Multifunction Data
    Acquisition ...
    PXI Timing and Synchronization
    Thank You,
    Nick F.
    Applications Engineer

  • 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

  • DMM PXI 4070 synchronis​ation trigger généré par PXI6229 (Daq M)

    Bonjour,
    Je cherche a synchroniser 2 DMM PXI 4070 avec un trigger interne.
    Les 4070 ne génerant pas de trigger, je me tourne vers une Daq PXI6229 pour le générer.
    ci-joint, le code qui ne fonctionne pas, mais qui donne une idée de la fonction...
    Quelqu'un pourrait-il me dire ou est l'erreur ?
    Les entrées trigger des PXI 4070 sont notifié TTLx ; faut-il router le signal généré par la 6229 ? et sur quelles lignes ? (dev1/pxi_trig0) ?
     Merci.
    Ludis
    Résolu !
    Accéder à la solution.
    Pièces jointes :
    DMM_PXI4070_Sync.Trig_PXI6229.vi ‏30 KB

    Bonjour,
    La méthode proposée est correcte: il s'agit en effet de générer un signal créneau avec la sortie compteur0 de la carte DAQ et d'utiliser ce signal créneau en tant que trigger pour les 2 cartes DMM.
    Le routage du signal peut se faire en externe (cabler physiquement le terminal Counter0 Output de la carte DAQ à l'entrée TRIG de la DMM et choisir cette entrée au niveau de la configuration du trigger de la DMM) ou en interne.
    Pour router le signal en interne, il faut utiliser un noeud de propriété de voie pour la tâche compteur afin de reconfigurer le terminal de sortie (voir pièce jointe). On choisira par exemple "PXI Trigger line 0". Au niveau de la configuration du trigger sur la tâche DMM, il faudra choisir en tant que source de trigger la même ligne (TTL0 = PXI Trigger Line 0).
    Cordialement,
    Thomas B. | CLAD
    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;}
    >> Inscrivez-vous gratuitement aux Journées Techniques : de l'acquisition de données au contrôle/com...
    Pièces jointes :
    Reconfiguration du terminal de sortie du compteur à l'aide d'un noeud de prop.png ‏20 KB
    Counter Pinout - terminaux par défaut.png ‏40 KB
    trig source property.png ‏65 KB

Maybe you are looking for