GPTR doesn't output pulses

I'm controlling GPCTR0 on a PCI-6035E card with software (Labwindows) that has it send out a single logic pulse. In the past month, the counter has gone from working fine, to outputting pulses of about .1V, to not pulsing at all. I've tried switching to counter 1, to no avail. I've also run the online diagnostic on the PCI card, and it passes alll of the tests. What's going on?

perhaps your VI may be corrupt. If it passes all the diagnostics and the other counter does the same, it is most likely a software problem. Perhaps your VI may be corrupted or something in the code is wrong. I think it would be helpful to see the code you are using to generate this pulse.
Derek

Similar Messages

  • Create 4 digital output pulses base on input ttl signal

    Hi
        I am a beginner in Labview and would appreciate any advice on how to solve the following problem.
    I am creating a TTL pulse train, and would like to send that into Labview as input.  For every falling edge detected on the input signal, I'd like Labview to generate 4 digital output pulses.  For each output pulse, I'd like to be able to specify the delay, and duration.       The picture should illustrate it more clearly, with the numbers showing the intended order of magnitude.
    System:  NI PCI-6733 DAQ card, Labview 8.5
    My daq card has 2 24-bit timers, and 8 digital I/O but I don't know what the best approach is for creating between 4-8 output pulses of this precision..should it be handled in hardware, or in software?  And how would I go about it
    Thanks,
    -Sidney
    NI Hardware: PXI-7853R, PCI-5122, PCI-6733, PXI-1036, PCI-MIO-16E-4, PCI-6110
    Computer Hardware: Xeon Quad Core - 2.33 Ghz, 8 GB RAM
    Software: Labview 2009, Labview FPGA 2009, Vista 64-bit, MAX 4.6, DAQmx 9.0, NI-SCOPE 3.5
    Solved!
    Go to Solution.

     Hi Yann,
       Wow, thank you so much for this example!  I'm trying to take a look at it, but when I run it.. it responds with the following error message
    Error -200452 occurred at Property Node DAQmx Trigger (arg 1) in DAQmx Start Trigger (Digital Edge).vi:1->reprise-1.vi
    Possible reason(s):
    Measurements: Specified property is not supported by the device or is not applicable to the task.
    Property: Start.TrigType
    Task Name: _unnamedTask<49>
    This is strange too, because ive already used the Digital Edge Start trigger for a different application with this card.
    -Sidney
    NI Hardware: PXI-7853R, PCI-5122, PCI-6733, PXI-1036, PCI-MIO-16E-4, PCI-6110
    Computer Hardware: Xeon Quad Core - 2.33 Ghz, 8 GB RAM
    Software: Labview 2009, Labview FPGA 2009, Vista 64-bit, MAX 4.6, DAQmx 9.0, NI-SCOPE 3.5

  • Macbook Pro 15-inch (Retina Display) HDMI doesn't output audio to TV

    My rMBP's HDMI port doesn't output audio through the HDMI cable to my TV. Instead, the audio plays on the laptop's speakers. I know the problem is not the HDMI cable nor the TV because my TV speakers play sound when I connect my Windows laptop via the same HDMI cable and TV jack.
    Anybody know a fix?

    I have this exact same problem, I have gone to preferences, ans selected the output as HDMI and nothing happened.  Later I went to Utilities, Audio MIDI Setup and tried to select different options to get the sound working and nothing, the volume for the HDMI was grey, disactivated, all the time.  Any new findings lately?  I have my computer fully updated.

  • Output pulse with NI-Scope only, on 5102 PFI line

    The NI-Scope documentation briefly mentions a "Configure Digital Output" function, but it is not clear exactly what this does, and what parameters are available (e.g., pulse width, polarity, stand-off, etc...), or if it merely "configures", and another function is needed to actually generate the pulse.
    Programming in VB, with NI-Scope, for the 5102, what NI-Scope function(s) would I call to initiate an output pulse on a PFI line? What parameters of the pulse can be controlled?
    Thank you, Ed More

    Hello Ed,
    You need to use functions in NI-DAQ in either LabVIEW or ComponentWorks to do this. There are some examples and a knowlegdebase article that describe this.
    Here are the links:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/fead136291ec002186256aaa006c2019?OpenDocument
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DFC756A4E034080020E74861&p_node=175381&p_source=external
    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3DD5756A4E034080020E74861&p_node=175341&p_submitted=N&p_rank=&p_answer=&p_source=External
    If the links do not work, go to developer zone and search on 5102 and pfi to find the examples and go to support and search in knowledgebase on 5102 and pfi for t
    he knowledge base entry.
    -Brian

  • Counte CMOS output pulse

    Hello,
    I'd like to know whether there are any couters which can count CMOS output pulse.
    The rating of CMOS pulse are:
    Output pulse: CMOS 5V
    Output pulse width: 10 ns
    (It is actually output from Hamamatsu C9744 photon counting unit)
    I have some PCI cards (6014 and 6110), but their counter logic is TTL, not CMOS.
    When the CMOS output is connected to a counter of these cards, the counter number
    increased, but this may not be a correct counting.
    If you have a good idea to count with NI products, please let me know.
    Thank you for your time and kind help.
    Hiro
    Solved!
    Go to Solution.

    Hey Hiro,
    The bottom line is that a TTL counter will be able to read from CMOS input, but not the other way around. Therefore, you are OK. This is mentioned in the last line of this link: http://digital.ni.com/public.nsf/allkb/5AB6172CAE2BEF3E8625629800597B3F?OpenDocument
    An explanation of the voltage thresholds associated with each standard can be found in the graph in this link:http://www.interfacebus.com/voltage_threshold.html
    The counters on your devices fall under TTL/CMOS standards, which can count a CMOS pulse input. Some general information about each standard can be found at this link: http://digital.ni.com/public.nsf/allkb/2D038D3AE1C35011862565A8005C5C63?OpenDocument
    Regards,
    Jeff L.
    Applications Engineer | National Instruments

  • Dbms_output doesn't output

    Hi,
    Please try this in sql developer version 1.0.0.15.57
    BEGIN
    DBMS_OUTPUT.PUT_LINE('hi' || rpad('heyhey', 255, 'x'));
    END;
    Doesn't output anything, but this does.
    BEGIN
    DBMS_OUTPUT.PUT_LINE('hi');
    END;
    Both work in sqlplus. Is this a bug?
    Thank you.

    Not sure that this is a bug... dbms_output.put_line has a limit of 255 characters per line.
    See this asktom link that explains it and gives a fix for it...
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:146412348066
    'hi' || rpad('heyhey', 255, 'x')) would be 255 characters plus 2 equaling 257.
    Error starting at line 1 in command:
    BEGIN
    DBMS_OUTPUT.PUT_LINE('hi' || rpad('heyhey', 254, 'x'));
    END;
    Error report:
    ORA-20000: ORU-10028: line length overflow, limit of 255 chars per line
    ORA-06512: at "SYS.DBMS_OUTPUT", line 35
    ORA-06512: at "SYS.DBMS_OUTPUT", line 133
    ORA-06512: at line 2
    When I change the rpad to 253 the output is fine and this nasty error doesnt show up. Using SQL Developer ofcourse the whole time.
    Tried this with SQL Plus 9.2 database and got exact same error.. So, like I said.. Not a bug.. Normal for at least 9.2 database.
    Message was edited by:
    Mark Reichman

  • Single trigger output pulse each iteration

    I want to output a trigger pulse, record two analog inputs, and save the data to a text file.  When I do this for one iteration it works fine, but multiple iterations only acquire and save, the output pulse is only generated on the first iteration.  I am using a counter pulse output to generate the signal. How can I fix this issue?

    Hi there,
    What kind of board are you using? Are you saving data to the file on every iteration? Depending on your application, it might be advisable to save all data to a file after you are done with your application. Can you post your code so that we can look at it?
    Regards,
    Efrain G.
    National Instruments
    Visit http://www.ni.com/gettingstarted/ for step-by-step help in setting up your system.

  • How to use counter output pulses to trigger analog input?

    Hello all,
    I hope the kind people using this forum can help me, a lowly beginner LV programmer! I have been attempting to create a VI that produces a user defined number of TTL pulses, separated by every n seconds. Each TTL would be outputted to a stimulator, which in turn generates its own TTL. Using the stimulator-generated TTL, I would like to trigger finite analog data acquisition (e.g. for every TTL, trigger the collection of a data sweep that contains 4000 samples (collected at 4000 Hz), with 1000 samples collected pre-trigger. I would like to also be able to see each data sweep as it is triggered on a chart. As I understand things (lots of online/book/forum reading), I should be using the counter output to generate my TTL pulses, and syncing each counter produced TTL with analog input, as well as using a reference trigger. Also, the AI part should be started first, so that I don' t miss any counter outputs. If it matters, I also need to use one of the AI channels to acquire the TTL, so I can see my stimulator-induced responses to the stimulator in time.
    I am able to generate the TTL pulses from the counter output, but I am having a problem with the AI part. I am unsure how to sync the counter output with AI. Also, since I need to acquire pre-trigger samples, I would be needing to acquire samples continuously, but when I set 'continuous samples' on daqmx timing, the VI doesn't work (hence why's its set to 'finite samples').
     I hope someone out there can help, as I have been at this for what seems ages, with limited success. I am using a USB-6259 and LabView v8.2. Thanks!
    Attachments:
    RC001 v_1.vi ‏49 KB

    Hello,
    Due to the fact that analog tasks themselves are not retriggerable, a
    pulse train produced by a counter is always used as the sample clock
    for the analog input task in order to recreate a retriggerable effect
    for analog input. This can be done by creating a finite pulse train set
    to retriggerable using the DAQmx Trigger Property Node, or the pulse
    train could be continuous and just be gated by another signal. Neither
    of these methods can be properly applied in hardware to create a
    retriggerable reference trigger. You can however implement something
    similar in software by just stopping and restarting your reference
    triggered analog input task within a loop. There will be some delay
    between when the task is stopped and restarted, as these events require
    software intervention, but if there is enough time between when each
    trigger signal is generated, there should not be any noticeable delay
    or missed samples.
    I have attached an example of this!
    Mark B
    ===If this fixes your problem, mark as solution!===
    Attachments:
    RC001 v_1mod.vi ‏25 KB

  • Counting finite output pulse

    Hi,
    I am sure this question has been asked before but I have searched and cannot find it.
    I am generating a finite pulse train for lets say 750 samples in my 6071E.  I need the program to show which count my counter is on, however, as it counts.  How do I do this? 
    Thanks,
    Chris

    Hi Chris,
    While the DAQmx driver doesn't explicitly expose which pulse of the pulse train it is currently generating, you can determine it using a property node and some simple counting code. The property Counter Output : General Properties : More : Output State Property returns current output state of the counter as two different integers: 10192 for high and 10214 for low [1]. Based on how many times this property has changed, you can calculate how many pulses you've generated.
    [1] LabVIEW Help, Counter Output : General Properties : More : Output State Property
    Property and Method Reference » NI-DAQmx Properties DAQmx Channel » Counter Output » General Properties » More » Output State
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

  • How do I set up analog 0-10 VDC output pulses with varying duty cycles?

    I am trying to control a 400 watt laser so that it can pulse on and off within a few milliseconds. The laser controller reads a 0-10 VDC signal, with 0V being 0 watts and 10V being 400 watts. I am using a PCI-6221 DAQ and LabVIEW 8.0.
    It seems that all of the examples have square waves that are symmetric about the 0 volt range. I need a square wave that goes from 0-10VDC with different on/off timespans. I would like to have something as follows:
    1) 0 seconds = laser off
    2) .001 to .002 seconds = laser on at full power
    3) .002 to .009 seconds = laser off
    4) Repeat steps 2-3 500 times
    Any ideas?
    Michael Fidler

    Michael, 
    I ran your code, but was unable to reproduce the problem you are
    seeing. I measured the signal in two fashions’. I brought the signal back into
    the card (LabVIEW_Square Wave.JPG) and into a benchtop scope (Benchtop
    scope_Square Wave.jpg).
    I would like to ask that you run the attached code twice. The
    first time, please run it with the analog input as ‘Dev1/_ao0_vs_aognd’. This
    take the analog output and compares it with the cards AO ground, therefore eliminating
    the need for external connections and simply doing internal routing. The second
    time, please run it with the analog input as “Dev1/ai1”, and wire your AO
    channel to an AI channel. These tests are to ensure that there is not a stray
    capacitance in your scope, the probe, etc. Let me know the results (pictures
    are always great)
    David L.
    Systems Engineering
    National Instruments
    Attachments:
    Cont Gen Voltage Wfm-Int Clk_Test VI (8.2).vi ‏64 KB
    Benchtop scope_Square Wave.jpg ‏38 KB
    LabVIEW_Square Wave.JPG ‏36 KB

  • How to generate a single output pulse on 64 different digital out lines (PCI-6513) each with a different start time relative to an event in a main program loop.

    Long question.
    I am running a main program loop of 60 msec. At one point in the loop I create a 64 element array of delay times. At that point I need to begin outputting a predefined single pulse to each of the 64 lines on my PCI-6513. Each line outputs the pulse with a starting delay set by the "delay time" in the array.
    Each delay time is such that the pulses will be done before the next loop commands another one.
    Thank You
    Roger

    Hi,
    You have multiple ways of doing this, since there is no timing engine on the 6513 your code is going to control the output of the card, which is what we called “software timed”.  If you take a look at the example called: “Write Dig Chan.vi”, you can individually control each line.
    So to change the state of the line; since you have an array of delays time you can aid yourself with “stacked sequence structure” where in each frame you control the time it takes to go to the next frame and the data been written to the card.
    Another option is using a state machine where each state write the data you want and you can also control the time between states. For further references take a look at this article Application Design Patterns: State Machines.
    I hope it helps
    Jaime Hoffiz
    National Instruments
    Product Expert
    Digital Multimeters and LCR Meters

  • My hp pav p7-1240 doesn't output to my monitor after i wake it up

    I bought a new desktop (HP Pavilion P7-1240 ) just over a month ago because my previous one died. I am still using my old monitor that works fine. The last couple days however, I have woken my computer up and it seems as though it will not output any signal to the monitor. The light turns from blue to yellow on the desktop, but my monitor light stays yellow. \
    I tried holding the power button and shutting it off and turning it back on again, but the only thing that i find will work is if I unplug the power cord from my desktop and then plug it in and turn it on again.
    Any help much appreciated.

    Hi:
    The only advise I can offer is to see if you can get Vista recovery disks for your notebook by following the info at the link below. Click on the link labeled "Order Recovery Media."
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=2093&lc=en&cc=us&dlc=en&sw_lang=&product=3860...
    If the link doesn't work, you will have to call HP and order them by phone. Try either of these #'s.
    They will cost significantly less if you can get them from HP.
    800-474-6836 or  888-999-4747.
    If HP no longer has them, you can get them from this vendor at the link below for $27+shipping.
    http://www.computersurgeons.com/productdetails.aspx?ID=12898
    Pass the cost of the recovery disks on to the buyer. They will probably be happy to have a set of recovery disks for the PC.
    Paul

  • DMP 4310G doesn't output audio

    Hello experts,
    I am totally new to this support community, so my apologies if this is not the right place/tag for this question.
    We've got a number of 4310G DMPs and as our DMM is not yet operational, I decided to explore the players a little bit as standalone devices, acessing them via Web-Browser.
    The issue I am facing is that no audio is coming out of the DMP when I play videos, except for MPEG, which works fine.
    I have tried WMV, AVI and SWF, but the audio doesn't come out for none of these.
    My firmware version is 5.2.3 and I have tried outputing the audio via HDMI to a Samsung Professional display, as well as via 3.5mm audio output to a speaker.
    To make sure the audio format was suported, I loaded an MP3 file to the flash memory of the DMP and played it. All worked fine. Afterwards I embedded the same audio file into a flash project (Flash Lite 3.1, Actionscript 2.0). Worked fine on my PC, but on the player, no sound at all, only the graphics.
    Ps: I have already checked the audio parameters. They seem to be correct (50 on each channel), so I am running out of ideas on what else to check/try.
    Please, any help will be appreciated.
    Many thanks in advance.
    Ricardo

    Hello Ricardo,
    I assume you have confirmed that the Audio and Video Codec your content is using is mentioned in the data sheet below :
    http://www.cisco.com/en/US/prod/collateral/video/ps9339/ps7220/data_sheet_c78-625677.html
    Couple of Questions :
    1) Are all the DMP 4310 having this issue or only the few ?
    2) If you are having the issue with all, I would examine the content's codec first. If you believe that the content has the right codecs then I would ask you to open a TAC case for further analysis.  You can check the codec the Video is using by opening the file in VLC Player and clicking on Media Information. Or Use a Freeware for windows called as "MediaInfo" .
    3) Are you hosting the content (Video File) on a CIFS share , Internal Flash or attached USB ?
    Can you attach the MIB DUMP from the DMP to this forum so that we can take a look ?
    Procedure to collect the dump : Just paste the URL in the browser
    https://admin@password:10.0.0.1/get_param?p=*.*
    replace the "password"  with DMP's password
    and the 10.0.0.1 with the IP address of the DMP's client
    Save the output in a Text file and attach it to the forum. Also if you have the actual content that is having the issue - Please attach it to the forum too.
    Thanks,
    Sagar Dhanrale

  • Schema tool simply doesn't output anything

    In what situations does the ant schematool not output anything and simply
    let the ant script continue? I have the following piece of ant script:
    <antcall target="compile"/>
    <taskdef name="schematool"
    classname="com.solarmetric.modules.integration.ant.SchemaToolTask"
    classpathref="jarpath"/>
    <schematool action="refresh" ignoreErrors="true">
    <config ConnectionDriverName="${project.db.driver}"
    ConnectionUserName="${project.db.uid}"
    ConnectionPassword="${project.db.pwd}" ConnectionURL="${project.db.url}"
    LicenseKey="LICENSE KEY CENSORED" SynchronizeSchema="false"/>
    <fileset dir="${project.build.outputDir}">
    <include name="**/*.jdo" />
    </fileset>
    <classpath>
    <path refid="jarpath"/>
    <pathelement location="${project.build.outputDir}"/>
    </classpath>
    </schematool>
    When I change one of the ${project} settings to a non-existent property the
    tool starts screaming hell and murder that it can't connect to the database.
    However in normal execution the schematool doesn't do anything. It doesn't
    even tell me it's refreshing anything.
    Does this mean that it somehow can't find my jdo-files? I've passed exactly
    the same fileset and classpath into jdoc and it CAN find my .jdo's and
    classes.
    Love to hear from ya,
    Martin van Dijken

    In article <[email protected]>, Martin van Dijken wrote:
    The night must have done my computer some good or something.When all else fails, trying again in the morning is always a good
    solutin :)
    All of a sudden
    the tables are being created. I did have my logging for schema creation a
    little too quiet so it didn't output anything. Maybe in fidgeting with
    log4j.properties I corrected something else as well.
    Anyway problem solved,
    Thanks
    "Marc Prud'hommeaux" <[email protected]> wrote in message
    news:[email protected]...
    Martin-
    Does this mean that it somehow can't find my jdo-files? I've passed
    exactly
    the same fileset and classpath into jdoc and it CAN find my .jdo's and
    classes.Most probably that is what is happening.
    I hate to second-guess, but are you sure the fileset for the jdoc and
    schematool tasks are exactly the same?
    Also, if you enable trace-level logging for all of Kodo's categories, do
    you see any output at all from the target?
    In article <[email protected]>, Martin van Dijken wrote:
    In what situations does the ant schematool not output anything and
    simply
    let the ant script continue? I have the following piece of ant script:
    <antcall target="compile"/>
    <taskdef name="schematool"
    classname="com.solarmetric.modules.integration.ant.SchemaToolTask"
    classpathref="jarpath"/>
    <schematool action="refresh" ignoreErrors="true">
    <config ConnectionDriverName="${project.db.driver}"
    ConnectionUserName="${project.db.uid}"
    ConnectionPassword="${project.db.pwd}" ConnectionURL="${project.db.url}"
    LicenseKey="LICENSE KEY CENSORED" SynchronizeSchema="false"/>
    <fileset dir="${project.build.outputDir}">
    <include name="**/*.jdo" />
    </fileset>
    <classpath>
    <path refid="jarpath"/>
    <pathelement location="${project.build.outputDir}"/>
    </classpath>
    </schematool>
    When I change one of the ${project} settings to a non-existent propertythe
    tool starts screaming hell and murder that it can't connect to thedatabase.
    However in normal execution the schematool doesn't do anything. Itdoesn't
    even tell me it's refreshing anything.
    Does this mean that it somehow can't find my jdo-files? I've passedexactly
    the same fileset and classpath into jdoc and it CAN find my .jdo's and
    classes.
    Love to hear from ya,
    Martin van Dijken
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Output pulse every n units for x4 encoder

    I found this on the National Instruments website showing how to ouptu a pulse every N input pulses, the issue is that I'm trying to do this on X4 decoding.  I have a NI9178, NI9401 and a NI9201, I'm trying to input an X4 encoder to my counter and subsequently output a pulse every N steps on a seperate line to trigger an external piece of hardware.   My encoder has 200PPR and runs at about 2000RPM.
    Here's the link to the file:   http://zone.ni.com/devzone/cda/epd/p/id/3288
    Thanks for any assistance you can provide,
    Nick

    So I have been trying to figure this issue out by using the forums and all I've managed to do is confuse myself.
    I'm "simply" trying to output a series of pulses after counting N number of input pulses.  Here is the VI I'm working on (adapted from a previous forum post - Encoder VI for NI.vi is the main program).  There is one counter input and one counter output, along with some analog inputs (which for now can simply be ignored).  I'm trying to count the ticks off of Phase A from the input encoder and subsequently output a pulse every 100 ticks on the output counter task.  
    Please if anyone has any suggestions I am very open to them. 
    Nick
    Attachments:
    Encoder VI For NI.vi ‏54 KB
    Analog Graph2.vi ‏21 KB
    Get Terminal Name with Device Prefix.vi ‏50 KB

Maybe you are looking for

  • Preview: why slow with nothing edited?

    I'm running a trial of After Effects, to see what the product can mean for my business. I run an Intel Quad core with 8GB of RAM. I have an empty 1280x720 29.7fps composition and no matter which 1280x720 video I import with different codecs, the prev

  • Currency Translation type not available in query.

    Hi, I have a query developed on DSO, but here a currency translation type is missing where as in other queries developed on other cubes the translation type is available Is there any note available for this kind of problem or any setting available fo

  • Question about extending classes

    Hi I've created my own class that extends javax.swing.JTextField as follows: public class myTextField extends javax.swing.JTextField{      public myTextField(){           super();           initialize();      protected void initialize()           sup

  • Is Eclipse (java viewer) for CR still being developed?

    Hello, Is the Eclipse (Crystal java viewer) still being invested in from a development perspective? I'm currently using the .NET (HTML) viewer because of two reasons: 1. The Java viewer has embedded flash functions which render it useless on Apple de

  • Notification banners and alerts on dual displays

    I have a mid-2011 MacBook Air connected through HDMI to a 24 in 1080p Asus external display.  Notification banners and alerts will only show up on the Air display, and I would prefer to have them appear in the upper right corner on both displays.  I