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

Similar Messages

  • HSDIO Dynamic Generation of Digital Signals on Separate Non-sequential Ports Using the PCI-6542

    I am using the PCI-6542 trying to generate serial data timing on separate non-sequential ports 8, 9 and 16 as shown in the attached Digital Waveform Editor JPEG file
    I would like to be able to send binary data to ports (lines) 8, 9 and 16 without disturbing the other 29 ports on the PCI-6542 board. Looking on various HSDIO examples I don't see the capability of being able to send dynamic generation in binary format to a group of ports or being able to mask out non-timing involved ports like you can in static generation. 
    Was anyone successful in implementing this type of serial binary timing waveforms using the PCI-6542 board.
    Please advise.
    Thanks

    Hi Nycor,
    Outputting your data on lines that you specify is indeed possible on HSDIO cards.  You just need to list the channels you want to use in your Channel List when call the niHSDIO Assign Dynamic Channels VI.  For example, for lines 8, 9, and 16, you would input 8,9,16 into the Channel List.  Order in this list matters, so the first waveform in your file will correspond to line 8, second waveform to line 9, etc.  If your waveforms are out of order in your file, then rearrange the Channel List accordingly.
    One of my colleagues here is actually working on an example that implements this; I believe it may be for an open service request that you have.  I will speak with her when she is done and see if there is some example code we can provide that demonstrates this.  If you have further questions, I am happy to help out here, but you will likely get faster response through your open service request via phone and email.
    Regards,
    Chris E.
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • How to sync. 50Hz sample rate with 5Hz external digital trigger signal?

    Hello there,
    I want to sample an analog input at 50Hz, where I further want to use
    the 5Hz PPS signal of a GPS receiver as an external trigger/clock
    signal for the NI DAQ USB-6008 device. However, I do not want to read
    10 samples every 200ms (= 50Hz avg. sample rate), but I want to read 1
    sample every 20ms, i.e. with "real" 50Hz.
    The "natural" way, it seems would be to use a task that waits for a
    rising edge on the ext. trigger input, then reads 10 samples, then
    waits for the next trigger edge, and so on.
    However, it seems that with this approach I cannot read the data from
    the DAQ with real 50Hz, further it seems that every 10 samples the task
    needs to be restarted, which takes longer than the 20ms (corresponding
    to the 50Hz target sample rate).
    I hope the problem description is clear enough....
    Thank you in advance for any advice.
    Regards,
    Oliver

    You have to use the counter together with the analog input to achive this. You could configure the counter to generate 10 pulses with 50 Hz whenever the counter sees a rising edge on the inpput of the counter. The output of the counter would be used as the external clock for the analog input.

  • Read analog trigger signal gated by digital pause trigger

    Hi!
    I want to use and analog trigger together with digital pause trigger. At the same time i want to see on the scope the analog trigger signal which was gated by gate signal. Is it possible? Can i somehow wire the gated trigger to one of the outputs of the board?
    Thanks in advance.
     

     Hi Sergei_phys,
    Thank you for the forum post!
    I have a few questions about your post:
    What hardware are you using? Is it NI or 3rd party? You mention using a scope, is that a NI piece of hardware/module?
    In theory you can have a analog trigger to start the acquisition and a digital trigger to pause , but it depends of the hardware.
    Thanks,
    DanC12
     

  • 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

  • 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

  • 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

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

  • 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

  • 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

  • Generate PXI Trigger Signals with PXI-6115

    Hello,
    I have a question.
    I have a PXI-6115 and some other card in my mainframe.
    These other cards nee 10 Mhz pulses on line PXI-Star1 and 2.5 MHz on PXI_trg7.
    So I thought to apply (somewhere on my PXI 6115 card) 10 MHz, divide the 10 MHz with a counter to 4 and route all this things to the backplane.
    But I don't understand how to do this.
    There are no good examples.
    And as far as I know the PXI-6115 isn't yet supported by DAQ-MX.
    Can anybody give me some good advises or tips, white paper or so to make me solve my problem ???
    Thanks Ruediger

    I don't have time to write any example snippets right now, but I'll try to provide you the general idea and hopefully you can take it from there.
    First, it's not clear whether you want to generate the 10 MHz from the 6115 and send it to other devices in the system or accept the 10 MHz externally and route it to the rest of the system.  If you're bringing in the signal externally, I would simply using the DAQmx Connect Terminals VI to route the signal from a PFI line on the front connector of the board to one of the PXI trigger bus lines in the backplane.  Check out the routing table in MAX to see what routes are possible.  To perform this route, the driver will have to route through Counter 0 so you won't be able to use Counter 0 for anything else.
    If you want to generate 10 MHz from the 6115, I would create a continuous pulse train task on Counter 0 using the CO Pulse Ticks version of the Create Channel VI with a value of 2 for both the high ticks and low ticks input.  However, to achieve 10 MHz clock on a PXI trigger line, you'll have to perform a couple of modifications that typically aren't done with counter tasks.  First, you'll need to use the DAQmx Export Signal Property Node to route the Counter Output Event to the desired PXI trigger line.  You can find this property by navigating the following menu hierarchy Events->Counter Output Event->Output Terminal.  By default, the driver routes this event to the Ctr0Output pin on the front connector of the board.  Using this property will override this behavior and route the output of the counter to a PXI trigger line instead.  Second, you will need to change the output behavior of the Counter Output Event from toggle to pulse.  This can be through the Events->Counter Output Event->Output Behavior property.  Normally, when generating pulse trains, the high ticks and low ticks parameters from the Create Channel VI determine the frequency and duty cycle of the pulse train.  When the high ticks count expires, the output of the counter toggles.  The low ticks value is then loaded into the counter, and the counter output toggles again when the low ticks value expires.  This process repeats to produce a pulse train of the desired frequency and duty cycle.  Since the counter uses a 20 MHz timebase and has a minimum low ticks and high ticks value of 2, you can only produce at maximum a 5 MHz pulse train using the toggle behavior.  However, by changing the output behavior from toggle to pulse, the counter output will issue a short pulse each time the high ticks and low ticks counts expire yielding a 10 MHz clock signal.
    Now that you have the 10 MHz signal taken care of, you need to generate a 2.5 MHz signal from it.  My guess is that since you have a 6115, you already have plans for the AI engine so I'll describe a route that uses AO instead.  First, create an AO task to perform continous waveform generation.  Use the DAQmx Channel Property Node and set the Use Only Onboard Memory property to true.  Setting this to true will cause the driver to download the waveform once upon starting the task and replay the waveform from the onboard FIFO.  Since you're only using this task to generate a clock, you don't really care about the data and this will prevent unneccessary traffic across the PCI bus.  Next, use the DAQmx Timing Property Node to set the Sample Clock->Timebase->Source to the PXI Trigger line that you're generating the 10 MHz clock on, and set the Sample Clock->Timebase Divisor to 4 (10 MHz / 4 should give you a 2.5 MHz sample clock).  Last, use the DAQmx Export Signal Property Node to set the Clocks->Sample Clock->Output Terminal to the PXI Trigger Line you want to generate the 2.5 MHz signal on.
    It requires some creative programming, but you should now have a 10 MHz and 2.5 MHz signal routed onto two different PXI Trigger lines.  I know this solution is a bit involved so if you have any further questions be sure to post back.

  • 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

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

  • 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

  • Enabling Simultanious Analog and Digital Audio Signals

    My apple TV runs through a Yamaha receiver. It is hooked up with component video and digital audio cables. I also need to hook analog audio to my receiver so it can play outdoor speakers through zone 2 (which only recognizes analog signals). Zone 2 does not work when I hook both digital and analog cables. Called Yamaha and they said to look for a setting on Apple TV that enables simultanious analog and digital audio signals. Does anyone know if/how this can be done? Or any other way to make the analog zone work without losing digital on the main zone?

    AFAIK, the analog audio on the ATV outputs all the time. The audio output setting in the ATV just determines whether the digital output is Dolby or PCM. Try turning off Dolby in the ATV audio settings and see if that makes a difference. If not, the problem is probably elsewhere.

Maybe you are looking for