Synchronise digital pattern output(6533) with a external signal

I use a PCI-DIO32HS and i want to synchronise an output pattern with an external signal(TTL;T=1.7ms).
ie :every time external signal become high(every 1.7ms)
my dio32HS output a define pattern on a line.
How can i do this?Thanks

Thanks for your answer but see attached file to see what i want to do.
I want to control delay between trigger(input signal T=1.7ms) and ouput and control the width of the ouput pulse
Best regards
Attachments:
signal.txt ‏1 KB

Similar Messages

  • Generating signal from the 5412 which is in sync with the external signal

    Hi,
    I am using the 5412 AWG. An external signal comes from the test unit. I need to generate a signal to the test unit which should be in synchronous with external signal which comes from the test unit. Can anyone help in this?
    Regards,
    Rajashekar

    Hi Rajashekar,
    You could synchronize these two signals by sharing a start trigger and using the input signal from your test unit as the sample clock for the 5412.  There are some considerations when doing this that can be seen in the External Sample Clock Considerations section of the 5412 help linked below:
    External Sample Clock Sources
    If you are using LabVIEW, you can find examples in the Example Finder located at Help >> Find Examples.  The FGEN examples are located at Hardware Input and Output >> Modular Instruments >> NI-FGEN >> Arbitrary Waveform Generation.  You can choose which line to use as the sample clock.  You will also need to add in some triggering.  You can find an example of triggering at  Hardware Input and Output >> Modular Instruments >> NI-FGEN >> Synchronization >>FGEN DAQmx Synchronization.vi.  This is synchronizing to a DAQ card, but you can synchronize to your external signal just the same way, i.e., sharing a start trigger and a reference clock.
    Regards,
    Jim Schwartz

  • Can I trigger the read of a buffer period measuremen​t with a external signal (PFI line) with my 6602 card? How can I do it?

    I am doing a buffered period measurement with a 6602 card, Labview real time. I want to measure the period of 6 rising edges of a TTL, but I want to do it exactly when an edge comes on other external signal (of course slowler than the previous one), that is to say that I want an external start trigger. Can anybody help me? I have hardly searched at the web and I have not found an example of code of what I am looking for.
    Another question:
    After reading the buffer, how does my program know that the data has been refreshed in a continuous measurement? I attach two VIs I am trying to make work and a quite explanatory bmp of what I
    want to do.
    Thanks.
    Attachments:
    rtc_regimen.zip ‏3 KB
    Buffered_Period_pulse_generation.vi ‏283 KB
    simgle_counter_pulse_generation.vi ‏177 KB

    Hello;
    I can't think of any way to accomplish that task. Once the counters have only two input pins, and both are in use when one configures the counter to do buffered measurements, there isn't a way to trigger that operation in hardware.
    I'm not sure if I understood your second question, however, the buffered operation on a counter is hardware controlled, meaning that a pulse on its gate input triggers the transfer of the count value from the counter register to the PC memory buffer. That is therefore a continuous measurement.
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • How to reset a counter on external signal in LabView?

    Hallo there!
    I am using LabView v 8.5 and the NI USB-6211 to acquire signals, among them are the following:
    1) angular pulses from a rotary encoder
    2) a reference pulse for the rotary encoder witch will give a pulse on a specific position of the movement for every rotation
    3) value from a pressure sensor
    What I am trying to do is to create a pressure/volume diagram based on the pressure and volume inside a cylinder of an IC engine. To do this, I will need the angle of the engines crankshaft to calculate the pistons position in the cylinder. This way I can calculate the volume and put it in a xy graph to represent the volume (x-axis) and the pressure(y-axis).
    I am using clk0 to count the pulses from the angular encoder, and this works great. However I now need the reference pulse to somehow reset the count at the precise time it goes high in order to precisely know the angular position.
    How can I do this? And how precise will this be? And will I need any kind of synchronization with my pressure measurements? If so, how?
    The relevant part of the program I am working on resembles the Count Digital Events with reset.vi 33 KB as found in this thread. However, I don't know how to get the reference pulse to reset as the stop button is. How can I do this?
    In addition: the fast pulses of the angular encoder = 0-> ~10kHz. I seem to lose information if I use the basic level trigger detection.vi when I put this signal on an analog port.
    -J

    Hi Nick,
    If you have an X Series or 2nd Generation cDAQ chassis (basically any cDAQ chassis except for the 9172 or 916x sleeves) then you can implement:
    1,2,3,4,5,6,7,8,9,10,(reset),1,2,3,4,5,6,7,8,9,10,(reset),1,2...
    You would have to configure an Edge Count Task, set the initial value to 232 - 6 (such that the 6th count causes the counter to rollover, which generates a pulse on the counter output), and enable the count reset using your external signal:
    The count reset isn't currently available for other DAQ devices, but I believe it should be available on M Series (62xx) and TIO (660x, 6624) with a future driver release (some time in 2012).
    If you don't have an X Series (or gen II cDAQ), don't despair.  On other hardware, you can get close to the previous behavior with a counter output task, with the exception that the "reset" signal would only be detected after the 2nd tick after your pulse is output.  Also, the reset signal would have to occur at the beginning to arm the counter the first time.
    Or, you can get the 3rd behavior that you asked for by doing a continuous counter output task with the external signal as the source of the timebase ticks.  For example:
    1,2,3,4,5,6,7,8,9,1,2,3,4,5,6,7,8,9
    In toggle mode (default):
    6 ticks of initial delay, 2 ticks high, 7 ticks low, 2 ticks high, 7 ticks low, ... etc.
    In pulse mode:
    6 ticks of initial delay, 9 ticks high, 9 ticks low, 9 ticks high, 9 ticks low, ... etc.
    See here for an overview of the difference of the two modes.  Basically, pulse mode will emit a short pulse when TC is reached, and toggle mode will toggle the state of the counter.  You can't have less than 2 ticks as a high time, low time, or initial delay.
    Best Regards,
    John Passiak

  • Trigger-digital pattern

    I would like to use "digital pattern" to control a/d acquisition. i.e. a start pulse on one line and a stop pulse on another. I am using a USB 6251. This menu item is grayed out. Does that mean SE does not support it or my USB device? Any work arounds?
    Thanks
    CHuck

    Hi Chuck,
    The USB 6251 and our other M series devices do not have the ability to trigger off a "digital pattern".  Digital Pattern triggering is supported by some of our Digital I/O boards such as the PCI 6533 / 6534.  Is there a reason you require two lines to start and stop the analog input acquisition?  Can you just use one line with on and off states (high and low)?  Also, is there an actual digital pattern you must recognize before turning "on" and "off" the analog input?  I don't know of any way without some external hardware to accomplish a hardware timed digital pattern trigger.  With more information on exactly what type of pattern you are trying to recognize there might be a workaround.  You could accomplish software timed digital pattern triggering by just reading in the digital lines and turning on and off the analog input in software.  However, if you're looking to use a hardware timed trigger to just turn your analog input on and off.  I would recommend looking at using a counter to generate a continuous pulse train to be used as the sample clock of your analog input.  This way you could use the "on" and "off" lines to toggle the gate or use one line to turn the gate on or off.  This would turn the sample clock on and off and allow you to control when samples are taken.  You would just need to set the source of your sample clock to be the output of the counter.  I would take a look at the Gen Dig Pulse Train-Continuous.vi example (Help » Find Examples » Hardware Input and Output » DAQmx » Generating Digital Pulses) and see if it will allow you the control over the sample clock that you require. 
    Regards,
    Paul C.

  • If I configure a buffered pattern input and a buffered pattern output on the 6534 to both operate from the internal clock, will data be transferred out on the same rising edge as data is transfered in or are there two separate oscillators?

    Basically, I want to perform a buffered pattern output synchronously with a buffered pattern input. If I configure the two groups to be internally timed from the same frequency, will the data in be transferred on the same edge as the data out or will the two groups use different oscillators?

    Hi Joseph,
    There are two clocking structures on the 653x boards, one for each group. This means, even if you specify the exact same frequency for both there is no guarantees that they will be synchronized exactly.
    The workaround for synchronizing both groups is to have 1 group clocked internally and 1 group to be clocked externally. Then route the Req line from the internally clocked group to the Req line of the externally clocked group.
    Hope that helps.
    Ron

  • How to connect Digital Optical Audio output iMac with Receiver Input

    I have connected iMac with onkyo hts-3300 home theater system receiver through optical audio TosLink Cable.( http://www.amazon.com/Digital-Optical-Audio-TosLink-Cable/dp/B001ZU3G2I/ref=sr12?ie=UTF8&qid=1292865309&sr=8-2 ). Unfortunately there is no sound coming out from the Home theater system. I have verified the Receiver optical input is working fine by connecting with my TV optical audio digital out put and the it's working great. The only difference between TV and iMac is, on my TV, it has optical audio digital output and I can use this cable (http://www.amazon.com/Tripp-Lite-A102-02M-Digital-connectors/dp/B0002WPREU/ref=s r11?s=electronics&ie=UTF8&qid=1297320792&sr=1-1) to make it work. I can also verified my optical audio TosLink Cable working because I can see the red light coming out from the cable. So the only problem could be from iMac. I doubt I need to change the additional setting to configure iMac to use external optical audio setting instead of the buit in audio setting. Hoe can I able to do it? or my iMac(IMAC 21.5"/3.06/2X2GB/500GB/9400M-ITP
    MB950ZP/A) doesn't support optical digital audio out put? I have follow this thread http://discussions.apple.com/thread.jspa?messageID=12769423&#12769423 and to my surprise which doesn't work out for me. I doubt that i need to change some setting, but when I got to setting>> sound I cannot change any setting. I was quite depressed aldy. Can someone answer my question as i m a newbie here. Thanks a lot

    Thank you very much for your reply.
    @Király : May i know how to Open Audio Midi Setup? Is this Audio Midi Setup is in the locatated in the Setting in Mac Snow Leapord OS? or how to locate this "Audio Midi Setup " in Mac enviroment. Is it possible to open this Audio Midi Setup in windows 7 enviroment also? I Just want to get the audio from my iMac in Hts-3300 onkyo home theatre. YOur help is much appreciated
    @rkaufmann87 : Thank you very much for your sharing about this http://www.apple.com/airportexpress/ connection. for me what i understand is the digital audio output in airportexpress is the same as the audio out put in iMac in terms of details sepcs. So this airportexpress will only help you connect wirelessly to home theatre system, rather than waired connection. Other than that nothig much difference. So there is no point for me to spend extra bucks to attain the wireless connection. Unless the airportexpress have optical digital input, which i believe not. Correct me if I m worng, thanks

  • DAQmx: Digital - Continuous Output.vi example with PCI-6519 (error -200077)

    Bonjour everyone,
    Main goal :
    I want to use 1 digital output of the PCI-6519 harware to make  a staked light indicator blink when user is needed to operate the test station. 
    What I am trying:
    I open the labview 2013 wxample "DAQmx: Digital - Continuous Output.vi" to learn how I could use a DAQmx task to perform this blink instead of using a dynamic call of a VI changing the output in 'while loop'.
    The example states that my hardware should be able to run it but I always get an error -200077 right at the beginning with the DAQmx Timing.vi mentionning that my PORT2, line 0 does not support the 'Sample Clock' property which is hard coded in the example. I can't find a different property that this example will accept to try to change the status of my digital output on a time basis.  Does the PCI-6519 device support timing for a digital output or not?
    If anyone has a better or simplier idea to achieve such a simple goal, feel free to suggest.  I am using DAQmx for the first time and I don't know much about what my options are.
    Thanks 

    Hi Nienscecco,
    Unfortunately PCI-6519 doesn't support HW timing, I've just tried with a simulate PCI-6519 device and I confirm you that you must specify an external clock in order to use this example.
    Do you have some kind of frequency generator to provide it ? Or maybe another NI board with embedded counters in order to build it ?
    Thanks in advance for your answers.
    Mathieu_T
    Certified LabVIEW Developer
    Certified TestStand Developer
    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;}
    LabVIEW Tour
    Journées Techniques dans 10 villes en France, du 4 au 20 novembre 2014

  • Compatibility of Pattern I/O with a PXI-6533 card with real time application

    Hi,
    I use a PXI-6533 card on a chassis with a PXI-8145 RT controller. I want to acquire 32 bits of data with this card at 1,25 kHz. These data are generated by an external FPGA card together with a clock signal. Referring to the 6533 documentation, a simple way to synchronize the acquisition is to use pattern I/O, entering the clock signal on the REQ pin. I tried the LabVIEW example Cont Pattern Input.vi. It seems to go well, but it does not work when I change this .vi priority to Time-critical or any higher priority than normal. Is there an incompatibility between this type of acquisition and real-time ?

    Hi,
    Sorry for this late answer, I effectively added a �wait until next ms function� in the time-critical loop and it seems to work. In fact, I don�t see exactly how, but it works with 1ms up to 50 ms.
    Nevertheless, the next step is to add the content of this example in a more complex system with a communication loop to transfer the acquired data to the Host PC. I already have such an architecture, with a �time-critical priority� .VI to read the data at 1.25 kHz and a RTFIFO to transfer them to a second �normal priority� .VI loaded on the PXI, that ensures a TCP communication with the HOST PC. This architecture works correctly on another application with an internal clock, BUT doesn�t with this example, even with your solution.
    In
    fact, it seems to work when I put the two .VIs loaded on the PXI in �normal� priority, but with a tremendous jitter (the frequency varies from 1 to 2 kHz) and a scan backlog that gets full very fast. Then, the PXI crashes as soon as I change any priority.
    You�ll find attached these three .VIs and I hope this could help to find a solution.
    Cordially
    PS: Since we started this thread, I�m in relation with NI Support France on that subject. Nevertheless, we haven�t found any solution yet and any new idea is welcome !
    Attachments:
    HOST_Comm.vi ‏532 KB
    RT_Comm.vi ‏265 KB
    TCLoop.vi ‏256 KB

  • Do we have Digital to Analog converter with high current output?

    Do we have Digital to Analog converter with high current output? I need 8 channels and each channel has at least 100mA current output.Thanks!

    I have never heard of such a device. You will probably need to follow the D/A with an amplifer for each channel.
    What is the voltage range and speed required? Any special protection requirements (such as current limiting)?
    Lynn

  • How can I get Aperture to re- synchronise with an external folder

    Does anyone know how to get Aperture to re- synchronise with an external folder?
    I reference my images on an external hard-drive.
    I often will move images or add them via other programs. I would like to then re-sync and have Aperture add the new images to its library.
    Lightroom does this very well but no joy in Aperture.
    Joe Barrett

    OK I know understand your question
    I do this as part of my workflow - I put all images into folders on the hard drive and then import them into Aperture as Referenced Masters
    I select the Library Inspector and select the higher levelProject I want to store the images in (or create a New one)
    Then I go to the
    File
    Import
    Folders as Projects
    Then select the folder tree that you wish to import - BUT ENSURE that you select where you want to store the files.
    I keep them in the current location as I prefer to have referenced files
    also adjust the other import controls as required.
    Then run the import - it may take a while to create the library records ad Thumbnails.
    Use the Aperture Preferences window to switch off Faces.
    Hope this solves your problem

  • How to address digital input & output, analogue input & output when communicate with mitsubishi fx1n plc

    dear all,
    i am new to labview, how to code or address digital input & output, analogue input & output when communicate with mitsubishi fx1n plc or crouzet plc.
    pls help.
    HM

    http://search.mywebsearch.com/mywebsearch/redirect.jhtml?searchfor=mitsubishi+fx1n&cb=ZO&p2=%5EZO%5E...
    Try the above link. I know it is a screen-full, but is a search result for Matrikon. They have a whole slew of OPC servers/clients you can try out. Personally, I would go with their OPC server for the Mitsubishi, and use Labview Datasockets. That would be the simplest with the lowest learning curve.
    Otherwise, if you wish to use Modbus, you would have to get the commands/syntax from Mitsubishi; might be in their user manual, but I wouldn't lay bets on it. With the Matrikon stuff, the syntax is all built in.
    Good luck which ever way you decide to go.
    Dave

  • Synchronisation with a slower external signal

    Hello,
    I would synchronize 1 KHz continuous acquisition with an slower external clock. For example, I have a 100 or 200 Hz external clock and on each clock signal, I would read the acquisition buffer.
    On which pin of the DAQ board could I connect the external code ?
    Which function could I use on LabVIEW to synchronise the application with the external clock ?
    Thanks for your input
    Hubert Robitaille

    Hello;
    I don't know if I got your application need correctly by your description. By my understanding you want to have multiple external signals clocking each channel of the DAQ board.
    If that is the case, it's not possible, since the DAQ board accepts only one Scan clock pulse train. One thing you can do is to use the fastest clock as the external scan clock, and then skip some points on the other channels so you can collect the datapoints that match each scan clock needed.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • Audigy 4, digital out would not work, now external box does not power

    I recently purchased a audigy 4 sound card. At first it was almost as if there was a loose wire somewhere. Sometimes the external break out box would power up and sometimes it would not. There was no loose wire and it now no longer powers up at all. The only thing that was worse than the intermittent power up was the digital out on the box. First of all I was told that you could use the spidf out on the box to a receivers digital in, this never worked now matter what settings I tried. I was then told to try the mini out. So I went and bought a mono mini out, that was a joke, didn't fit right rarely worked. I then went and bought a mini stereo plug to RCA out, that fit right and worked a few times, It no longer works at all.
    I had the settings set up correctly with the spidif passthrough.
    Has anyone else had any problems getting the digital out to work with a receiver?
    The analog works fine, but just like the audigy mp3 the bass output for my sub is weak and almost nonexistent. I have a nice hifi/ht system I am trying to get this card to work with.

    hello there!
    i have the same problem - when i use the equalizer i can save a preset without problems,
    but if i reboot the pc i first have to open the equalizers window to make the equalizer work. without having opened the equalizer window it seems to be not activated.
    does anybody have an idea how to fix that problem?
    greetz,
    doolak

  • Digital sound output only after using Headphones

    i used my MacbookPro 17 2.66
    with headphones to listen to music and after i removed headphones there is a red light in the headphone port and only digital sound output option in system preferences control panel
    If i reinsert headphones, headphone output reappears
    Where are my internal speaker option gone
    i have a time machine backup
    Can i just replace sound preferences
    Thanks

    Generally that means your headphones' plug is not exactly to dimensional stands and has jammed the internal connector in the jack to the "mute" position. The plug's tip-to-shoulder distance seems to be the variable.
    I've found with my MBP that, with non-standard plugs, inserting them only until they function--not until the "stop shoulder" hits the MBP case--prevents this. I have an old and cheap set of external speakers whose plug works perfectly. A patch cable I use to connect to my desktop sound system has a non-standard plug, and I have to leave the plug slightly out of the jack to prevent the problem you see. Again, insert until you hear proper sound to the device, not by feel. I've no problems with the plugs falling out using this technique.
    The "official" fix is a new logic board but most people are able to free the internal contact by inserting a plus into the jack and gently wiggling it in the horizontal plane. One person recently said he freed his with a wooden toothpick.
    If you use anything other than a standard plug to manipulate the jack, be certain it's non-conductive. BTW, if you use the "Search Discussion" option in the upper right of this page and search for "red light" (use the quotes) you will see a number of threads here on the subject.

Maybe you are looking for