How to use PCI-6534 High speed DIO to count the no.of pulses aquired

HI All
I have PCI-6534 high speed DIO card. My requirement is to count the no.of pulses coming. Here i have an energy meter which generates pulses with frequency of around 8MHz. i need to cunt the no. of pulses coming in, here i am attaching the VI i am using. I could not really count all pulses coming in. right now i am using single line, but the requirement is to develop for 7 lines. I do not know where i am going wrong. Can any of you help me in this regards.
Thanks
Anil Punnam
Attachments:
Read Dig Chan-Change Detection_stop.vi ‏120 KB

Sorry, not near a LV PC so can't look at your vi now.  Are you limited to using only the 6534?  If all you need to know is the count of pulses from each of the 7 ~8MHz sources, it seems like the amount of data storage required with a 6534 is terribly inefficient.  Since the 7 sources are unlikely to be synchronized in any way and they are each at ~8MHz, you're looking at about 100+ million transitions per second with change detection.  I don't think the hw can keep up with that.  Even using a constant sampling rate of 20 MHz (which just barely satisfies the Nyquist minimum of 2x 8MHz), it's questionable whether you can keep up with that rate for several minutes.  Even supposing the hw and your PCI bus and software can keep up, there's still a TON of processing to do.  20 MB/sec for 20 minutes = 24 GB! 
On the other hand, consider the 6602 counter timer board.  Here you would simply set up 7 edge counting tasks, probably without any buffering at all.  At any leisurely pace you want, you can software query the counts of the # of pulses on each of the 7 channels and have an instant answer.  The only issue to deal with is that the counts will rollover when you reach 2**32.  At 8 MHz, this will happen about every 9 minutes.  However, DAQmx provides a nice way to handle this.  There's a property you can query that will tell you if a rollover has occurred.  It automatically resets itself to False after you read it so it's ready to detect the next rollover 9 minutes later.  See my first post in this thread for example.  (Last I knew, only DAQmx does the automatic reset, not traditional NI-DAQ).
If you can possibly buy a 6602, I'd highly recommend it.
-Kevin P.

