A quad B signal as trigger for analog daq trigger

Hi everyone,
I'm trying to use an A quad B signal to trigger my daq device to acquire current input.
The system information is: 32-bit Win XP, NI PCI-6236 counter card.  The A quad B signal is generated by a hardware circuit simulator to work as the output of optical linear scale which is not installed yet.
All I want to do is collecting a current data at certain positions, like 20nm, 40nm, 60nm.... (for example, I use X1 coding, a period of A channel is 20 nm) so that I can plot out the current signal as a function of position. I specified the trigger as uprising.
I'm confused by the mechanism of "Sample Clock" and "Trigger" because they are both physically implemented by the A quad B signal. Am I right? So how to specify the sample mode and sample rate according to the trigger?
I attached the vi here and I can not get any chart plot out. I appreciate that if anyone could give me some hints on it.
Thanks,
Kang
Attachments:
use external A quad B singal as daq trigger.vi ‏57 KB

Hi Kang,
It seems that the circuit that you have generates a digital signal; I would suggest you to use this signal as your clock for the analog input.
You can find an example related to this if you open your NI Example Finder and go to: Hardware Input and Output  » DAQmx  » Analog Measurements » Voltage » Cont Acq&Graph Voltage-Ext Clk.vi
You’ll need to wire your digital signal to one of the PFI lines of your device.
Regards,
steve.bm
AE | NI

