Triggering an analog signal using USB6008

Hi I'm trying to use the start trigger with DAQmxBase acquiring analog signals with the USB 6008.
When i configure the trigger as Start Digital Edge I become an answer, but only starting at an rising edge.
I want the acquisition to start at a define level, so I've tried with Start Analog Edge, but the acquisition is stopped.
Can someone help me how to configure better than i do?
Thanks.
Regards
Patrick
Patrick Etoumann

Hi!
It's not possible to configure an analog trigger with an USB 6008 -> only digital trigger is available!
If you want to start on a predefined level then is the only option to do this with an analog-software trigger!
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=C16B1501B4D9168DE034080020E74861&p_...
regards
ThSa
http://www.newgistics.com

Similar Messages

  • Reading analog signal using DAQPad-6016

    I'm trying to read an analog signal using DAQPad-6016.  One input is ground, the other is Vdc.  I can't get it to work in MAX and I'm confused becaue MAX only gives me an option for differential reading, but the pinouts don't give enough information on how to connect differentially.  Is there a reference as well?
    Solved!
    Go to Solution.

    Hello Bernadette,
    This link should have everything you need to get set up correctly: http://www.ni.com/gettingstarted/setuphardware/dataacquisition/analogvoltage.htm
    After you have a task set up, specifically see step 11 to verify the connections to the device. 
    I hope this helps!
    Matthew R.
    Applications Engineer
    National Instruments

  • Sending analog signals using SCXI bus to SCXI-1600 for digitizing

    I want to measure a signal generated in the SCXI-1181 custom bread board module.
    Is it possible to send the signal using SCXI bus to SCXI-1600.
    The signal is less than +5V & is positive.
    Is it possible to use AB0+ & ABO- in SCXI bus for this purpose?
    I have a SCXI-1001 chassis installed with SCXI-1600 in slot 1 & SCXI-1181 in slot 2.
    I have 4 more switch modules (SCXI-1160s) installed from slot 3 to 6.
    Will the above has an interference when you want to control the switches?

    see here:
    http://forums.ni.com/ni/board/message?board.id=250​&message.id=20644

  • Generate analog signal using samples fpga

    Hi,
    I have 20  samples of (time,data). using these samples i need to write data to AO channel in FPGA card. Here the data should be written to a channel w.r.t time. i need to generate signal(ramp) based on time and data available.
    for example - 
    time( in seconds) -   0   0.01   0.04   0.05  0.07 ...
    data -                        0   1.0    3.2      2.5     1.3 ...
    Please suggest me best way to achive this.
    Thank you,
    Ranjith

    Keep all ur samples in a array and auto index the array to a for loop, Inside the for loop put a wait timer and give the dt as input(t2-t1) to the timer. Inside the loop connect the auto indexed output to the A0 Channel.
    Balaji PK (CLA)
    Ever tried. Ever failed. No matter. Try again. Fail again. Fail better
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

  • How do I eliminate noise in an analog signal using a filter?

    I have noise in a 0 to 5 volt signal. I am attaching a sample vi that when I run it Whatever My number is going in is different when it goes through the filter why is this?
    Attachments:
    Filter_Example.vi ‏32 KB

    A correct filter type to get rid of noise is a low pass filter. Very basicly it takes the previous value(s) and calculates new value(s). So if the previous value is 0 and the next one is 100 it will probaly come out with something like 50, 50.
    In your vi you take a single sample of several parallel channels into one array and present it as input to the filter vi. But this vi takes it as a sequence (in time) of one single reading and tries to compare them to each other.
    You might rather want something like a sliding average.
    Initialize an array (of e.g. ten) with zeros and in a loop replace one element after the other with a new reading. At the end restart from the beginning. Take an average of the readings and the result will reflect
    the last (ten) samples.
    Gabi
    7.1 -- 2013
    CLA

  • Synchronize Motion velocity with DAQ analog signal

    Hi Everybody
    I am acquiring analog signals using hw trigger and external clock with C and A signals of a 1024 counts TTL encoder.
    Now I want to measure the rotation speed of a shaft. I have a Flex-Motion board with which I want to read the velocity (or the same encoder), but I don't know how to synchronize each scan of the analog signals with the velocity signal for that instant.
    I can´t use RTSI bus because my Motion board doesn´t have RTSI connector.
    Software and hardware:
    LabView 6i (v. 6.0.1.b3)
    DAQ-Board: PCI-6023E, NI-DAQ 6.8.1, MAX 2.0
    Motion board: PCI-FlexMotion-6C, NI-FlexMotion 5.0.1
    Thanks a lot for your help.

    Hi chia,
    with the hardware configuration that you have, I think it´s not posible to synchronize both boards due to you cannot share the same clock source (not RTSI on the motion board).
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/66e6f4ee7e0848d686256a55006...
    Sorry for the delay :-)
    Regards
    DiegoM.

  • Niscope for pxi5105, use a digital pulse signal to control analog signal sample

    i want to use ni-scope to drive pxi5105. And the PFI1 connect to a digital pulse signal(10KHz, 0-3.3V), to control a single channel analog signal continuous sample(Chan 0). I want a loop when the digital signal falling, the analog singal start to sample, and when the digtal signal rising, the analog singal stop. And by the low level of the digital singal, the analog singal sample (coupling by DC) can get an average and export to txt. I have tried the "start_and_reference_trigger.vi " and it did not work correctly. i need your help, thank you very much.
    Attachments:
    start and stop triggers for analog sample.vi ‏94 KB

    Hi Phil,
    The SCC carrier is only conditioning your signals (i.e. if your signals are not in optimal ranges, bandwidth or need external excitation). The actual counters and all digital lines are controlled directly by the M-series board. This means you will never be able to refer to a counter in the SCC module.
    If you route the signals of the M-Series board, is as if you had done so externally from the SCC. Look at this example and might give you more insight to how to implement it (This is software timing). The hardware timing would be doing correlation DIO. Here is an example that needs to be modified to adapt to your timing: http://zone.ni.com/devzone/cda/epd/p/id/4414
    Hope this helps,
    Yardov
    Gerardo O.
    RF Systems Engineering
    National Instruments
    Attachments:
    Finite Dig Output High.vi ‏31 KB

  • How do I use a counter to measure frequency and multiple analog signals in the same VI?

    I have a PCI-6071E, an SC-2345 with multiple modules, and a PXI-8184 (with a PXI-1002 Chassis).
    My goal is to monitor pressures, flows, temperatures, and speed in one VI.
    I am using Measurement and Automation Explorer version 3.1.1.3004 to manage my channels.
    My speed is a PWM signal which I recently rewired through the counter 0 of my board.
    I was hoping to configure this to read frequency directly in measurment
    and automation, have this scale the value to RPM, and then feed it
    directly in to my labView program.
    In labView, it will not except this signal though.
    I get error -200300 from the DAQmx Start Task.vi
    Possible reasons(s):
    Invalid timing type for this channel.
    Property: SampTimingType
    You Have Requested: Sample Clock
    You Can Select: Implicit, On Demand
    After doing some research, it seems that the counter wants "Implicit"
    selected for the DAQmx Start Task.vi, but then I cannot use my other
    channels. Also, counter is included in the "Sample Clock" option
    description, so I do not understand why it is not working.
    Does anyone know how to work around this problem or a way to configure the counter so that it will work in this way?
    All my other channels are Analog.
    Thank you.

    I am working on getting just the counter working by using
    the program posted previously, and I am running into issues. Periodically I get
    the error:
    Error -200141
    occurred at DAQmx Read (Counter DBL 1Chan 1Samp).vi
    Possible reason(s):
    Data was overwritten
    before it could be read by the system.
    If Data Transfer
    Mechanism is Interrupts, try using DMA. Otherwise, divide the input signal
    before taking the measurement.
    It seems to work better if I use cascaded counters, but I need timer 0 for
    analog channels when I run this code along with the program for the other
    measurements.
    I have tried averaging, and selecting different values for the millisecond
    timer, and these did not seem to have an effect.
    I tried different DAQms configurations and "Counter DBL 1Samp" seemed
    to work the best.
    The program will work for a while and then it will give me the above error
    message.
    If I use counter 0 as a cascaded counter input, the program runs fine. If I run
    this with other analog channels, it errors out because the analog channels use
    counter 0.
    If I use counter 1 as a cascaded counter input, it seems to work better than a
    single channel, but it will still error out with the above error.
    If I use only counter 1, I get the error above even faster.
    Also, none of the
    configurations give measurements outside the While Loop.
    The only place I can add a speed dial for the front panel is within the While
    Loop.
    Is there someway to get the signal to continuously send out of the while loop?
    I thought if I could get the signal out of the while loop, I could condition it
    anyway I wanted without the program erroring out.
    Any suggestions would be much appreciated.
    Thank you.
    Attachments:
    Counter_error.jpg ‏45 KB

  • Why use FIFO to read analog signal?

    Why must we use FIFO to obtain analog signal from FPGA? I can use a normal method of calling the FPGA using Read/Write Control and the results in a waveform chart is much more smoother. 

    I've uploaded 2 real-time VIs with and without FIFO. MQ convert is the subVI in my computer. Do have a look at it...
    My waveform chart is done that way so that I can easily export to excel ( i think) but this is a different problem in a different topic http://forums.ni.com/t5/LabVIEW/3-Waveform-Chart-to-a-Single-Excel-but-in-Different-Spreadsheet/m-p/...
    Attachments:
    Real-Time With FIFO.vi ‏397 KB
    Real-Time without FIFO.vi ‏391 KB
    MQ Convert.vi ‏19 KB

  • 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

  • How can analog signals are measured every several counters from Quadrature Encoder using USB-6221

    how can I sample analog signals every counters from quadrature encoder using usb-6621?

    There is a well documented example of what you are trying to do at :
    http://zone.ni.com/devzone/explprog.nsf/webmain/DD85F07A7CA99F8F862568690062DE54?opendocument
    Don't be afraid because of the BNC-2120. It is just used in this example to simulate the pulses from a device. So it is not needed in your case. Obviously, you will need to change the number of increments/rev according to your encoder to get correct RPM values.

  • How can I delay analog signal?

    I have an analog signal, the frequency is less than 1kHz. I want to get a delayed analog signal. Is it possible to realize analog delay generator using labview (daq card is PCI-6115)? I hope I could specify the delay time.
    Any suggestion will be greatly appreciated!
    Stephen

    Hello Stephen,
    It is possible to institute a delay an analog output. This is best done by specifying a trigger and then beginning the output when that trigger occurs.
    Below is a link to an example program developed for LabVIEW that waits a specified number of seconds and then triggers analog output to begin. This code performs analog input as well, but for your program you could remove that portion. The trigger that is used is RTSI pin 0. After a specified period of time, the RTSI pin 0 is set to 1 and then the analog output begins.
    Analog Input with Delayed Analog Output
    Take a look at this example and
    try to build from it for your code. If you have any further questions on this issue, let me know.
    Regards,
    Scott R.
    Applications Engineer
    National Instruments

  • DAQPAD 6020e misses digital triggers during analog input (AI)

    I am using a 6020E BNC DAQPAD to acquire two seperate 12kHz analog signals from a sonar through ACH0 and ACH1. The sonar generates a digital start trigger at the start of each ping to notify the DAQ that new data is to follow and i am using this to trigger my application through PFL0/ TRIG 1. Typical trigger repetition rate required/generated by the sonar is 20-30Hz but is selectable. My problem is that the board/software misses complete analog input data pings when the digital trigger repetition rate goes above 2-3HZ (ie I only receive 10% of the pings I desire). Analog sampling rate is 45kHz and I am acquiring 1-2kSamples per triggered acquisition. The problem happens using a Labview application based o
    n a modified version of the shipped "Acquire N - Multi Digital Trig.vi" (and original). Any suggestions welcomed.

    Hi,
    I believe that the problem you are having is due to using the pause function to pause the acquisition before the next trigger and the fact that DAQpads do not have a DMA transfer mechanism. The default setting is to create an interrupt when the onboard FIFO buffer is half full. So when the pause trigger occurs there will always be data left on the FIFO, up to a half buffer of data.
    To work round this problem you can use an external stop trigger instead of the pause.
    Or it is possible to change the data transfer mechanism to cause an interrupt on every sample acquired instead of every half FIFO buffer. This will send every sample acquired by the DAQ board to the computer. The drawback is this method is very processor intensive and significantly slows
    down data acquisition rates. As you are approaching the sampling limit of the card (100Ks/s or 50Ks/s for 2 channels) you may find that you will get buffer overflow.
    To change the interrupt setting use the "Set DAQ Device Information.vi", which is located on the Functions Palette » Data Acquisition » Calibration and Configuration. See the LabVIEW help for information on using this VI.
    Kind Regards
    Tristan J
    Applications Engineer
    National Instruments

  • How to increase speed of analog read using PCI 6110 and LabView 7.1?

    Hi All,
    I'm a fairly novice user of LabView and I'm trying to figure out how to make my system as fast as possible. Basically, I'm reading in an analog signal (AI0) together with a trigger signal (PFI0) and I want to sample the analog signal on the falling edge of the trigger signal. What I'm finding, though, is that the acquisition rate of this system is excessively slow. My analog signals occur faster than 1 kHz, but the speed of my system is only about 100 Hz. A colleague of mine told me that the DAQmx Trigger.vi I was using was probably the culprit for the slow performance I was observing. Could this be right? If so, how could I resolve this issue?
    Another thought I had was to input the trigger signal into the external source input of the DAQmx Timing.vi. In this way I'd be using the trigger signal as an external clock. If operated in Continuous mode, then I think the Sample Clock would cause a sample to be read only when the trigger signal changes its state (from high to low). Could this work?
    Thanks for reading,
    Ben

    Hi Marni,
    Thank you so much for your post! I tried doing as you suggested, using the Cont Acq&Graph Voltage-Ext Clk-Dig Start.vi and I first set the trigger signal as the external clock source. It works beautifully! Now, with 1.6 kHz signal in, I'm reading in 1.6 kSa/s. This is a dramatic improvement from before. I also tried using the internal clock source option, but it didn't seem to trigger when I wanted it to. I didn't spend too much time debugging it, though, since the other method works so well. This brings up an interesting question. Is the DAQmx Trigger.vi really that slow? Previously, I could read in 100 kSa/s at best using the Trigger VI. Anyways, I'm a happy camper now:-)
    By the way, to answer your question about the DAQ device, I'm using the NI PCI 6110 Multifunction DAQ.
    Thanks again!
    Ben

  • How to input/output a digital signal and acquire an analog signal at the same time?

    Dasylab, version: 8.0.04
    Acquirement Card: PCI1002L
    When I use DasyLab to acquire the analog signals is no problem without digital inputs and outputs,
    and when I use DasyLab to input or output a digital signal is no problem also, but when I do that at the
     same time, DasyLab tell me the rate is too high and stop.
    so, I searched the manual book1 (user guide) for that, it showed me :
    To internally equalize measurement time and system time in the analog input, digital input and counter
    hardware modules, use the following settings:
       Synchronization: PC Clock
       Sampling rate: <= 5Hz
       Block size: =1
    the problem is, if I set the Sampling rate to 5Hz, the speed of the acquirement datas is not enough for my
    application.
    so, how to improve it? who can give me a example programm for me. thanks!
    by the way, I come from China, my English isn't good, I'm sorry.
    Allen, China.

    Hi,
    Have things changed over the years?
    I need to syncronise a digital output (Modul NI9474) and an analoge input (AI-Modul NI9203) module. I need to measure time intervals from a flank in signal A to a flank in signal B. I would like accuracies of the order of 1 ms. Currently, the signals are not synchronised, with errors of the order of 2 times the block length (block size x sample rate), sometimes much higher. The best I got so far was a block size of around 20 with a sample rate of 1 kHz.
    If I use the master and slave settings on the RTSL settings, my program doesn't run properly.
    If I use digital signals for input and output, I can syncronise them with RTSL settings and everything is good, but I can't always do that.
    Also, if I do anything in the GUI (such as scrollowing something or going to another window), my output gets screwed up properly.
    1. What can be done to synchronise AI with DO?
    2. Is there something that can be done to avoid messing up the output when something happens in the user interface? (I know that I am messing up the outputs as they make some valves switch and that is loud).
    Thanks in advance!

Maybe you are looking for

  • Video imported from iPhone 4 to iPhoto cuts out

    I had a video I took on my iPhone 4 and watched it several times on the phone and it was fine... Accidentally imported it with some photos and selected delete from phone because I thought it was just the pics... Now when I view the video in iPhoto th

  • Problem in calling the function

    HI i am creating the dynamic xml menu drop down menu in flash , 1) CreateMainMenu --- used to create the m ain menu.......... 2) getEmpDetailsFrmXML ------- used to load the xml file... 3) GenerateMenu ------ used to genereta the menus.. in run time

  • How do I transfer Outlook mail archive files to iMail?

    I am migrating from a PC desktop to a new iMac to fully integrate our family devices. I have several thousand archived Outlook emails as well as current emails that I need to migrate to iMail.  I have installed Parallels 8 to run several PC only prog

  • How come some of y word docs have been saved with a .docx extension?

    How do I fix that?

  • Having trouble with AS2511 RJ configuration.

    Hello all. Could someone give me advice on this issue, i think i have it close to being resolved but need a slight push in the right direction. Any help/advise would be great. I am in the process of building my lab. MY current setup has 4 cisco 2610