Synchronize two PCI Board for Analoge Output

Hi All
Has anyone a good example for synchronizing two MIO Boards over RTSI cable.
I found a lot examples to analoge input but nothing about analoge output.
Thanks

Hi Reto.
I posted to this once, but looks like it didn't make it. I checked the examples, and Ir eally didn't see anything that did what you wanted over the RTSI bus, so I made one. Check it out.
Mark
Attachments:
RTSI_AO.vi ‏95 KB

Similar Messages

  • PCI Card for Analog output in the range of 10mv

    dear ni,
                    I want to know about the PCI card that can be generate analog output in the range of maximum 10mv. i  am going to use for caliberation of loadcell, strain gauges devices.
    could you tell me on which PCI card will support this type of application.
    Regards,
    Balaji DP

    Try:  http://www.ni.com/dataacquisition/
    These have analog output voltages < 10V:   http://sine.ni.com/nifn/cds/view/main/p/sn/n12:7604,n3:7853/lang/en/nid/1036/ap/daq
    You need something with a high bit count to get good resolution at 10 mV, such as the PCI-6010 which has a 16 bit D/A.   
    Here are the minimum voltage specs for the 6010:
    Minimum Voltage Range
    -0.2..0.2 V
          Range Accuracy
    283 µV
          Range Sensitivity
    6.4 µV
    Message Edited by vt92 on 11-18-2009 07:56 AM
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

  • Can I synchronize two pci boards - DIO-6527 and MIO6036E - via RTSI?

    Thanks in advance. I'm interested in synchronizing a Analog PCI (MIO 6036E)and a Digital I/O board (DIO6527). But I am not sure if this is possible via RTSI. Can anybody give me some advice? Are there any Digital I/O boards which own a RTSI-interface?

    Well, you can't do buffered pattern input with the 6527. You can only sample the digital lines one scan at a time through software. The speed of this is limited by the speed of the software.
    Now, the MIO board already has a built in hardware trigger you can use to initiate an analog acquisition. You can also use your MIO card to "gate" the scan clock using one of the counters. (Only acquire scans while the gate signal is high, for example)
    From what I gather, it seems you want to sample the AI and the DI with the same clock and be able to associate each analog sample with a corresponding digital sample. If you do need to do a buffered acquisition of digital patterns in addition to triggering an analog acquisition, then yes, you'll probabl
    y want to switch to a 653x. Then you would be able to share the same clock between the two.
    If I have misunderstood your application, then could you give me some more detail about what you would like to happen?
    Russell
    Applications Engineer
    National Instruments

  • Use soundcard for analog output

    Is it possible to use soundcard for analog output with LabView6?

    nicke wrote:
    > Is it possible to use soundcard for analog output with LabView6?
    Have a look in the examples under Hardware Input and Output|Sound (LV6.1)
    Dunno where it is under 6i, but the files are there.
    Impressed the crap out of some Fortran hackers by showing them how
    easy I could turn my laptop into a spectrum analyser.
    Remove "spamkill." when replying to this message

  • How to reset buffer pointer for analog output generation?

    I am doing a finite analog output generation on a USB-6216
    Sequence of events:
    DAQmx Create Task
    DAQmx Timing (finite samples, 1000Hz)
    Use DAQmx timing property SampQuantamples per channel to set buffer size
    Write buffer with DAQmx Write
    Repeat
      DAQmx Start Task
      DAQmx Wait until done
      DAQmx Stop Task
    Until finished
    DAQmx Clear Task
    I get a full waveform output on the first iteration of the loop. On subsequent iterations I get only a small section of the waveform, but no error. It seems that it is regenerating the waveform, because when I switch off regeneration I get an error at Start Task, but before it can regenerate all the data Wait Until Done.vi decides that the generation is done and exits, stopping the generation.
    I have done this with a PCI device and it works fine; every call to Start Task generates the whole waveform again.
    OK, so it looks like after every waveform generation completes I need to reset the pointer to the start of the buffer, so that the Wait Until Done vi does not think the generation is done. Or - maybe there is a way to reset the "Generation Done" state?
    I'm sure there's an easy way to do this....?

    Hi CDancer,
    Many thanks for contacting National Instruments. If I can start by giving some general advice, it would be well worth posting your actual VI. This helps others on this forum in helping you with your application. 
    From the sounds of things, you want to do continuous analog output generation. I have had a look at the examples that come with LabVIEW and I think you should look at the one below.
    I would have a look at some of the DAQmx examples that come installed with LabVIEW. The following example would be particularly relevant I feel
    Cont  Gen Voltage Wfm-Int Clk-non Regeneration.vi 
    Please let me know how you get on.
    Many thanks,
    Andrew McLennan
    Applications Engineer
    National Instruments

  • USB PCI board for 2009 MAC PRO

    I am trying to add some more USB slots. It seems like when I add a powered external USB hub I can still only use a couple of them before the other slots go dead. I assuming this is from power consumption through the unit. Anyway I figured if I added another board directly through the PCI slots that if I use all four slots I shouldn't have an issue. The problem is I've bought two different boards only to find that there are apparently different PCI boards and they wouldn't fit. So can anyone suggest a USB PCI board that they are using trouble free? thanks
    Ed

    I like the inexpensive Crest 4 port USB 3 (2 Lane PCIe Rev 2) card. Good MacPro drivers. Only problem is, you have to figure out how to route bus power down to it from teh optical bay - or from an unused hard drive bay. Not easy. Not impossible, but kludgy.
    The CalDigit card does not require that, instead getting its power from the PCIe bus.
    A decent USB hub (and most of them are garbage) should have ann accessory power supply that will boost bus power provided for attached devices. This is a very good way to run more devices. Choosing a hub is probably the most difficult thing in computers. Only way to know if one will work is lots of reviews or close your eyes when you buy it and test it thoroughly when you get it.
    RIck

  • How to structure the DMA buffer for PXie 6341 DAQ card for analog output with different frequencies on each channel

    I'm using the MHDDK for analog out/in with the PXIe 6341 DAQ card.
    The examples, e.g. aoex5, show a single Timer  (outTimerHelper::loadUI method), but the example shows DMA data loaded with the same vector size.
    There is a comment in the outTimerHelper:rogramUpdateCount call which implies that different buffer sizes per channel can be used.
       (the comment is: Switching between different buffer sizes will not be used)
    Does anyone know what the format of the DMA buffer should be for data for multiple channels with different frequencies ?
    For example, say we want a0 with a 1Khz Sine wave and a1 with a 1.5Khz sine wave.  What does the DMA buffer look like ?
    With the same frequency for each channel, the data is interleaved, e.g.  (ao0#0, ao1#0; ao0#1, ao1#1, ...), but when the frequencies for each channel is different, what does the buffer look like ?

    Hello Kenstern,
    The data is always interleaved because each card only has a single timing engine for each subsystem.
    For AO you must specify the number of samples that AO will output. You also specify the number of channels. Because there is only one timing engine for AO, each AO will channel will get updated at the same time tick of the update clock. The data will be arranged interleaved exactly as the example shows because each AO channel needs data to output at each tick of the update clock. The data itself can change based on the frequency you want to output.
    kenstern wrote:
    For example, say we want a0 with a 1Khz Sine wave and a1 with a 1.5Khz sine wave.  What does the DMA buffer look like ?
    With the same frequency for each channel, the data is interleaved, e.g.  (ao0#0, ao1#0; ao0#1, ao1#1, ...), but when the frequencies for each channel is different, what does the buffer look like ?
    In your example, you need to come up with an update rate that works for both waveforms (1 KHz and 1.5 KHz sine waves). To get a good representation of a sine wave, you need to update more than 10x as fast as your fastest frequency...I would recommend 100x if possible.
    Update Frequency: 150 KHz
    Channels: 2
    Then you create buffers that include full cycles of each waveform you want to output based on the update frequency. These buffers must also be the same size.
    Buffer 1: Contains data for the 1 KHz sine wave, 300 points, 2 sine wave cycles
    Buffer 2: Contains data for the 1.5 KHz sine wave, 300 points, 3 sine wave cycles
    You then interleave them as before. When the data is run through the ADC, they are outputting different sine waves even though the AO channels are updating at the same rate.

  • Can PE3 synchronize two video sources for post edit AB roll?

    In PE3, is there a way to synchronize two digital video files (AVI) to create a AB roll type post edit.  My two captured video files seem to have different frame speeds or frame durations.  How do I align and frame match 2 video sources?  The situation is a 2 camera shoot.  How to best create an AB roll edit of the 2 videos sources with audio from one video file as the common element?

    Wes,
    Armed with Steve's article, you should be able to do what you want.
    I've got a question, and maybe a suggestion to address the frame-rate problem early on, to help solve that problem without a lot of fiddeling. What are the two frame-rates? G-Spot will tell you exactly, if you can not find this in Properties. If the source files are DV-AVI, they should be of the exact same frame-rate to begin with, but if one is off a bit, I'd convert the non-DVD spec one to match. First place I'd try this would be to simply Interpret Footage in the Project Panel. If that does not work, then Windows Movie Maker can do this for you, or you can use other conversion tools to get them to match. I use DigitalMedia Converter, but it's not freeware. Getting the two sources into perfect sync in the beginning will go a very long way to achieving success.
    Good luck,
    Hunt
    [Caveat] I do not have PE3, only PE4, but I think that this will apply to your version.
    [Edit] After reading Steve's article, the one thing that I would do (after establishing sync) to assist me in editing multi-camera would be to set the Video Track Display to show all "frames" and the expand the height of each of the two Video Tracks (VT's), so that they occupy most of the vertical real estate in the Timeline. Then, I'd zoom in on the horizontal display of the Timeline, so that I could see fairly clearly, each frame. This basically makes the Timeline like a detailed Sceneline, but keeps you in Timeline Mode. Because you do not have the Multi-camera Mode that PrPro does, you will not be getting anything but your upper Video Track footage in the Program Monitor. You will be viewing the footage ON the Timeline. This WILL necessitate a lot of horizontal scrolling on the Timeline, but is doable. Then, when you wish to be using the footage from VT1, you will cut out (Sissors Tool) the overlaying footage from VT2. I'd personally arrange my main footage (like the main Audio Track in Steve's article) on VT1, and my "cutaway" camera's footage on VT2. As VT2 takes prescedence over VT1, you can leave VT1's footage pretty much alone, and just cut the footage on VT2. I would use Cross-dissolves on the Head and Tail of the the "cut" Clips on VT2. Remember that if you use these, you will want to make sure that the cut has come where you want the scene on VT2 to absolutely start, or end. The Duration of the Cross-dissolves will determine when the scene either becomes 100% visible (Head), or 100% invisible (Tail). Also, remember that Dip-to-Black on VT2 takes the image on VT1 to black, hence my use of Cross-dissolves.
    Using this method, also allows one to do a bit of nudging of the Clips (cut from the original) on VT2, to compensate from any loss of sync. Though you could possibly use this to adjust for the differences in framerate, I'd still try to get the footage as exact, as is possible, to start - a lot less work that way. Also, once the "holes" have been cut into the footage on VT2, you can start to use the Program Monitor much more.
    As Steve points out, PrPro makes it easier by locking Tracks and a Multi-camera dual monitor, when in Multi-camera Mode.
    This was exactly how we did it with film, except that we had to splice in black leader, where the cuts were made, and could not keep our VT1 footage intact, as we can with an NLE and video. Since we were dealing with sprocket holes, we had spiked gears (sprockets)  on a "sync block" and once we'd get the alignment right, would physically flip down a guide, that would "lock" the film to those two rolls of film to the sync block. Even though it sounds tough, when you read it, it's really not, and so very much easier, than it was with film.

  • Designing digital filter for analog output

    Hi all,
    Iam working on pci-6723 NIDAQMX 7.3 LABVIEW 7.1 ENVIRONMENT.I have designed 16 channel data acquisition system.in order to supress glitches in the analog output signal ,which filter i have to adopt to the analog output generation. since i dont want to design hardware low pass filter , if i adopted digital filter will it improve the output signal performance ,kindly suggest me.with some example.
    Regards
    labview boy

    Hello,
    If you are talking about a software digital filter with the program that is producing the analog output, that will have no affect on an analog output signal. The glitching comes from the digital to analog converter (DAC). Check out this knowledge base article:
    http://digital.ni.com/public.nsf/allkb/3BB2D5D837F6C9FE86256EAC007C123B
    Really, your only solution is hardware.
    If you are acquiring this signal on another data acquisition system and you want to remove the glitches from what you are seeing, you could use software filtering there.
    -Alan A.

  • How to synchronize two PCI-6602 via RTSI for semi-period counting of four signals?

    Hello,
    I try to measure 4 PWM signals. For that, I created 4 tasks (newest DAQmx), each with semi-period measuring one signal.
    I want to use DMA so I have two 6602 for each two signals.
    The task aquire a finite number of samples.
    This works fine when starting the tasks subsequently.
    Now I want to start the tasks via a trigger on the RTSI bus.
    But I have no idea how to get this done.
    I use the MX drivers for the first time an find it very difficult to get through the help files.
    I looked at many examples but did not find a solution.
    Most of the time my experiments end with an error message saying that the property is not applicable to this task, or s.th.similar.
    Ans sometimes, when there seems to be a trigger defined, the task will not wait for the trigger and time out.
    Is the anybody who can help me out of this?
    Maybe a little sample program?
    I program in CVI.
    Many Thanks
    Michael.

    This topic is discussed here:
    http://forums.ni.com/ni/board/message?board.id=250&message.id=13383&requireLogin=False
    Hope this helps!

  • Counter using PCI-6602 for multi output

    Hi guys,
    currently I tried to control a linearmotor using PCI-6052E and PCI-6602.
    The questions is, how to use PCI-6602 to be a counter which will be converted to several output (multioutput):
    (1) converted to position >> 1count = ...[mm] --> position measurement
    (2) converted to voltage >> 1count = ...[mV] or [V] --> voltage measurement
    (3) converted to current >> 1count = ...[mA] or [A] --> current measurement
    (4) converted to velocity >> 1count = ...[mm/s] --> velocity measurement
    (5) converted to acceleration >> 1count = ...[mm/s^2] --> acceleration measurement
    (6) converted to force >> 1count = ...[N] or [kg.mm/s^2] --> force/load measurement
    (7) converted to frequency >> 1count=...[Hz] --> frequency measurement
    (i) Please assist me how to connect the driver's encoder (Ch. A A/ B B/ Z Z/) with PCI-6602, so I can get all informations above (7 measurements). What/which port of PCI-6602 connect to where from the driver.
    (ii) Please assist me how to connect the feedback signal to the PC. What/which port of PCI-6602 connect to PC.
    (iii) How to test those 7 measurements above using Measuremant and Automation Explorer (MAX) ver.4.4.1?
    Thank you for your kindly help and assistance.
    Best wishes,
    hendro

    Dear Jochen,
    (1) Principally, I'd like to use PCI-6602 to be a motion encoder also be a counter (Is it possible? Due to the manual, it is possible). I expect to have all information, such as position, time, velocity, etc. from that motion encoder (or at least the position and time). It is also expected of using PCI-6602 to do all measurements that I mentioned before . My meaning is, after having a signal from the counter, that 'count' will be converted to desire units under other programs. So, in this case, PCI-6602 is only used to get the 'count'.
    Simplified, the voltage command will send to the system (linear motor) through PCI-6052E (-10V to 10V). The actual position or other actual information will be catched (read) by using PCI-6602 (as a motion encoder, also as a counter). Then, this actual position will be used as a feedback, that will be compared to desired position.
    Is that also possible to use PCI-6602 be a motion controller + a counter + a frequency measurement in a same time parallely?
    I don't decide yet (I don't know) which acquisition rate will be needed/required, higher is better.
    (2) I'd like to apply an adaptive robust controller (yes, it is a closed loop system) under matlab with their feature called Real-Time-Workshop instead of using LV.
    (3) Power drive for the linear system will be driven by AC servo drive.
    Thanks for your help before,
    Warmly regards,
    hendro

  • Synchronize two boards with RTSI

    I want to synchronize two PCI-6713 boards to generate analog output signals with RTSI,but I don't know I should use "Route Signal.vi" or "RTSI Control.vi" and where I should put them in the diagram...
    Plaese help me....thanks!

    cooler wrote in message news:<[email protected]>...
    > I want to synchronize two PCI-6713 boards to generate analog output
    > signals with RTSI,but I don't know I should use "Route Signal.vi" or
    > "RTSI Control.vi" and where I should put them in the diagram...
    > Plaese help me....thanks!
    Hi I have an example of just how to do this. I have done so with 3
    boards in a chassis. I will send you those examples if you can email
    me. [email protected]

  • Synchronization in PCI-6221

    Hi. I use the device PCI-6221: 1 analog output and 5 analog inputs.  I set the waveform graph for the input signals. I generated the sine signal. The input waveform on the graph changed continually its phase. What have I to do  to leave the phase unchangable while changing the amplitude or the frequancy of the output signal?
    Thank You.

    Hi Dimon87,
    Many times on a traditional scope, a waveform is displayed so that the zero crossing is triggered to be at x0. Is this what you are attempting to do? With 5 channels on a multifuction DAQ board, there is an interchannel delay (as you've discovered in other forum threads) between the channels so if you're looking for channel phase relationships, you'll be limited to this delay. It sounds like you're looping your analog output back into your 5 analog outputs so this would definitely have a phase delay between the 5 channels due to the interchannel delay. Your previous thread "Measuring the subtract of two phases" talks about this.
    PBear
    NI RF

  • How to combine the analog input and analog output vi's

    Hi !
    I have a perfectly running triggered analog input acquisition vi. I have a seperate vi for analog output that's running perfectly too. Can someone tell me how to combine these two operations so that I could get a vi that does simulataneous AI and AO without missing triggers. I have tried all the different kinds of configurations suggested by NI support but nothing seems to work. Can someone help ?
    thanks,
    Shiva
    Attachments:
    dac_good.vi ‏77 KB
    adc_good_fw.vi ‏124 KB

    Shiva;
    I'm attaching a good Application Notes that shows how to synchronize multiple DAQ tasks, in Labview.
    Hope this helps.
    Filipe
    Attachments:
    Advanced_Sync_Techniques_for_DAQ.zip ‏166 KB

  • I am using an NI PCI 6024 E board device for an analog output application. Can I generate two independent waveforms, one on each analog output channel?

    I am using an NI PCI 6024 E board device for an analog output application. Can I generate two independent waveforms, one on each analog output channel? In attach I send a example of my vi to control one chanel, but i need to control both but with diferent waveforms.
    Is the vi correctly programed to this propose?

    Yes you should be able to do that. look at the signal generation examples shipped with LabView
    You can create a 2 D array, with each row representing a wave form per channel. The number of points of the wave form (per row of the 2 D array) represent the number of points in the output buffer
    The wave forms can have different amplitudes/shapes, and therefore they are independent in this sense.
    However, you need to set the update rate,which is the same for both channels. The update rate together with number of points per buffer determines the frequency of the wave forms. This means the two wave forms will have the same frequency.
    To have different frequencies, you need to have say, on wave form with one cycle per buffer, and the other waveform have 2 cycles
    per buffer. in a case like that the frequency of the second channels is twice that of the first channel, and so on
    The two wave forms are then not truly independent, they may have different amplitudtes/shapes, but related in frequency.

Maybe you are looking for

  • What do I have to do to get a response?  Please?

    I have previously transferred my contacts list from Outlook 2000 on my windows PC (Windows XP) by way of vcards. It was fine. I noted that itunes now offered Windows contacts sync but it didn't work properly so I deleted my contacts and then tried to

  • How do I open a zip file attachment

    I received a one-page file in Excell as a zipped attachment. I do not know how to open it and I don't have Excel on my iMac. I am running 10.6.8 Snow Leopard ona single user Intel iMac. HOW do I open this attachment? Thank you.

  • Private function should not call

    I come across a strange thing in Java while doing Inheritance : Problem is that when we have one super class with a public function in it and a child class calling that function with its own object then everything works fine. But the problem arise wh

  • Importing vendor beginning balances

    Hi experts, Good day! I have some problem with importing my vendor beginning balances. Here are my questions: 1. I tried importing through the journal entries but SAP won't accept BP code as my credit. Is this true? Or maybe I just miss some settings

  • Help me structure my classes oop way

    I have a combo box for color which takes it's items from a specific table from database. I don't want it to take items directly from db. I make a Color class which holds id and name, has public methods like getName, setName and save(). I have also ma