PFI line for counter and digital boolean input simultaneously

Hi,
I have a question concerning the digital I/O and the counter.
I use a 6210 card for detecting a TTL signal. Physically I wire the TTL output of the device to the PFI0 port for the front counter (ctr0). Meanwhile, I use the same port (line0) for a digital boolean acquisition task. 
The problem: the counter worked well, but the the boolean indicator sometimes missed the pulses. 
Thanks in advance for your help!
 KXZ

Hi KXZ,
I made the test in MAX and everything was ok.
What do you mean by " boolean indicator sometimes missed the pulses"?
Best regards.
Sabri JATLAOUI - Certified LabVIEW Developer

Similar Messages

  • How do I use the counter and digital signals of the 6071E while it is connected to SCXI modules?

    I am contemplating using a PCI 6071E with SCXI. We have the boards (6071E), we would need the cable (I suppose SH1006868) and the SCXI system. I would like to know how would you access the counter and digital line capabilities of the board. I will be using a SCXI-1314 with a SCXI-1520 Module for strain measurements but will need to use the counter and digital lines of the board as well. Can this be done? If so, how and/or what else do I need?

    I think this KnowledgeBase will answer the question for you.
    Accessing DAQ Board Counter Pins with an SCXI System
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • This is regarding printing vertical lines for each and every field

    Hi to all.....
    1....Hi
    here is a requirement
    i want to print vertical lines and horizontal lines for each and every field in the output of a report.Here i want to see the output just like table i.e i want to draw line after each field.
                             suppose if the output list contains just 10 records, then the vertical line must end for 10 records.how to draw vertical lines for this requirement.
    thanks and regards,
    k.swaminath

    Hi
    In report you can use
    sy-uline for horizontal line
    sy-vline for vertical lines.
    Check this sample report
    DATA: BEGIN OF USR_TABL OCCURS 0.
    INCLUDE STRUCTURE UINFO.
    DATA: END OF USR_TABL.
    DATA: L_LENGTH TYPE I,
    T_ABAPLIST LIKE ABAPLIST OCCURS 0 WITH HEADER LINE, BEGIN OF T_USER OCCURS 0, COUNTER TYPE I, SELECTION TYPE C, MANDT LIKE SY-MANDT, BNAME LIKE SY-UNAME, NAME_FIRST LIKE V_ADRP_CP-NAME_FIRST, NAME_LAST LIKE V_ADRP_CP-NAME_LAST, DEPARTMENT LIKE V_ADRP_CP-DEPARTMENT, TEL_NUMBER LIKE V_ADRP_CP-TEL_NUMBER, END OF T_USER, L_CLIENT LIKE SY-MANDT, L_USERID LIKE UINFO-BNAME, L_OPCODE TYPE X, L_FUNCT_CODE(1) TYPE C, L_TEST(200) TYPE C.
    L_OPCODE = 2.
    CALL ‘ThUsrInfo’ ID ‘OPCODE’ FIELD L_OPCODE
    ID ‘TAB’ FIELD USR_TABL-*SYS*.
    CLEAR T_USER. REFRESH T_USER.
    LOOP AT USR_TABL.
    T_USER-MANDT = USR_TABL-MANDT. T_USER-BNAME = USR_TABL-BNAME. APPEND T_USER.
    ENDLOOP.
    SORT T_USER.
    DELETE ADJACENT DUPLICATES FROM T_USER.
    LOOP AT T_USER.
    T_USER-COUNTER = SY-TABIX. SELECT V~NAME_FIRST V~NAME_LAST V~DEPARTMENT V~TEL_NUMBER INTO (T_USER-NAME_FIRST, T_USER-NAME_LAST, T_USER-DEPARTMENT, T_USER-TEL_NUMBER) FROM USR21 AS U JOIN V_ADRP_CP AS V ON U~PERSNUMBER = V~PERSNUMBER AND U~ADDRNUMBER = V~ADDRNUMBER WHERE U~BNAME = T_USER-BNAME. ENDSELECT. MODIFY T_USER.
    ENDLOOP.
    SORT T_USER BY NAME_LAST NAME_FIRST.
    PERFORM DISPLAY_LIST.
    TOP-OF-PAGE.
    PERFORM DISPLAY_MENU.
        * End of top-of-page
    TOP-OF-PAGE DURING LINE-SELECTION.
    PERFORM DISPLAY_MENU.
        * End of top-of-page during line-selection
    AT LINE-SELECTION.
    IF SY-CUROW = 2. IF SY-CUCOL < 19. T_USER-SELECTION = ‘X’. MODIFY T_USER TRANSPORTING SELECTION WHERE SELECTION = ‘’. PERFORM DISPLAY_LIST. ELSEIF SY-CUCOL < 36. CLEAR T_USER-SELECTION. MODIFY T_USER TRANSPORTING SELECTION WHERE SELECTION = ‘X’. PERFORM DISPLAY_LIST. ELSEIF SY-CUCOL < 50. PERFORM TRANSFER_SELECTION. PERFORM POPUP_MSG. ELSEIF SY-CUCOL < 67. PERFORM TRANSFER_SELECTION. SORT T_USER BY NAME_LAST. PERFORM DISPLAY_LIST. ELSEIF SY-CUCOL < 81. PERFORM TRANSFER_SELECTION. SORT T_USER BY NAME_FIRST. PERFORM DISPLAY_LIST. ELSEIF SY-CUCOL < 93. PERFORM TRANSFER_SELECTION. SORT T_USER BY MANDT. PERFORM DISPLAY_LIST. ENDIF. ENDIF.
        * End of line-selection
    *& Form DISPLAY_LIST
    FORM DISPLAY_LIST.
    SY-LSIND = 0.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    LOOP AT T_USER.
    WRITE: / SY-VLINE, T_USER-SELECTION AS CHECKBOX, SY-VLINE, T_USER-MANDT, SY-VLINE, T_USER-BNAME, SY-VLINE, T_USER-NAME_FIRST(15), SY-VLINE, T_USER-NAME_LAST(15), SY-VLINE, T_USER-DEPARTMENT, SY-VLINE, T_USER-TEL_NUMBER(20), SY-VLINE. HIDE: T_USER-COUNTER, T_USER-SELECTION.
    ENDLOOP.
    FORMAT COLOR OFF.
    WRITE: /(108) SY-ULINE.
    ENDFORM. ” DISPLAY_LIST
    *& Form DISPLAY_MENU
    FORM DISPLAY_MENU.
    FORMAT COLOR COL_HEADING HOTSPOT. WRITE: (91) SY-ULINE, / SY-VLINE NO-GAP, (4) ICON_SELECT_ALL NO-GAP, ‘Select All’, SY-VLINE NO-GAP, (4) ICON_DESELECT_ALL NO-GAP, ‘Deselect All’, SY-VLINE NO-GAP, (4) ICON_SHORT_MESSAGE NO-GAP, ‘Send Popup’, SY-VLINE NO-GAP, (4) ICON_SORT_UP NO-GAP, ‘Last Name’ NO-GAP, SY-VLINE NO-GAP, (4) ICON_SORT_UP NO-GAP, ‘First Name’ NO-GAP, SY-VLINE NO-GAP, (4) ICON_SORT_UP NO-GAP, ‘Client’ NO-GAP, SY-VLINE, /(91) SY-ULINE, /(108) SY-ULINE. FORMAT HOTSPOT OFF. WRITE: / SY-VLINE, ’ ‘, SY-VLINE, ‘Cli’, SY-VLINE, ‘User ‘, SY-VLINE, ‘First Name ‘, SY-VLINE, ‘Last Name ‘, SY-VLINE, ‘Department ‘, SY-VLINE, ‘Telephone ‘, SY-VLINE, /(108) SY-ULINE. FORMAT COLOR OFF.
    ENDFORM. ” DISPLAY_MENU
    *& Form TRANSFER_SELECTION
    FORM TRANSFER_SELECTION.
    DO. READ LINE SY-INDEX FIELD VALUE T_USER-SELECTION. IF SY-SUBRC <> 0. EXIT. ENDIF. MODIFY T_USER TRANSPORTING SELECTION WHERE COUNTER = T_USER-COUNTER. ENDDO. CLEAR T_USER.
    ENDFORM. ” TRANSFER_SELECTION
    *& Form POPUP_MSG
    FORM POPUP_MSG.
    DATA: L_MSG LIKE SM04DIC-POPUPMSG VALUE ‘Experimental Message’, L_LEN TYPE I, L_RET TYPE C. LOOP AT T_USER WHERE SELECTION = ‘X’. PERFORM GET_MESSAGE CHANGING L_MSG L_RET. EXIT. ENDLOOP. IF L_RET = ‘A’. “User cancelled the message EXIT. ENDIF.
        * Get the message text
    L_LEN = STRLEN. LOOP AT T_USER WHERE SELECTION = ‘X’. CALL FUNCTION ‘TH_POPUP’ EXPORTING CLIENT = T_USER-MANDT USER = T_USER-BNAME MESSAGE = L_MSG MESSAGE_LEN = L_LENGTH
        * CUT_BLANKS = ’ ’
    EXCEPTIONS USER_NOT_FOUND = 1 OTHERS = 2. IF SY-SUBRC <> 0. WRITE: ‘User ‘, T_USER-BNAME, ‘not found.’. ENDIF. ENDLOOP. IF SY-SUBRC <> 0.
        * Big error! No user has been selected.
    MESSAGE ID ‘AT’ TYPE ‘E’ NUMBER ‘315’ WITH ‘No user selected!’. EXIT. ENDIF.
    ENDFORM. ” POPUP_MSG
    *& Form GET_MESSAGE
    FORM GET_MESSAGE CHANGING P_L_MSG LIKE SM04DIC-POPUPMSG
    P_RETURNCODE TYPE C.
    DATA: BEGIN OF FIELDS OCCURS 1. INCLUDE STRUCTURE SVAL.
    DATA: END OF FIELDS, RETURNCODE TYPE C.
    FIELDS-TABNAME = ‘SM04DIC’.
    FIELDS-FIELDNAME = ‘POPUPMSG’.
    FIELDS-FIELDTEXT = ‘Message :’. CONCATENATE ’ – Msg from’ SY-UNAME ‘.’ INTO FIELDS-VALUE SEPARATED BY ’ ‘. APPEND FIELDS.
    CALL FUNCTION ‘POPUP_GET_VALUES’
    EXPORTING POPUP_TITLE = ‘Supply the popup message’
    IMPORTING RETURNCODE = P_RETURNCODE
    TABLES FIELDS = FIELDS.
    IF P_RETURNCODE = ‘A’.
    EXIT.
    ELSE.
    READ TABLE FIELDS INDEX 1.
    P_L_MSG = FIELDS-VALUE.
    ENDIF.
    ENDFORM. ” GET_MESSAGE
    *—End of Program
    Regards
    Pavan

  • Is it possible to create a web page to launch Reflection for UNIX and Digital program using Dreamweaver CS6?

    I am planning to create a web page that could launch Reflection for UNIX and Digital program as part of my project in my working area.
    Is this possible?
    I am a beginner in using DW. I am still studying how to properly use Dreamweaver thinking that I could provide the requirement of my project.
    Thank you for your comments.

    This is a question for Attachmate, the maker of Reflection, not Adobe, the maker of Dreamweaver.
    Dreamweaver is a tool, not a technology. It builds applications using HTML and Javascript that run on web servers using the HTTP protocol. So I think the question to as Attachmate is:
    Can Reflection be launched from an apache webserver using HTML, PHP or Javascript?

  • Copy control for dates and disable the input

    Hi All,
    I have the following problem: I'm trying to copy dates in a follow-up order from the source order (which works fine by implementing the CRM_COPY_BADY method DATES) and disable the input of the copied dates in the follow-up order (which doesn't work).
    In the change-parameter CT_INPUT_FIELDS you can specify the fields which have to be copied and furthermore you can control the modifiability of the field in the follow-up order via the parameter CHANGEABLE (e.g. 'A' means field can not be changed). This technique is the same in all methods of the copy BADI.
    Unfortunately it doesn't work for the dates. As I said already, the date is copied but can be changed by the user in the follow-up order.
    Anybody an idea?
    Thanks and best regards, Lutz

    Dear John,
          Actually, I have tried with copy requirement 2.However, it works for copying a different customer with the same sales area as original. Yes, I may need to ask developer to solve my solution. But I would like to keep it to be the last choice. I tried to search "How to copy document between inter-company businees"; but the I still not get what my custome's want.  Anyways, thank you very much for sharing idea.

  • How to create a measure for COUNT and compare year-to-date/last year?

    Hello expert,
    I have gone through the Oracle by example tutorial for creating the repository. However, I can't find out how to create a measure to display the COUNT (sequence ID). I tried the Aggregation function on the sequence ID on the Fact table but the report on Answer listed out all the sequence IDs in the database. And did not give me the count of the transaction for the period quarter. If I used the sequence ID on Dim table, the SQL failed.
    And also I want to have two counts, one is for the count of transactions by quarter. Another is for count of transaction for the same period quarter.
    Please help.
    Thanks.....

    If you use count (or count distinct ) as the aggregation rule in the dropdown in the repository column, it should work. Or you can post the generated logical and physical sql here.

  • Field for counter and node in IA07 transaction

    Hi,
    In PLPO table when i give the task list type and group, I get multiple entries.How do we restrict the number of entries to the ones we need for our maintenance plan? Can it be done through counter and node? In that case where can we find them in IA07 transaction?
    Thanks & Regards,
    Jegashree

    Hi experts,
    Any suggestion on this?
    Regards,
    Jegashree

  • Checking for alphabets and digits

    I am reading a stream of characters and want to filter out if the character read is a letter(A-Z) or a number(0-9). I tried to use isLetter() and isDigit() functions of the Character class but it does also treats some other characters(based on unicode i think) other than A-Z as Letters and digits. Is there any way to test exactly alphbets(A-Z) and between ( 0-9).
    its urgent...
    thanks in advance.
    vinod

    you can simply use it without the charcater class and its methods... like this..
    if( (inChar >= 'A' && inChar <= 'Z') || (inChar >= 'a' && inChar <= 'z') ) {
          // do the stuff for letters..     
    if( inChar >= '1' && inChar <= '0') {
         // do stuff for digit...
      }

  • Show T and F boolean text simultaneously?

    I would like to show both True and False boolean text values simultaneously at different locations. Is there any way to do this? I want to use a toggle or rocker switch and be able to see both values at all times.
    In an old post Ben and TiTou showed methods to move the text around using property nodes and formating the text with spaces or CR. These only show the selected value, not both.
    If the Label, Caption, and Boolean text are all made visible, the effect can be produced. However, this does not allow for programmatic change of all the text, as for language changes, because the label cannot be changed.
    For buttons (where the boolean text is usually used) it does not matter, but for rocker and toggle switches this would allow a nicer, more professional GUI. I cannot think of a use case for the transitions texts (T>F and F>T) with these switches, but any option to display the boolean texts simultaneously would have to include those for compatibility.
    I have attached a VI which shows the look I would like to achieve.
    Lynn
    Message Edited by johnsold on 07-03-2008 09:52 AM
    Attachments:
    Show both boolean text.vi ‏9 KB

    Hi Lynn,
    I would use a simple text indicator (classic look, set to transparent) to immitate that behaviour. Instead of changing the boolean state texts you simply write to that indicator...
    Just a thought: you can create an XControl to hide that functionality from your block diagram
    Btw.: Where's your vi? Ok, now it's there...
    Message Edited by GerdW on 07-03-2008 03:53 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • USB for analog to digital video input?

    I have a USB-based Analog-to-Digital video converter that I used when I had my PC, for transferring old family video tapes to digital to burn DVDs.
    Can I use this with my Mac with iMovie 08), or will the Mac only accept digital video via a Firewire input?
    - Mike

    Mike Rivera wrote:
    ... Can I use this with my Mac with iMovie 08), or will the Mac only accept digital video via a Firewire input?
    no, you can not use that device, because usb-devices need specific 'drivers', which in most cases are of no avail for Mac ..
    but...
    many harddrive-camcorders are connected via usb, and DO work with Mac..
    if a device has both (miniDV camcorders), the video is only imported via firewire, the usb-connection is only in use for stills, those devices allow to record ...

  • One E1 for voice and digital modem...

    Hello All!!!
    My question is about remote access and Ip-telephony ...
    I use cisco3825 with PVDM2-12DM NM-1CE1T1-PRI cards installed.
    I have only one E1 channel.
    Can I install on router IOS with CCME support and use this E1 for voice too?
    How I can detect what call should be forwarded to CME or Digital modem?
    Thank you very much...

    You can't do that with the hardware that you have now.
    I recommend you get the following:
    one VWIC or VWIC2, with two ports.
    and
    one HWIC-1CE1T1-PRI that supports the DMs,
    and
    one PVDM2-64. (you cannot use the -32 because you have two ports)
    and
    IOS 12.4(11)XW6
    see:
    http://cisco.com/en/US/prod/collateral/modules/ps2797/product_data_sheet0900aecd80710c88.html
    and
    http://cisco.com/en/US/docs/ios/12_4t/12_4t11/htpvdm2.html
    and
    http://cisco.com/en/US/tech/tk652/tk653/technologies_tech_note09186a00804794c6.shtml
    One the VWIC one port you connect to telco. the other using with a crossed cable, you connect to the HWIC.
    You route voice calls to the HWIC based on calling or called number. Automatic recognition of modem/voice calls is not supported.
    Hope this helps, please rate post if it does!

  • Best fit lines for loops and sine waves

    I am trying to find a best fit line that will work for sine waves and loops (hysteresis loops). I can get the sine wave just fine, but when I switch to a hysteresis it just puts a line across the middle (I assume because of the 2 y values for every x). I am doing data acquisition that will take in both forms and graph them. I tried a polynomial fit and it doesn't work at least the way I implemented it and I tried a few others but it looks like they are all function based. Also, my y values are coming out of a Bessel filter. I don't think this would be affecting anything but I thought I would put it in here incase it does.
    Did I miss one that I haven't tried that works for my application?
    Thanks
    Patrick

    RiversDaddy wrote:
    ... currently I am doing it by looping and reducing the error towards zero to fit the amplitude and phase. (I know the frequency).  If this is what you are looking to do then I will help, or should I be doing things differently? All of the functions I have found to filter or extract tones seem to introduce a larger frequency of phase error than i get using this method, but am I missing something?
    "looping" is a bit vague. What is the actual algorithm to find better estimates (e.g. levenberg marquardt, etc.)
    What problems did you have with extract single tone. Can you show some data where the results from it are not good?
    LabVIEW Champion . Do more with less code and in less time .

  • Can I setup my Browser to use my DSL line for downloads and T1 line for uploading

    Hi,
    i would like to setup my browser to use my DSL internet connection to open my emails from google and when i am sending it to use my T1 line. Please let me know if its even possible in a browser.
    Thanks

    The Operating System is what controls the incoming and outgoing connections, so that is really a Windows support issue.
    The only thing that I can think of is to ask in one of the Satellite forums over here, for some ideas on how you might accomplish that:
    http://www.dslreports.com/forum/
    Satellite internet works similar to that, the download comes by Satellite, and the upload goes out by dial-up or other land connection.

  • GPO For Outlook Certificates Used For Encryption and Digital Signatures?

    How can we configure a group policy to distribute certificates to Outlook 2010 users so they can digitally sign and encrypt messages without requiring much effort on their end?
    The users will become confused and make mistakes if we ask them to follow instructions on how to download and import certificates into Outlook 2010 manually.  Can we automate this with Group Policy?

    Would a certificate "autoenrollment" GPO work for these types of certificates?
    Yes. Here's a good guide. The user will still need to choose to sign, or encrypt, unless you want to enforce that in some way. If you are sending signed or encrypted email outside of your AD, you will need to solve how the recipients will get your root cert,
    etc.
    http://davidmtechblog.blogspot.com.au/2013/06/exchange-2010-security-smime-part-1.html
    http://davidmtechblog.blogspot.com.au/2013/07/exchange-2010-security-smime-part-2.html
    http://davidmtechblog.blogspot.com.au/2013/07/exchange-2010-security-smime-part-3.html
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Single Dev Environment and Code Line for 6 and CC?

    Hi All,
    Up until now, we were developing for customers who only used InDesign CS5.5 and CS6 - using Extension Builder 2.1.
    The problem is that now a new customer only has CC 2014.1 (they just purchased it today). I found one hack how to create an Extension using 2.1 for CC 2014/2014.1. However, this hack doesn't support HostAdapters, which we require as we want to control the fly panel of the panel menu.
    Also, I think CC 2014.1 supports only HTML5 panels. Does that mean a total re-write of all our code? And since CS6 does not support HTML5 panels - do we now have to maintain 2 parallel code lines until the last of our customers migrates to CC???
    I'd appreciate any advice.
    Regards,
    mlavie

    Hi mlavie,
    You're no need to rewrite tens of thousands code.
    You are free to use any UI framework that suits your needs.
    As I understood, Adobe supporting only Photoshop HostAdapter in Extension builder 3 for now, so in any case, in my opinion, only HTML will not give a solution to your problem.
    Instead you can write your own "HostAdapter" using Adobe Illustrator CC 2014 SDK, and connect it with your (Flash/Flex)extension. (check samples with Notifiers, it will help)
    According to InDesign, It's strange, because everything works smoothly for me. Can you write more detailed about that?
    ps, sorry for bad English.
    Best Regards,
    Gegham

