PXI-6259 - Syncronize AO and

Good afternoon friends,

I'm looking to synchronize a finishes analog output signal with a digital output signal end of same length (number of samples).   Ideally, the signals should be identical except for the amplitude... 5V for life.   I guess that this will require a trigger to start shared?   Any who have an example or knows where I can find an example of synchronized finished AO and?   My hardware is a PXI-6259.

Thank you

Zach

Hello Super!

Thanks for your post! One of the ways that I would like to synchronize your AO is to use the timing engine AO as your sample for both clock. In this way, you know that you are using the same sample that is generated on board the 6259 clock. Just be sure to start your task before your AO so that when when the AO starts and generates the sample clock the task sees the first front. Essentially you will be triggering the DO with the task of the AO. Take a look at the screenshot of the block diagram that I made that does exactly this. I checked with another DAQ card to ensure synchronization. Let us know if this helps and and take a look at this area of developer who talks about sync multifunction.

Synchronization of series M with LabVIEW and NOR-DAQmx

Have a great day great and let us know if this helps your applications!

See you soon!

Corby_B

http://www.NI.com/support

Tags: NI Hardware

Similar Questions

  • PXI-5122 and PXI-6259 read 2 channels simultaneously

    There is a single PXI-5122 digitizer card and a PXI-6259 DAQ card in our PXI system, we use Labview and TestStand (model Batch) to test the multiplication Board simultaneously, sometimes up to 8 boards are tested. We have some problems, such as the results of the tests is not reliable and sometimes blocking of Labview. Everything works fine when test single board. Thus, we feel that multiply causing this problem of acquisition of string data. It's great, if someone has the same problem and we can share the knowledge. My question is as follows:

    1. If two channels have been configured, read the two channel simultaneous cause blocking of the system or data damaged?

    "lu niScope WDT.vi" is reentrant, we can use two Subvi to call the "niScope Read WDT.vi' access the two channels simultaneously.

    2. If we set up a channel in another channel is reading the data, this situation will cause the search system or corrupt data.

    Concerning

    Samuel

    Hi Samuel,.

    You shouldn't have any difficulty to read several channels on your 5122 or between your 5122 and your 6259. You receive an error message when your test is blocked? What happens when your test is not reliable? Are you incorrect data and if so what is the data vs expected data acquired? You should be able to set both your channels in a single task, which would be using a read niScope WDT.vi to be used by the device. You are working from example or have you developed your own code? What version of the driver NOR Scope and NI-DAQmx driver do you use? You can find the driver version number in the measurement and Automation Explorer under the software section.

    What kind of test are you running? Your PXI chassis is controlled by a computer or by an on-board controller? Evolution of the rate of acquisition has an effect on your program?

  • Hardware timing on PXI-6259

    I'm having a problem of selection of a clock for the PXI-6259. I've seen several posts on the forum on this issue, but the solution seems to be "read the manual"; I am not able to total, try it.

    I have a chassis with an analogue 6723 static on the map and a 6259 multifunction data acquisition. I provide 4 sets of 2 digital inputs: a guideline and a pulse line. The user selects a number of impulses, a pulse width, and a destination for the pulse train. I use the number of pulses and pulse width to set up a digital waveform clocked. I can write the direction static c on the 6723 and the train of pulses at the timed HW DO on the 6259.

    My problem is to select a clock for the pulse train. I tried using the sample AO clock and the sample clock HAVE to give me the ability to adjust the pulsewidth. I add the additional sample for the "wait until what Done.vi", but it times out when one of these clocks are used. If I use the time base of 100 kHz, the vi works well - but only for a 10us impulse. With the help of the time base destroyed my ability to change the pulse width.

    I have attached the screw below; He let me just tie three.

    The vi parent - control Tach, Full.vi

    The creation of impulse vi tasks - create Pulse Channels.vi

    The output vi - generate Tach Pulse.vi

    The RWA selector is a typedef that selects one of the four outputs to send the train direction of signal and pulse to.

    The typedef of Direction is converted to a Boolean value to write to the direction of entry.

    I first create an array of tasks for the static DO the map of 6723, a special track.

    Then, I create an array of tasks for the pulse on the map of 6259, including the establishment of the clock. I do this by taking the desired number of pulses, doubling (each pulse takes two samples), then adding one to allow the impulse to settle. I also add another sample, in addition to that for the vi "wait until what". This is the vi where to select which one to use.

    I then choose the task of a pulse and direction, enter the values in the buffer and start explicitly jobs. After that wait until done return, I stop the tasks.

    Waiting until it times out (I used up to 10 s) am the AO or sample clock is used. If I remove the wait until done, I get a warning (task may have stopped before all the written samples) with no output pulse train. It works very well with a time base of 100 kHz, but of course its fixed and cannot make any other sample rate other than 100 kHz/10us.

    I have three questions:

    1. the main problem - what I'm doing wrong with the clocks?

    2. I put the program in time loop to allow the sending of one of the 4 outputs. I can send reverse or forward impulses out even any number of times, but the VI produces an error if I try to switch to another output (turned off, so I don't have the exact error code; it tells me that the task is reserved).

    3. is it necessary to replace the task in the table when I'm done with it (for example, replace the code table subset)? What is exactly included in the thread of the task?

    Had some extended time for testing today, and I found a solution. It is much more complicated as the example shows, although it seems obvious, once I write it.

    It takes two tasks and two knots of timing to accomplish the digital generation timed by material:

    A single task and node of synchronization for the digital task, I had put in place already

    A single task and calendar for an analog task node allow the sample clock. I needed an analog task with a channel not used AND a timing node. Analog synchronization node should have the same sample rate and the number of samples that the node digital synchronization, but the source entry should be left blank to use the default clock (sample clock HAVE for a fictitious analog input channel).

    Sailing smooth after that. Thanks for the help and insight!

    -Nick

  • The PXI - 6259 sampling rate M SERIES DAQ

    Good afternoon friends,

    I'm reading my series M manual trying to find AO maximum sampling rate I can run my PXI-6259 to.   I need to generate four-channel (A0:3) grid output wave high fidelity.   Higher sampling frequencies enable higher frequency in tone generation and a better representation of the sounds of broadband as white noise.   How fast can I run this puppy, and is there a point where performance and reliability starts to suffer?

    I'll keep digging for answers!

    Thank you

    Zach

    Zach Hey!

    If you look on page 3 of the 625 x card product, the analog output with 4 channels update is 1.25 MECH. / s.  Rock on!

  • Check an ADC with the PXI-6259

    I use the PXI-6259 M Series DAQ in LabWindows/CVI ADE, and now I want to check if a 8-bit ADC works properly or not.

    The entrance to the ADC is a sine wave and I acquire the 8 bits of data (in Digital Format or Port) every time that the A/D conversion is complete. Then, I want to regenerate the sinusoidal wave with digital data using 6259.

    The analog channel supports only the numbers to decimal floating 64-bit data format but not Unsigned and data format signed integers, have of I scale digital data acquired for floating-point numbers 64-bit data format according to the amplitude of the sine wave and then regenerate the waveform?

    If so, I have to Brown the APFI0 or the APFI1 as the DAC reference voltage source?

    Thank you very much for your help.

    Sxs707

    Done writing DAQmx supports the signed and unsigned writings. Open the library > NOR-DAQmx > write functions and find DAQmxWriteBinaryI16, DAQmxWriteBinaryU16, etc.

  • Connection of the PXI-4071 - can sound and LOs remain interconnected for the impedance of the cable 2, voltage DC/AC, frequency and waveform acquisition?

    Hello

    We use the DMM and SMU-6363 map to test a hardware device.  We will also use a PXI-2530 b switching matrix.  We will use the digital multimeter to perform the measurements of voltage, DC and AC, measurements of impedance (2-wire and 4-wire), frequency and waveform acquisition.  Can the PXI-4071 left be 4 wire connected (black jacks taken connected and red connected) mode and still be used to perform all other measures (including 2 impedance of the cable).  This would simplify the switch connections.

    Current measures use the son + and LO, but the HI and S-can remain connected.  The problem you are having is if you have an active device the digital multimeter and take you a 4-wire resistance and the measurement of voltage with all 4 wires connected and then change to a current... When you do this, short-circuit you the terminals of the DUT, on that you just take the measurement of the resistance.  If the terminal HAD, say, a power supply 10V, then you have just shorted out.  Of course, this isn't a problem if your Instrument is a passive device, or if you change just the unused two lead whenever there is an active device of low impedance.

    If you want to make voltage, current and 4-wire resistance, you need all 4 wires.  If you want to do the voltage and current, you will need 3 wires, but you could connect the s + Hi and then just do the two wires.  I vote running every 4 son to your DUT for maximum flexibility.

    2-wire resistance is a must if you are measuring resistance above 10 MOhm.  Alternatively, you can use 4-wire for all measures.

  • Help with PXI OR 4070 DMM and OR PXI MUX 2501

    Dear alls,

    Sorry to post a simple question, but I couldn't understand it.

    My PXI1033 chassis has NI 4070 Flexdmm and NI PXI MUX 2501, block of connection OR-TB2605, 1 thread by MAX-mode configuration.

    I'm trying to measure 3 voltages (from 2V to 5V) by connecting them to ch0, ch1, ch2 MUX2501 (Terminal screw for example 67,66,65 and common screw terminal 27).

    Any device passes self-test to the MAX.

    I then use NOR-DMM/Switch Express, swap the added devices and also scan list.

    Trigger is PXI; Handshake (PXI trigger 0 and 1 PXI trigger)

    However, I could not measure all the signals.

    I also try with other examples in LabVIEW help, but have still no results.

    Am I missing something?

    And, although the trigger section is very clearly explained, I have no idea how the DMM to run his measure through switching and multiplexing. How DMM connected MUX?

    I noticed that the DMM and the switch share the same trigger bus (two of them bus trigger 1), but their local buses are different (DMM: local bus left/right = 2, 4, and buses premises MUX left/right = 3.5)

    Your advice is much appreciated.

    Thank you.

    Van.

    Lonestar thanks!

  • How to use the two counters to PXI-6280, to read and write at the same time?

    Hi all

    I try to use PXI-6280 counter to generate a command of step motor pulse train.  The idea is to send a number done and known pulse for the engine, which belongs to a system XYZ. The point is, if, at some point, the user or the security system can interrupt the movement. If this happens (and will be... a lot), I will lose the real position, because I don't know how many pulses were actually sent to the engine. That is why I want to use the other cost to count impulses how were actually sent to the engine. I can start any tasks (generating or account), but only the first started task will operate. I met a couple of mistakes and I'm not able to find a solution.

    Is it really possible to use the two counters? I've already done this in a pci system and worked without problems.

    Thanks in advance,

    Giavonna

    Electrical engineer

    I'm afraid that I don't understand your idea. Could explain you better?

    Material of the series M support pointing to an arbitrary digital signals at rates (the clock must be provided from another source, for example a counter).  If you want a digital pulse train finished output and have access to a counter (the two counters if find you another source for your clock, for example the subsystem "output frequency"), you must use this subsystem 'digital output' rather than the output of the counter.  There should be examples in the finder of the example shows how to configure a finished task of digital output.

    Now I'm generating sample clock having a single Timed material Point (the only mode accepts this mode), and configure the counter with finite samples.

    I don't think not just single point NI the hardware, that's what you want.  More commonly, output meter tasks use timing 'Implied', where the release date is implicitly determined by the characteristics of the pulse user-defined.

    Is there a way to stop the production of only one meter when a finite number of pulses has been played in another counter?

    Yes, but it's a little tricky.  You can set a trigger 'Pause' on the output task, with the soruce the break being the internal release of the counter used for the task of entry.  Set the initial value of the counter of entry to 2 ^ 32-N (or maybe 2 ^ 32-1-N, I don't have a system right now to check) where N is the desired number of pulse output.  Together the counter event behavior for the counter edges of County switch output (this is a property of DAQmx export Signal).  When the counter of entry reaches terminal, its in-house production switches, causing thus the task of output to pause.  You can then stop the task in the software (you should be able to use the output of the task of entry counter event to signal to the software when the output is paused).

    Now that I've written that the whole paragraph, I remember something * similar * to work around a limitation of the driver here .  It is not quite the same implementation I described above, but really, you can use a meter output or a counter entry to get the same effect (it could be a good place to start anyway if you want to try this).

    Is there a way to read pulses them how have been generated, without the other counter, counting impulses?

    N °

    Best regards

  • Series M Syncronize Counter and HAVE

    I use a single M-Series PCI - 628-x.

    I can read an encoder and get the position of one of the counters.

    In addition, I will acquire n channel I. I will acquire m samples by finite samples or acquisition continues (preferred).

    Now, I want to get the exact position for each reading my strings n (m) - I. How do I synchronize the task of counter with my task to HAVE? Obviously the task of counter must count with 20 MHz clock, sharing so a clock as I would for synchronization HAVE, AO and task DI is not the way. How can I just get the value of the counter at the same time I measure my n strings?

    Felix

    Seems already, I found the solution, I need to look for "buffered" the meter.

    http://decibel.NI.com/content/docs/doc-12456

    Felix

  • The PXI-4461 connections and text based programming

    Hello

    I looking for a guide-schedule based on text for the PCI card, / AO PXI-4461 24 bit.  Currently, I am able to program it similar to the PXI-6259 but could not find a way to set it up as (differential, Pseudo-differentiel) in order to obtain the correct output impedance.

    Is there a hardware (user) for PXI-4461 guide?

    I use Visual c# to encode the PXI-4461.  How can I determine the location of the classes and the specific methods for the PXI-4461.

    Thank you.

    Anand


  • PXI-5421 Signal routing to PFI4 and PFI5

    Hello

    I am trying to route bits 0 and 1 of a waveform I generated using a PXI-5421 AWG group work PFI5 and PFI4 respectively for the ports. What seems to happen, this is the first installation is written the second set so that only one PFI port is set up. I've attached a screenshot of a section of the configuration of the VI. Can two bits of a waveform being routed to two ports separated the IFP at the same time?

    Thank you

    Steve

    Hi Steve,.

    Yes.  There is data on the PXI-5421 4 markers, and each can be configured with unique values for each of the attributes of data marker.  To set up the markers of data independently, you must specify a 'Active Channel' for the polarity of marker data and number of bits attributes.  So in your example, you would just need to add an entry "Active Channel" on your property node above the attributes of marker of both data and wiring in the "datamarker0" to set up the first brand of data and the "datamarker1" for the second.  "NiFgen waveform Arb marker" shows how to do this.  Do not wire the active channel range cause really all markers 4 data to configure when the value of each attribute of data marker.

    Hope that helps.

  • Cannot rename my PXI-4071 for something else that "PXI-4071" have the self-assessment work, and I can use the new name in the ivi drivers

    I tried to change the name of the PXI-4071 "DMM" that worked, but when I try to launch the "self-test" or open the app it Panel always fails.   This is also true if I pass the new name of the ivi driver.   Return to the name "PXI-4071" makes everything works again.   Note I managed to change the name of our PXI-2530 b 'SWITCH' and the name of our SMU-6363 to "MIO" and I could pass these names to their IVI drivers and they would work.

    I messed with alias VISA, IVI logical names, but nothing works unless it is called "PXI-4071.


  • Communication problem between LabView and acquisition of data USB 6259

    I want to monitor a data USB-6259 acquisition using LabVIEW 8.6. However, when you try to create an explicit task (using the DAQ assistant) in order to acquire a signal, I get the message asked supported device found¨. I can see the USB-6259 under ¨Devices and interfaces¨ to the MAX, but when I try to import the configuration data for NOR-DAQmx 8.7.2 in MAX, I get the message ¨Can´t import file configData.nce.  File not found¨. I use NEITHER-DAQmx 8.7.2.  Any suggestions?

    Corneliu

    Hi, Corneliu,

    This question could be generated due to a corruption of database of MAX. Here is a link to restore the database to the MAX.

    http://digital.NI.com/public.nsf/allkb/2C7480E856987FFF862573AE005AB0D9?OpenDocument

    Just follow the steps and let me know if that solves the problem.

    A greeting.

    Jesus.

  • 1042 q with PXI 8360-controller and maps of Pickering

    Hello

    I have a 1042 q with a PXI-8360 controller chassis and some maps of Pickering.

    Connected to the XP - PC with a PCI-e-card-

    Installed is only neither Max nor-PXI, Ni-Visa...

    Now the question is how to set up the chassis in the 4.7 or max?

    In Max, I see a line with PXI system (unidentified) under "Geräte und interfaces". I tried to load some of the deliverered ini with pxi OR cd files, but I can't control anything.

    Can someone me a gibe hint what to do?

    I have doenloaded a pickering Web site pipx40vpp.zp file which should cover all my map of pickering a has also a few frontpanles.

    But at the start of the frontpanels it says "no card detected". I think I must first of all put in correct place in the max.

    Thanks for any help

    Thank you very much for the help.

    Problem is now solved:

    The main problem was that the PCIx1 slot is not working. I put the card in an another PCIx slot and then he worked at the same time.

    I found this trick here:

    http://digital.NI.com/public.nsf/allkb/05B7131814A5DDA38625710F006BB098?OpenDocument

    Try different PCI or PCI Express locations in the host PC for you MXI interface.
    The algorithm that use certain BIOS has best behavior in certain time slots than others.

    Maybe someone will need it in the future.

  • How to use NI 9264 and NI 9205 with NI PXI-7813R and cRIO-9151

    Hello world

    I am currently working on an application in time real NI PXI-7813R (map FPGA) and NI PXI-8184 (on-board controller). They are all in an NI PXI-1031 chassis.

    I need to generate/receive analog signals.

    I already managed to use the SCB-68 with my NI PXI-7813R (FPGA card) to process digital signals. (Slot 0)

    Connector 1 and 3 of my FPGA I have respectively cRIO-9151 with NI 9264 for analog and cRIO-9151 output with NI 9205 for the analog input.

    • with NI 9264, I have on every 16 outputs-10, 5V (!) Isn't it supposed to be between-10 and 10V?), whether or not the vi runs. (But not when my PXI turned...)
    • with the NI 9205 module, I always get-32767 when the VI is running, regardless of pressure I apply. (I tested AI0 and AL10)

    Maybe is my hardware not configured properly? I did the configuration automatically, when I started the project, Labview detected the devices connected.

    Unfortunately, MAX does not seem to be useful because inputs and outputs are on the FPGA...

    Any idea?

    Thank you

    PS: VI on the FPGA is really basic, only read/write controls.

    Hello

    Back with the solution...

    My modules came! Each of them has been plugged in the wrong cRIO-9151.

    This must occur after the first configuration.

    I noticed when I right click on my fpga device > RIO Device Setup. I wanted to check the devices again, but crashed for Labview.

    I could also have seen 'Connector [number]' (automatically added by Labview) and the removal of material number (9205 or 9264) in the project and check if it really was what I had.

    Hope that my mistake will help someone in the future...

Maybe you are looking for