How to run two 'County of buffered edge' using two different counters at the same time?

Hello

I try to use two counters at the same time count the TTL pulses for a fixed period (lets say 10 ms). I have the card PCI-6251 and PCI-6601. I am currently using PCI 6601 as counters and running a self updated the ' stamped edge County - reset.VI. Here, I have attached my VI.

Now, during the execution of this VI, I get an error saying "error-200251 occurred at Task.vi:4 DAQmx Start" and the possible reasons are, "measures: no USB or DMA channels in loose ends are available.»

Either stop other tasks which might be using these resources or are considering changing your mechanism for transfer of data to the interruptions if supported.

Device: Dev2

Task name: _unnamedTask<80>. »

What I realized is I'm trying to use two buffers for two meters with ten samples each and this is probably not allowed. I don't know how to solve this out and bad looking for your suggestions.

Thanks in advance.

Hi all

I found a solution too. This is the VI updated the "County of edge stamped" which can simultaneously run two entries-meter using a single source of door and it also uses the DMA and interrupts to save two pads.

Have a nice weekend.

Tags: NI Software

Similar Questions

  • How to open two different images at the same time to work on it together please?

    Please help, I am at a loss to open the two images at the same time to work together on them. can someone help please

    I suspect that, in this point of you familiar with the functionality of Photoshop, you may prefer the following:

    Choose Preferences > Interface > and uncheck open as tabs Documents

    Then, when you open two images they both will appear on the screen.

    At a later time, you may want to work with her alternate: the tabs option.

  • Insertion of records in two different tables at the same time?

    Hello everyone, I have question about inserting records in two different tables at the same time, I'm looking for is by the way a unique id, which is created in the first statement insert to the second insert statement. Example of this problem:

    < cfquery name = "addRecords1" datasource = 'test' >

    Insert Into Table1 (name, Date, age)

    Values (< cfqueryparam cfsqltype = "cf_sql_char" value = "#arguments.) "Name # ' >.

    < cfqueryparam cfsqltype = 'cf_sql_date' value = '#arguments. "Date # ' >.

    < cfqueryparam cfsqltype = "cf_sql_int" value = "#arguments. Age #"(>); "

    Select SCOPE_IDENTITY() as RecID;

    < / cfquery >

    < cfquery name = "addRecords2" datasource = 'test' >

    Insert into Table2(Company,City,Date,ID)

    Values (< cfqueryparam cfsqltype = "cf_sql_char" value = "#arguments.Company #" >,)

    < cfqueryparam cfsqltype = "cf_sql_char" value = "" #City # ">,"

    < cfqueryparam cfsqltype = 'cf_sql_date' value = "" #Date # ">,"

    ( < cfqueryparam cfsqltype = "cf_sql_int" value = "How to pass RecID to insert in this table?" >).

    < / cfquery >

    In this example, I'm inserting records in table 1 and creation of IDENTITY SCOPE as RecId. I would like to pass this id and insert it in my table 2. This Id, I'll use in my second table as an identifier. If anyone knows anything about this please let me know. Thank you.

    );
    

    QueryName - DOT - ColumnName, so it should be:

    );
    

    HTH,

    ^_^

  • appearing in two different colors at the same time container attached screenshot.

    post.JPGHello

    I am very impressed with this site's Look, you can see that
    in this the container showed up in two different colors at the same time as shown in the attached screenshot.

    Please tell me how to get there?

    A part is loading advertising and other view their business rules.

    Please tell me how to get this behavior

    Because when I use the Application container = 'black' background color, it displays the container integer oiail color.

    Help, please

    Thanks in advance.

    There are many ways to achieve this. We can be to use the background image for the application. Other means may be to use various containers (Panel, canvas etc with background pictures) to get this look. Think of it in HTML view. How you can use the div tags to your page layout, you can use various containers of Flex to your page layout.

  • possible to have 2 different application fields for two different clips at the same time

    Hello

    possible to have 2 different application fields for two different clips at the same time for the classification match in terms of the scope, only not to the eye?

    Not that I know of.  And Yes, it would be very useful. As would the ability to go back 2 in reading monitor and a button "game clip under the read head 1. Sigh.

    Neil

  • How to display two dept details at the same time in the form of master-detail

    Hi Experts

    In Forms 6I, using the Scott schema, table DEPT & EMP has created a simple form of master-details relationships.

    Currently when user Dept Block shows all lines dept and EMP block display data based on the selection of deptno.

    It's only a deptno both.

    If the user in the No. 10, block EMP Dept will display all the data related to 10

    If the user moves to 20 Deptno, block EMP will display all the data related to 20.

    And so on.

    But our requirement, what happens if we want to see the 10 and 20 at once (both several deptno)

    Thank you

    Thanks for your information.

    In fact, our requirement is only to display data, he own be no matter what update of data/insertion.

    So below and working for our requirement

    • Remove relationship
    • Additional box on master block.
    • Write code cursor on the box selection - which will fill/clear data block information based on the checkbox selection on block Master.

    Oracle Apps training: how to display two Department employee details at the same time in the master/detail relationship

  • How to display two open sites at the same time on the screen instead of switch between tabs?

    I need to open two different sites using Firefox. They appear as tabs, but I can only show a tab at a time and have continually switch back. I need to have two separate sites open and displayed simultaneously on the screen. Is there a way to do this or an add-on that will support multiple windows open on the screen?

    You can open all pages in separate windows and resize and position windows horizontally or vertically to the two visible at the same time.

    Note that you can drag a tab slightly downwards in the navigation window to tear off the tab, or use the context menu of the tab (transition to the new window).

  • How I have two tabs open at the same time

    I want to work on both windows at the same time, in order to drag a symbol from one to the other

    Perhaps there is an add-on to view side-by-side tabs in the same window? Certainly, it is not built in.

    You can open pages in two separate windows and resize the windows so that they appear side by side.

    Let's say you have a window with two tabs open. If you restore the window if it is not expanded (you can see some Office behind it), then you can drag a tab from the window and drop it on the screen area to give it its own window.

    As far as I know, there isn't a way to place these side-by-side windows automatically, but you can use all the usual methods of resizing windows with the mouse to set up.

  • Is it safe call a function of two different thread at the same time?

    For example,.

    Thread1()

    {

    status = my_function();

    }

    Thread2()

    {

    status = my_function();

    }

    int my_function()

    {

    foo;

    return the result;

    }

    I want to call thread1 and thread2 ma_fonction at the same time.

    Call functions simultaneously, in itself and is not a problem at all. Each thread has its own stack of appeal.

    However, you carefully examine the foo part. If you access resources overall (such as hardware devices, global variables or static local variables), or if you make calls to non thread-safe libraries, then you will have to lock the bits of sensitive code with thread locks, ensuring as well as only one thread can access this code at any time.

    Luis

  • Could a NI6008 be shared by two software programs at the same time?

    Hello

    I wrote two software with Labwindows/CVI for different purposes. Two of them are using NI6008. I have only one ni6008 attached to my laptop. I can run two programs at the same time? I mean, it's a NI6008 could be controlled by two different software at the same time? Thank you!

    Best,

    Shang

    Shang,

    There are four types of tasks, AO, DIO and counter. You can have one of each performer both on a USB-6008.

    Kind regards

    Kyle Mozdzyn

    Engineering applications

    National Instruments

  • * Creating Cloud * [can I use two different applications of cloud on different computers at the same time for example Photoshop on one and on another InDesign?]

    So I know that you can have creative cloud up to two computer and its not of platform specific, so you can have it on a Mac and the Windows platform at the same time. BUUUT I know that you can not use them simutaniously, but which still apply to the when im I need to work on photoshop on only one computer and indesign on another who would always use them at the same time so he would evict me? or can be used on two different programs at the same time?

    Always there was confusion on this issue.

    Adobe said yes in 2012 and 2014.

    Running different applications - 2 computers, a single license

    Contradictory information on the simultaneous use of CC.

    Don't know the current position of Adobe.

  • How to take snapshots of two usb camera at the same time

    Hello

    I have a project where I have to take still photos of two usb camera at the same time repeatedly and save the in a particular direcltory. I am received using a camera by using "Camera Grab vi", but I can't make it work with 2 cameras, I use the flat sequence and 2 "Camerra Grab vi: with particular camera in a sequence, but each time when I run the program I get only pic of a camera, its seems a camera dominates the other.»

    Please is it possible to use the two camera simultaneously. Attached are the snapshot of my vi.

    Thank you

    Ankit G

    Looks like you are using the same reference at the same time grabbing the camera. The two camera snaps happen but the second camera clamp is written on the first so it seems alone is slam. Try to run the VI executiong highlighted arbitrary mode (select icon icons four bulb to the right of the button run on the schema). This will allow you to see the data stream. In order to get both of these Snap you'll need separate references. You can try to watch one of our examples in the example Finder OR give you some direction (LabVIEW > help > find examples > Browse tab > Input and Output material > IMAQdx > high level > Snap.vi). You can break the two cameras at the same time if you just copy this code and double of the code.
    (Note: If you change the examples, always save as copy in another location so that you do not save on the packed example)

  • How to divide the screen into two parts in order to see the two different parts of the same file? [Suggestion] [Android]

    I am Brazilian and I use Adobe Acrobat Reader DC a lot. I would suggest an implementation of features present in the PC, I missed a lot of things on Android, which is 'New window' or something like that, like split the screen into two parts in order to see the two different parts of the same file.

    For smartphones, its use is restricted, but for tablets, it can be really useful, because it allows the display of two distinct points of the same file,

    I have reduced considerably the use of paper using this application, however, I need to navigate the file always pick up a few points seen earlier, which causes a lot of discomfort compared to printed documents.

    This is a suggestion, but I would like it to be considered.

    Thank you for your request. We have taken note of the same and must try to integrate it into one of our future releases.

    Thank you.

  • Trigger two FPGA instances at the same time

    I have a basic FPGA code that transmits the bits of data on a serial (RS-485) bus, the code is written so that it expects in the first State of a machine to States in a single-cycle timed loop.  After a certain trigger, he begins to read a FIFO containing data and sends the data on a line of Tx.  It does this until all bits are send and then it goes back to the first State to wait for the next trigger.  The relaxation is necessary because windows must fill out first before the FPGA FIFO can start sending.

    I need two instances of this code runs, because I have two buses of com (one is redundant).  So I use the FPGA code as a Subvi and I wrote a main FPGA vi to call two separate instances of the Subvi in parallel.  A regular window vi wrote on the FIFO for bed FIFO for Rx and Tx.  No problems so far.

    The thing is I start two transmissions in 200nS of each other (Yes, nanoseconds).  Windows will write two FIFO in parallel, but the timing is 4uS apart, too long.  I tried implementing a Boolean flag in the Subvi FPGA, but windows can not write directly on the control of Subvi.  FPGA won't allow (the Write function is grayed out).  I tried to use a FIFO for a flag, but the problem is a race condition.  One of the instances is first read FIFO and he destroy.  The other can't read.  I need a common trigger point to be used by the two instances of Subvi.

    My final solution was to use a memory in the Subvi FPGA and digital control in the main FPGA vi.  Windows write in numerical order, it may because the control is in the main FPGA vi.  Inside the main FPGA, I run a timed loop that looks for digital to be zero.  If so, it writes the value into the location of the memory used by the Subvi FPGA.  After awhile, the principal wrote a zero back to memory to prevent the Subvi is restarted, as well as to write a zero for digital to reset.  This repeats, waiting for windows to write in digital again for the next transmission.

    I had to do it this way because sometimes I want to pass on the bus, and sometimes just one or the other.  Numeric values are used to determine which to pass on.  Now, the transmissions are starting to almost exactly at the same time, 1 or 2 nanoseconds apart.  But the trigger process seems very silly to me.  I was wondering if there is a better solution.  I'm pretty new to FPGA.

    tbob wrote:

    Basically, I did the same thing using FPGA memory.  Windows I am writing for a digital control that resides inside the main FPGA vi.  In the main FPGA, I write in the memory.  Inside the Subvi FPGA, I read the brief and decode the value to use either one or the other or both buses.  After fool with it for awhile, because reading Memeory needs to use a shift register (probably because it takes a whole cycle of clock), I had to work.  The two bus trigger at the same time.  I guess it's not really important if I use a FIFO or if I use the memory.  The main problem is that I write Windows at the hand of FPGA, then the hand of FPGA for the Subvi FPGA.  Then the time is right for what is the Subvi is.

    There are some advantages to the use of two FIFO on your approach.  First of all, you don't have the change of register for the memory location.  Secondly, we should not worry that VI is responsible for compensation to the memory location, or do, you run the risk that one of your subVIs run twice, or not at all, if the memory is not erased at the right time.  Perhaps most important, you'll save yourself space on the FPGA because you will not need arbitration - the additional code that is added when two parts of the FPGA try to access the same resource at the same time.  In your case, both instances of the Subvi access the memory block at the same time, so the FPGA compiler adds additional logic to avoid conflict.  If only read you the memory block in one place and just write it in one place (reading and writing can be different loops where subVIs) there is no need for arbitration.  Using two FIFOs, you can keep independent and avoid the conflict resolution code.  See the help for the "arbitration" for more details.

  • How to make an update of location to a group of photos at the same time?

    How to make an update of location to a group of photos at the same time?  This used to be a feature in iPhoto.

    I use El Capitan 10.11.6 and Photos 1.5

    If yu have OS X 10.5.1 s you say that you can not - with OS X 10.11.6 Photos 1.5 (a free update in the app store) you select them and info - enter the location and it will apply to all photos

    LN

Maybe you are looking for