Maybe you are looking for

  • APPLE DVI To Video Adapter Not recognized in Lion

    Is anyone successfully using an APPLE M9267G/A DVI To Video Adapter, with a Power Mac using OSX 10.7+  ? I am thinking that Lion has dropped driver support for this adapter.  Can any confirm or deny? Thanks

  • IPod (with video) freezes Windows XP - POSSIBLE SOLUTION

    Hi everyone, I bought a 5g 30gig iPod with video a few days ago, and immediately ran into the "iPod freezes Windows when connected via USB 2.0" problem. I read through every possible post on this website, on iLounge, on Microsoft's forums, etc. There

  • 10.8 Install - Unable to Choose Disc

    Mac Mini server with 10.8  (ie mac Mini with 2 internal discs) One of the discs is dying so I want to install the OS  on to the other disc Problem - the installer never offers me the chocie of whiuich disc to installon to, and automatically chooses t

  • In how many ways could I connect different company for telepresence?

    Hello everyone,  I'm new in the video conference and telepresence field.  I'd like to know how many ways there are to connect different company to make a telepresence session. Currently I'm managing a telepresence infrastructure in which all the diff

  • Labview project does not run on different computer

    I have some problems with a lvproj file containing an application. The application used to work with as long as I had all subvis inside a llb file. With the very same VIs I now created a lvproj file on Labview 8.6. I can successfully load and run the