Similar Messages

  • How do you on board loop the memory using pci 6534 implementi​ng LabVIEW. Which VI do you use?

    How do you on board loop the memory using pci 6534 implementing LabVIEW. Which VI do you use?

    Hello,
    You will need to set the Pattern Generation Loop Enable attribute to ON in the DIO Parameter VI. This is
    specified on page 2-22 of the 653x User Manual (Jan 2001)
    Hope this helps,
    LA

  • How to use counters of PCI 6251 to count the number of pulses

    Hello,
    I have inputs from an optical encoder {pulse train} and i need to count the number of pulses for a short period of time to estimate the speed of the DC motor. Could you please tell me how to use the counters in PCI 6251 DAQ. I found something on DAQ STC, whichs says the input pulse should be connected to PF0 {ctr source}, but i have query where do i get the output {number of pulses counted in a particular period of time}.
    Looking for your reply.
    Thanks & Regards,
    bsnr

    Hi bsnr,
    Thanks for the post!
    In MAX (Measurement and Automation Explorer), if you find the device (DAQmx devices) and right-click, you can select pinouts - which should contain a table telling you which pins are what PFI lines.
    Then, in labVIEW, you need to generate some code to use the choosen coutner in a task to count digital edges. If your not sure on this, go to Help>>Find Examples>>Hardware I/O>>DAQmx>>Counters.. and take a look at some of the code provide.
    ps. It seems (maybe just your wording), but your expecting the counter output pin to provide the number of counted edges - this isn't the case.  
    Please let me know what you think?
    Kind Regards, 
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper)

    Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper). For example, if I am downloading a paper by smith called "Surgery" that was published in 2002, it will automatically set the file name in the download to smith- surgery 2002. I have heard pages is smart enough to do this.
    thank you

    Pages can export only its own documents. They may be exported as PDF, MS Word, RTF or Text files.
    Pages can import (ie. Open a file as, or Insert a file into, a Pages document) documents in several formats, but won't rename the document as you describe. Documents that can be Opened (eg. Text, AppleWorks 6 WP, MS Word files) are converted to Pages documents, and retain their original names, with .pages replacing the original file extension. Files that can be Inserted (generally .jpg, .pdf and other image files) become part of the existing Pages file and lose their names.
    It may be possible, using AppleScript, to extract the text you want and to Save a Pages file using that text as the filename, but that would depend in part on being able to identify which text is wanted and which is not.
    How will the script determine where the author's name begins and where it ends?
    How will the script recognize the beginning and of the title, an decide how much of the title to use in the filename?
    How will the script recognize the year of publication?
    For papers published in a specific journal, with a strict format for placing each of these pieces on information, or containing the needed information as searchable meta data in the file, this might be possible. But it would require knowledge of the structure of these files, and would probably handle only papers published in a specific journal or set of journals.
    Outside my field of knowledge, but there are some talented scripters around here who might want to take a closer look.
    Best of luck.
    Regards,
    Barry

  • How to use logger to send any output instead of the console?

    How to use logger to send any output instead of the console?

    How to use logger to send any output instead of the
    console?There are three commonly used logger inferfaces, the log4j, the java.util.loging and the Commons logging (which works with either.)
    You create a logger object, generally one for each class. Normally a private static variable points to it and it has a name equal to the FQN of the class.
    e.g.
    package org.widget;
    public class MyClass {
      private static   Logger log = Logger.getLogger("org.widget.MyClass");That's the java.uitil.Logger formula.
    Then there are method on the logger to call for various kinds of output. There' are different logging levels, priorities like SEVERE or DEBUG. When running the logs are configured to ignore messages of less than a set priority.
    You can also pass an Exception or Error to the logger which will log the stack trace.

  • How to use X-Fi Effects without selecting SB as the default sound device?

    How to use X-Fi Effects without selecting SB as the default sound device?Hello everyone,
    That's my situation.
    I have Sound Blaster X-Fi Go sound card and I am using SRS HD Audio Lab. SRS HD Audio Lab was selected as the default audio device and X-Fi effects (X-Fi CMSS-3d, Equalizer etc.) was working without any problem in Windows Xp. I have Windows 7 now and when i select SRS HD Audio Lab as the default device, Creative effects are not working, i must select "SB X-Fi Go!" to get them working but i can't use SRS HD Audio Lab in that case. SRS is also using SB X-Fi Go sound card as the output and volume adjustment on console launcher is working but something is disabling the effects. Any solutions to enable effects ?
    Thanks.

    If the kernel modules for your sound card and webcam both support the index parameter (use modinfo to find out) then adding
    options <name_of_preferred_card's_kernel_module> index=0
    options <name_of_second_card's_kernel_module> index=1
    to /etc/modprobe.d/modprobe.conf (or another modprobe conf file of your choice) should solve the problem.

  • Somebody Knows how to use Roambi with Excel spreadsheet? I leed the process. Thanks

    Somebody Knows how to use Roambi with Excel spreadsheet? I leed the process for my IPAd

    I don't even know what it is, but have you explored the support available from the developer?  http://www.roambi.com/iphone-videos.html

  • I want to interface PCI-6601 with photoelectric sensors to count the number of PCB chassis.

    I want to interface PCI-6601 with photoelectric sensors to count the number of PCB chassis. Related this I have following problems-1)Where I can connect sensors(pin numbers)?
    2)How I can acquire data from that sensors(Is is necessary to write any program? If yes, what?)
    3)In which format I will get the output data?

    Hi,
    We're going to need a little more info about your application before we can get you a compete answer.
    Your 6601 is a counter/timer board that can count and measure TTL pulses.
    You can get the pinout for your board from the user manual found here: http://digital.ni.com/manuals.nsf/websearch/dd0dbb6404bc139886256721007cf16d
    In LabVIEW, you can find shipping examples for various counter measurements by going to Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Counter Measurments.
    I would also suggest downloading and installing the latest NI-DAQ driver:
    http://digital.ni.com/softlib.nsf/websearch/90B60D5899BCCCDB86256FC700581B89?opendocument&node=132050_US
    -Sal

  • How to use PCI-CAN LS (low speed can bus card) with hi speed devices

    I'm having problems connecting the low speed card to the hi speed devices: I've setup the bus with 120 ohms resistors terminating it. The devices seem to be working fine but the can card doesn´t seem to receive or send anything. It has rth and rtl of 510ohms. The card and devices are at 125kbps. I ran the card diagnostics and it passed them. Is it really possible to use this low speed card with a hi speed bus? Don't I have to do something special for it to work on hi speed bus? Any sugestion is highly appreciated! thank you

    Hello Danut,
    I was able to set up a Low Speed CAN card to talk to a High speed port on another computer( simulating a high speed device). I did not have any termination resistors on the cable. Initially, I saw the same Comm errors you mentioned and this was because the cable I was using was internally terminated. So please check that the cables are not terminated. Also , verify that the high speed device itself is not terminated ( measure the resistance between CAN_H and CAN_L, with the cable connected and without the cable).
    Let me know if you were able to get the system up and running. Also do you have any low speed devices that can be used to test teh CAN card with?

  • How to simulate testing of PCI 5114 high speed digitizer

    I want to use PCI 5114 board and want to interface it with LABVIEW 6.0 using  NISCOPE VIs. I am a beginner to NISCOPE digitizer. I want to test my small application made for 5114. I don't have 5114 at present. Kindly tell me how can I simulate this boards and its input and Ext trigger.

    Thanks Mr. Nathan.
    My previous two posts were for me to understand how to check an application I had developed in LabView. As digitizer card is not with me at present so still some doubts are there. Let me specify in brief what I want and how I am achieving.
    A repeated pulse signal of given duration (10 microseconds) at channel 0 is to be acquired. Repetition rate is decided by the trigger pulse available at Ext. Trigger. More clearly when ever trigger pulse (approx. Every 100 microsecond)) appears I have to acquire Channel 0 signal for 10 microseconds. Sampling rate is 100 Mega Samples per second.
    I have used following blocks in given sequence: Initialize with Options (for simulation), Configure vertical, Configure Horizontal (sample rate=100MSPS, rec length=1000, num of records=1, ref positon=0), Configure trigger (edge, level=0.1, source Ch0 (for simulation purpose)), Initiate Acquisition, Multi Fetch WDT (num samples=1000).
    Please tell whether I have to put Initiate Acquisition, Multi Fetch WDT Vis in while loop or only Multi Fetch WDT in while loop so that I can fetch all the data on each trigger.

  • Is Practical to use ODBC over high speed intenet connections?

    I am developing an application using Oracle 10g as back- end and Visual Basic / Access as front-end. ODBC works fine in intranets for this purpose, but I wonder if it will work over high speed internet connections to manage several offices from the headquarters.
    Any information on the subject will be appreciated.
    Francisco

    Connecting and using database connections over a WAN can be very slow. There are usually several network conversations for even the simplest SQL statements. An application that is used to querying the database each time it needs data can be brought to its knees when the latency goes up, regardless of how much bandwidth is available.
    As long as the latency is less than 20ms, you probably won't notice too much. Once it goes over 50ms, you start to curse these database companies that don't use real streaming. At 100ms or more you start thinking that Citrix is the best invention in the world.
    Jon

  • How to use pci 6229 to generate a sine wave?

    Dear friends,
    I want to use pci 6229 to continuously generate a sine wave by 5000 sampling rate to output to drive a loudspeaker.
    Does any one can post an example so that I can learn from it?
    Many Thanks
    Probiee

    Dear Denis,
    Thank you for your reply. I have done with this following vi. please see the attachment.
    please give me some feedback with my vi.
    Many Thanks
    Probiee
    Attachments:
    danforum.JPG ‏119 KB

  • A How To: Create a Widescreen High Definition Slide Show from the Organizer

    [EDIT] I just tried another one and, weirdly, that produced an output with black bars around all four sides! So maybe this 'how to' is not 100%.  I have considered deleting the post altogether but, as it does still produce a superior slideshow quality file than the standard ones provided with Elements,  I've decided to leave it with this edit added at the top for additional info.[END_EDIT]
    In answering a question in another forum I found a nice quick way to create proper widescreen high definition slide shows from just the Elements Organizer. Apologies if this is 'old news' to readers, but I've not seen this described elsewhere so I thought I'd share it.
    The Organizer Slide Show creator, if not wanting to edit in PRE, provides a small set of Windows Media Player profiles to create .wmv files. But the best of these goes only to 1024x768 (a 4:3 monitor resolution setting). I've noticed, but never paid much attention to, that at the bottom of the Slide Size box there is a 'Browse for more' option that lets you search for additional Windows Media Encoder profiles. Investigation showed me that I can download the Windows Media Encoder software from Microsoft and create my own profiles. But even further investigation showed  me that someone had already done this! I've tested their full HD profile and it works just fine (1920x1080).
    So if you are just after a straightforward slide show (i.e. not needing PRE features) but want it displayed on your Full HD TV set here is what you do:
    Download the HD Profiles from http://forums.nexusmods.com/index.php?/topic/236895-hd-profiles-for-windows-movie-maker/. There's also a couple of useful SD sizes there as well. Save them somewhere you can easily find them.
    Create your slide show in the Organizer. Obviously use appropriately sized images for HD. There's little point outputting an HD wmv file using low resolution and/or 4:3 aspect ratio images.
    Save and Output your slide show.
    In the output dialog ('Save As a File') scroll down to the bottom of Slide Size and select 'Browse for more ...'.
    Browse to the file you downloaded in step 1 and click Open.
    Click OK and your Widescreen HD .wmv file is prepared.
    Here's a Gspot analysis of my test output file. As you can see it is an HD file with a 16:9, square pixel, aspect ratio.
    Ta Da!
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

    nealeh
    You did not mention a specific Premiere Elements Elements Organizer combo for this, so for now I will address this from the version 11, not Windows Movie Maker, perspective if I need to get version specific.
    .prx
    The Browse for More is a well known route and does offer at least one Adobe profile for 1280 x 720 16:9. I am not sure where you came up with the lesser resolution,1024 x 768 that you mentioned. The Windows Media profiles have existed for several versions of Elements Organizer. Those Adobe ones that you do not see under Output Save As A File Movie (.wmv), can be found in the Windows 7 or 8 64 bit path
    Local Disc C
    Profile Files (x86)
    Adobe
    Elements 11 Organizer
    Assets
    Locale
    en_US
    tv_profiles
    in the tv_profiles Folder are included the .prx files
    .....10. 640 x 480 Enhanced Definitions
    .....12. 852 x 480 Widescreen Enhanced Definition
    .....14 1280 x 720 Widescreen High Definition
    A homemade 1920 x 1080 16:9 30 frames per second .prx has long been sought but not that easily produced by many using with the Windows Media Encoder Editor. Apparently you have found one online, and it does get accepted into the Premiere Elements 11 Browse for More choices. And, if you do a gspot readout for the wmv output from Elements Organizer 11, it will display all the "right" properties that you hoped for and that are shown in your screenshot.
    The bottom line, why bother with the wmv slideshow? If you take your original photos and size them for 1920 x 1080 16:9, use them in the Elements Organizer 11 Slideshow Editor (Crops used in preferences), use the Edit with Premiere Elements Editor command, what you get in Premiere Elements 11 is full and good in all regard. Have you tried it?
    I can see your interest if this is HD going to HD (AVCHD on DVD or Blu-ray disc format on Blu-ray disc, but I do not see this for an Elements Organizer Slideshow that is going to DVD-VIDEO widescreen.
    More later.
    ATR

  • HT201257 I have an iMac (Mid 2007) upgraded to Lion OS. My fan runs all the time at high speed. I tried the SMT reset without results. I could not try the AHT test because it is not on my computer or install disk. Any suggestions what I can do to correct

    I have an iMac (Mid 2007) upgraded to Lion OS. My fan runs at high speed all the time. I reset the SMT without results. I had no way to do the hardware test.
    Can I fix this high fan speed?

    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time, then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    If the above doesn't help then create a new user account. Log into the new account. Does this fix the problem?

  • How to use a name="top" Hello I'm at the top /a tags in apex url ?

    I have a decode statement which creates link to different pages as below
    'f?p=107:1:&SESSION.::NO:::' and it works good.
    Now what I need to do is, I have 6 graphs in 6 different regions on a same page.
    so depending on the options I click, I need to reach to that particular graph using the anchor tags.
    Can you let me know how to do it in APEX ?
    Actually I dont know
    1. How to use these anchor tags in url's in APRX
    2. As well as how to put them on the same page at 6 different regions which I have created.
    Appreciate if someone can give me a good example for using it in apex.

    I have updated the region title with the anchor tags
    Now when I click on the link, it gets resolved to
    http://wsus01697353.am.adecco.net:7777/pls/apex/f?p=107:1:1063560330989286::DEBUG:::%23O2KP1
    instead of
    http://wsus01697353.am.adecco.net:7777/pls/apex/f?p=107:1:1063560330989286::DEBUG:::#O2KP1
    If i directly put in the above URL in the browser it works but when I try to get through the link it dose not work.
    Any suggestion ?

Maybe you are looking for

  • ERROR: Key Figure Planning

    Hi All, I’m very new to SEM-BPS, can someone help me in resolving the following issues. I want to do Key Figure Planning for Marketing & Campaign Planning in CRM. •     I created few planning areas with all the required elements in BW-SEM-BPS. •     

  • Can I increase the capacity of Time Machine with an external hard drive connected to Time Capsule?

    Can I increase the capacity of Time Machine with an external hard drive connected to Time Capsule via the USB port?  My current Time Machine has a total capacity of 1TB.  I'd like to double or triple its memory.  I don't want to use the external hard

  • OWB-OWF - Process Flow Deployment - Database Link

    Hello there, This post is basically related to my problem with Process Flow deployment. Could someone please shed some light on the following: When we create a Process Flow, during this process OWF creates a Database Link. For some reason, this link

  • Query for required out put as mention below in SQL

    HAI.. all I HAVE A TABLES LIKE SQL> SELECT *FROM A; PCK PN 1 BIKES 2 COMPONENTS SQL> SELECT *FROM B; PSC PCK SBNAME 1 1 RASEBAIKE 2 1 SPEEDBIKE 3 2 MOTHERBORD 4 2 HARDIDSK 5 1 SPORTSBIKE 6 2 RAM SQL> SELECT PN,SBNAME,COUNT(*) FROM A,B WHERE A.PCK=B.P

  • UDev rules as packages?

    Hi everyone! I've a Shuttle-Barebone with a LCD display for Freevo. Freevo includes a plugin to access this LCD display and shows some status information, unfortunately the permissions on the device are to restrictive. To remedy the problem I've writ