Incorrect pulse reading

I'm reading a digital input from a light sensor that pulses when a three-bladed fan rotates (3 times/rev). This pulse is only appearing on screen as about once every 4 seconds even though the motor is rotating at near 8000rpm. (400 pulses/second) I have tried to increase the frequency of samping but the DAQ assisstant only lets me choose "1 sample on demand" Does anybody know how I can overcome my problem? Also i would like to convert the pulses into angular veloicty but I am having trouble. I don't know how to measure the time between pulses. If anyone has any ideas, they would be greatly appreciated.
Tom

Hi Tom,
I've already posted an answer to your questions on another thread, which you can find here:
http://forums.ni.com/ni/board/message?board.id=170&message.id=175097#M175097
What DAQ card are you using, and what version of the DAQmx drivers?
Regarding the pulses, what do you think is the duty cycle of the pulses coming from the LED (ie, what's the 'on' time relative to the 'off time'). You'll need to know this to enable you to set the correct sampling rate.
For example, consider your fan rotation as 300 sample 'steps', and the LED beam is broken for 10 'steps' for each fan blade (assuming 3 fan blades) - to reliably 'see' the beam breaks you will need to sample at the very minimum 30 times per revoultion, if possible more. Therefore, if the max speed of your fan is 8000rpm, you'll need to take a very minimum of 8000/60 = 133 revs worth of samples a second, or 133x30 = approx 4000 samples per second to reliably read the speed at the maximum velocity.
To calculate the time difference between pulses, you could try using the Timing and Transition Measurements Express VI (which can be found on the Express VI sub-palette), this VI can return various properties of the signal you feed it, including the period, frequency, pulse duration and duty cycle.
I hope this helps, as I suggested on the other post you may be better off using the counter function if your board supports it. Links to sections of NI’s website discussing the use of counters can be found on the other thread (see link above).
Best wishes,
Mark
Applications Engineer
National Instruments

Similar Messages

  • Incorrect power reading?

    Several times in recent weeks, my MBP has a battery reading of ~20% or so and suddenly dies. I don't get the standard warning message before it dies, either. It doesn't seem to be dying quicker than it has in the past, it just seems like the battery reading is incorrect.
    A few weeks ago, I took my MBP into Apple for a power cable and recharging issue (the l-shaped power adapter wasn't working with my older MBP). During the troubleshooting process, the employee unplugged the battery itself and reset my power settings. Could that have had an effect on the battery power reading itself? Is there a way to fix this at home?
    Thanks!

    Have you ever calibrated your battery(ies) per Apple's instructions? This is necessary to ensure the battery and your MacBook are in sync. Battery calibration basically involves fully discharging and then fully charging your battery. This lets your MacBook accurately estimate how much time is remaining on a charge. If you have not ever calibrated your battery, your MacBook may "think" it has more time than it really does so you never actually get the warning before the battery runs out:
    http://support.apple.com/kb/ht1490

  • Bug: Keywords behave incorrectly after "Read Metadata from File"

    (Happens in LR3.4 RC and probably also in previous versions... but I am not sure if it happened in LR2)
    The problem seems tro be somthing like de-sync of database status and what we see on the screen.
    1) Let's say we have a photo with keyword "abc"
    2) Click in the Keyword List on the arrow around the "abc" keyword to show only photos with this keyword (single one), leave the filter on this settings
    2) Save Metadata to File
    3) Edit XMP in an external application, add new keyword "def"
    4) Read Metadate from File
    5) Now what happens is: The photos disappers from the screen as if it lost the "abc" keyword (weird), but if you look at the Keyword List, the "abc" keyword has still 1 photo attached to it. Also, if you release the filter and find the photo, it clearly has the "abc" and "def" keywords in the Keywording panel. And you can search for this keyword in the text filter (works correctly), but if you click on the arrow around the "abc" keyword, the photo is not shown.
    6) If you restart the Lightroom, it will work correctly again.
    I have an own application that is able to modify the XMP and the modifications may not be perfect, but in my opinion, this shouldn't happen when reading the metadata. If any developer is reading this, I can supply a file with original and changed metadata for debugging.
    It would be great it this could be resolved.
    Thanks!

    Please do report your find with the details you state (well done!) here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Thanks.........

  • Why do some letters render incorrectly in Reader or PDFL when rotated?

    I've noticed that some fonts I'm using don't display correctly in Adobe Reader (or when printed using a Adobe PDF Library based RIP) if they are rotated. Whether I pre-rotate the PDF in iText as I did before we sent a similar file to our printer, or whether you view the right side up PDF in Adobe Reader and rotate the view, the some letters look wrong whenever they're dispalyed sideways.
    Example PDF - this just has one big letter A: http://cl.ly/1c1q0l3F3f2s
    Here's the problem. You can see that the bottom left of the A is screwed up when it's rotated. To see this with the above PDF, open it in Reader and go to View > Rotate View.
    This doesn't happen in other PDF readers such as Chrome's but at the end of the day, our printer uses Adobe based technology and our prints come out wrong. Not rotating is not an option.
    QUESTIONS:
    1. Why is this happening?
    2. How can I fix this? Is this a bug in the Adobe PDF Library?

    There's a Bug which causes Firefox to print '''gibberish''' or '''garbeled''' characters for certain fonts, with certain print drivers.
    https://bugzilla.mozilla.org/show_bug.cgi?id=454532
    ''(Please don't comment in that Bug report unless you can provide a patch to fix the problem.)''
    https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

  • Incorrect thermocouple reading

    I've got a NI PXI-1033 with a NI TB-2709 block and I'm running Labview 9. I'm simply trying to read the ambient temperature with a thermocouple from any of the eight channels. Unfortunately, when I look at the reading in the Measurement and Automation Explorer task menu the value oscillates around with the difference from the peak to valley of about 50 deg C. I've tested the thermocouple on a multimeter and it gives a good reading. What's wrong. Please help.
    Solved!
    Go to Solution.

    It looks like you might have a ground reference issue.  Check whether you have a differential signal or a ground referenced signal and check that the setup in MAX reflects this.  Otherwise, you are measuring a voltage with reference to another voltage that is not attached to anything.  You measure a strange signal, because there is always loose cross-talk and this unattached reference is loosely tied to something, but as charge moves around, this reference shifts.  There are some good knowledgebase articles about single-ended (referenced and unreferenced) and differential measurements on the ni.com site.

  • SOFTWARE INSTALLED INCORRECTLY, PLEASE READ

    I am just about to download music to my ipod and when it tries to download this message comes up
    "The software required for communicating with the ipod is not installed correctly. Please reinstall itunes to install the i'pod's software"
    I uninstalled itunes and reinstalled it from the disc and also i updated to version 7.1.1, it still will not go away. What is there left to do?

    i figured it out myself =p

  • How do you cyclicly trigger data acquisition after n pulses counted

    Hello all, please forgive my ignorance because I am very new
    to lab view and data acquisition. I am working on a system which is going to
    scan an object and produce an image. The gimble that I am scanning the object
    with is an X-Y type of gimble with stepper motors on each axis. The stepper
    motor controller will output pulses real time to indicate the real time
    position of the gimble in each axis. What I need to be able to do is count
    pulses from the stepper motor controller and then output a trigger pulse to
    trigger the data acquisition in a buffered mode when N number of pulses have
    passed and then generate another pulse to stop the acquisition after another N
    number of pulses have passed. The controller puts out 10,000 pulses per degree
    of travel. The velocity that I am traveling at is 20 degrees per second, so
    timing here is really important. I need to be able to utilize the speed of the
    daq card and not so much the speed of the computer to iterate through a loop. I
    have tried using the count down feature in the NIDAQ MX library but it does not
    appear to be useful to me. I set it up and it will count down but once it hits
    zero it continues to count down. My expectation was that it would either
    restart the down count or it would stop. I was expecting some sort of trigger
    event to take place once the count reached the zero point but I did not observe
    any sort of event taking place. Once again my knowledge and background is
    really limited so I could be missing something really fundamental here. I have
    tried using some of the legacy functions which would enable me to do exactly
    what I want to do but they do not seem to work with my daq card. I have a NI
    PCI-6122 and if anyone has any knowledge on how to get this type of card to
    talk to some of the non MX functions I would be more than happy to hear how. It
    seems to me though, that I am limited to the MX functions which I can not
    really translate into what I have learned I can do with the legacy functions. I
    thank you all once again for taking the time to read this I and I will
    appreciate any and all responses that can be helpful.
    ~ Randy Brown

    I have run a few more tests and obtained some data per the request of a telephone support engineer. I have some scope screen shots that might be able to shed some light on what is going on. I will provide a brief description of what I discovered before I show the resulting data. I discovered that using the number of up ticks and down ticks suggested does not yield the right timing for the clock pulses that I will need for triggering my data acquisition. When I use 55 low ticks and 2 high ticks as my settings I end up getting a pulse every 32 pulses read on the PFI line. I get the same results when I interchange the numbers, for example, when I set the program up for 2 low ticks and 55 high ticks I get the same resulting one clock pulse per 32 pulses on the PFI line. I started playing with the numbers and come to find that I was able to generate a pulse every 57 pulses in this setup. I set the high ticks to 2 and the low ticks to 71 and once I did that it generated a pulse every 57 pulses in. The results are not ideal though, a number of things happen within the first second of operation. One mode of operation the clock output pulse latches after a few pulses generated. Another mode of operation that I noticed was that it would generate n number of pulses and then just stop even though the program was still running. The results I am getting are not reproducible when it comes to the long-term operation of the clock pulse generation but the bottom line is not matter what happens the end result after 1 second is not what is expected. I will show below screen shots of my program and also scope shots for the respective modes of operation.
    Front End interface
    Block Diagram
    55 High ticks and 2 low ticks results
    55 low ticks and 2 high ticks results
    77 Low ticks and 2 high ticks results
    Undesired Latch after 1 second of operation
    N number of pulses generated and stopped while program was still running
     It appears the the long term operation (and when I say long term I mean after a second) is intermittent, it either latches high or low after a random number of pulses are generated on the clock output. I am not sure why this is happening. The one setup that I came up with that generates a pulse every 57 pulses is not going to work for the setup that I have I think I would have to reduce the 71 to 69 in order to compensate for the two pulses that happen while the output pulse of the clock is high. To be honest I have no idea what is going on and I am starting to wonder about my daq card. Being that it is not really reproducing the same results I am starting to think maybe something is wrong with it. Another possibility is that it might be the bnc 2110 that I am using. I will try another one tomarrow and see if this problem persisits. I am leaving now so I won't be able to try that as of yet but I wanted to pass this info and data along such that maybe you will notice something and be able to lead me in the right direction. Thank you again for all of your help.
    ~ Randy Brown

  • Adobe Reader users are occasionaly presented with Standard when published via Citrix XenApp 5.0

    We are publishing Adobe Standard to 4 users over 6 servers and have both Acrobat Standard and Reader installed on each Citrix server.  During installation of Standard, Reader was selected as the default application.
    Regardless of this configuration, infrequently the Citrix servers will present Acrobat Standard to users that are not listed as users of the application.  So far, we have not noticed any patterns of behavior and have noted the following:
    Although, all servers (1-6) have incorrectly presented Reader users with the Standard application at least once, only a few of the servers (1, 4, & 5) frequently violate the configuration settings;
    Reader users and Standard users can coexist on the Citrix server and be presented the appropriate application (i.e. 5 reader users can be presented Reader and 5 Standard users can be presented Standard at the same time).
    Citrix servers can present Acrobat Standard to Reader users even if there are no users of Standard accessing the server.
    Users are starting to experience two types of failures:a. Acrobat fatally crashes with the following event:
    Faulting application Acrobat.exe, version 9.2.0.124, time stamp 0x4ac7308f, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x0c094e16, process id 0x2aa8, application start time 0x01caf2b4e54acde3.
           b. Adobe Reader will simply stop responding and error out when being accessed
    Please submit any suggestions you might have for configuring these two applications to nicely coexist on a Citrix server.

    Adobe Reader was installed and running on all Citrix servers since their inception over a year ago.
    Recently, we installed Adobe Standard on each server and during installation Adobe Standard asked whether Reader or Standard should be used as the default program.  Adobe reader was selected and 80-85% of the time, the Citrix servers observe this rule.
    On other occasions, when users with access to Reader open a PDF, Citrix will present Adobe Standard instead of the default program.  At first, I thought it might be caused by a user with Standard already open but further testing proved Adobe Standard can be presented to a user of Reader even if there is no open session of Standard.

  • How to get pulse readout from BPM analysis in biomed startup kit

    Hello,
    We are trying to obtain an instantaneous pulse reading from a Vernier Go EKG sensor.  We tried writing our data to an array in a for loop, then exporting the array to the "array in" node on the BPM analysis tool.  We would like a chart displaying the EKG (which we have) and the instantaneous pulse readout (which we get a readout that says not a number).  HELP!
    Attachments:
    EKG.vi ‏18 KB

    Hi TFleck!
    I want to premise my response by saying Steve.J had a great suggestion, there might be users in the Biomedical User Group who can help you with this hardware or maybe you could contact Vernier as the Vernier Go EKG sensor and the VI in your attached file uses SubVIs supported by Vernier. In addition, it looks like Vernier provides some tutorials.
    Given that suggestion and that I do not have this hardware to test with, there are a couple of things in the VI that look like they could be related to your issue. First, the parameters cluster line from the Read VI output is not connected through to the BPM VI. You might have to wire the parameters so the BPM VI gets the correct configuration data. Second, the BPM VI has an input called Analysis method and the default for that terminal is point-by-point analysis. It looks like the VI you wrote is using data array analysis, so I would recommend creating a constant on that terminal and trying Analyze Data Array.
    Hopefully that helps, but if not, maybe someone in the Biomedical User Group knows more about the device or you can contact Vernier and they can support you with some examples.
    Milan

  • LessFilter and  ReflectionExtractor API giving incorrect results

    I am using Oracle Coherence version 3.7. We are storing DTO objects in cache having "modificationTime" property/instance variable of "java.util.date" type. In order to fetch data from cache passing "java.util.date" variable as input for comparison, LessFilter and ReflectionExtractor api's are used. Cache.entryset(filter) returns incorrect results.
    Note: we are using "com.tangosol.io.pof.PofWriter.writeDateTime(int arg0, Date arg1) " api to store data in cache and "com.tangosol.io.pof.PofReader.readDate(int arg0)" to read data from cache. There is no readDateTime api available ?
    We tested same scenario updating DTO class. Now it has another property in DTO of long(to store milliseconds). Now long is passed as input for comparison to LessFilter and ReflectionExtractor api's and correct results are retrieved.
    Ideally, java.util.Date or corresponding milliseconds passed as input should filter and return same and logically correct results.
    Code:
    1) Test by Date: returns incorrect results
    public void testbyDate(final Date startDate) throws IOException {
    final ValueExtractor extractor = new ReflectionExtractor("getModificationTime");
    LOGGER.debug("Fetching records from cache with modTime less than: " + startDate);
    final Filter lessFilter = new LessFilter(extractor, startDate);
    final Set results = CACHE.entrySet(lessFilter);
    LOGGER.debug("Fetched Records:" + results.size());
    assert results.isEmpty();
    2) Test by milliseconds: returns correct results
    public void testbyTime(final Long time) throws IOException {
    final ValueExtractor extractor = new ReflectionExtractor("getTimeinMillis");
    LOGGER.debug("Fetching records from cache with timeinMillis less than: " + time);
    final Filter lessFilter = new LessFilter(extractor, time);
    final Set results = CACHE.entrySet(lessFilter);
    LOGGER.debug("Fetched Records:" + results.size());
    assert results.isEmpty();
    }

    Hi Harvy,
    Thanks for your reply. You validated it against a single object in cache using ExternalizableHelper.toBinary/ExternalizableHelper.fromBinary. But we are querying against a collection of objects in cache.
    Please have a look at below code.
    *1)* We are using TestDTO.java extending AbstractCacheDTO.java as value object for our cache.
    import java.io.IOException;
    import java.util.Date;
    import com.tangosol.io.AbstractEvolvable;
    import com.tangosol.io.pof.EvolvablePortableObject;
    import com.tangosol.io.pof.PofReader;
    import com.tangosol.io.pof.PofWriter;
    * The Class AbstractCacheDTO.
    * @param <E>
    *            the element type
    * @author apanwa
    public abstract class AbstractCacheDTO<E> extends AbstractEvolvable implements EvolvablePortableObject {
        /** The Constant IDENTIFIER. */
        private static final int IDENTIFIER = 0;
        /** The Constant CREATION_TIME. */
        private static final int CREATION_TIME = 1;
        /** The Constant MODIFICATION_TIME. */
        private static final int MODIFICATION_TIME = 2;
        /** The version number of cache DTO implementation **/
        private static final int VERSION = 11662;
        /** The id. */
        private E id;
        /** The creation time. */
        private Date creationTime = new Date();
        /** The modification time. */
        private Date modificationTime;
         * Gets the id.
         * @return the id
        public E getId() {
            return id;
         * Sets the id.
         * @param id
         *            the new id
        public void setId(final E id) {
            this.id = id;
         * Gets the creation time.
         * @return the creation time
        public Date getCreationTime() {
            return creationTime;
         * Gets the modification time.
         * @return the modification time
        public Date getModificationTime() {
            return modificationTime;
         * Sets the modification time.
         * @param modificationTime
         *            the new modification time
        public void setModificationTime(final Date modificationTime) {
            this.modificationTime = modificationTime;
         * Read external.
         * @param reader
         *            the reader
         * @throws IOException
         *             Signals that an I/O exception has occurred.
         * @see com.tangosol.io.pof.PortableObject#readExternal(com.tangosol.io.pof.PofReader)
        @Override
        public void readExternal(final PofReader reader) throws IOException {
            id = (E) reader.readObject(IDENTIFIER);
            creationTime = reader.readDate(CREATION_TIME);
            modificationTime = reader.readDate(MODIFICATION_TIME);
         * Write external.
         * @param writer
         *            the writer
         * @throws IOException
         *             Signals that an I/O exception has occurred.
         * @see com.tangosol.io.pof.PortableObject#writeExternal(com.tangosol.io.pof.PofWriter)
        @Override
        public void writeExternal(final PofWriter writer) throws IOException {
            writer.writeObject(IDENTIFIER, id);
            writer.writeDateTime(CREATION_TIME, creationTime);
            writer.writeDateTime(MODIFICATION_TIME, modificationTime);
        @Override
        public int getImplVersion() {
            return VERSION;
    import java.io.IOException;
    import com.tangosol.io.pof.PofReader;
    import com.tangosol.io.pof.PofWriter;
    * @author nkhatw
    public class TestDTO extends AbstractCacheDTO<TestIdentifier> {
        private Long timeinMillis;
        private static final int TIME_MILLIS_ID = 3;
        @Override
        public void readExternal(final PofReader reader) throws IOException {
            super.readExternal(reader);
            timeinMillis = Long.valueOf(reader.readLong(TIME_MILLIS_ID));
        @Override
        public void writeExternal(final PofWriter writer) throws IOException {
            super.writeExternal(writer);
            writer.writeLong(TIME_MILLIS_ID, timeinMillis.longValue());
         * @return the timeinMillis
        public Long getTimeinMillis() {
            return timeinMillis;
         * @param timeinMillis
         *            the timeinMillis to set
        public void setTimeinMillis(final Long timeinMillis) {
            this.timeinMillis = timeinMillis;
    }*2)* TestIdentifier.java as key in cache for storing TestDTO objects.
    import java.io.IOException;
    import org.apache.commons.lang.StringUtils;
    import com.tangosol.io.AbstractEvolvable;
    import com.tangosol.io.pof.EvolvablePortableObject;
    import com.tangosol.io.pof.PofReader;
    import com.tangosol.io.pof.PofWriter;
    * @author nkhatw
    public class TestIdentifier extends AbstractEvolvable implements EvolvablePortableObject {
        private String recordId;
        /** The Constant recordId. */
        private static final int RECORD_ID = 0;
        /** The version number of cache DTO implementation *. */
        private static final int VERSION = 11660;
        @Override
        public void readExternal(final PofReader pofreader) throws IOException {
            recordId = pofreader.readString(RECORD_ID);
        @Override
        public void writeExternal(final PofWriter pofwriter) throws IOException {
            pofwriter.writeString(RECORD_ID, recordId);
        @Override
        public int getImplVersion() {
            return VERSION;
        @Override
        public boolean equals(final Object object) {
            if (object instanceof TestIdentifier) {
                final TestIdentifier id = (TestIdentifier) object;
                return StringUtils.equals(recordId, id.getRecordId());
            } else {
                return false;
         * @see java.lang.Object#hashCode()
        @Override
        public int hashCode() {
            return recordId.hashCode();
         * @return the recordId
        public String getRecordId() {
            return recordId;
         * @param recordId
         *            the recordId to set
        public void setRecordId(final String recordId) {
            this.recordId = recordId;
    }*3) Use Case*
    We are fetching TestDTO records from cache based on LessFilter. However, results returned from cache differs if query is made over property "getModificationTime" of type java.util.Date or over property "getTimeinMillis" of type Long(milliseconds corresponding to date). TestService.java is used for the same.
    import java.io.IOException;
    import java.util.Collection;
    import java.util.Date;
    import java.util.Map;
    import java.util.Set;
    import org.apache.log4j.Logger;
    import com.ladbrokes.dtos.cache.TestDTO;
    import com.ladbrokes.dtos.cache.TestIdentifier;
    import com.cache.services.CacheService;
    import com.tangosol.net.CacheFactory;
    import com.tangosol.net.NamedCache;
    import com.tangosol.util.Filter;
    import com.tangosol.util.ValueExtractor;
    import com.tangosol.util.extractor.ReflectionExtractor;
    import com.tangosol.util.filter.LessFilter;
    * @author nkhatw
    public class TestService implements CacheService<TestIdentifier, TestDTO, Object> {
        private static final String TEST_CACHE = "testcache";
        private static final NamedCache CACHE = CacheFactory.getCache(TEST_CACHE);
        private static final Logger LOGGER = Logger.getLogger(TestService.class);
         * Push DTO objects with a) modTime of java.util.Date type b) timeInMillis of Long type
         * @throws IOException
        public void init() throws IOException {
            for (int i = 0; i < 30; i++) {
                final TestDTO dto = new TestDTO();
                final Date modTime = new Date();
                dto.setModificationTime(modTime);
                final Long timeInMillis = Long.valueOf(System.currentTimeMillis());
                dto.setTimeinMillis(timeInMillis);
                final TestIdentifier testId = new TestIdentifier();
                testId.setRecordId(String.valueOf(i));
                dto.setId(testId);
                final CacheService testService = new TestService();
                testService.createOrUpdate(dto, null);
                LOGGER.debug("Pushed record in cache with key: " + i + " modTime: " + modTime + " Time in millis: "
                    + timeInMillis);
         * 1) Fetch Data from cache based on LessFilter with args:
         * a) ValueExtractor: extracting time property
         * b) java.util.Date value to be compared with
         * 2) Verify extracted entryset
         * @throws IOException
        public void testbyDate(final Date startDate) throws IOException {
            final ValueExtractor extractor = new ReflectionExtractor("getModificationTime");
            LOGGER.debug("Fetching records from cache with modTime less than: " + startDate);
            final Filter lessFilter = new LessFilter(extractor, startDate);
            final Set results = CACHE.entrySet(lessFilter);
            LOGGER.debug("Fetched Records:" + results.size());
            assert results.isEmpty();
         * 1) Fetch Data from cache based on LessFilter with args:
         * a) ValueExtractor: extracting "time in millis  property"
         * b) java.Long value to be compared with
         * 2) Verify extracted entryset
        public void testbyTime(final Long time) throws IOException {
            final ValueExtractor extractor = new ReflectionExtractor("getTimeinMillis");
            LOGGER.debug("Fetching records from cache with timeinMillis less than: " + time);
            final Filter lessFilter = new LessFilter(extractor, time);
            final Set results = CACHE.entrySet(lessFilter);
            LOGGER.debug("Fetched Records:" + results.size());
            assert results.isEmpty();
        @Override
        public void createOrUpdate(final TestDTO testDTO, final Object arg1) throws IOException {
            CACHE.put(testDTO.getId(), testDTO);
        @Override
        public void createOrUpdate(final Collection<TestDTO> arg0, final Object arg1) throws IOException {
            // YTODO Auto-generated method stub
        @Override
        public <G>G read(final TestIdentifier arg0) throws IOException {
            // YTODO Auto-generated method stub
            return null;
        @Override
        public Collection<?> read(final Map<TestIdentifier, Object> arg0) throws IOException {
            // YTODO Auto-generated method stub
            return null;
        @Override
        public void remove(final TestDTO arg0) throws IOException {
            // YTODO Auto-generated method stub
    Use Case execution Results:
    "testbyTime" method returns correct results.
    However, "testbyDate" method gives random and incorrect results.

  • HT4028 Aperture IPTC Core Subject Code Exports Incorrectly to PhotoMechanic

    Hello. When using IPTC core Subject Code in Aperture, what I type in exports incorrectly when read by PhotoMechanic Software.  It seems to default back to previous Subject Code entries that are invisible on my end using Aperture, and can't be "erased".  Anyone else having this problem, and please advise on how to fix this.  I have contacted Apple tech support multiple times and they have been unable to resolve this problem.

    Preview should be able to do this
    In Preview you can see the field in the Inspector:
    From Peview's main menu bar: Tools > Show Inspector.
    Select the IPTC tab
    I tested several images - when I set the IPTC Subject Code and exported the edited version as jpeg, the modification showed in Preview correctly in the IPTC Subject code field.
    Tested in Aperture 3.5.1, MacOS X 10.9.1

  • Set number of pulses default 5

    Hello, 
    I have just begun to learn LABVIEW. I would like to ask you for help. 
    I need code for these quistions (not DAX). please help me.
    Thanks,
    1 Set the number of pulses. Default 5 pulses.
    2 Set the duration of the pulse. Default 0.5 (s).
    3 Set the number of points per pulse. Defualt 500 points/pulse

    Hi,
    I have been studing in a colege in Haydarabad of India. This is my toturial. I tried t build the VI but I could not. Please help me to code this. Here is the ful toturial.
    Specification
    To design a VI that can also be used as a Sub VI in another VI.
    The title of the VI will be Pulse Generator.
    The output from the VI will be of the type Analogue Waveform and be capable of being displayed on an appropriate Waveform Graph.
    The Analogue waveform will represent a continuously adjustable single pulse or multiple pulse train.
    The inputs to the VI will perform the following functions:
    1)      Set the number of pulses. Default 5 pulses.
    2)      Set the duration of the pulse. Default 0.5 (s).
    3)   Set the number of points per pulse. Default 500 points/pulse.
    4)   Set the pulse height. Default 5 (V)
    5)   Set the Offset (-5 to 5). Default 0 (V)
    6)   Set the lead in time as a percentage of the pulse width. Default 10%
    7)   Set the lag out time as a percentage of the pulse width. Default 20%
    8)   A check box that will invert the pulse.

  • Incorrect print head

    Canon printer MG5370 unable to print with message given: UO52.  
    A 15 months old printer should not have this problem.

    A lot of Canon printer’s users come across with the error message, “U052 This type of print head is incorrect.” It is a very common error on Canon printers and is fairly easy to troubleshoot.
    There are two different scenarios related to U052 kind of error message.One is where the print head is not installed at all and then it is giving the ‘U052 This type of print head is incorrect’ error message.
    And, the second scenario is where the print head is installed nut it is not functioning properly or probably not working at all. The below section will show step by step troubleshooting of both the scenarios.
    Step By Step Guide to Resolve “U052 This type of print head is incorrect.”

  • How to measure the period of each consecutive pulse in a pulse train?

    Hello all,
       I am trying to measure every pulse period in a infinite pulse train. the pulse is actually from a encoder(360 pulse per rev) connected to a varing speed shaft. The mean speed is around 6000 rpm at the highest point, and it has periodic variation, this is why I want to measure the instantaneous speed.
       I tried to use A signal of encoder (360 pulse per rev) to connect to CI Period measurement terminal and read 360 sample at a time. but it seems more than half of pulse reading are missing, which looks like that the read vi need some time to finish the measurement of every pulse before it can handle next one, cause it miss some pulse.  The A signal I injected is around 10 KHz. Does my PCI-MIO-16E-4 or DAQ 6036 capable to handle this task?
    thanks
    Feilong

    Hi Conseils,
       Thanks for your reply. I took a look on that discussion thread and started to study the "continously semi period buffered measurement.vi". I set a signal generator which gives 7 pulses once you press its trigger button to verify if that code could pick up all the resault. The frequency is set to 3KHZ.
      I also modified that vi a little bit to explicitly set DMA transfer and changed it to finite sample mode with 6 samples at a vi run.
      The min T value I input was 0.000028 s and max is 0.00042 s, which gives a engine rpm range of 400 rpm to 6000 rpm at 360 pulse per rev.
      And I input 4 into "sample to read" control.
      When I run the vi, after have signal generator output pulses, there's error:
     Error -200278 occurred at DAQmx Read (Counter 1D DBL 1Chan NSamp).vi:1
     Possible reason(s):
    Attempted to read a sample beyond the final sample acquired. The acquisition has stopped, therefore the sample specified by the combination of position and offset will never be available.
    Specify a position and offset which selects a sample up to, but not beyond, the final sample acquired. The final sample acquired can be determined by querying the total samples acquired after an acquisition has stopped.
    Attempted to Read Sample: 6
    Property: RelativeTo Corresponding Value: Current Read Position
    Property: Offset Corresponding Value:
        It looks like the sampling procedure stops before the read.vi get enough (was 4 in this case) sample. But the sample I injected was 7 in total and the finite sample property was set to 6, which should satisfy the property of number of sample to read in read.vi.
        Could you please tell me where I am going wrong?
    Many Thanks
    Feilong

  • Incorrect print orientation

    I have a HP 7610 printer.  Over the past week I try to print in portrait and the output is landscape and vice versa.  I have checked Page Setup settings and the problem remains unresolved.  The problem is the same with my MBA and iMac.

    Also, just tried to print from another MBA, same problem.
    That points to the image file itself.  The orientation tag that is added by the camera appears to be incorrect.  Where are these photos from?  Were they edited in a 3rd party editor?
    What orientation do the photos take when dragged onto a blank Safari window. Correct or incorrect?

Maybe you are looking for

  • An SQL query query

    Hi, I am using ASP, VB and MSAccess. I am trying to pass a parameter from one page to another to drill down. Basically, I have one product entry that is in multiple categories on my website. So, say it's a dress, it is therefore related to category 1

  • Dock not appearing & system freeze

    I'm runing OSX 10.6.8 and yesterday started having an issue where my dock pops up during start up and then goes away, comes back a few times, but ultimately will not come up at all. Then system slows down and then freezes with a spinning beach ball.

  • WAS or Dialog instance in DMZ zone

    Hello All, Please clarify me by answering the following question. I have a plan to use the erecuting functionality without Portal system and have plans to use this functionality outside the intranet. ( Note : Not planned to move the back end system t

  • Which Listener I should use if I drag and Drop an image/icon into a JPanel?

    Dar Friends: Happy new year. I try to drag and Drop an image/icon into a JPanel, and hope I can immediately detect it after DND, Which Listener I should use in this JPanel if I drag and Drop an image/icon into a JPanel?? Thanks

  • Opens up every pdf on my computer

    Every time I try and open up 1 pdf it tries to open every pdf on my computer. Then is says "There was an error opening this document. The maximum number of files are already open. No other files can be opened or printed until some are closed." but it