Two edge separation only on first 2 channels?

Hello,
I have encountered a strange behaviour of the NI6602 Counter/Timer.
When I use the C# Meas2EdgeSeparation example as provided by NI, I am only able to have correct time measurement on channels 1 and 2. For the other remaining 6 channels the time will always be measured immediately when I only have a start signal, the stop signal is not required. This results in a measurement of 1.25 e-8 s, being the minimum value of this counter. It seems that the start signal is also seen as stop signal, but Two Edge Separation should not have this.
I have tried:
- using the wires of the other channels on channel 1 or 2: no problem
- disconnecting all other wires apart from the start signal for a channel: still a measurement of time, stop signal not necessary.
I have no idea what to do next, channels 1 and 2 are OK, which is bugging me the most.
Any suggestions are more than appreciated!
Best regards,
Rob

One simple idea is to parallel wire the opto signals to 2 different counters.  Let one measure the forward time and the other one measure the rebound time.
If the edge sequence goes 1-2-2-1 (with two discrete pass-through events on opto2), you may need to set up the 2nd counter to use the trailing edge of the
opto2 pulse as an "Arm Start" trigger.
If you're using an M-series multifunction board, it may be easier to create a hardware-timed digital task and then figure out the timing with some post-processing.
-Kevin P.

Similar Messages

  • Samples Not Acquired on NI 660x or NI 6624 Devices When using pulse width, semi-period or two-edge separation buffered measurements with the NI 660x and NI 6624 on counters 0 and 1, some samples may not be acquired under certain circumstances.

    In the DAQmx 9.4 Readme the following is stated:
    Samples Not Acquired on NI 660x or NI 6624 Devices When using pulse width, semi-period or two-edge separation buffered measurements with the NI 660x and NI 6624 on counters 0 and 1, some samples may not be acquired under certain circumstances.
    Could anyone elaborate on this? I am particularly interested in knowing under what circumstances this problem arises for the 6602 PCI devices.
    How should I understand 'NI 660x and NI 6624 on counters 0 and 1'. Is it only a problem on counter 0 and 1 for the 660x or does this only apply for the 6624 devices.
    /mola 

    Are there any NI Product Support Engineers out there who has an answer to this question and who are willing to share it with me?

  • Synchronizing the read of two timer tasks (Period and Two Edge Separation)

    Hello,
    I am using labview 2011 and need to latch the data from two timer tasks of a 6602 board at the same time and then perform the read. One task is a period measurement the other is a two edge speration.  It sounds pretty simple and I am sure it is, I just haven't located the correct information yet,  If someone would point point me in the correct direction.
    Thanks,
    Mike

    While it's true that a digital edge arm start trigger can help to sync the tasks to begin together, the nature of the measurements you're making also have a big impact on whether you can depend on the buffered data remaining "synced."   Both measurement types will latch measurement data at times determined by the signal(s) being characterized.  You cannot configure either task type to sample at a known constant rate.  You can only accept samples at the rate dictated by the signals' own edges.
    Ok, so having said all that, here are some implications:
    1. a cumulative sum of all your period data will effectively give you timestamps for all the active edges, with t=0 set by the arm start trigger edge.
    2. there is no information inherent in a two edge separation measurement that can identify the time relative to the arm start trigger.  You'll get a bunch of measured interval times with completely unknown times between those intervals
    3. caveat: if you are somehow using the same signal edge for both measurements AND getting one measurement of two-edge separation for each and every period measurement, ONLY then would you be able to reconstruct the timestamps relative to the arm start trigger edge.
    So I'd caution you that the idea of latching readings in sync or reconstructing relative edge times between the measurements is pretty unlikely to work except under some very specific circumstances.
    -Kevin P

  • External counter timebase source in two edge separation task

    Hi all,
    I use a NI 6220 board and want to perform something very similiar to what is described in the knowledgebase article "How Do I Count Digital Edges Between a Start and Stop Trigger on an NI 6602 Counter/Timer Board?".
    Does anybody know how I have to change the example program "TwoEdgeSep.c" to use not the internal timebase but to use an external source (the one I want to count the edges?
    Thank's for your time,
    Uli
    Solved!
    Go to Solution.

    What errors were you getting?
    The counter can count between 2 and 232-1 ticks.  So... the rate that you specify will determine the minimum and maximum value (in terms of seconds) that you can count.  These values are set when you create the channel:
    It seems intuitive to try to put "0" for the minimum value, but that will give you error -200527 (Requested values of the Minimum and Maximum properties for the counter channel are not supported...).  The real minimum value (in seconds) should be no less than 2 * (1/ timebase rate).  I'm not sure if this is your issue or not, I'm just speculating.
    EDIT:  I just realized the default (if left unwired) for the minimum value is 1 µs.  This would be below 2 ticks of your 10 kHz timebase so would give the same error.  You need a minimum value of at least 200 µs.
    The actual timebase rate itself shouldn't have a minimum or maximum value that I'm aware of (I guess maximum would be 100 MHz on your X Series, but in reality you can only pass through ~25 MHz from an external PFI line due to bandwidth limitations).  
    Best Regards,
    John Passiak

  • Two edge separator with a NI DAQCard-6024E for PCMCIA

    Hi,
    I have two different TTL-level signals available, and I want to measure the duration of time starting when one signal goes high and stoping when the next signal goes high.
    How can I do this using LabVIEW 5.1 and a NI DAQCard-6024E (PCMCIA)?
    Thankful for every answer.
    Regards,
    Henrik

    Probably the best way to do this is to set up counter 0 to do triggered pulse generation and then do buffered period measurement on counter 1, with the second signal being the gate signal. In other words, the first TTL signal starts the first counter producing a pulse train and the second counter measures this pulse train until the second signal causes it to latch. Look at some of the examples for triggered pulse generation and buffered period measurement and this will probably help you get started.

  • How to use external timebase for Two Edge Separation measurement with PCIe 6351

    Hi
    I am working with PCIe 6351 x series DAQ card.
    counter measurements.
    Here i need to measure the time/no edges between two edges. Falling to Raising of two signals.
    I got the measurement with internal time base.
    here i need to synchronize the measurements with external clock from the external setup.
    so i need to use that external clock,timebase for the counters.
    Any solution please..
    Regards,
    Hari

    First, the VI you mention is NOT for STC timer/counters. Therefore, it won't work.
    If you want to get the time interval between two edges, you want to use the Functions -> Data Acquisition -> Counter -> Count Events or Time VI. This will do the function you are looking for.
    Mark

  • Two Edge Seperation / PCI-6238 / Error -200140

    Trying to use a PCI-6238 card to measure the time between Digital Inputs rising or falling.  From what I was directed, this should be able to be done via the Two Edge Seperation Task... However, when I configure the task it seems that no matter what the Min. and Max Time I set, I get the error:
    <<<<
    Error -200140 occured at MyTwoEdgeSeperationTask - DAQ Assistant
    Possible Reason(s):
    Two consecutive active edges of the input signal occurred without a counter timebase edge. 
    Use a faster counter timebase. 
    >>>>
    I can I change the Counter Timebase?? I thought the system selected the optimum counter timebase based on the Min and Max value entered in..
    Thanks for any help.

    Not at hw to test, but here are some brief thoughts anyway:
    1. Error message sounds a little odd to me, almost like it's only looking at 1 input signal rather than 2.  Could simply be poor choice of error text though...
    2. There's a property called "Duplicate Count Prevention" that is frequently relevant to situations where the signals to be timed are faster than the timebase used to time them.  If you search the forums for that term, you'll find more detailed info.  The summary is that it can either be enabled or disabled and the behavior when the inputs are too fast are either to produce an error like yours or to return a measurement of 0.  (I honestly don't know which setting does which -- it's easy enough to experiment and find out though).
    3. The timebase can be chosen explicitly, though DAQmx should indeed have picked the appropriate one for your specified Min / Max.  You'd probably want a Min of 0 and a Max that's less than about 50 seconds.  My guess: DAQmx *did* pick the appropriate timebase, and the error text suggesting you use a faster one is just generic advice that doesn't actually apply to your case.
    4. Two Edge Separation requires you to know which signal will come first.  If you don't know which one will come first, you may still be able to accomplish your goal by setting up a "change-detection" DI task and then measuring the period of the change detection pulse signal with a counter.  I know this would work on the 5V DIO versions of the M-series, but I'm not so familiar with your particular board.
    -Kevin P.

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • When using private browsing to view image results in Safari 5.1.3, only the first two rows of results are visible, the following four or so rows display greyed out place holders, and the safe search button is inoperable. Suggestions?

    When using private browsing to view image results in Safari 5.1.3, only the first two rows of results are visible, the following four or so rows display greyed out place holders, the remainder of the results page is blank, and the safe search button is inoperable. When I turn off private browsing and refresh the page, everything works again.
    Anyone else having this problem?

    I have got the same behaviour after the last Safari Update to 5.1.3. It seems that Safari now handles some scripts in a new way. If you debug the Google Website, you will see, that there is some Javascript Error, that seems to prevent to write into local cache. After some searching I wasn't able to finde a solution for this problem, other then disabling Javascript while private browsing to prevent the script loading. You then are able to use Google with the old layout. The option to disable JavaScript can be found in the Menu "Developer", wich has to be enabled in Safari in the options first.
    In my opinion this is a bug that is now occuring, because Apple changed something in private browsing and that has to be fixed by Google now, to run again. Or we will have to wait for 5.1.4, as you can read online Apple will change and bugfix the javascript engine in that version, perhaps this fixes the problem as well. I hope so!
    If anyone is in the developer program perhaps you could test this with the beta of 5.1.4 and tell us if it works.

  • I've bought an USB-to-ethernet-adapter and a minidisplay-port-to-VGA-adapter. But I can't use them at same time. At first, I plugged those two adapters and only the USB-to-ethernet worked. Tried restarting the mac then only VGA adapter worked.

    I've bought an USB-to-ethernet-adapter and a minidisplay-port-to-VGA-adapter. But I can't use them at the same time. At first, I plugged those two adapters and only the USB-to-ethernet worked. I tried restarting the mac then only the VGA-adapter worked. I also tried to reinstall the OS.
    I'm using new 13-inch MacBook Air early 2015. OS X 10.10.3.

    Thanks Malcolm - Do you think it might be worth trying to flash the firmware on these cases - there seem to be updaters available on Prolific's website. Obviously I'd have to do it on a PC. I've emailed Prolific asking them about my problem. No reply as yet, and I'm not holding my breath! Do you know if there are any other posts on these boards relating to Prolific? Stupid question really - I'll just do a search...
    Thanks again for your post. Cheers from Bonnie Scotland.

  • Downloads do not appear all (only the first two) in the download statusbar (could be a ff19 or downloadhelper or unmht problem)

    downloads do not appear all (only the first two) in the download statusbar (could be a ff19 or downloadhelper or unmht problem) and none in the download window
    used ff19
    with
    Download Statusbar v0.9.10 by Devon Jensen
    UnMHT v6.2.0 by http://www.unmht.org
    DownloadHelper v4.9.14
    had to revert to ff18.0.2

    Make sure that you do not run Firefox in (permanent) Private Browsing mode.
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy: Use custom settings for history
    *Deselect: [ ] "Always use private browsing mode"
    Did you try to disable other extensions?
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Only the first two episodes showing

    When I do a search on my podcast in the iTunes Store, the show comes up fine but only the first two episodes are listed. When I click on the show image and go to the show page only those two show up, all four of the episodes are displayed in the other locations that follow the feed.
    Does anyone know why this would happen?

    Actually its really strange, the two missing episodes have been up for a while ( the most recent as of 3 days ago, the older about 12 days) and they never showed up. On a whim I decided to try to resubmit my feed address thinking that maybe I had giving it the wrong one by accident and was given the response that the feed was already taken. When I canceled out of it the new episodes showed up in iTunes. I don't know how but this seems to have prompted the system to recheck my feed and recognize that there were new items available.
    Anyone know why this might be the case? Also, when I view it from the search panel only the first two episodes appear, when you open it by clicking on the image of out logo it shows all four. Any ideas on that? The podcast is called 3 Wise Woodies if you want to see what I mean about how it displays the episodes.
    Thanks for you help.

  • How to use two "field separator" in the same Comunication Channel

    Hi experts,
    I  upload flat files with XI, and my Comunication Channel is configured to use the field separator "~".
    FILA.fieldSeparator     ~
    Is posible to configure that Comunication Channel to accept two field separator. I want that upload flat files that has as separator "~" and flat files that has "|" .
    thanks
    regards

    IT IS not possible to have 2 fieldseparator to identify the fields of a record.

  • [svn] 4290: Bug: BLZ-288 - Consumer is only receiving first pushed message when Consumer and RemoteObject that is used to push the messages use different channel sets but same channel .

    Revision: 4290
    Author: [email protected]
    Date: 2008-12-11 14:24:37 -0800 (Thu, 11 Dec 2008)
    Log Message:
    Bug: BLZ-288 - Consumer is only receiving first pushed message when Consumer and RemoteObject that is used to push the messages use different channel sets but same channel.
    QA: Yes
    Doc: No
    Checkintests Pass: Yes
    Details:
    * The bug app was arguably generating bogus test data (messages with duplicate ids), and 99.9% of applications won't be configured this way (using multiple ChannelSets with overlapping Channels, pointing at the same server) but it's still worth making this work just right anyways.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-288
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ConsumerMessageDispatcher.as

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • P1102W only prints first page or two of a job

    A week or so ago, my P1102W stopped printing the complete job. Only the first page, sometimes two, would appear. The green light would be left flashing quickly rather than the slow pulse (3 seconds) when a job has completed. Pressing the red X button would often cause another page to appear but this would only work once or twice, after which the rest of the job was lost.

    Hi , Welcome to the HP Forums! I see that your HP Laserjet Pro P1102w is only printing the first page or two of a job, on Windows 7. I am happy to help!  Please try the steps within this guide, Print Jobs Stuck in Print Queue (Windows), and let me know what happens! (Even though the guide title may not match your issue, I believe the solutions will help.) Hope this works!  “Please click the Thumbs up icon below to thank me for responding.”

Maybe you are looking for

  • Pocketmac wont open at all

    I uninstalled Pocketmac and reinstalled and now the icon just bounces up and down in my dock.. wow this is fun. Any suggestions?

  • Reorganize records in table?

    PartyID PartyFunctionTypeID Surname FirstName MiddleName MiddleName2 DisplayName 1 4 Yudin Michael NULL NULL Michael Yudin 2 4 Diggins Ben NULL NULL Ben Diggins 3 4 Strait Derrick NULL NULL Derrick Strait 4 4 Mazur Michelle NULL NULL Michelle Mazur 5

  • Latest rpm for RH 2.1 AS

    the ocfs.org has the latest version of the rpm packages 1.0.9.4 however when installing them it says that the 1.0.9 needs to be installed first. I am unable to find 1.0.9 ocfs-tools and ocfs-support packages Any help?

  • Installing 32 bit libs for running Picasa [Solved]

    I have Arch 64 bit and I'm having trouble installing and running Picasa. I need 32bit libs QT and I don't know how to install them. How is it done? Last edited by vinoman2 (2009-09-01 02:10:08)

  • Extent of abaper role in SAP Console

    Hi Please let me know the procedure that an ABAPER has to follow in the programing of SAP CONSOLE for RF devices. Raju.