Similar Messages

  • How should i do?when i use the sc2345 for analog signal acquired!

    please help me!
    I have to use the sc2345+NI6221 for analog signal acquired. but i don't have a analog input module such as SCC-AIXX.
    So I want to pass the signal to the DAQ device. how should i do to connect the wire on the sc2345?
    how can I use the sc2345 for a pass connector?
    Thank you very much and look forward to your reply...
    Solved!
    Go to Solution.

    What kind of signal do you want to acquire?
    If it does not need any conditioning, then, you can connect the signal to 6221 with a terminal block such as SCB-68.
    Best regards,
    NISH AE Haiping.Fei

  • Z Channel of Quad Encoder Signal

    Okay guys, I've got one for yous....
    Here's what must be done:
    I have to use a PCI 6602 to generate all six
    channels of a quad encoder signal. This signal
    must be of variable frequency, and have the
    capability to be ramped. By ramped I mean I must
    be able to change the frequency of the signal on
    the fly at a defined rate (or acceleration).
    Here is what I have so far:
    Right now, the first four channels of the quad
    encoder signal are set up (A,A',B,B'). To do this,
    I set up a regular encoder signal (Channel X) to
    trigger these four channels. Each of these
    channels supports variable frequency and the
    ramping previously described.
    What I'm stuck on:
    I am bei
    ng thrown by the Z-reset. This channel is
    supposed to output a pulse every 2000 counts from
    channel A. I configured Z to produce a triggered
    pulse that has a 2000 count low part and a single
    count high part. This works fine until I try to
    ramp it.

    Hey Spencer,
    I appreciate your response. What was holding me up what the Z-Reset. To change the frequency of the all seven signals at once, I would manually go through and change the number of ticks each pulse was on. The Z reset would error out because the counter would still be outtputting a really long pulse while I was trying to change its frequency. Then one your your collegues suggested just changing the timebase's frequency instead of the number of timebase ticks each counter was on. This magically solved the problem. Now whenever I ramp the signal, I only have to change the timebase's frequency to change the frequency of the other seven counters! This makes the ramp function simpler and noticeably smoother!
    Thanks for the he
    lp
    Dave

  • Sending audio signal via hdmi and analog concurrently?

    I have a TV via HDMI and an AMP via coax connected to my Mac Mini. Is it possible to send the audio signal to both devices concurrently rather than having to change the audio output setting each time I want to switch (because: When I watch TV the AMP is turned off, when I listen to music the TV is turned off).
    Thanks in advance for tipps and hints.

    Unfortunately the way the hardware is configured, you
    can have HDMI audio or have audio output from the
    line out jack.  Just the way it is.
    One way around it is to get some USB audio adapter
    and use it for analog.  Even at that, you will still need
    some third party utility to output to both.

  • I want to buy a new apple tv but it used hdmi cables and my house is only wired for analog.  Is there any way I can use the apple tv on analog cables?

    I want to buy a new apple tv but it used hdmi cables and my house is only wired for analog.  Is there any way I can use the apple tv on analog cables?

    Welcome to the Apple Community.
    It's do-able, but I don't think it's a great idea.
    DVI
    Some users with DVI have managed to get their TV's to work with DVI-HDMI cables. DVI carries no audio, so alternative connections need to be explored to enable audio. DVI doesn't necessarily support HDCP as well as other standards used by HDMI (which may or may not be an issue)
    Analogue
    There are hardware converters that will convert HDMI to various other types of output, however there are some issues with doing so that you should be aware of.
    HDCP
    HDCP compliant converters will not allow you to watch HDCP protected content such as that from the iTunes Store. Non compliant converters exist but we cannot discuss them under the Terms of Use for these communities.
    Resolution and aspect ratio
    I'm not aware of any converters that will scale the output from the Apple TV, any TV or projector which is used will need to be widescreen and support resolutions of 720p (Apple TV 2), 720p/1080p (Apple TV 3)
    DAC
    DAC (Example Only - Not a recommendation or suggestion that this is suitable in your circumstances)

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

  • Create values for analogous periods in the same table with DS

    Hi,
    in the course of a pilot we want to create additional columns with data for analogous periods.
    We have values for a month and need to create new columns for values for last month and last year in order to compare.
    Attached youu2019ll find a few sample rows resembling the basic concept of what we have
    Region     Country     Year     Month     Value
    Europe     Spain     2009     1     285
    Europe     Spain     2009     2     129
    Europe     Spain     2009     3     153
    Europe     Spain     2008     1     288
    Europe     Spain     2008     2     284
    Europe     Spain     2008     3     125
    Europe     France     2009     1     135
    Europe     France     2009     2     125
    Europe     France     2009     3     284
    Europe     France     2008     1     208
    Europe     France     2008     2     221
    Europe     France     2008     3     220
    In this case, new columns would be
    LastMonth (125 for Spain month 1 year 2009, since this is the value for month 3 year 2008)
    LastYear (288 for Spain month 1 year 2009, since this is the value for month 1 year 2008).
    Can you help on what function to use in the DS query transformation?
    thanks everybody, and enjoy!

    Hi David,
    Probably the easiest way of resolving this would be to add extra columns which show the projected date each row should be shown on e.g.
    Region     Country     Year     Month     Value     LM_Year     LM_Month     LY_Year     LY_Month
    Europe     France     2008     1     208     2008     2     2009     1
    Europe     France     2008     2     221     2008     3     2009     2
    Europe     France     2008     3     220     2008     4     2009     3
    Europe     France     2009     1     135     2009     2     2010     1
    Europe     France     2009     2     125     2009     3     2010     2
    Europe     France     2009     3     284     2009     4     2010     3
    This would be written to a staging table then used as a source with the original source file to produce the target table. I've illustrated an example of how this could be achieved below:
    Create two dataflows; DF 1 and 2.
    In DF 1 read source, add additional columns to show the date (year, month, etc) this should be projected as. This would need to be done for both the last month and last year. Load staging table.
    In DF 2 Read the source and outer join to the new staging table twice. Use the region, Country, Year, Month, to join and use the new additional projected date columns. Ensure the last month date fields are used on one staging table and last year date fields are used on the next staging table. The value from the two staging tables is then used in the last month and last year value.
    Load into target table.
    To calculate the projected date columns you would probably want to format the source fields into a date then add the required number of months. e.g. to_date('01' || month || year, 'DDMMYYYY') + 12
    Obviously this would need the stage table to be truncated before each load and you would need to assess your load strategy. When doing these calculated fields if you have any retrospective updates on the source then these would then need recalculating, therefore this assumes it's a complete reload each time.
    Edited by: Richard Saltern on Jul 16, 2010 2:01 PM
    Edited by: Richard Saltern on Jul 19, 2010 10:10 AM

  • Encoders for analog camera

    hi experts should i use encoder (CIVS-SG1BECOD-FE
    )to connect analog camera with my existing surveillance media server, or should i use decoder (CIVS-SG1BDCOD-FE
    )to analog camera with my exiisting ip surveillance media server network.

    You can use encoder for analog camera. Camera feeds originate from both IP-based and analog cameras attached to stand-alone encoders or analog gateways.
    http://www.cisco.com/en/US/prod/collateral/vpndevc/ps6918/ps6921/ps6936/product_data_sheet0900aecd804a3e6d.html

  • Looking for Analog Out example using DMA and C++; cannot find sample "GenMultVoltUpdates_SWTimed"

    Looking for example for Analog Out to multiple channels using DMA and C++.  Found reference to sample "GenMultVoltUpdates_SWTimed" which I do not have and cannot find.

    Hello Gerry,
    When you install DAQmx, there is an option to install
    support for Measurement Studio.  When you
    select this option, it will install these examples onto your hard drive.  All of the examples can be found at the
    following location: (C:\Documents and Settings\All Users\Documents\National
    Instruments\NI-DAQ\Examples\DotNET2.0\Analog Out\Generate Voltage)
    Respectfully,
    Rob F
    Test Engineer
    Condition Measurements
    National Instruments

  • I am sampling a signal at 1kHz for every 1 second. How do i average the signal for N seconds?

    I am sampling a signal at 1kHz for 1 second. After one second of pause, i sample again for 1 second at 1kHz. If i do this for Nth time, how do i average the signal over the 1 second period?

    Anyway you need to have the data to compute the average... and usually you don't get the data point-by-point unless it is very low frequency acquisition.
    If it is the case, you have to update your 2D vector point by point and then compute the average after each new point (much slower process indeed). You keep say 20 vectors of data and fill in the data (1, 2...20) and then( 1,2..20), so you compute the average on the last 20 acquisitions
    (don't forget the rating)
    Doc-Doc
    http://www.machinevision.ch
    http://visionindustrielle.ch
    Please take time to rate this answer

  • Advanced signal processing toolkit for Version 8.5

    Hi all,
    Please guys help me out. I am looking for the advanced signal processing toolkit for labview 8.5 (not an evaluation ) .
    any help would be appreciated 
    Bill David

    Dear Norbert_B.
    Thanks a lot for your help . But I just cannot find a way to tell you this . I have just installed a newer version of labview ( LAB-VIEW 2009) because I got it from a friend and it has the Advance Signal Processing Toolkit . but have no idea where do i get the Digital Filter design toolkit as well as the biomedical toolkit that suits this version of software. 
    In another word I am just suffering with it . I have an application to build and it needs the digital filter toolkit and the biomedical toolkit . I know that's alot to request ..but I am trying to be honest with you .
    your help was already appreciated.............m loosing my mind
    Bill David
    Bill David

  • Voice Signal Goes Dead for a Few Seconds From Time to Time

    I live in a rural part of Marin County that has poor signal:  one bar or less.  I've purchased a signal booster which has increased my bar level to 4 -- which is terrific.  What I'm noticing however is that the voice signal goes dead for a few seconds (5 - 10 seconds) during a conversation.  This happens every few minutes. Voice connectivity then returns for a few minutes only to cut off again for a few seconds and so on.  This happens if I'm inside my house.  If I go outside, it doesn't seem to happen.  I've turned the booster box this way and that but no change.  I've also changed the ariel this way and that, but no change.  What's up with this?  It's very annoying to be on a call and have the sound go dead. 

        Hi yraglleb - Let's keep your audio clear and consistent! What model is your Network Extender? May I also ask the current iOS version of your device? Check Settings>General>About. Have you tested other phones on the same Extender? I look forward to getting this resolved!
    Thank you,
    YaleK_VZW
    Follow us on Twitter @VZWsupport

  • AF Nikkor 28-70mm 1:3.5-4.5 D for analog

    Is there already a profile made for the AF Nikkor 28-70mm 1:3.5-4.5 D which is a lens made for analog camera's? I found this type of lens in the Lens Profile Downloader but I think it is a newer version of the lens.
    If there isn't any profile for this lens, can it be made or can I make it myself? Can you give me some advice?
    Thanks in advance!

    According to the Adobe Lens Profile Downloader:

  • What solution for implement voicemail for analog phone?

    if want to add voicemail for analog phone via VG224, how to notify voicemail to analog phone?
    we knew there is a light flash on IP phone when any voicemail on waiting, but how to do it to analog phone?
    I fround one document about this, but don't know how to do it.
    http://www.cisco.com/en/US/docs/ios/12_4t/12_4t2/ht1ccmqs.html#wp34936

    It depends if you phones have a MWI lamp, or just rely on stuttered dialtone. Check:
    http://www.cisco.com/en/US/docs/ios/voice/sip/configuration/guide/sip_cg-mwi_support_TSD_Island_of_Content_Chapter.html#wp1069088

  • 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

Maybe you are looking for