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

Similar Messages

  • 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

  • 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

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

  • Help: Can you use software trigger on a digital line.

    Hi:
    We have a legacy DAQCARDard 700 which does not support hardware triggering.
    We have a trigger from our instrument that is 5 V+ and we would like to
    trigger when it drops to 0 V. We have several questions.
    1. Do we need to invert the signal in MAX or is that only for V that are
    negative?
    2. Is there a good example in the examples where the state of this digital
    line is used to trigger an analog acquisition? When we tried using the
    digital trigger examples, we had an error saying that the hardware did not
    support that mode.
    3. We have an analog software trigger mode (based on the Analog Software
    Trigger example) working which we would like to modify over to read the
    digital line, but we have done very little wi
    th digital I/O.
    4. The digital trigger has been assigned a virtual channel of dtrg.
    Any help would be much appreciated.
    Thanks in advance,
    Pete

    Thanks Doug,
    If we read the digital line instead of as an analog line would it improve
    the accuracy of the triggering. Everything works now except we have a
    little bit of timing jitter within about 1 data point scanning at 50 kHz.
    However, I've never done any digital i/o with LabView, but may I should work
    through some of the tutorials. If you thought that this might solve the
    jitter problem. Would checking the state of the digital line allow a faster
    response with softtrig, I guess is my question?
    Pete
    "Doug Norman" wrote in message
    news:[email protected]..
    > Hello Pete,
    >
    > You are correct that the DAQCard-700 has no digital (or analog)
    > hardware trigger. The analog trigger example t
    hat is working for you
    > is using conditional retrieval. This is where data is always being
    > acquired and the driver looks at the values to determine when to
    > "trigger" and read the data into LabVIEW. To answer your questions:
    > 1. I don't think you need to invert the signal. This is for when you
    > want a digital low (below 0.8 volts) to show up as a digital high, and
    > a high (above 2.0 volts) to be read as a low.
    > 2. I don't know of a good example. You would basically have to
    > monitor the digital line. When it goes from high to low you would
    > then start your analog acquisition.
    > 3. I think this could be your best bet. If you have enough analog
    > input lines, why not just connect this digital signal as one of your
    > analog inputs. Then use this example to trigger when the 5 volts
    > drops to 0. It won't hurt to acquire your digital signal on an anlog
    > input along with your other data.
    > 4. I don't understand this question.
    >
    > Best Regards,
    >
    > Doug Norman

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

  • 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

  • Connecting an external digital trigger to a DAQPad 6015

    Hi. Im trying to externally trigger a series of concentration probes that I have connected through the DAQPad 6015 and on to LabView.
    I do not have any external ports on my DAQ device for receiving a trigger signal and so I am trying to connect it through the screw ports that are available.
    However, I have never done anything like this before and have come a little unstuck.
    I just want the probes to start acquiring information once they receive a 5V rising edge signal from an external piston.
    Any help that you could give me regarding connecting the system up, would be greatly appreciated.
    Thanks
    Nial

    Hi Neil,
    You need to setup triggering in your LabVIEW application and then use the trigger line you have setup in your application to wire in the trigger signal. We usually use PFI0, Attached is an example program that reads in 5 voltages from a DAQpad-6015 on Dev4 and then triggers on PFI0 on a rising digital edge.
    To find the pinout of the 6015, you need to go to MAX >> Devices and interfaces >> NI-DAQmx >> DAQpad 6015
    Right-click select Device Pinouts.
    Hope this helps
    Regards
    JamesC
    NIUK and Ireland
    Attachments:
    Neil.zip ‏106 KB

  • Using external trigger channels with PCI-1422

    I need to trigger some 5 volt relays with my PCI1422 board similar to the way it is done with digital I/O on a standard board. Can this be done using the trigger channels? I have tried this and only get a 2V state change...

    Hi,
    How much current are your 5V relays pulling? Have you tried to measure the voltage change on your 1422 trigger lines with a Voltmeter without connecting it to the relays? The Trigger lines on the 1422 should give a 5V TTL signal, so something must be pulling that signal down.
    Hope this helps.
    Morten Jensen
    National Instruments

  • Counter as a digital Trigger

    Hi,
    I wrote a programm for a PCI 6289. It realises a triggered analog voltage in- and output with the internal counter. With this PCIcard I can use the trigger directly with the PFI12 pin and everything is fine.
    Now, I transfered it to a PC with a PCI-MIO16E1 (6070E) card.With this card the Counter isn`t linked to PFI. My question is: What can I do to bring the card to use the counter correctly. I tried already with "connect terminals" but I`m not able to select the counter in that configuration. Has someone a good idea?
    Greeting Daniela 

    Hi Daniela,
    I think the easiest way ist to wire it directly from counter out to one PFI, isn't it?
    Furthermore you can do it this way maybe:
    Internally Routing Counter Signals in LabVIEW
    http://digital.ni.com/public.nsf/allkb/8A85E97855E​DADC98625730C00065F58?OpenDocument
    regards
    Tobias

  • Use reference trigger for cyclic recording data

    Hi,
    Before I start, let me briefly introduce what hardware I have and what I want to achieve.
      I  got SCXI-1000 (Chassis), SCXI-1102C (module), SCXI-1303 (terminal block,
      mainly for temperature sensor input); a couple month ago  I bought feedthrough SCXI-1180 and terminal SCXI-1302 to input my digital signal (see attached PNG file). In fact, I have two digital signals to input. The first one is Injection digital signal (input as PFI0) which will trigger the start of recording my
    temperature profile; The second is packing signal (input as PFI1), which I want to use as a reference trigger to stop the recording and save as the cycle file.
    And then the injection cycle keeps going. Please see the attached VI for details.
        I get my digital trigger working to start recording my temperature sensor profile. However, I can't get the second part trigger to stop the recording.
    The error message from running my VI is that a reference trigger is only applicable for finite sampling. It seems that I need continuous sampling to recording my temperature profile! So, by looking through my VI, please give some suggestions to do the task and solutions to solve the conflictions for sampling.
      Your assistance is higly appreciated.
    HW
    Solved!
    Go to Solution.
    Attachments:
    Arburg digital signals.png ‏17 KB
    Trigger_Test2_TransientComparison.vi ‏109 KB

    Hi, Jim:
    I've tried with the way you suggested to poll out the digital line. In your VI, it will stop the running of the whole program when the second signal jumps up. If you see my VI attached, I'd like to start recording with the first trigger and then stop the cycle file by the second trigger signal falls down, and then keep recording the second cycle until clicking stop (reference to my signal illustration).
    So what I am trying is to use both trigger signal to output a boolean value (when both trigger signals are 0), reverse it to true (1), and use it to stop the cycle file. But I am still little far away from doing the task. Is there any way to do the cyclic file as I want with or without 'Write to Measurement File' VI?
    Please edit my VI and save in V8.5. Thanks for your help! 
    Best Regards
    HW
    Attachments:
    Trigger_signal_illustration.png ‏12 KB
    Read_AI_Test2-Dig_Chan_triggers.vi ‏111 KB

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

  • 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

