DAQ board for acquiring analog pulses

Hi.  I'm using the USB-6251 DAQ board, and I'm trying to record analog Gaussian curve-ish pulses into LabVIEW.  Except when there is a pulse, the analog input channel is at 0V.  Right now, I've got the trigger working to start acquisition at the beginning of the pulse, but I can't figure out how to stop acquisition when the pulse is over.  I've been using the DAQ Assistant, with an Analog Window start trigger, set at the range 10m to 10 V.  Is that the right way to do it?  I can't get any reference trigger to work to stop the acquisition however.  It's set to acquire 5k inputs at 1 kHz and always goes for the full 5 seconds instead of stopping.
Thanks in advance for helping!

Not exactly.  It's still picking up pulses separately, but it's including the empty space afterwards (as in, if the pulse lasts only 10 ms, it still acquires data for the full 1 second).  Preferably, it would stop acquiring data when the voltage is outside the analog window.
I attached the VI as it is right now, with just a start trigger and no reference trigger.  I'm unsure how to configure the reference trigger to have it stop the acquision once the voltage is outside the window again.
Thanks for your help!
Jeremy
Attachments:
DAQ integration.vi ‏90 KB

Similar Messages

  • DAQ board for ADXL202AE accelerometer

    I am tring to find a good DAQ board that will be connected to ADXL202AE (Analog Device). It's first time to use this accelerometer. The PDF file is attached. X out and Y out will be used. I also would like to know where X out and Y out can be connected in any DAQ board.
    Attachments:
    ADXL202E_a.pdf ‏147 KB

    Greetings,
    In addition to a DAQ board you will most likely need some sort of signal conditioning for your accelerometer. We offer two primary conditioning lines, either SCXI or SCC. For accelerometers you will be interested in either the SCXI-1530 or the SCC-ACC01.
    SCXI-1530
    http://sine.ni.com/apps/we/nioc.vp?cid=4310〈=US
    NI SCC-ACC01
    http://sine.ni.com/apps/we/nioc.vp?lang=US&pc=mn&cid=3387
    Both of these signal conditioning systems are compatible with our line of Multifunction Input/Output (MIO) DAQ boards. Your selection just depends on your requirements for sampling rate, resolution, channel count, and form-factor.
    I recommend using the following utility to narrow down your search for a DAQ card.
    Data Acquisition (DAQ) Hardware
    h
    ttp://sine.ni.com/apps/we/nioc.vp?cid=1037〈=US
    From glancing over the specs for this accelerometer it loks as if Xfilt and Yfilt are just analog output channels. In this case, you can just connect these to the analog input lines of your MIO DAQ board. Once you select the DAQ board that is the best fit for you, the User Manual can be found online at http://www.ni.com/manuals.
    Regards,
    Justin Britten
    Applications Engineer
    National Instruments

  • Connecting more than one sensor cable to screw terminal to collect more than one signal in single DAQ board channel?

    I don't know if this topic is being posted in the correct location. I am new to LabVIEW and the hardware associated with it. I am using an NI 9237 DAQ board for a senior design project in engineering and I was informed that I can make multiple connections to a single screw terminal which in turn will connect to one channel of the DAQ board. To give the specifics, I have two pressure transducers and would like to connect them to the same screw terminal and channel on the DAQ board yet separate them when acquiring data in the VI. Does anyone know how to do this? I know is is essentially knowing what pins do what on the screw terminal but I can't find this anywhere. I am currently doing the job with two screw terminals and two of everything else (RJ50 adapters, etc.). I would appreciate any input. Also, please let me know if I am posting in the wrong board and if possible, which board I should be posting to.
    Thank You,
    bsteinma

    bsteinma,
    What you may have heard is that you can measure multiple signals on the same task, not on the same channel.  By tying both of these signals to the same channel, both signals will compete to drive the line.  The channel on the card will only interpret this garbled signal and you will get no useful data.  If you are new to wiring up hardware, I recommend configuring a task within Measurement and Automation Explorer and then clicking on the tab along the bottom of the page titled, Connection Diagram.  This will show you what electrical connections to make.  Then, in LabVIEW you can read multiple signals (channels) and manipulate each signal how you would like.  
    As far as boards go, you will generally find an answer where ever you post, but the Multifunction DAQ board is a great place to post when you have questions regarding hardware (like your 9237).  
    Cole R
    Applications Engineer
    ColeR
    Field Engineer

  • Interfacin​g LabView compatible DAQ board w/ third party DAQ boards

    Dear NI-team and board-members,
    In my current project I'm using a third party Direct Digital Controller which supports customizable Programmable Logic Control (PLC) via a graphical programming software. Therefore, I'm acquisitioning temperatures (etc.) from my miniature-HVAC application via physically attached and mounted sensors, connect them to a dedictaed analog input (0-10VDC typically) and in further assign the analog input to some selected PLC modules with the help of the graphical programming software, and finally after doing the computation (calculator block) or control (Proportional-Integral-Derivative block) I assign the resulting control signal to a dedicated analog output (typically 0-10VDC as well).
    So far for the previous history, NOW I actually want to be able, to manipulate these analog values in a way, that I'm not interested in the physical acquisitioned value from my real-time operating equipment (e.g. temperature sensors), more than that, I'm interested in assigning a certain level (e.g. +5 VDC) to that dedicated analog input, which in turn would represent a temperature e.g. in this simple case (+5VDC) 50degF.
    Now to the questions, can I possibly interface the physical ANALOG INPUT (0-10VDC) of my third party DDC unit, with the ANALOG OUTPUTS (0-10VDC) of a NI DAQ board? In that way, I'd be able and with some additional help of LabView to program time intervals, where I raise the voltage level every 5 minutes by 1VDC, and in turn can proceed with my intended purpose.
    To sum that up, are there physical limitations (e.g. ground loops, damage equipment, shorting) connecting an analog output of one board, to the analog input of another board?
    Also, which DAQ of NI might be best suited for my intended purpose, using a NI DAQ board for "simulating" temperature values (etc.) onto the analog inputs of another third party board.
    Thank you,
    Sandro

    Hi Sandro,
    If both boards are in the same computer I wouldn't be too worried about ground loops or damaging equipment. The ground reference to the AO board will be the same ground reference as the computer and AI board. You would have to check with the specs for your third party AI board to see what overvoltage protection it has and whether or not our AO board could give a voltage high enough to damage it.
    I would suggest one of our AO boards to do the job. Depending on what kind of control and precision you want, we have static update boards available in PCI form. The static board will be cheaper but you are limited to software timed voltage updates (instead of clocked buffered waveform output).
    http://sine.ni.com/apps/we/nioc.vp?cid=12550〈=US
    I would suggest the AO board (PCI-67xx) instead of our M series multifunction boards because the AO boards have 8 or more output channels. The multifunction boards only have two output channels.
    -Sal

  • Choice of a DAQ board.

    i want a DAQ board,as per my project requirements... Attached is the file for level controlling of a non-linear cylindrical tank..
           Moreover i will be requiring a NI sero motor control board as my inlet valve is analog valve with level control...
    I have to make a prototype model of cylindrical tank,,in which ultrasonic sensor (YTD which one) will sense the level of water, will pass the signal in controlling loop thru DAQ board and  the analog valve will control the inlet flow.
    Kindly suggest me cost effective n efficient boards  shortly as m running out of time.........
    Attachments:
    HORIZONTAL CYLINDER.vi ‏299 KB

    You should either call NI directly or your local sales rep.   Go to the main NI web page and in the upper right is a contact us link.

  • Help acquiring a pulse via Ctr1 (in) from Ctr0 (out)

    Hi,
    I am needing assistance acquiring a slow pulse signal.  I am generating a pulse using Ctr0 Out.  I want to graph this pulse output along with a temperature measurement to see how the two measurements interact.  My problem is that I never see the pulse at my pulse input channel.
    I can measure the temperature fine.  this works good.  I can generate a pulse without a problem as I ave an O-scope to monitor the Ctr0 output.  this works fine.  However, I have wired the output of Ctr0 to a physical channel on the SCC-68 (PFI-4 or Ct1 Gate channel) and created a DAQ Assistant to acquire this pulse.  The VI runs and errors out with a message that the signal to the DAQ Assistant is never seen and thus times out.  I can physciall y see the signal via my O-scope going to the channel.  I must have the DAQ Assistant 2 configured incorrectly?????
    Any input is greatly appreciated.
    Attachments:
    CJ Graph test.vi ‏162 KB

    I noticed that your number of samples has been set to 1000 (continuous mode), hence a possible reason for the timout errors. I would suggest changing that to 1 sample (on demand) and see if that gives you any progress.
    -Ciao

  • Measurement Computing DAQ Boards and LV

    I have been using LV and NI DAQ boards for several years with
    excellent results. Goodby C++ forever (well...).
    My boss sent me a flyer for Measurement Computing DAQ Boards and the
    prices are great. They even offer a card I can't get from NI.
    My question is: how well do these boards work with LV? Can I use all
    the NI supplied VI's or must I use only the ones provided with the
    Measurement Computing card?
    Does anyone sell a card that clones a NI card so all the NI VI's work?
    Thanks,
    Linuz

    Here's an opinion from somebody who doesn't work for NI also...
    The measurement computing boards are technically very good, and also very
    inexpensive. However the last one (a multifunction DAQ card, I forget the
    model number) definately suffered from the SW differences you describe.
    I already have enough difficulty getting the NI cards to work properly; for
    a complicated project I wouldn't want to add a 3rd party card to the mix!
    Usually it's worth a couple hundred bucks to have the full NI-DAQ driver,
    support with NI-MAX, standard NI vis, and technical support if (when) the
    whole system doesn't work as documented. I have had enough trouble using
    RTSI synchronization between genuine boxed NI products. For an ambitious
    project I would rarely consider a 3rd party DAQ solution.
    On the other hand, if your application is straightforward and you like the
    cost savings then go for it. When I tried the computerboards card, the SW
    was lackluster but functional. The HW was very solid and around 1/3 of the
    price. Given that Labview PDS is so freaking expensive, I would definately
    consider a 3rd party board for routine tasks. I had a fine experience with
    the computerboards card and the approx $500 savings (at the time) made the
    project affordable.
    -joey
    "Greg McKaskle" wrote in message
    news:[email protected]...
    > > I have been using LV and NI DAQ boards for several years with
    > > excellent results. Goodby C++ forever (well...).
    > >
    > > My boss sent me a flyer for Measurement Computing DAQ Boards and the
    > > prices are great. They even offer a card I can't get from NI.
    > >
    > > My question is: how well do these boards work with LV? Can I use all
    > > the NI supplied VI's or must I use only the ones provided with the
    > > Measurement Computing card?
    > >
    > > Does anyone sell a card that clones a NI card so all the NI VI's work?
    >
    > Any board can work with LV provided it has a driver to control it or you
    > are ready to do peeking and poking to the board. Ideally it will also
    > have the DLL calls into the driver wrapped into some VIs for easier use
    > by LV users.
    >
    > Measurement Computing does have drivers, and you can purchase LV VIs for
    > their cards.
    >
    > Before I go on, remember that I work for NI, so feel free to get another
    > opinion or look into it yourself, but you will see a BIG difference in
    > the SW support for boards from various manufacturers. NI provides lots
    > of SW tools, VIs, and tech support, and that is reflected in the price
    > of the boards. If a company sells the same board for less, they may be
    > providing less in the SW and support side. You and your manager will
    > have to determine the overall price of the project based upon your time
    > spent installing, troubleshooting, writing VIs, and the price of the HW.
    >
    > As for a company making a clone of our HW so they can redistribute our
    > driver? That has happened in the past, but to my knowledge no boards on
    > the market currently do that.
    >
    > Greg McKaskle
    >

  • How can I acquire data in a PCI DAQ board using a SCXI rack?

    Hello.
    I have an acquisition system that consists in:
    · 3 PCI DAQ boards:
    - PCI-MIO-16-E-1
    - PCI-6052-E
    - PCI-6034-E
    · 3 cables to connect PCI boards and SCXI modules
    · 1 SCXI chassis:
    - SCXI-1001
    · SCXI modules + terminal blocks:
    - 4x SCXI_1121 + SCXI_1320 (for voltage analog inputs)
    - 1x SCXI_1520 + SCXI_1314 (for strain gauges)
    - 1x SCXI_1530 (for accelerometers)
    I have been trying to acquire different signals (specially voltage signals that are easier to reproduce) but I haven't been able to do it. I can't read anything from MAX or LabView. I have tested the PCI boards with a SCB68 terminal block (without any SCXI component) and they work properly. Problems appear when I use the SCXI chassis and the SCXI modules. I don't know if there is a problem with the hardware or it is a wrong configuration.
    I guess channels in the SCXI modules correspond to analog input channels in the PCI board they are connected to, but I don't know if I have to read data from analog input channels of the PCI boards or from SCXI channels that appear in MAX (I have tried both posibilities, but they don't seem to work).
    I don't know if I have to use Differential, RSE or NRSE configuration. I have tried all of them. Sometimes I only read noise, sometimes signal is fixed in a limit value (maximum or minimum, it depends), sometimes it's fixed in a value near zero,... I have changed connections and configuration options so many times I can't exactly say when one thing or another happens.
    I have tested only one PCI board with only a SCXI module in order to avoid interaction and confusion. Nothing.
    I think I have tried changing almost every option in MAX, but it doesn't work.
    I'm sure I'm missing something and solution is quite simple, but I can't find it.
    Can anybody explain to me how to connect and configure my system to read any signal? I only need a few steps or highlights. Maybe some clues about what the problem can be.
    Thanks!

    I have several comments and suggestions:
    A) Have you "added a device" in MAX and actually added the SCXI chassis? This step is necessary to get the chassis to work. Click on "add a device" and choose the 1001 chassis . Do this for one DAQ card and one module only initially. The Set Up wizard should walk you through the configuration. If you are unable to add a chassis within MAX, I suspect the chassis is not working correctly.
    B) Once configured, you can examine the SCXI channels in MAX as follows:
    1) Open the DAQ card in MAX and Open the Test Panels
    2) For the SCXI channel to view, use the following convention OB0!sc(n)!md(m)!ch where the letter (n) corresponds to the chassis number in MAX (usually = 1), the letter (m) corresponds to the module number (slot) where the module is located in the chassis, and (ch) represents the channel(or channels) you wish to view. So presuming chassis ID=1, and a module in slot 1, and you wish to view channel 3, you would type the following in the channel field for the DAQ card channel to view:
    OB0!sc1!md1!3 (note OB0!sc1!md1!3:6 will display channels 3 through 6)
    All of the SCXI channels for a given DAQ card are multiplexed through channel 0 of the DAQ card, Channels 1 and up are not used, hence the initial three characters in the SCXI call refer to "On-Board Channel 0 (OB0)"
    C) For the subsequent set up, it will be necessary to first add the additional modules to the chassis (when powered off). Then open MAX and update the chassis. (If you get an error then simply delete the chassis reference in MAX and add a new chassis). You will then be required to set the interface mode of each module as either parallel or multiplexed. In parallel mode, you associate a distinct module with a distinct DAQ card in the host PC. For those DAQ cards that will address multiple modules, you must first configure the modules to be in adjacent slots in the chassis and then assign the first module to the cabled DAQ card - then all of the modules assigned to that DAQ card should be configured in "multiplexed" mode.
    D) Once the chassis has been properly configured, you can click on each module and set the gains, filters, and terminal block types.
    I hope that this helps to get you started.

  • Need to use quadrature encoder to trigger (RTSI) single point DAQ on 2 channels of E-Series DAQ, using 6602 NI-TIO for counting encoder pulses.

    This is for LV6i, W2000, all PCI equipment.
    Using a quadrature-measure position-VI, I get 7200 edges/rev from the encoder of my physical system. This equates to 0.05 degrees of angular displacement. This amounts to an angle stamp as opposed to a time stamp.
    I need each of these 7200 edges (source: 6602 NI-TIO) to trigger (using RTSI) the acquisition of a single sample from each of 2 channels on an E-Series DAQ board (maybe more channels later). I only need/want one rev (7200 samples per channel) of data for each run of the test. As I write this I think I want pre-triggering and a little more than a rev of data. So the
    re is a buffering step. Anyway, you can get the idea.
    I need this angle stamp and the DAQ samples to be placed in an array and on the hard drive for graphing and other mathematical treatment, analysis, etc.
    I think there must be a way to use the quadrature output of the counter/timer as a scan clock for the DAQ board, but I haven't seen an example to guide me.
    It seems like all of the RTSI or other triggering examples I have seen trigger once to start a continuous scan, not a series of discrete samples repeated quickly. I am not sure how to fill an array with this data. Again, examples are for continuous sampling, not a series of discrete readings.
    Any hints on any part of this task will greatly appreciated. This is my first LV project.

    Sounds like a fairly ambitious first project!
    I assume your 7200 edges/rev come from an encoder with 2 channels in quadrature which each provide 1800 cycles/rev. You can clock in analog data at 1800 scans/rev with either of the two encoder channels, but will probably need an external quadrature decoder circuit to produce 7200 scans/rev. Either method can be done with screwdriver and wire or else by using another counter from the 6602 and the RTSI bus. Here are two approaches in detail, but you could mix-and-match as needed.
    Note also that if you can be sure that your reference encoder will be uni-directional, you wouldn't need to measure position -- position could be determined by the array index of the analog scan data. This would simplify things greatly.
    1800 scans/rev, screwdriver & wire
    Wire both encoder channels to your 6602 breakout box and configure your counter for the 4x quadrature option. Send a wire from one of the encoder channel connections at your 6602 breakout box to a PFI pin at your E-series board breakout box. Config the analog acquisition to use an external scan clock and specify the correct PFI pin -- there are built-in examples that will guide you. Now one edge of one encoder channel acts as a scan clock for your analog acquisition. Inside the 6602 breakout box, route the same signal to one of the default gate pins and configure your encoder counter gate to use that pin as its gate signal. Note that there will be a race condition governing whether the encoder value updates from the encoder inputs before or after the value is latched by the gate.
    7200 scans/rev, extra counter & RTSI
    Make sure you have a RTSI connector between your two acquisition boards inside your PC. Build a quadrature decoder circuit that will convert your two encoder channels into a clock and direction output. (Consider the LSI 7084 decoder chip or similar). Setup your "encoder" counter for buffered position measurement. Use "Counter Set Attribute" to define "up down" as "digital" (don't use it to define "encoder type"). The clock output goes to the counter SOURCE and the direction output goes to the counter UP_DOWN pin.
    Use "Adjacent Counters.vi" to identify the counter considered adjacent to your encoder counter. Configure it for "retriggerable pulse generation". Use "Counter Gate (NI-TIO).vi" to specify "other counter source" as the gating signal. Configure the output pulse specs to be short duration (make sure total of delay + pulse width is less than the minimum period of the incoming encoder clock signals). Use "Route Signal.vi" to send this counter's output onto the RTSI bus, say RTSI 0.
    Now configure the analog acq. to use RTSI 0 as its external scan clock. Also configure the encoder counter to use RTSI 0 as its gate signal. Voila! Now your quadrature decoder clock output acts as a scan clock for analog acquisition and a "gate" to buffer your encoder measurement. The short delay helps ensure that the clock updates the position measurement before the gate fires to latch the value.
    Respond if you need clearer explanation. There's a fair amount of decent info "out there" if you scour the online help and this website. Good luck!

  • How to generate a pulse of 5 V -ve polarity in synchronis​ation with a 10 v input using PCI 6251 DAQ board

    HI
    I want to generate a 5V -ve polarity pulse to trigger my IEEE 1394 camera using an PCI 6251 (scb68 pin E) device, furthermore I am reading a standard Vsync signal from a SVGA port which is 10 v.
    Now I want to synchronise the image capture of an IEEE 1394 camera with the Vsync signal so that camera is triggered to capture at every 4th Vsync signal (which is 50HZ.). Presently I am able to read the Vsync signal and also generate the -5 v signal But the Daq board generates a continues -5v signal while I want a 1 ms pulse (for every 4th Vsync).
    Also this 5 v signal is generated even if the vi is stopped running.
    Can anybody guide me so this problem can be solved.
    Thanks a lot in advance
    Shri

    You can use the Write function, that is you can use the 10 volt signal as a trigger for the task, and when you get this trigger, the task starts and generate (writes) a waveform you defined in an array ("data", in the example).
    Something like this..
    DAQmxCreateTask("",&taskHandle);
    DAQmxCreateAOVoltageChan (taskHandle, clokSource, your_sampling_freq, -10.0, 10.0,
    DAQmx_Val_Volts, "");
    DAQmxCfgSampClkTiming (taskHandle, clockSource, SAMPLING_RATE,
    DAQmx_Val_Rising, DAQmx_Val_FiniteSamps,
    samp_to_read);
    DAQmxCfgAnlgEdgeStartTrig (taskHandle, input_channel, DAQmx_Val_RisingSlope, 9.0);
    DAQmxWriteAnalogF64 (taskHandle, 1000, 0, 10.0,
    DAQmx_Val_GroupByChannel, data, //data contain a pulse
    &samp_per_channel, 0);
    DAQmxStartTask(taskHandle);
    // and then you create a loop....
    For example you can specify data to be like this:
    data[0] = -5;
    for(i=1;i<1000; i++){
    data[i] = 0;
    Tell me if you need more help.....
    bye

  • Quadrature encoder with PCI-6259 DAQ board (driver for QNX)

    where can I find any example for connecting Quadrature Encoders with M Series DAQ Boards ?
    The only more or less suitable example I found in nimseries DDK, is
    "Count pulses from an external source using an external signal to control
    the count direction" (nimseries\Examples\gpctex2.cpp).
    But this example is not working correctly with Quadrature Encoders
    (encoders with  two shifted on 90 degrees phases A&B).
    i.e. in case of using this example code I get some extra count while encoder is on vibrant motor
    what means enums
    typedef enum {
           kG0_Up_DownHardware          = 2,
           kG0_Up_DownHardware_Gate     = 3,
    } tG0_Up_Down;
    and
    typedef enum {
           kG0_Encoder_Counting_ModeId          = 1,
    } tId;
    in (nimseries\ChipObjects\tTIO.h) ?
    What initalization procedure I need to work with Quadrature Encoders?
    I have PCI-6259 DAQ device
    and I'm writing programm under QNX6 operating system

    Hello alexey_3269,
    If you want to read a quadrature encoder start with gpctex1.cpp and follow the thread.
    I give you my code:
    BEGIN CODE
    ==========
    boardGpct->G0_Mode.writeG0_Load_Source_Select(tTIO​::tG0_Mode::kG0_Load_Source_SelectLoad_A);
    boardGpct->G0_Load_A.writeRegister(InitialCount);
    boardGpct->G0_Command.writeG0_Load(1);
    boardGpct->G0_Load_B.writeRegister(0);
    boardGpct->G0_Load_A.writeRegister(0);
    boardGpct->G0_Input_Select.setG0_Source_Select(9); //see above for choices, PFI8=9, 100 kHZ=18
    boardGpct->G0_Input_Select.setG0_Source_Polarity(1​); //0=CCW, 1=CW
    //If using 80 MHz timebase
    boardGpct->G0_MSeries_Counting_Mode.writeG0_MSerie​s_Alternate_Synchronization(1);
    boardGpct->G0_MSeries_Counting_Mode.setG0_MSeries_​Encoder_Counting_Mode(3);  //3 for X4 encoder counting
    boardGpct->G0_MSeries_Counting_Mode.flush();
    //Enable Input Pins
    boardGpct->G0_MSeries_ABZ.setG0_A_Select(9);  //PFI8=9,
    boardGpct->G0_MSeries_ABZ.setG0_B_Select(21); //PFI10=21
    boardGpct->G0_MSeries_ABZ.setG0_Z_Select(10); //PFI9=10 
    boardGpct->G0_MSeries_ABZ.flush();
    boardGpct->G0_Mode.setG0_Gate_Polarity(1); //invert=1
    boardGpct->G0_Mode.setG0_Output_Mode(tTIO::tG0_Mod​e::kG0_Output_ModePulse);
    boardGpct->G0_Mode.setG0_Loading_On_Gate(tTIO::tG0​_Mode::kG0_Loading_On_GateNo_Reload);
    boardGpct->G0_Mode.setG0_Loading_On_TC(tTIO::tG0_M​ode::kG0_Loading_On_TCRollover_On_TC);
    boardGpct->G0_Mode.setG0_Gating_Mode(tTIO::tG0_Mod​e::kG0_Gating_ModeLevel_Gating); //kG0_Gating_ModeGating_Disabled
    boardGpct->G0_Mode.setG0_Gate_On_Both_Edges(tTIO::​tG0_Mode::kG0_Gate_On_Both_EdgesBoth_Edges_Disable​d);
    boardGpct->G0_Mode.setG0_Trigger_Mode_For_Edge_Gat​e(tTIO::tG0_Mode::kG0_Trigger_Mode_For_Edge_GateGa​te_Starts_TC_Stops);
    boardGpct->G0_Mode.setG0_Stop_Mode(tTIO::tG0_Mode:​:kG0_Stop_ModeStop_On_Gate);
    boardGpct->G0_Mode.setG0_Counting_Once(tTIO::tG0_M​ode::kG0_Counting_OnceNo_HW_Disarm);
    boardGpct->G0_Mode.setG0_Reload_Source_Switching(t​TIO::tG0_Mode::kG0_Reload_Source_SwitchingAlternat​e);
    boardGpct->G0_Mode.flush();
    boardGpct->G0_Command.setG0_Up_Down(tTIO::tG0_Comm​and::kG0_Up_DownHardware); //kG0_Up_DownSoftware_Down
    boardGpct->G0_Command.setG0_Bank_Switch_Enable(tTI​O::tG0_Command::kG0_Bank_Switch_EnableBank_X);
    boardGpct->G0_Command.setG0_Bank_Switch_Mode(tTIO:​:tG0_Command::kG0_Bank_Switch_ModeGate);
    boardGpct->G0_Command.flush();
    boardGpct->Interrupt_G0_Enable.setG0_TC_Interrupt_​Enable(0);
    boardGpct->Interrupt_G0_Enable.setG0_Gate_Interrup​t_Enable(0);
    boardGpct->Interrupt_G0_Enable.flush();
    END CODE
    ========
    I hope this code is appropriate to you.
    FV1234

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

  • Configuring 8 nos. of SCXI-1520 card to be acquired by DAQ boards in a PXI-1011 chassis

    Hi,
    I have a single PXI-1011 combo chassis in which I am putting 8 no. of SCXI-1520 cards. I have following doubts in configuring all the channels of scxi modules to DAQ boards as below:
    1. For parallel mode interface, what condition should be met ? Is it the total no. of channels of DAQ boards equal to total no. of channels of SCXI modules or no. of DAQ boards equal to the no. of SCXI modules ?
    2. Suppose i am putting 2 nos. of PXI-6071E (64 diff. channels), can i make one-to one connection of scxi channels (64 channels) to pxi channels(64 channels) ?
    3. Or if i am putting 1 no. of 6070E(8 diff channel), can I multiplex zeroth channel of each scxi card to zeroth channe
    l of PXI card. Similarly multiplexing remaining channels of scxi card to rest channels of pxi card will work ?
    Regards,
    Nirmal Sharma
    ATE Engineer

    Nirmal,
    Each SCXI module being used in parallel mode needs to be cabled directly to a separate E-Series device. This poses a problem in your situation because the PXI-1011 combo chassis does not provide access to the back of the SCXI side where the connections need to be made. If you insert an E-Series device in the right-most PXI slot of your PXI-1011 chassis, and operate all of your SCXI modules in multiplexed mode, every channel from each of the modules will be multiplexed to a single channel on the E-Series device (a dedicated backplane channel used with the SCXI side of a PXI-1011 or PXI-1010 combo chassis).
    Good luck with your application.
    Spencer S.

  • I want use c++ for NI DAQ board and remote data access(RDA)

    how can i control NI DAQ board with c++(bolandc) through network?

    This is a forum for Measurement Studio development tools for Visual C++. You should post questions like this to the Measurements->Multifunction IO section of Developer's Exchange.
    Best Regards,
    Chris Matthews
    National Instruments

  • Hi. Can use events to look out for input switches from any DAQ board?

    I tried using events to detect signals from input switches Advantech PCL-8181L, but it seems no response.
    I have read an article about the events that user controls can trigger and some external IO cannot.
    Is there any one know how I can get the program to monitior them all the time without using event function?

    Astroboy,
    I am not sure that I have a complete understanding of your question. Are you attempting to use LabVIEW Events (Functions >> Application Control >> Events) with your Advantech DAQ board? This will not be possible. Could you expand upon the functionality you are trying to achieve?
    Spencer S.

Maybe you are looking for

  • How do i connect my iPod touch to a new Laptop/Pc ?

    When i plug my iPod into my pc and try and get it to connect to iTunes it doesn't connect and does not show 'Cieran's iPod' (Name of iPod) under iTunes Store. ? My laptop that use to connect to my iPod and had all the data on, has now broke and i'm t

  • Drive Cache Errors in Logs

    I noticed that the same two entries in /var/log/errors are flooding my logs and I would like to know if this is an issue I can resolve or a red flag for bigger things... Jun 2 11:18:12 ghost kernel: sd 2:2:0:0: [sda] Asking for cache data failed Jun

  • Accepting changes in iPhoto

    If I edit a photo and want to replace the original with the edited, how is this done Now, the edited version is kept in a separate folder?

  • Does the Digi@nywhere A/D Plus work with PCI Express ?

    Hi guys! I am planning to purchase a Digi@nywhere A/D Plus for my PC, but all PCI slots on my K9N Diamond mainboard are already busy, only the second PCI Express slot which can be used for a second graphic card in SLI mode (my mainboard uses nForce 5

  • Connecting guitar to Garageband finally

    Greetings, I have played acoustic guitar for many years. I wouldn't classify myself as an expert nor a novice, just somewhere in between. I recently decided that I want to mess around with Garageband a little bit and I have looked at the Apogee Duet