6601 output counter when use Simple event Counting Mode

I want to put the ouput counter in a high, while I count event. How to do that with set attribute?
Attachments:
Consulta.vi ‏78 KB

It looks like you want this vi to count events until you reach some specified target value ('Pulsos'), then stop the counter. It sounds like you'd like the counter's output to toggle high the instant you start counting and toggle low as soon as a certain count is reached.
First off, I'm pretty sure you can't get hardware-timed behavior quite like that. That being said, your posted example appears to rely on software timing anyway -- attempting to call 'Counter Set Attribute' to toggle the output. Soooooo.... why not simply use a digital bit that you can also software time to turn on and off?
Here's a small modification of your example that toggles a digital bit high when the counter is started and toggles low when your target count is re
ached. In your real application, some of the config should probably be done outside this vi, but this'll give you the general idea.
-Kevin P.
Attachments:
Consulta_ver2.vi ‏99 KB

Similar Messages

  • Unable to open https sites. can open when using firefox in safe mode.

    Mozilla Firefox has been an exceptional browser, however in the last update I have experienced problems when trying to open https sites. They will not open and then time out. I do not have this problem when using Internet explorer. I have contacted customer service at the problem sites, and they have said other customers have also experienced this problem. I have gone into options and have changed various settings to see if this would solve the problem. It didn't, your response would be appreciated.. Please note if I use firefox in safe mode I can access these sites? My E-mail as follows: [email protected]

    Did you perhaps install an extension to open sites with https
    # Type '''about:config''' into the location bar and press "Enter"
    # Use Find ("Ctrl+F") to look for '''https'''
    One such extension is "HTTPS-Everywhere"
    As you probably know Firefox Safe Mode disables extensions and some preferences.
    http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Extension_issues
    You posted a question here: you should check for all of your answers at...
    :Unable to open https sites. can open when using firefox in safe mode. | Firefox Support Forum | Firefox Help
    :https://support.mozilla.com/en-US/questions/872957
    You are expected to pick up your answers where you post them, in the upper right corner is a "get email updates" that you can click on. For more information, see my avatar icon to the left of my reply where you posted.

  • Wrong classes output directory when use of dependant projects

    Hi,
    JDev 10.1.2.1 but also in previous versions.
    Windows XP Prof, AMD Athlon, 1 Go Mem
    I have following setup:
    Projects:
    DTO (data transfer objects and utility classes used in other projects)
    -> dependies: none
    Directory tree:
    MyWorkspace\DTO\classes
    MyWorkspace\DTO\src
    Model (model classes)
    -> dependies: DTO
    Directory tree:
    MyWorkspace\Model\classes
    MyWorkspace\Model\src
    View (JClient app)
    -> dependies: DTO, Model
    Directory tree:
    MyWorkspace\View\classes
    MyWorkspace\View\src
    WebView (Struts app)
    -> dependies: DTO, Model
    Directory tree:
    MyWorkspace\WebView\deploy
    MyWorkspace\WebView\model
    MyWorkspace\WebView\public_html
    For some unexplained reasons sometimes (difficult to reproduce)
    JDev get confused and DTO classes, sometimes Model classes are copied to the View project classes directory.
    Example utility class of the DTO project:
    source:
    MyWorkspace\DTO\src\com\photoswing\dto\util\TextUtils.java
    instead of being generated in:
    MyWorkspace\DTO\classes\com\photoswing\dto\util\TextUtils.class
    is found in the View claases output directory (directory tree created by JDev):
    MyWorkspace\View\classes\com\photoswing\dto\util\TextUtils.class
    I noticed that regularly the JDev navigator has synchronization problems and can't find the class when activating the right-click Select in Navigator action in an open source file.
    This generally happens when switching from source files of different projects.
    Now if you compile a source file and the navigator has a synchronization problem following warning is displayed:
    Warning: The file is not part of the active project DTO.jpr, compiled class will be written to DTO.jpr output directory
    When only one file gets compiled this can be repaired easely by deleting the class written in the wrong directory.
    But when several files are changed and are compiled the warning is only displayed for the current source file and all classes output trees must be scanned manually.
    When testing the app if I'm not wrong JDev reads from the classes directories and doesn't produce a jar file, so deleting manually the wrong classes is a valid workaround.
    But what if the app gets deployed and jars are generated?
    I can't imagine myself changing manually the produced jars by removing the wrong classes and what about the manifest?
    Your help is requested.
    Regards
    Fred
    PS Can't provide a TestCase => happens in complex environment only.

    Glad to know I'm not the only one having that serious problem.
    JDev by default create at least 2 different projects (model and view) so it seems to be a standard.
    Working simultaneously on source files of different projects seems to the cause the trouble.
    Is there somekind of patch available?
    Could somebody of Oracle answer the question of the first message of this thread?
    Thanks
    Fred

  • Audio Output Corruption when using USB MIDI keyboard controller

    recently, i'm getting intermittent corrupted audio output (short blips of distortion) while playing through my usb midi keyboard. i thought maybe some data got corrupted on the disk over time so i wiped the drive, reinstalled osx, installed all updates, hooked up usb keyboard and all worked fine. today, i plugged in the keyboard and the distortions have reappeared. i unplugged the keyboard and played with the Musical Typing- still distorted. i rebooted and tried Musical Typing- still distorted. I removed the usb midi keyboard device from Audio MIDI Setup, rebooted, and the distortions have disappeared when using Musical Typing. Connecting the keyboard causes the distortions to reappear. I'm at a loss.
    Any ideas?
    environment:
    macbook pro
    osx 10.4.11
    gb 4.1.2
    studiologic vmk188 plus

    UPDATE:
    I decided to try going through an Firewire Audio Interface instead. Keyboard-(MIDI)->MOTU Traveler-(Firewire)->MacBook Pro.
    Same corruption/hiccups/choppy playback.

  • HT1430 What is the output power,      when using a portable batteries that the iPad need to charge up??

    What is the output power needed to charge a iPad,  when using a portable battery?
    Will 2.1A output work?
    Thanks

    The wall charger which comes with the ipad is a 10 watt charger, it's current is 2A, voltage is 5v. 2x5=10 w.
    2.1Ax5v = 10.5w.

  • CVI under W2K crashes when using stop in debug mode and AOGenerateWaveforms

    When using AOGenerateWaveforms to generate a sine wave. If you hit stop in debug the PC restarts. If you're using the same channel to generate a DC signal, it's fine. Seems to be the card accessing the dynamic memory I've set the waveform up in after you hit stop and the memory has been free'd.

    This is sometimes the nature of the beast. When your program is running you are doing DMA transfers to locations in memory that have been setup by your operating system. Now if you stop your program, with out killing or stopping the DAQ device it will cause you problems in some cases. You need to call AOClearWaveforms before you stop your program.
    If you do not stop the DAQ device, before stopping your program it will cause the DAQ device to write to memory that is no longer allocated for that process. In most cases windows detects this as an error and reboots the system, because it thinks a program has crashed and is now writing to memory locations out of its designated space.
    I hope this helps.
    Joshua

  • Computer does not put itself to sleep when used in lid-closed mode

    Hi. I'm having a small problem when using my macbook pro with the LED display, lid closed and with external keyboard and mouse. If I leave the computer unattended, the display goes to sleep at the time specified in system settings under energy saver. The computer, however, does not go to sleep - the white power indicator remains solid and noises for new email etc can still be heard.
    I should probably just try to remember to put it to sleep manually but I keep forgetting. Does anybody know what settings I need to adjust?

    I tried cycling the old battery many times, and the computer would still shut down unexpectedly instead of going to sleep when it ran out of power. I got a free replacement from the supplier [http://myworld.ebay.com/cbkusaelectronics>, but I have cycled this new battery twice now, and it still does not go to sleep when it runs out of power. The capacity of the battery is fine (4.9 Ah), and the timing calibration seems fine as well. I have two older batteries from NewerTech and they allow sleep every time, so I think my computer is fine. Can anyone enlighten me about the cause of this problem? Does my battery lack some 'sleep battery' cell in it for use after the other 4 cells discharge? Or does my battery lack a chip that communicates with the computer? Is there any hope of getting this battery to support sleep when discharged?
    Has anyone else seen this problem consistently in a brand of battery? Does anyone have a recommendation for a cheaper battery that does not exhibit this problem? I have been happy with NewerTech, but they cost over $130.
    (I only paid $44 plus $10 shipping, so I probably got what I paid for. It is maybe still worth it to have a high capacity battery for such a low cost, but I can't rely upon it in those last few minutes or I may lose work.)

  • VM Activation problem when using Internal Virtual Switch mode

    Hello,
    I have setup Windows 2012 R2 Standard Version host machine.  Hyper-V setup successful. Host machine already activate license.
    I have got a problem is when VM connecting with Internal virtual Switch.  It will not able to process Windows activation.  If it connected using External Virtual Switch, it can successful do windows activation.  However, using External Virtual
    Switch, one more WAN IP will be used.
    I am using ICS method to share the network interface to Internal Virtual Switch.
    Is it what problem and how to resolve it?
    Thanks!

    Hi Gyorgy,
    What is the version of your guest operating system? Why not we create an External Virtual switch to access Internet when using Hyper-V guest system? (Some reference if needed:Hyper-V Virtual Switch
    Overview )
    The network connection seems to be fine, if you mean the webpage can't be displayed through Internet Explorer, please take a look at the article below:
    "Internet Explorer cannot display the webpage" error
    For more information, please check:
    Fixing "Page cannot be displayed"
    Best regards
    Michael Shao
    TechNet Community Support

  • Screen goes dark (sleep) when using handset in phone mode

    When I am talking on the phone and remove the phone to hang up the phone goes dark (into sleep mode?) Is anyone else having this issue, does anyone have a solution? Thanks in advance for your help

    I had that problem when using a case that covered the proximity sensor. I don't know if you're using a case or not, but taking off the case solved the problem right away.

  • Counter output 2V when using gate and source at the same time..

    I'm using NI TIO-6601.
    I connected output of counter_0 to pfi 34 and pfi27 on hardware(CB-68LP).
    pfi 34 is used for gate to counter_1 and counter_2.
    With this gate, counter_1 and counter_2 generate pulse trains when the gate is in high state.
    pfi 27 is used for source to counter_3.
    With this source, I'm trying to let counter_3 count event on counter_0.
    However, after this connection, the voltage from counter_0 is about 2V measured by Oscilloscope.
    Also, counter_3 cannot count the event on counter_0.
    Is there any problem on my connection ? or any tips for solving this problem??
    Thanks in advance!!
    p.s. It works when only two counters are working.
    for example, when counter_0 generates pulse tra
    in and output is connected to pfi_27, then counter_3 can count the event on counter_0.
    Thanks again!

    Hello,
    Thank you for contacting National Instruments.
    This issue may be related to amount of current the output of counter 0 can produce. You may want to try a different method for making these connections. Try routing your counter 0 output on to RTSI line 1. Then use RTSI1 as the gate for counters 1 and 2 and the source for counter 3. This way, you will not need to use two seperate PFI connections.
    If you are using Trad. DAQ and LabVIEW you will need to use the Route Signal.vi. If you are using DAQmx, you will need to use the Export Signal.vi
    Regards,
    Bill B
    Applications Engineer
    National Instruments

  • How to produce Material output message when use bapi function?

    Dear Experts :
    I use bapi BAPI_GOODSMVT_CREATE to receive stock.
    I find the output message can't create automatically even when I have set the type in MR21.
    Hope someone can teach me how to produce the message when I create the material document by BAPI function.
    Thanks a lot.

    Hi,
    The messages are stored in the return table of the bapi.
    You can search in SCN or Google for BAPI error handling.

  • Having trouble with if else when used with event.value... please help

    Please can someone shed any light on where i'm going wrong.
    I have a pdf form that uses a drop down menu for the SubBrand and a series of checkboxes for the Location.
    the following code is placed as a custom calculation script in an address text field and what im after is dynamically setting the address based on the subbrand and location.
    However whats happening is the address only changes based on the location and not the subbrand.
    Does anyone please have any advice on this.
    Thanks
    if 
    ((this.getField("SubBrand").value == "Passion" || "Passion for Men") && (this.getField("Location").value == "WW")) {
    event.value = "Not Applicable";
    else if ((this.getField("SubBrand").value == "Passion" || "Passion for Men") && (this.getField("Location").value == "US")) {
    event.value = "US02";
    else if ((this.getField("SubBrand").value == "Passion" || "Passion for Men") && (this.getField("Location").value == "WH")) {
    event.value = "WH02";
    else if ((this.getField("SubBrand").value == "Adventure" || "Liquid" || "Silver") && (this.getField("Location").value == "WW")) {
    event.value = "WW01";
    else if ((this.getField("SubBrand").value == "Adventure" || "Liquid" || "Silver") && (this.getField("Location").value == "US")) {
    event.value = "US01";
    else if ((this.getField("SubBrand").value == "Adventure" || "Liquid" || "Silver") && (this.getField("Location").value == "WH")) {
    event.value = "WH01";
    else
    event.value = "";

    Thanks for the tip GIlad I've amended my code but am still experiencing the issue, im at a loss as to what is preventing the address field from changing when the subbrand changes.
    Can you suggest anything else that may be preventing this from happening?
    Updated Code:
    var subBrand = this.getField("SubBrand").value
    var location = this.getField("Location").value
    if      ((subBrand == "Passion" || "Passion for Men") && (location == "WW")) {
            event.value = "Not Applicable";
    else if ((subBrand == "Passion" || "Passion for Men") && (location == "US")) {
            event.value = "US02";
    else if ((subBrand == "Passion" || "Passion for Men") && (location == "WH")) {
            event.value = "WH02";
    else if ((subBrand == "Adventure" || "Liquid" || "Silver") && (location == "WW")) {
            event.value = "WW01";
    else if ((subBrand == "Adventure" || "Liquid" || "Silver") && (location == "US")) {
            event.value = "US01";
    else if ((subBrand == "Adventure" || "Liquid" || "Silver") && (location == "WH")) {
            event.value = "WH01";
    else    event.value = "";

  • Open in same window, when using simple finder window

    When I am using finder windows in simplified mode (no sidebar) any folder I open, pops up a new window. Is it possible to have folders open in the same window?
    Thanks

    noondaywitch wrote:
    Thanks for the correction ref. the opt key, Don. However I always have the finder selection unchecked and in icon view it still opens new windows…
    Odd. When I check or uncheck that item in Finder Preferences, the resultant behavior is as expected in all folder view modes, including Icon view.

  • Does voltage output matter when using an adapter with the macbook???????

    i have a generic ac adapter modified with a magsafe plug it works fine on macbook pro i tested it
    it is 18.5 volts output 85watts
    will it work ok on macbook???

    i know that info im trying to find out if using an 18.5 volt universal adapter with a magsafe plug thats 85 watts will it work on a macbook
    will the 18.5 volt be too much.....and the 85 watts be ok
    note: this is not an apple adapter its a generic one with a magsage plug on it
    please dont tell me what is recommended tell me if it will work or not
    recommndations are just money making lies from manufacturers to make money

  • Error in PDF & TXT output requests when using ixlib.cfg please help

    Hi Gurus,
    I am having a problem that
    The output for custom Arabic report in ghost viewer is coming garbage type characters
    so i added these below lines in adovars.env
    export IX_PRINTING=$FND_TOP/resource/ixlib.cfg
    export IX_RENDERING=$FND_TOP/resource/pastas.cfg
    export TK_LOCALE=BIDI
    after that i sourced the environment file and bounced back the apps tier, what happened arabic characters started to come fine as expected in ghost viewer
    but when i ran active user report it ended in completed but with error
    then i checked its output was in PDF so i changed it in text still the same
    then i ran other reports to verify i found it any report file giving output as PDF & TXT is giving the below error where as rtf & Postscript are giving correct output
    the error is coming as
    "stat_low = 6
    stat_high = 0
    emsg:was terminated by signal 6
    Enter Password:
    *** glibc detected *** ora_rw20_run: free(): invalid pointer: 0x08ee509c ***
    i searched oracle support and found Note [ID 1295724.1] which is very near to my error
    according to it ixlib.cfg is having invalid entries i checked there was none.
    when ever i remove these below 3 lines from adovars.env every thing gets back to normal but arabic characters in postscript ghost viewer appears as junk
    export IX_PRINTING=$FND_TOP/resource/ixlib.cfg
    export IX_RENDERING=$FND_TOP/resource/pastas.cfg
    export TK_LOCALE=BIDI
    Oracle DB Version 11.1.0.7.0
    Apps version 12.1.1
    FNDPSTAX -v
    3.0.4.0(patch 5)
    Please advice Gurus
    Thanks
    HASSAN

    Can you find any errors in the database log file?
    after that i sourced the environment file and bounced back the apps tier, what happened arabic characters started to come fine as expected in ghost viewer
    but when i ran active user report it ended in completed but with error You mentioned that Arabic characters started to come find in Ghost Viewer, so what was the request you have submitted?
    then i checked its output was in PDF so i changed it in text still the same What is the database characterset? Have you reviewed (How to Print PDF/UTF8 in R12? [ID 778970.1])?
    then i ran other reports to verify i found it any report file giving output as PDF & TXT is giving the below error where as rtf & Postscript are giving correct output
    the error is coming as
    "stat_low = 6
    stat_high = 0
    emsg:was terminated by signal 6
    Enter Password:
    *** glibc detected *** ora_rw20_run: free(): invalid pointer: 0x08ee509c ***Have you tried to enable trace and see if you get more details about the error?
    i searched oracle support and found Note [ID 1295724.1] which is very near to my error
    according to it ixlib.cfg is having invalid entries i checked there was none.What about displayfontpath? Is it set to the absolute path?
    when ever i remove these below 3 lines from adovars.env every thing gets back to normal but arabic characters in postscript ghost viewer appears as junk
    export IX_PRINTING=$FND_TOP/resource/ixlib.cfg
    export IX_RENDERING=$FND_TOP/resource/pastas.cfg
    export TK_LOCALE=BIDIhave you verified the value of "Tk2Motif*fontMapCs" entry in Tk2Motif_UTF8.rgb file? -- Arabic Bitmap Reports Complete in Error [ID 798213.1]
    Thanks,
    Hussein

Maybe you are looking for