Can I count the PWM pulses and note the timer value simulataneously.

Im using 6024E. I want to be used for 1-phase motor control. I could generate PWM pulses and read the feedback analog current, but I am unable to read the velocity of the motor. Counting PWM pulses(generated by sensor for each degree of rotation) and reading the digital timer value simultaneously to calculate velocity of the motor. If any body can give the solution it will be appreciated
Attachments:
motor_control_ver1.0.llb ‏210 KB

Hello;
In case you can read a digital pulse train that would give you the speed of the motor, you can use one of the counters of the DAQ board you have to accomplish that.
You can configure the counter as buffered event counter, hook up the digital pulse train to the counter gate, and since you have the frequence of the internal timebase that is connected to the counter input, you can calculate the speed of the motor by having the count values that are stored at the event of a gate input pulse.
Hope this helps.
Filipe A.
Applications Engineer
National Instruments

Similar Messages

  • How can i count the times one TAG occurred in a XMLTYPE?

    hi all
    is there method i can use to count the times one specified TAG occurred in a XMLTYPE?
    i just konw the method getClobVal,existNode,extract,...
    but none seems can help this
    anyone can help me?

    i see
    i think i know how to use Xpath func
    but when i try the following statement on sqlplus( Release 9.2.0.4.0),it says :"the XPATH is not supportted"
    declare
    l_xml xmltype;
    num number;
    begin
    select XML_BODY into l_xml from KD_SHIMEN_SEISEI w where FILE='SMNDATA';
    --get value OK!
    num := xmltype.extract(l_xml,'/Tag1[1]/Tag2/text()').getNumberVal();
    --sum or count ,failed,Xpath not support?
    num := xmltype.extract(l_xml,'sum(/Tag1/Tag2/text())').getNumberVal();
                   DBMS_OUTPUT.PUT_LINE(num);
    end;
    can u explain this?

  • How can I select the time values of a signal and connect them to the y-input of a divide command?

    Hi,
    I have an analog signal connected with a threshold peak detector. The counted peaks shall be divided by the total time of the recorded signal. My problem is, I don't know how to connect just the the x-values, i.e. the time component of the signal, to the divide command. I have no idea how to "split" the signal so that I don't have the whole signal but just the time in seconds as an output of the measured or filtered signal sub-VI, respectively.
    Does anyone have a hint?
    Thanks for your help,
    Philipp

    Hi Phillipp,
    do you mean you have a waveform and you want to get the components? In this case "Get Waveform Components" should work.
    Mike

  • 1. How can we search the Forum to see if a question has already been asked? 2. Can I send a Web Page and not just its Link?

    1. How can we search the Forum to see if a question has already been asked? Search goes back to Help and out of the Forum.
    2. Can I send a Web Page and not just its Link? Explorer allows it.

    1. How can we search the Forum to see if a question has already been asked? Search goes back to Help and out of the Forum.
    2. Can I send a Web Page and not just its Link? Explorer allows it.

  • Can i get the time capsule to automatically back up my file from my Mac Book Air but have certain files which are only stored on the time capsule and not the computer? Then can i access these files only on the time capsule without connecting it?

    Can i get the time capsule to automatically back up my file from my Mac Book Air but have certain files which are only stored on the time capsule and not the computer? Then can i access these files only on the time capsule without connecting it?

    igonneau wrote:
    Can i get the time capsule to automatically back up my file from my Mac Book Air but have certain files which are only stored on the time capsule and not the computer?
    You can, but how are you going to back up those other files?  When (not if) your Time Capsule fails, you risk losing them.  See #Q3 in Using Time Machine with a Time Capsule for details.
    Then can i access these files only on the time capsule without connecting it?
    Not sure what you mean.  You have to connect a computer, either via Ethernet cable or wirelessly, to read or write to the disk. 

  • Why can I print from my iPhone and not my iPad? I have been able to do it in the past and have tried a hard reset but it can no longer find the printer.

    Why can I print from my iPhone and not my iPad? I have been able to do it in the past. I have tried a hard reset but it still cannot find the printer.

    In addition to rebooting the router and the iPad, I would reset the printer as well. Unplug the printer from power and do the same with the router. Leave the router unplugged for about 30 seconds. Plug the router in first and let it totally start up, plug the printer in again, and then reboot/reset the iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If that doesn't work, you can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. Your WiFi passwords, location services, device preferences all have to be re-entered. You will not lose any data or media whatsoever.

  • I have a Time Capsule with 2tb of storage, and an I-Mac with 500Gb. (which is at capacity) Can I use the Time Capsule to store data in addition to backing up the hard drive?

    I have a Time Capsule with 2tb of storage, and an I-Mac with 500Gb. (which is at capacity) Can I use the Time Capsule to store data from my hard drive that I want to access later in addition to backing up the hard drive?

    Can I use the Time Capsule to store data from my hard drive that I want to access later in addition to backing up the hard drive?
    Yes, but if you move the "original" data on your iMac to the Time Capsule....then the "original" data is now on the Time Capsule disk. 
    When...not if...the Time Capsule disk has a problem, you have no backups for this data.
    Perhaps a much safer plan might be to add an external hard drive attached directly to your iMac. Then, move the data to that drive from the iMac.
    Now, Time Machine will back up both your iMac and the external hard drive so you have "originals" on one drive and backups on another. Would that plan work for you?

  • Using iphone 4s that is still on ios 6.1.3, is there any way i can update to ios 7 only and not ios 8?

    I had to borrow my mom's iphone 4s cause my iphone 5 died on me. this 4s is still on iOS 6.1.3 is there any way i can just upgrade to iOS 7 and not iOS8? I have some apps that won't work on the current ios version installed.

    Afraid not. iOS 8 only.

  • How to get my images always order by file name, and not by time of captur, in all the folders in the library?

    How to get my images always order by arquive name, and not by time of captur, in all the folders in the library?
    Sorry for the poor english, but im portugues.
    In the library we can change the order of classification of image by, time of capture, name of file etc... I'm wondering if its possible define to be always by the name of file.
    It ´s possible?
    And i have other question, in print label we have an option to auto rotate to feet in page to have the image using the maximum area in the page (auto rotate, zoom etc), its possible to change the orientation of the rotation to be always in  the other direction?

    The Muvos are USB Mass Storage devices and do not have the ability to display track information based upon ID3 tags.
    The Zens all read and display track info based upon ID3 tag information that is either gathered from an online source or entered by the end-user.
    If you want the track information displayed instead of the ID3 tag information, you could edit the ID3 tags and rename the title to whatever you have as the file name. Not sure why your file names would differ so much from the ID3 tag info though, almost all of my content has the same name for the filename as it does on the ID3 tag title.

  • I need to reset my security questions, but can I  message  support  by text and not call or if you can tell me how to reset my questions here that will be great and I don't have a rescue email.

    I need to reset my security questions, but can I  message  support  by text and not call or if you can tell me how to reset my questions here that will be great and I don't have a rescue email.

    If you've forgotten the answers, you can't do that yourself. Click here, tell the iTunes Store staff that you can't call, and see what they say.
    (109704)

  • Since I updated to iPhoto 9.5.1, my library is not listed or available. How can I find it? Can I use the time machine to restore it?

    Since I updated to iPhoto 9.5.1, when I open the program, I am now asked what library i wish to use and none are listed. I can not find my photos. How can I find and restore my photos. Can I use the Time Machine to do this?

    You may be launching an older version of iPhoto from your Dock. Try to launch iPhoto directly from the Applications folder. Does that find a library to open?
    If not, search with Find Any File for traces of your iPhoto library, as described by Old Toad in this post:
    Re: My iPhoto Library disappeared...how do I get it back?
    Download and run Find Any File to search for a file with "ThumbJPGSegment" in the file name. These are files common to all versions of  iPhoto libraries.
    FAF can search areas that Spotlight can't like invisible folders, system folders and packages. If there's a library hiding somewhere on your hard drive FAF will find it.
    If that does not work, try to restore from your backup:
    The photos were stored on the iMac hard drive. I do have the Time machine with backup on my Airport WIFI.
    To restore from Time Machine, you need to open the folder, where your iPhoto library should be, before you enter Time Machine. Then go back in time along the timeline to the right of the TimeTunnel window.

  • I just updated pages, I can't count the amount of words with space anymore. Can anybody help me?

    I just updated pages, I can't count the amount of words with space anymore. Can anybody help me?

    Yes me too, tried re setting and enabling changes but no agree button anywhere?

  • How can i get the time and result together show in one Array or in Cluster?

    hello everyone i am a new user .I want to get the time and voltge form a Generater. How can i get the time and result together show in one Array or in Cluster?When i selecte the first(or third...) result then in the front panel display the time and the voltge.Thank you!
    I post the time and voltge NOT together photo
    Attachments:
    12345.GIF ‏54 KB

    You can create an array of clusters with one element being the time and the other being the voltage, like so (using the "Get Waveform Components" function):
    Message Edited by smercurio_fc on 10-17-2007 03:15 PM
    Attachments:
    pic.PNG ‏11 KB

  • My backup to Time Capsule is taking over 4 million days. How can I shorten the time? I am not able to connect through ethernet. How do I fix this?

    My backup to Time Capsule is taking over 4 million days. How can I shorten the time? I am not able to connect through ethernet. How do I fix this?
    Not only that but my Mac Pro keep running and does not stop, my Address book has a blue light under it but wont open, the light for my monitor in the bottom right corner wont turn on or off. Please need help...

    It sounds like there is an issue with the Mac itself.
    Use the verify disk A5 in troubleshooting.
    http://pondini.org/TM/Troubleshooting.html
    Even if you cannot connect by ethernet, at current location.. you can simply disconnect the TC from the network and bring it to the Mac and plug it in by ethernet. The TC can be reset if you haven't got a suitable current setup (save previous setup before you change it) and run just as backup device.. do the backup and then return it to the network.
    If this is just a standard incremental backup.. then something has broken. The issue is not the TC pe se but failure in hardware somewhere.

  • HT1551 My appletv is properly connected to wireless network, everything looks all right but it can't adjust the time and date. As a result it doesn't work.

    My appletv is properly connected to wireless network, everything looks all right but it can't adjust the time and date. As a result it doesn't work.

    Welcome to the Apple Community.
    Assuming this is not the first time you have used your Apple TV
    You might try restarting the Apple TV by removing ALL the cables for 30 seconds.
    Also try restarting the router.
    If the problem persists, try a restore, you may want to try the previous procedures several times before doing this.
    If restoring from the Apple TV doesn't help, try restoring from iTunes using a USB cable.
    If this is a new Apple TV, in addition to trying the above, it may also be that your network router is not allowing access to the timeserver, check that your router allows access over port 123.

Maybe you are looking for