Maybe you are looking for

  • Compare data from a table

    Hello, I am trying to compare data from one and the same table. In short I have:      NAME     DTM     CHARGE      Atanas     8/18/2012 9:33:23 AM     100 Atanas     8/18/2012 9:33:23 AM     101      Niki     8/18/2012 9:33:43 AM     200      Niki   

  • Post Processing Failing - no output

    Concurrent request failing to print. Completes with warning. Beginning post-processing of request on node at zzzzz. Post-processing of request yyyyy failed at zzzz with the error message: One or more post-processing actions failed. Consult the OPP se

  • RAW changes in 10.4.8

    Looks like the changes to RAW support in 10.4.8 are less than some had hoped for, but every little bit helps. Here's the list of related changes: • Adds RAW image decoding support for these cameras: Sony DSLR-A100, Nikon D2Xs, Fuji FinePix S2 Pro, Fu

  • Transfer Timecode to Output File

    I'm using a Settings file (detailed below) to transcode a 10-bit Quicktime file to Streaming H.264 My 10-bit file has DF timecode on it but the resulting H.264 file does not. Is there any way to tell Compressor to carry the timecode over? Name: MP4_8

  • MIRO message M8 060

    Dear all, When i save invoice verification by MIRO, the system message No M8 060 is shown Document No.& created. How can it show FI document no. at the same time?