Digital Trigger Vs Software Trigger.

I'm running an MCC USB-FS1608 DAQ to measure multiple analog voltage channels. I also have a digital in TTL coming from an MTS 407 frequency controller. Inside my VI, I read a rising TTL signal from the MTS, send a signal to switch on the digital out, then I start my data acquisition. At 1 Hz, would it be better to control my digital out, (which sends a run command to the MTS which then actuates a  hydraulic piston) with a hardware trigger?
Solved!
Go to Solution.

Hardware communication in the sense that you are referring to is not necessarily universal. Especially when utilizing third party hardware/drivers. If the drivers they have created are built on top of NI-DAQmx then you could possibly use our functions to do this. To do the functionality you are wanting you would need to:
-Configure Digital Output task with the channel you want to output on
-Configure Digital Start Trigger giving it the channel you want to read from (TRIG_IN). For some hardware, they might allow rising edge triggers as well as falling edge triggers which would then be some property you would have to set.
-Configure write task to output a digital high or 1 on your digital output channel
-Start task
-Loop until finished
-Clear task
This is about as general and universal as it gets but the actual implementation of each step might be different based on the driver. Physically, the only changes you would have to make are wiring your digital start trigger into the TRIG_IN input instead of into one of the digital input lines.
Ian M.
National Instruments

