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

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.

  • Using a Counter as a start trigger to one or more tasks

    I am using the NI USB-6251. I want to configure a counter (e.g. Dev1/ctr0) at a user-specified frequency and the rising edge on this counter should act as a start trigger for an analog input task and a digital output task. 
    I've tried to do this by creating a task for the counter:
    integStartTriggerTask.COChannels.CreatePulseChanne​lFrequency(
    "Dev1/ctr0",
    "Integration Start Trigger",
    COPulseFrequencyUnits.Hertz,
    COPulseIdleState.Low,
    0,
    integFreqHz,
    0.5);
    and then connecting this to the StartTrigger for the analog input task:
    analogReadTask.Triggers.StartTrigger.ConfigureDigi​talEdgeTrigger("Dev1/ctr0", DigitalEdgeStartTriggerEdge.Rising);
    However running this gives the error: 
    Source terminal to be routed could not be found on the device.
    Make sure the terminal name is valid for the specified device. Refer to Measurement & Automation Explorer for valid terminal names.
    Property: NationalInstruments.DAQmx.DigitalEdgeStartTrigger.​Source
    Property: NationalInstruments.DAQmx.DigitalEdgeStartTrigger.​Edge
    Source Device: Dev1
    Source Terminal: Dev1/ctr0
    Task Name: analogReadTask
    I have also tried "Dev1/ctr0/StartTrigger" instead of "Dev1/ctr0". What am I doing incorrectly? Thanks.

    Hi zkhan.cimtec,
    To use a digital trigger for your start task you need to use a PFI line to read a signal that is coming in. You are setting up a task that outputs a start trigger on your counter line, but you can't read off that same line to start the task since that line is already configured for output. An example of how to setup a start trigger coming into a PFI line can be found in the examples here:
    <National Instruments Public>\NI-DAQ\Examples\DAQmx ANSI C\Analog In\Measure Voltage\Cont Acq-Ext Clk-Dig Start
    Hope this helps,
    Kevin

  • 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

  • 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

  • Problem  to access my count in adobe Digital Editions

    Dear,
    I`ve problem to access my count in Adobe Digital Edition, I bought an eBook in pdf format and when try read it, ask me to get in for  my ID and password ind Adobe Digital Editions,  report that there is another user use my licence.
    Thus, I know that I`ve got 6 licence  for Adobe Digital Editions.

    Adobe ID, sign-in, and account help

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

  • Error while loading data to Infocube using DTP.

    Dear All I am facing problem while uploading data in Zinfocube. Up to PSA the data is loaded and not showing any error but when we try to upload the data from PSA to INFOCUBE through a DTP, It ens up showing error message (Error while updating to tar

  • Document upload in BW report or web template

    Hi all, Is it possible to upload a document in word, excel etc format in the BW report / WAD ? I am not referring to administrative workbench document. I am on version 3.5. I am under impression it's a standard functionality for netweaver 2000s Bex.

  • Laptop with two versions of Safari- want to "Trash" one or the the other...

    I have two versions of Safari. One in the APP folder (as usual) and the other on the Desktop. Want to trash one of my Safari Apps but I'm not sure if both will disappear. (I'm asked for the Admin. PW when attempting to trash one or the other.) Ideas?

  • LOGS for CSS deamons

    Hi , Does anybody has any idea, why in $ORACLE_HOME/css/log aren't any logs? How can I force more logs during startup of init.cssd start ?? I have problems running it on standby node of Service Guard ... Thanks in advance Radek

  • I have Safari 3.2.3.  What version do I need for Mac OS X 10.6.8?

    I have Safari 3.2.3.  What version do I need for Mac OS X 10.6.8?