Similar Messages

  • Generate counter output based on a digital trigger

    I am trying to output a train of pulse based on a digital trigger (GO bit). When the GO bit goes high, I want to output a pulse train after an initial delay (ie: 2 seconds). When the GO bit goes low, I want to stop this pulse train. When the GO bit goes high again, I want to start the same pulse train with the same initial delay.
    The output pulse train has 2 frequencies so I am using 2 counters that generate the same pulse but one of them is delayed by a certain amount. Then I combine the output from both counters into one output using simple BNC T connector. Since I am using 2 counters (max # of counters available to me), I can't create a finite pulse train.
    If I use a pause trigger, the only problem is that  the second time the GO bit goes high, the initial delay is not used (each channel or counter has a different delay).
    So far the only way I can think of is by software timing the counter (by counting the time since the task has started) and stopping the task once certain amount of time has passed. Then I wait for a second trigger which should start the pulse train again with the initial delay.
    Is there a better way to do this? 

    One more thing:
    Is there any way to use a digital trigger that is based on two different digital signals ANDed together? I basically want to output the pulses when 2 digital inputs are binary 1 at the same time.

  • Digital trigger by PF1 of 5133

    1. May I know how to program 5133 trigger by PF1 in ni-scope
    2. As learned, the PF1 is digital trigger. Will it trigger when voltage change from 0 to 3V only, or when the voltage is 3V, it will keep triggerring all the time. If it is in the second case, is it true the next trigger will start as soon as the 1st data is fetched. Or will it wait the first data to be fetched or just overwrite again and again.
    3. I've 2x5133, the 2 PF1 will connect together, may I kow in software how to gurantee to fetch the data triggered at same time, how to make the program.
    Thanks

    I tried to use the attached program, but got error as the attached screenshot.
    The most challenge is how to fetch the same time triggered data.
    Thanks.
    Attachments:
    3CH.vi ‏34 KB
    ss.png ‏35 KB

  • How do I use a push button digital trigger with my 6034E DAQ board?

    I am only a Lab View toddler.
    I am currently using a push button, wired to PFIO/TRIG1 and DGND, with a anolog trigger. However noise is causing my program to be triggered. I was told that a digital trigger would help to reduce the random triggering. How do I create a push button digital trigger?
    Thanks

    implement a schmitt trigger.
    Struggling with Labview wrote in message
    <[email protected]>...
    >I am only a Lab View toddler.
    >I am currently using a push button, wired to PFIO/TRIG1 and DGND, with
    >a anolog trigger. However noise is causing my program to be triggered.
    >I was told that a digital trigger would help to reduce the random
    >triggering. How do I create a push button digital trigger?
    >Thanks

  • How to use digital trigger with analog I/O

    How do I program analog input and/or analog output to start on a digital trigger (PFI pin) on PCI-4451/4551.
    I have tried out various configuration and succeeded in starting analog input, simultanuous input and output triggered by the the anlaog input signal. I have also succeded i triggering 4551 from the dedicated EXTTRIG pin.
    The problem is to trigger on a selectable PFI pin. I find the help for "AI Trigger Config" and "AO Trigger and Gat Config" misleading - some unsupported features seem to work while selecting PFI pin as source make the PC restart immediately.
    I have not been able to find any LabVIEW example that shows how to use PFI pin as trigger input.
    Using LabVIEW 7.1, NI-DAQ 7.3 on Windows 2000.
    Kind regards / Med venlig hilsen
    Torben

    Hello
    The PCI-4451 does not have any PFI lines. If you look at the user manual in the link beneath you will be able to confirm this by looking at the connector signal discriptions. The same is valid for the PCI-4451
    http://digital.ni.com/manuals.nsf/websearch/6A32358C53BB15F086256660007392DC?OpenDocument&node=132090_US
    The two ways of triggering that you have succeded are the analog triggering and digital triggering that you can peform with the PCI-4451.
    Regards
    Mohadjer

  • No digital trigger signal on a PFI x-port in a PCI-6259

    Hi,
    I am using a PCI 6259 DAQcard (with a SHC68-68-EPM cable and version:2.9.1f0) to get an analog signal and a digital signal. The analog signal is used in NI MAX or NI Signal Express (DAQmn 9.7.5) to trigger it with the digital signal. When the digital signal is mounted on a Px/x port I can detect it. If I want to use it as a trigger signal on a PFI x-  (better PFI x/Py.y-) .port I do not get any trigger quantitiy.
    With a NI USB 6008 everything works quite well. Remark: The digital post is just labled as: PTI 0 and not as in the case of the PCI 6259 on the NI CB-68LPR-board: PFI x/Py.y.
    Another remark is that I did not measure a voltage difference of 5 volt at the provided port.
    How can I fix the problem and use a PFI x/Py.y-port for a digital trigger?
    Solved!
    Go to Solution.

    Hey AndGar,
    by trying I found one chanel on the platine with give me an trigger signal. So I can measure something but not in every chanal.
    Maybe just the PFI x- ports are reserved for triggering and you need to close every other task which measures a digital signal.
    *actuall I have no access to the programm*
    Thanks and best regards,
    Marcus

  • Hardware digital trigger to start stop continuous analog acquisition

    Hi I have seen the following example to use digital trigger to start and stop for finite number of samples. The example names is (DigitalStartandStopTrigger.vi)
    in this example Reference Digital edge is used to stop acquisition but if I change to  continuous then Reference Digital edge stops and show an errir. Could you please let me know how can I use hardware digital trigger to start stop continuous analog acquisition. An example would be really great
    many thanks

    HI tintin_99,
    The way that example works (by modifying the read position of the buffer) essentially performs the same operation that the continuous samples mode does. That is to say, it is already a continuous acquisition.
    The article below explains this in more detail, and the reasoning behind specifying buffer size manually and other tricks used. You may have already visited it in order to get the example VI, in which case it may be worth another read over.
    http://digital.ni.com/public.nsf/allkb/BA775B0E445BFA79482571FE0032CCEB
    Kind Regards,

  • How to set & use digital trigger for AIN on a DAQmx?

    1) How I configure a task to allow a digital input line to trigger a AIN reading in VB6.0 with a USB-6210?
    2) To help me answer the above I created a task in Measurement & Automation Explorer that used a digital trigger (TRIGGER TYPE= DIGITAL EDGE, TRIGGER SOURCE = PFI0, EDGE=RISING).  Then from VB I tried to figure out the parameters that were set.  I had no luck.  So, once I understand to achieve (1) above I want to be able to verify the resulting settings.  What command(s) would I use?

    Hi Hjehan,
    I recommend checking the following knowledge Base that can point you to the different DAQmx examples.
    Regards,
    Faris A
    Bueller

  • Digital trigger mac OSX

    Hi everybody
    I am running a machine mac OSX snow leopard with Labview 2011. The acquisition card is a PCIe-6259 with a connection box SCB-68. I would like to perform the acquisition of an analog signal according to a digital trigger (PFI0 or PFI1). I have created this simple VI that unfortunately does not work on my machine. The VI exits immeditely without doing anything and I do not have even an error. If I switch to analog trigger it works nicely but it is slower than I need. If I run the same VI on a windows machine it works fine. What am I doing wrong?
    Thank you very much for all the tips
    antonio
    Attachments:
    Trigger_acquisition_test2.vi ‏23 KB

    I do not have any hardware so I cannot test. Try putting an error indicator (or probe) on the error wire coming from the Start Trigger VI to be sure that you are not getting an error. I keep automatic error handling turned off, so I am not sure, but I think that wiring the error out terminals changes the way it works.  Put an error indicator at the end of the chain also.
    Lynn

  • Reusing digital trigger on PCI-6733

    I am working with a PCI-6733 analog output card. I would like to use the digital trigger to start a waveform, then use it to start another waveform without stopping the first (then start a third while the first two are running, and so on). I don't need to reroute the trigger signal - all the pulses can (but don�t have to) come through the same PFI terminal.
    I haven't been able to do this with NI-DAQmx (I get errors, e.g. -50103, -89137, saying the "resources are in use"). Is it possible? Can it be done using register level programming? - looking through the register level programming guides, I didn�t see anything that indicated setting a new trigger would stop the currently running waveforms.
    Thanks in advance,
    Matt

    Hello Matt,
    I believe you can do it only if you use different PFI lines to trigger your waveforms. You won't be able to do it with one digital trigger, that's why you were getting those errors.
    Try using three PFI lines to trigger each waveform and let me know if it works please.
    LA

  • Digital trigger to start other device

    Hello can anyone help me create Vi to generate digital trigger to start another device. I have agilent u2531A measure card and LabView 2010, and want to generate digital trigger to start generate signal on Rigol 4000 generator.

    Ok, here is a possible solution to your problem. But I am not sure it will work properly so please give me some feedback. Also, as you will see, I set a sine wave as a defaut output signal from Rigol DG4000. 
    To have the functions I used for your devices, you have to install the appropriate drivers: LabVIEW>Help> Find Instruments Drivers  then select the manufacturer and select the driver from the list.
    Besides, note that we usually do not support customer for the Rigol device.
    I hope the attached file will work for you.
    Tamara Moullet
    National Instruments
    Attachments:
    AgilentTrigger_RigolGen.vi ‏31 KB

  • Using Digital Trigger in VILogger

    I am using Ni-6033E with VILogger 1.1.
    The question I have is, if I can use the +5V signal (terminal 34) and wire it back to DIO0 (terminal 25) through a switch, and start acquisition/logging in VILogger using the switch? I have configured DIO0 as a digital input line in VILogger under Virtual Channel.
    If not, how do I trigger data acquisition/logging in VILogger using the digital input (DIO0 to DIO7)?

    Hi Jogwa,
    The answer is yes, you can start logging in VILogger using your switch and a digital input line. However, you cannot use DIO0 for the digital trigger input line. You must use one of the PFI channels, which are designed for triggering input. So, in your case wire the +5V signal back to PFI0. Then, you can create your Virtual Channel and use that as your trigger in VILogger.
    Hope this helps!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • Multi-buffered acquisition with digital trigger

    I have a PCI-MIO-16E1 and I need to do three channel (250KHz/channel - ~400 scans/trigger) multi-buffered acquisition with digital trigger (trigger => 30 Hz).
    I could not find any example of multi-buffered acquisition. Could anybody help me?

    Hello,
    I assume that you are refering to a retriggering setup where each time you recieve a trigger you take 400 samples on each channel at a rate of 250kHz per channel (total scan rate = 3CH * 250kHz = 750kHz).
    In order to keep the system hardware timed you can use the two counters on the board to produce a retriggerable pulse train that will act as your scan clock. For example each time the counter recieves a trigger it will output a clock signal of 750kHZ with 400 or so pulses in order to take ~400 scans/trigger.
    This clock signal can then act as the scan clock for your 3 channel analog input operation.
    Now we have to figure out how to set up the retriggerable pulse train from the counters and have the analog input use the counter output as a sca
    n clock.
    Good thing there is an example that is already written
    http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/aab61e455564a04d862568930018e725?OpenDocument.
    Good Luck.

  • Problem - digital trigger edges slowing down on fast rotations

    Hi, all. I have problem to figure out. I want to measure strain with two strain gages on 90 degrees (NI 9237 Half Bridge II) and I have motor with metal plate on it with 52 tooth (gear) to measure on every tooth the strain. For rotation I use NI 9401 digital input.
    I need for example 1000 samples from first digital edge to second. ( on metal plate). I try start trigger. In slow speed (turn around with hand) of metal plate everything is OK. But if I turn around metal plate fast digital trigger edges slowing down. For one cycle on metal plate on slow speed cout me 52 digital edges 1000 sampels per edge (metal plate is with 52 tooths), but on fast speed count me 25 edges. Is that problem coming from syncronise of digital input and analog input. I made example with DAqmx express Vi. I set up on Digital imput and then count me every tooth independently from speed and everything is OK, but when i buid trigger for strain on fast rotation speed trigger edges slowing down.
    Can anyone help me with that?
    Thanks previously.
    Attachments:
    Count.jpg ‏315 KB
    Count2.jpg ‏262 KB

    It looks like you are collecting 1000 samples at 10000 samples per second. That takes 100 ms. If your trigger edges occur faster than 100 ms apart, some of them will be missed.  If you are rotating your toothed plate with 52 teeth faster than one cycle every 5.2 seconds, some of the triggers will occur before the previous data collection is finished.  
    What is the fastest speed that you will sping the metal palte?
    Lynn

  • Adobe User Research Study - Tell us about your digital video/audio software use - $150

    Adobe User Research is looking for participants to take part in an upcoming study about their digital video/audio software use. This study will be a two-hour, one-on-one session about your digital audio/video software use in our Seattle office. To show our appreciation for your participation, participants will receive a $150 AMEX Gift Cheque.
    If youd like to be considered to participate, please fill out the survey link below:
    https://www.surveymonkey.com/s.aspx?sm=YkRIJjXR_2bLWBx0_2fKO0eSvQ_3d_3d
    Session dates/times will be the following:
    Monday (11/12) - 3PM
    Tuesday (11/13) - 9AM, 12PM, 3PM
    Wednesday (11/14) - 9AM, 12PM, 3PM
    Thursday (11/15) - 9AM, 12PM
    We will review your responses and notify you if the study is a good match. Thank you!
    Adobe Systems, Inc.
    801 North 34th Street
    Seattle, WA 98103

    Hi Harm,
    Thanks for your interest in the study and I wish we could pay for your expenses to fly from Amsterdam, we are looking for local Seattle participants only.
    Thanks though!

  • Digital right managment software corrupt ??

    Hi,?Zen Micro 2 years old, subscribe thru Napster with no problems till recently. use Windows XP and everything is up to date. This is the message that I get:Your creative aen micro needs to be reformatted because your digital rights management software became corrupt. To find out how to reformat, please reference user guide or contact manufactur. You cannot use this device utilthis is reformatted.HELP

    Digital Voice Recorder Model # ICD-P620 is not compatible with MAC OS.
    Compatible OS are as follows:
    Windows Vista Home Basic
    Windows Vista Home Premium
    Windows Vista Home Business
    Windows Vista Home Ultimate
    Windows XP Home Edition Service Pack 2 or Higher
    Windows XP Professional Service Pack 2 or Higher
    Windows XP Media Center Edition 2004 Service Pack 2 or Higher
    Windows XP Media Center Edition 2005 Service Pack 2 or Higher
     Windows 2000 Professional Service Pack 4 or Higher pre-installed
    Note!
    64 bit OS is not supported.
    If my post answers your question, please mark it as "Accept as Solution"....

Maybe you are looking for

  • Apple stocks widget not working

    Over the last few days, the stock widget just displays blanks. Anyone else have this issue or know what to do about it? Thanks H

  • Help needed on the Security Group

    Hi I have an requirement to segregate the Administrator and the production support activities in Weblogic (WebLogic Server Version: 10.3.5.0) All the server, service management should be handle by the Admin person and the User management should be do

  • How to backup CMS DB

    Hi, I just wanted to find out where the CMS DB is located so that it can be added to our nightly backups.  I currently have the FileStore folder in C:\Program Files\Business Objects\Business Objects Enterprise 11.5\FileStore in the backup.  What is t

  • Work Protect Mode for IAC/BSP iViews

    Does anyone know how I can enable Work Protect Mode for BSP or IAC iViews in the portal? It works correctly as per the desired mode level for WDP iViews, but when a user makes changes on a form on a BSP/IAC and navigates away from the page, no pop-up

  • Is the client/agent required on distribution points?

    For license reasons we are advised to uninstall the agent on a bunch of servers. All our distribution point servers are amongst these. I can't find out if the config mgr client is actually required on the DPs or not. Anyone here know this?