PXI 6602 and encoder reading with two counters

I'm reading three encoders with 2000 pulses for each revolution with a PXI 6602. As the loads are connected to the motors through a transmission ratio of 200 I need to count both the encoder pulses in each revolution and the number of revolutions.
I think I could use one counter, with the standard connections, to count the number of pulses in each revolution and another counter, with the source connected to the Z index signal and the up/down connected to the B channel, to count the number of revolutions.
Does somebody know if there is a simpler solution or a solution that needs only one counter?
Thanks

You can do this with one counter. Since you know the relationship between counts and revs (2000:1), you don't really have to count the index pulse separately. Just take the total count and divide by by the counts per rev. The quotient is the number of revs and the remainder is the position within a particular revolution. Make sure to turn off Z indexing with Counter Set Attribute (attribute 20), so that the counter does not reset each revolution.
Take a look at the NI-DAQ shipping examples in LabVIEW 6.1\examples\daq\counter\ni-tio.llb or at the example linked below. Just add the division operation to get the number of revs.
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/8bebc7cce0aa65f686256866005e411b?OpenDocument
This
seems like a fairly simple solution. Please let me know if I have misunderstood the question.
Good luck,
Brent R.
Applications Engineer
National Instruments

Similar Messages

  • I just purchased an ibook for my mac for the first time and it started with two pages then switched to one with notes and i can't change it back. Anyone else having this problem?

    I just purchased an ibook for my mac for the first time and it started with two pages then switched to one with notes and i can't change it back. Anyone else having this problem?

    Up the top where the three buttons are (red yellow green) are three images. Click on the third image that looks like a notepad (not the first which is a library book), and that should get rid of 'Notes'. To read using two pages make the window bigger.

  • Is there any RFID reader with two antennas?

    Hello!
    I'm searching for RFID reader with two antennas and capability of choosing which antenna to use via PC/SC interface.
    Could you help me?
    Thank you in advance.

    Sonnyyu,
    Thank you for your answer.
    According to USB specification, I can connect up to 127 usb devices to a single USB controller. Hence USB hubs are addressable devices they will reduce the number of total target devices (RFID readers) I want to connect.
    There are two more constraints:
    1) Bandwidth of USB port
    2) Power consumption of devices connected to USB hub
    1) Usually single RFID reader utilizes 5-10% of a total bandwidth. So the maximum number of RFID readers working concurrently (!) is 20-10. In my application there will be 7-8 concurrently working readers maximum.
    2) Power consumption is not an issue if you use powered(!) USB hubs. When you use powered USB hubs all the power is not going from USB controller, but from an external source (each powered USB hub has its own power supplier).
    Also all the RFID readers that I connect are located in a range of 2-3 meters from a PC, so I have no problem with possible interferences.
    Why should I use TCP/IP in this case?
    Thank you again.

  • HT1476 i plug in my phone to the  charger and i tried with two different cables, and it seems like it is not making connection to the clable?

    i plug in my phone to the  charger and i tried with two different cables, and it seems like it is not making connection to the clable. but it is not charging. what are some possible ways o fix that?

    When you plug in your charger and attach it to the MBP, initially the light will turn green.  If the MBP needs charging, a few seconds later the light will turn amber.  That is normal.  If your symptoms are different, then they may or may not be a problem.
    Ciao.

  • I have signed in iCloud and Apple Id with two different accounts and forgot the password of iCloud's account so what should I do?

    I have signed in iCloud and Apple Id with two different accounts on my Iphone 4S and forgot the password of iCloud's account and I am unable to reset the password of it,so what should I do?

    iCloud: Change your iCloud password
    If you forgot your Apple ID password - Apple Support
    Apple ID: Contacting Apple for help with Apple ID account security - Apple Support
    A forgotten iCloud password as above can go to http://iforgot.apple.com and sign in with the same ID they use for iCloud to enter the password reset process.
    https://getsupport.apple.com/https://getsupport.apple.com/GetproductgroupList.action

  • Problem Counting A and B Encoder Signals on Two Counters.

    Hi All,
    I have an existing LabVIEW program that uses three counters to measure A, B and Z signals of the encoder.  I can read these signals separately if I hook only one of them to the PCI 6602.  If I hook up A and B, I will get intermitten correct reading for signal A.  I will always get the correct reading for signal B.  Is there a problem of trying to measure these signals using separate counters?  This program basically tries to measure the time between the different edges.  There isn't any documentation, so I am not even sure which board this application was written for.  Although, there is an analog input section of this code.  I even tried the counter for the 6502E board.  I get the same problem.  I am not sure if the physical channels constants in the program is correct.  Has anyone run into this problem before?
    Thank you for your input.
    Attachments:
    Main Encoder Tester.vi ‏883 KB

    Hello Van626,
    After looking over your code for measuring a encoder, I would suggest performing this acquistion in a different way. The reason why is that it is not advisable to create and clear or start and stop in a while loop. In order to get around this, here are some ideas I had:
    1.) Use the Counter Input Angular Encoder Task. This task will allow you to record the encoder measurements so that you don't have to program this yourself. I would suggest starting with Measure Angular Position.vi example in LabVIEW. In order to specify the PFI lines for the A, B, Z terminals, there is a channel property node under Counter Input » Encoder for A, B, and Z terminals.
    2.) If you want to record each signal, you have enough counters to do this. There is a VI called DAQmx Connect Terminals that will connect PFI lines together. In doing this, you can connect your three signals to three PFI lines but have them go to multiple counters. I have current tested this with an Angular Encoder task with a Two edge Separation and it works perfectly
    Note: You will need to look at the Device Routes for the PCI-6602 to ensure that you are sending the signal to the correct place. Another caveat about connecting PFI lines together you will have to disconnect them when you are done. If you don't they will always be connected. This can be done by reseting the device using the DAQmx Reset Device.vi or the DAQmx Disconnect Terminals.
    Jim St
    National Instruments
    RF Product Support Engineer

  • How to disable autoplay in windows media player, normally play FLAC and watch AVI with two or more audio streams

    0x1) is there a way to disable annoying autoplay feature in windows media player: when i play music in "now playing" mode and insert a disc which contains some video WMP stops playing music and asks me to play that disc or starts playing without any questions (e.g. when i insert DVD). in addition when WMP asks before playing it proposes three options: resume playing, go to library and play previous list. choosing "resume playing" you'll not resume the music just played, you'll start playing inserted disc. if you choose "play previous list", it also won't continue the playlist i was just playing, rather a playlist or track before the one i was just playing! very strange behaviour, isn't it?
    note that this happends only in "now playing" mode, when library is active everything works fine.
    please don't tell to go to control panel and change autoplay settings: it takes no effect. it works when WMP is not started or if WMP is not in "now playing" mode, otherwise WMP ignores that settings and demonstrates his "very intellectual"automatic playing.
    0x2) when playing FLAC files windows media player doesn't show progress indicator, it always is positioned at the beginning (or at the place where you've positioned it). if i select multiple FLAC files and click "play with windows media player" it will play only the last file from the selected list.
    0x3) when playing AVI files with two or more audio tracks WMP plays only one of them and gives no opportunity to change autio track. in wmp of vista it plays all the audio tracks at the same time (!).
    If there is no solution for these problems, please tell me where i can send a feedback about my complaints?

    i use K-Lite 5.2 full codec pack. in the k-lite codec tweak tool report i see madFLAC.ax installed. i'll try the Xiph.org filters.
    K-Lite Codec Tweak Tool | Log file | Generated at 2009-10-30 08:04:48
    #####  DirectShow Filters (32-bit)  #####
    Description:  ffdshow Video Decoder
    File name:    c:\program files (x86)\k-lite codec pack\ffdshow\ffdshow.ax
    CLSID:        {04FE9017-F873-410E-871E-AB91661A4EF7}
    Merit:        FF800001
    Description:  Nero Subpicture Decoder
    File name:    c:\program files (x86)\common files\ahead\dsfilter\nesubpicture.ax
    CLSID:        {06CBC9D1-92B8-41FA-B4A7-D841A0C13422}
    Merit:        00400000 = MERIT_UNLIKELY
    Description:  CoreVorbis Audio Decoder
    File name:    c:\program files (x86)\k-lite codec pack\filters\corevorbis.ax
    CLSID:        {0835DC4B-AA01-48C3-A42D-FD62C530A3E1}
    Merit:        00800000 = MERIT_PREFERRED
    Description:  ffdshow Audio Decoder
    File name:    c:\program files (x86)\k-lite codec pack\ffdshow\ffdshow.ax
    CLSID:        {0F40E1E5-4F79-4988-B1A9-CC98794E6B55}
    Merit:        3FFFFFFF
    Description:  MPC - Mpeg Source (Gabest)
    File name:    c:\program files (x86)\k-lite codec pack\filters\mpegsplitter.ax
    CLSID:        {1365BE7A-C86A-473C-9A41-C0A6E82C9FA3}
    Merit:        00400000 = MERIT_UNLIKELY
    Description:  MONOGRAM AMR Splitter
    File name:    c:\program files (x86)\k-lite codec pack\filters\mmamr.ax
    CLSID:        {24FA7933-FE18-46A9-914A-C2AA0DBACE93}
    Merit:        00600000 = MERIT_NORMAL
    Description:  Nero Resize
    File name:    c:\program files (x86)\common files\ahead\dsfilter\neresize.ax
    CLSID:        {30002E0C-C574-481E-A5DE-90AE54A79E10}
    Merit:        00400000 = MERIT_UNLIKELY
    Description:  MPC - MP4 Source
    File name:    c:\program files (x86)\k-lite codec pack\filters\mp4splitter.ax
    CLSID:        {3CCC052E-BDEE-408A-BEA7-90914EF2964B}
    Merit:        00600000 = MERIT_NORMAL
    Description:  Nero QuickTime(tm) Video Decoder
    File name:    c:\program files (x86)\common files\ahead\dsfilter\neqtdec.ax
    CLSID:        {470157A6-BFEA-4DF8-A8A7-12CE5EF33AE7}
    Merit:        00400000 = MERIT_UNLIKELY
    Description:  MPC - FLV Splitter (Gabest)
    File name:    c:\program files (x86)\k-lite codec pack\filters\flvsplitter.ax
    CLSID:        {47E792CF-0BBE-4F7A-859C-194B0768650A}
    Merit:        00600000 = MERIT_NORMAL
    Description:  WavPack Audio Decoder
    File name:    c:\program files (x86)\k-lite codec pack\filters\wavpackdsdecoder.ax
    CLSID:        {4B420C26-B393-48B3-8A84-BC60827689E8}
    Merit:        00600000 = MERIT_NORMAL
    Description:  Nero MP4 Splitter
    File name:    c:\program files (x86)\common files\ahead\dsfilter\nemp4splitter.ax
    CLSID:        {4DA9D034-1B99-4104-BAA8-6A42E5348FEE}
    Merit:        00600000 = MERIT_NORMAL
    Description:  MONOGRAM AMR Decoder
    File name:    c:\program files (x86)\k-lite codec pack\filters\mmamr.ax
    CLSID:        {50DDA33E-C529-4343-9689-338ADC793BB5}
    Merit:        00600000 = MERIT_NORMAL
    Description:  MONOGRAM Musepack Decoder
    File name:    c:\program files (x86)\k-lite codec pack\filters\mmmpcdec.ax
    CLSID:        {555C4774-101E-49D7-8EEC-B9B87F8E1905}
    Merit:        00600000 = MERIT_NORMAL
    Description:  Haali Media Splitter
    File name:    c:\program files (x86)\k-lite codec pack\filters\haali\splitter.ax
    CLSID:        {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}
    Merit:        00800001 = MERIT_PREFERRED + 1
    Description:  Haali Media Splitter (AR)
    File name:    c:\program files (x86)\k-lite codec pack\filters\haali\splitter.ax
    CLSID:        {564FD788-86C9-4444-971E-CC4A243DA150}
    Merit:        00400000 = MERIT_UNLIKELY
    Description:  Nero ES Video Reader
    File name:    c:\program files (x86)\common files\ahead\dsfilter\ndparser.ax
    CLSID:        {5CB78A55-01B8-431E-96DE-6227D2E0C312}
    Merit:        00600000 = MERIT_NORMAL
    Description:  DV Source Filter
    File name:    c:\program files (x86)\nero\nero 7\nero vision\nvdv.dll
    CLSID:        {5F999665-C66E-46B7-9446-7864278C06C8}
    Merit:        00400000 = MERIT_UNLIKELY
    Description:  MPC - MP4 Splitter
    File name:    c:\program files (x86)\k-lite codec pack\filters\mp4splitter.ax
    CLSID:        {61F47056-E400-43D3-AF1E-AB7DFFD4C4AD}
    Merit:        00600000 = MERIT_NORMAL
    Description:  File Source (Monkey Audio)
    File name:    c:\program files (x86)\k-lite codec pack\filters\monkeysource.ax
    CLSID:        {66EA14E6-E2B3-433D-923E-EE401CADBBD9}
    Merit:        00400000 = MERIT_UNLIKELY
    Description:  Nero PresentationGraphics Decoder
    File name:    c:\program files (x86)\common files\ahead\dsfilter\nebdgraphic.ax
    CLSID:        {68936D7B-59D8-4724-9493-17A225E03F91}
    Merit:        00600000 = MERIT_NORMAL
    Description:  madFlac Decoder
    File name:    c:\program files (x86)\k-lite codec pack\filters\madflac.ax
    CLSID:        {6B257121-CBB6-46B3-ABFA-B14DFA98C4A6}
    Merit:        00600000 = MERIT_NORMAL
    Description:  Nero InteractiveGraphics Decoder
    File name:    c:\program files (x86)\common files\ahead\dsfilter\nebdgraphic.ax
    CLSID:        {6F23E3FF-4234-4F1B-BC16-50D8A45235CA}
    Merit:        00600000 = MERIT_NORMAL
    Description:  Nero Vcd Navigator
    File name:    c:\program files (x86)\common files\ahead\dsfilter\nevcd.ax
    CLSID:        {7855449D-FC96-44D7-BA7C-3C3D86330EC4}
    Merit:        00600000 = MERIT_NORMAL
    Description:  DirectVobSub (auto-loading version)
    File name:    c:\program files (x86)\k-lite codec pack\filters\vsfilter.dll
    CLSID:        {9852A670-F845-491B-9BE6-EBD841B8A613}
    Merit:        00800002 = MERIT_PREFERRED + 2
    Description:  MONOGRAM AMR Encoder
    File name:    c:\program files (x86)\k-lite codec pack\filters\mmamr.ax
    CLSID:        {99735894-CAF4-488B-8275-B8CB1998216E}
    Merit:        00600000 = MERIT_NORMAL
    Description:  Nero Splitter
    File name:    c:\program files (x86)\common files\ahead\dsfilter\nesplitter.ax
    CLSID:        {A336CD3B-599C-4F70-A34D-E88EDE4B64C3}
    Merit:        00600000 = MERIT_NORMAL
    Description:  MONOGRAM AMR Mux
    File name:    c:\program files (x86)\k-lite codec pack\filters\mmamr.ax
    CLSID:        {AAA4AACD-FD95-4240-9C45-9EB98E5DAC52}
    Merit:        00600000 = MERIT_NORMAL
    Description:  Nero File Source / Splitter
    File name:    c:\program files (x86)\common files\ahead\dsfilter\nefsource.ax
    CLSID:        {ABA51A41-B929-4419-8660-D33BBFA7C5AD}
    Merit:        00600000 = MERIT_NORMAL
    Description:  DC-Bass Source
    File name:    c:\program files (x86)\k-lite codec pack\filters\dcbasssource.ax
    CLSID:        {ABE7B1D9-4B3E-4ACD-A0D1-92611D3A4492}
    Merit:        00400000 = MERIT_UNLIKELY
    Description:  VP7 Decompressor
    File name:    c:\program files (x86)\k-lite codec pack\filters\vp7dec.ax
    CLSID:        {C204438D-6E1A-4309-B09C-0C0F749863AF}
    Merit:        00800000 = MERIT_PREFERRED
    Description:  MONOGRAM Musepack Splitter
    File name:    c:\program files (x86)\k-lite codec pack\filters\mmmpcdmx.ax
    CLSID:        {C3E2E983-0198-4F73-9E5C-8365BB4C4131}
    Merit:        00600000 = MERIT_NORMAL
    Description:  madFlac Source
    File name:    c:\program files (x86)\k-lite codec pack\filters\madflac.ax
    CLSID:        {C52908F0-1C06-4C0D-A4CD-3D10EA51C757}
    Merit:        00600000 = MERIT_NORMAL
    Description:  MPC - FLV Source (Gabest)
    File name:    c:\program files (x86)\k-lite codec pack\filters\flvsplitter.ax
    CLSID:        {C9ECE7B3-1D8E-41F5-9F24-B255DF16C087}
    Merit:        00600000 = MERIT_NORMAL
    Description:  Nero Thumbnail Decoder
    File name:    c:\program files (x86)\common files\ahead\dsfilter\nebdthumbnail.ax
    CLSID:        {CCFB194D-9CEA-4457-9B84-554B7D4853C6}
    Merit:        00600000 = MERIT_NORMAL
    Description:  MPC - MPEG4 Video Splitter
    File name:    c:\program files (x86)\k-lite codec pack\filters\mp4splitter.ax
    CLSID:        {D3D9D58B-45B5-48AB-B199-B8C40560AEC7}
    Merit:        00600000 = MERIT_NORMAL
    Description:  Nero QuickTime(tm) Audio Decoder
    File name:    c:\program files (x86)\common files\ahead\dsfilter\neqtdec.ax
    CLSID:        {D6D8A64E-F9F7-4685-9757-7338077234D8}
    Merit:        00400000 = MERIT_UNLIKELY
    Description:  WavPack Audio Splitter
    File name:    c:\program files (x86)\k-lite codec pack\filters\wavpackdssplitter.ax
    CLSID:        {D8CF6A42-3E09-4922-A452-21DFF10BEEBA}
    Merit:        00600000 = MERIT_NORMAL
    Description:  Nero File Source (Async.)
    File name:    c:\program files (x86)\common files\ahead\dsfilter\nefilesourceasync.ax
    CLSID:        {DA5E4EC4-61AB-458B-B836-B8744B6BD3A7}
    Merit:        00400000 = MERIT_UNLIKELY
    Description:  Nero Ogg Splitter
    File name:    c:\program files (x86)\common files\ahead\dsfilter\neoggsplitter.ax
    CLSID:        {DB4D8EF5-C2ED-4835-95A1-871C2327018A}
    Merit:        00400000 = MERIT_UNLIKELY
    Description:  MPC - Mpeg Splitter (Gabest)
    File name:    c:\program files (x86)\k-lite codec pack\filters\mpegsplitter.ax
    CLSID:        {DC257063-045F-4BE2-BD5B-E12279C464F0}
    Merit:        00400001 = MERIT_UNLIKELY + 1
    Description:  Nero Digital Parser
    File name:    c:\program files (x86)\common files\ahead\dsfilter\ndparser.ax
    CLSID:        {E206E4DE-A7EE-4A62-B3E9-4FBC8FE84C73}
    Merit:        00600000 = MERIT_NORMAL
    Description:  MPC - MPEG4 Video Source
    File name:    c:\program files (x86)\k-lite codec pack\filters\mp4splitter.ax
    CLSID:        {E2B98EEA-EE55-4E9B-A8C1-6E5288DF785A}
    Merit:        00600000 = MERIT_NORMAL
    Description:  AC3File
    File name:    c:\program files (x86)\k-lite codec pack\filters\ac3file.ax
    CLSID:        {F7380D4C-DE45-4F03-9209-15EBA8552463}
    Merit:        00600000 = MERIT_NORMAL
    (A total of 169 filters, 44 shown, 125 hidden)
    #####  ICM Class Manager (32-bit)  #####
    Description:  ffdshow video encoder
    File name:    c:\program files (x86)\k-lite codec pack\ffdshow\ffdshow.ax
    CLSID:        {4DB2B5D9-4556-4340-B189-AD20110D953F} (ffdshow video encoder)
    Merit:        00100000 = MERIT_SW_COMPRESSOR
    (A total of 3 filters, 1 shown, 2 hidden)
    #####  Default source filters (32-bit)  #####
    .264    {5CB78A55-01B8-431E-96DE-6227D2E0C312}  Nero ES Video Reader
    .3g2    {E206E4DE-A7EE-4A62-B3E9-4FBC8FE84C73}  Nero Digital Parser
    .3gp    {E206E4DE-A7EE-4A62-B3E9-4FBC8FE84C73}  Nero Digital Parser
    .aac    {ABE7B1D9-4B3E-4ACD-A0D1-92611D3A4492}  DC-Bass Source
    .ac3    {F7380D4C-DE45-4F03-9209-15EBA8552463}  AC3File
    .alac   {ABE7B1D9-4B3E-4ACD-A0D1-92611D3A4492}  DC-Bass Source
    .ape    {66EA14E6-E2B3-433D-923E-EE401CADBBD9}  File Source (Monkey Audio)
    .apl    {66EA14E6-E2B3-433D-923E-EE401CADBBD9}  File Source (Monkey Audio)
    .bmp    {7DF62B50-6843-11D2-9EEB-006008039E37}  Generate Still Video
    .bsf    {5CB78A55-01B8-431E-96DE-6227D2E0C312}  Nero ES Video Reader
    .dib    {7DF62B50-6843-11D2-9EEB-006008039E37}  Generate Still Video
    .dts    {F7380D4C-DE45-4F03-9209-15EBA8552463}  AC3File
    .dv     {5F999665-C66E-46B7-9446-7864278C06C8}  DV Source Filter
    .dvr-ms {C9F5FE02-F851-4eb5-99EE-AD602AF1E619}  StreamBufferSource
    .dvr-ne {8BD32EBA-D7D7-4AB7-914E-C4E551113869}   Nero Stream Buffer Source
    .flac   {C52908F0-1C06-4C0D-A4CD-3D10EA51C757}  madFlac Source
    .flv    {C9ECE7B3-1D8E-41F5-9F24-B255DF16C087}  MPC - FLV Source (Gabest)
    .gif    {7DF62B50-6843-11D2-9EEB-006008039E37}  Generate Still Video
    .h264   {5CB78A55-01B8-431E-96DE-6227D2E0C312}  Nero ES Video Reader
    .jfif   {7DF62B50-6843-11D2-9EEB-006008039E37}  Generate Still Video
    .jpe    {7DF62B50-6843-11D2-9EEB-006008039E37}  Generate Still Video
    .jpeg   {7DF62B50-6843-11D2-9EEB-006008039E37}  Generate Still Video
    .jpg    {7DF62B50-6843-11D2-9EEB-006008039E37}  Generate Still Video
    .m3u    {e436ebb5-524f-11ce-9f53-0020af0ba770}  File Source (Async.)
    .m4a    {E206E4DE-A7EE-4A62-B3E9-4FBC8FE84C73}  Nero Digital Parser
    .mka    {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}  Haali Media Splitter
    .mks    {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}  Haali Media Splitter
    .mkv    {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}  Haali Media Splitter
    .mp3    {E436EBB5-524F-11CE-9F53-0020AF0BA770}  File Source (Async.)
    .mp4    {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}  Haali Media Splitter
    .mpls   {1365BE7A-C86A-473C-9A41-C0A6E82C9FA3}  MPC - Mpeg Source (Gabest)
    .nd     {E206E4DE-A7EE-4A62-B3E9-4FBC8FE84C73}  Nero Digital Parser
    .nvavi  {51393094-F0E2-4E34-87A5-25EBC68629EB}  Multi File Reader
    .oga    {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}  Haali Media Splitter
    .ogg    {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}  Haali Media Splitter
    .ogm    {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}  Haali Media Splitter
    .ogv    {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}  Haali Media Splitter
    .spdif  {F7380D4C-DE45-4F03-9209-15EBA8552463}  AC3File
    .tga    {7DF62B50-6843-11D2-9EEB-006008039E37}  Generate Still Video
    .tta    {ABE7B1D9-4B3E-4ACD-A0D1-92611D3A4492}  DC-Bass Source
    .wtv    {C9F5FE02-F851-4eb5-99EE-AD602AF1E619}  StreamBufferSource
    .wv     {E436EBB5-524F-11CE-9F53-0020AF0BA770}  File Source (Async.)
    .wvc    {E436EBB5-524F-11CE-9F53-0020AF0BA770}  File Source (Async.)

  • Correlated analog and encoder readings with M-series

    Hardware: PCI-6220
    Driver: NI-DAQmx
    Software: VC++ 6.0
    My goal is to collect synchronized (correlated) analog and encoder readings to provide position-based voltage and current information.
    First question is regarding the potential alternatives and which is the best approach between these options:
    1) A single task that reads required analog and counter information into the same buffer, seems easy to align the data using this approach.
    2) A task to read analog data and a second task to read counter information, complicated by the need to reliably align the informatio from seperate buffers.
    Next question is simple: can the PCI-6220 read 2 seperate encoders?
    Hopefully, last question: where can I find documentation about where to connect A, B, and Z? So far all my searches have resulted in E series or 6602 counter examples and nothing on M series.
    Thanks, Ed

    Hi Ed,
    To answer your questions:
    >>First question is regarding the potential alternatives and which is the best approach between these options:
    >>1) A single task that reads required analog and counter information into the same buffer, seems easy to >>align the data using this approach.
    >>2) A task to read analog data and a second task to read counter information, complicated by the need to >>reliably align the informatio from seperate buffers
    First of all, option one is not actually an option because you cannot have one task acquire two different types of data (eg analog and counter data). Therefore, option two is the way to go. It is not as hard as it seems. You can use Channel Z to trigger the analag input channels and once the analog and counter channels are triggered at the same time their data will automatically be aligned.
    >>Next question is simple: can the PCI-6220 read 2 seperate encoders?
    The PCI 6220 has two 32 bit counter channels, so it is possible to read two separate encouders. Here is a link to the product data sheet for this card: http://sine.ni.com/apps/we/nioc.vp?cid=14130⟨=US
    >>Hopefully, last question: where can I find documentation about where to connect A, B, and Z? So far all my searches have resulted in E series or 6602 counter examples and nothing on M series.
    You are right, it is difficult to find out where to connect channels A, B, and Z! The easiest to find this information is to create an NI-DAQmx counter Task in MAX (Measurement and Automation Explorer). Once you have followed all of the steps to create the task you will see the task information in the middle of the screen. There will be a settings tab and inside this tab it will tell you what pins to connect A, B and Z to. I went ahead and created tasks for ctr 0 and 1 in MAX to get the information on which pins to connect to A, B, and Z.
    For ctr0: For ctr1:
    A: PFI8 PFI3
    B: PFI10 PFI11
    Z: PFI9 PFI4
    Please let me know if you have any further questions. Have a great day!
    Jennifer

  • How do we sync contacts and calendars (ONLY) between two iCloud accounts, two iPhones and one iMac with two user accounts?

    This is complex.  Until today we had one iMac with two user accounts - one for me and the other for my wife.  We sync'd our calendars and contacts between our two user accounts using my iCloud account, thereby keeping our schedules coordinated and our contacts information always the same between us.  Also, as I had an iPhone, I sync'd my phone with my iCloud account, thereby keeping the contacts and calendars in the two user accounts on the iMac AND my iPhone sync'd.  (I also sync'd other things, like Notes and Mail and Safari settings, between my iPhone and my user account on the iMac, but my wife did not want to be burdened with all my emails showing up in her email account and I wasn't interested in hers, etc., so we didn't sync anything between us other than calendars and contacts.)
    We've finally bought my wife an iPhone and set up an iCloud account for her.  And of course she now wants to sync several items from HER account on our iMac to HER iPhone, but I don't want them, just as she doesn't want all of my other stuff.  But we still want our mutual calendars and contacts to sync to HER new iPhone, just like they already do to mine.  But I can't figure out how to CHANGE her iMac user account from using MY iCloud account on the iMac to using HER new iCloud account, and then having HER iCloud account speak to MY iCloud account but share JUST our calendars and contacts.
    Originally I tried a workaround by simply having her iPhone log into my iCloud account.  That works great for the calendars and the contacts.  But...she can't sync anything else from her iMac account to her new iPhone because she's presently "forced" to use my iCloud account.  And neither of us want to sync our other things to each other's iMac accounts or iPhones.  Also as we're both using my iCloud account, in things like the Find My iPhone app, the Cloud is seeking two phones labeled with my name and none with her's.  So we definitely don't want this as the set-up and communications network between our devices.
    We want to set up our users on the iMac to sync to our SEPARATE AND DIFFERENT iCloud accounts and then have those iCloud accounts sync calendars and contacts (ONLY) between themselves, and then push that data to our separate iPhones (or the other way, from either of our iPhones to the individual accounts on our iMac and the other person's iPhone).  Does this description make sense to you?  I've diagramed it nicely using Keynote, but even thiough I can draw it, I can't figure out how to set up and configure all the devices to make it work.  If you would like me to send the Keynote slides (just two of them - the current and desired configurations - please send your email address to me at [email protected] and I'll be happy to forward it to you.
    If anyone can help me set this up I'd be most appreciative!  Thanks so much.  Merry Christmas and Happy New Year to all readers in this community!

    BobT.
    I had the same problem, and decided to look into it last night.
    First of all, the solution I would like to have is for Apple to allow for selection of iCloud accounts per application, i.e. Contacts to one, Photo Stream to another. I believe this would be the most straight forward solution for the problem we are facing. 
    Since this is not an option I came up with a workaround. I was most interested in solving this for Contacts, so this is what I tested for. Now I have all 3 devices with the same contacts.
    1) Turn off iCloud for Contacts on all devices. On the device that has the Contacts list that you would like to propagate to all others select to keep the contacts, and on the others select not to keep them.
       Note that the current backups still exist on iCloud, so in case something goes wrong you can still turn the iCloud for Contacts back on to get your current Contacts back.
    2) In iTunes, sync All Contacts with the phones, starting with the one with the Contacts content you chose to keep.
    From this point on, the 3 devices should sync contacts with each other.
    This, of course, will stop your iCloud backups of Contacts, but I don't think this is really needed. You are already storing copies of your Conacts on 3 devices, which for good parts of the day are likely not all co-located. You also potentially have Time Machine backups turned on, which would mean there is a 4th copy there as well. For the case of Contacts iCloud only complicates matter ... that is until Apple implements the solution I first wrote about.

  • Advance payment and down payment with two diffierent tax code

    HI expert!!!
    i have one scenario that advance payment and down payment with different tax code.
    in this time, advance payement post to vendor with po number,  we do not know how to use tax code V1(deductable tax) or VF(Non-deductable tax),  so we post advance payement amount by tax code V1(deductable) even though the amount included both. but we must know how amount is defined deductable tax or non-deductable tax when invoice.
    when we want to post down payment with VF , we could not post it because advance payement posted with V1 tax code.
    this is main problem with my scenario.
    and  as i know,   can i post two advance payement to  same vendor and same po item?, i can't do it with my system.
    only one advacne payment  is possible with one vendor and one po item. or  amount of  advance payment is all cleared by down payment, then i can post another advance payment to same vendor.  is it standard process with po?
    thank you in advance!!

    hi,
    As per my knowledge their is no difference between  advance payment and downpayment.
    and tax code is used for taxes purpose not for the payment terms.
    taxcode is created in ftxp.and related percentages are maintained in fv11.
    ex:-
    if i want  excise duty  - 10% on basic value
    education cesse 2% on excise duty
    sec.education cesses 1% on excise duty
    then fitst i have to create 3 condition types and that 3 condition types are used in my taxprocedure  and that taxprocedure is assigned to country code..
    after that i am created one taxcode in ftxp like v1= exciseduty10%educatiocess2%sec.edu.cesses1% with this description.
    and given the values for that conditions in fv11.
    and used that v1 taxcode in your p.o in invoice tab.
    and payment terms are came from vendor not from taxcode.
    Thanking you.

  • How Can I use 2 Macs and a PC with two monitors

    This is for my office at work.
    I currently am using dual monitors and sharing those between a G4 and a PC. I'm using a Belkin switch box for the two computers. I'm adding a Mac Pro. I'm thinking I might use the Mac Pro by itself at another workstation but I would like to use it at my current workstation along with my other machines.
    I'm getting a new 23" monitor with the Mac Pro. I want to use it as my main monitor, then use one of my other monitors as a second screen. Is it possible to use two monitors with 3 computers? I would have to use the new keyboard and mouse (both will be standard, not wireless) on both of the macs and use the PC keyboard and mouse.
    Thank You
    Jim

    I would use the new Mac Pro as the main workstation and attach your mouse, keyboard and your new monitor to it.
    Then use the Belkin Switch Box to connect 1 monitor to the G4 and PC.
    Download and configure 'Synergy' (http://synergy2.sourceforge.net/) on the new Mac Pro (as the primary) and the G4 and PC (as secondary) - This will allow you to deal with only one keyboard and mouse.
    I'm with Malcolm, I would download and install VMware Fusion. VM the PC w/ Converter (http://www.vmware.com/products/converter/) and only deal with the new Mac Pro and G4. With the new Mac Pro, you can fire up the PC VM with 2 cores and have it set to a secondary space. You will not notice the difference.

  • Drivers assistance required for graphics card and fingerprint reader with W8 & Pavilion DV7-6B01ED

    Hi - I own a HP Pavilion DV7-6B01ED and recently upgraded from W7 Home Premium to W8 Pro. Everything appeared to work fine except for the graphics card I have which now seems to always be on with the fan running, getting hot and running down the battery much more than before. I can not confirm what was reported as the graphics card in W7, but it is reported as the AMD 7000M after the upgrade. My invoice reports that it is a HD6490. Further to this, W8 reported an issue with this device in Device Manager.
    Due to another issue (not hardware related) I decided to do a clean install of W8 which would also let me clean things up and to re-partition my disk.
    In doing so I deleted the HP_TOOLS and the Recovery partitions. I'm not against recreating these but needed to delete them as I had 4 primary partitions and could not work within the restriction that comes with this. I understood from reading online that these can be recreated and the necessary tools re-installed (or another solution with DVD / USB employed). If the solution to my problems requires these to be installed, I'm happy to do so.
    After the clean install, I continue to have the graphics card issue (same details as above) and the other issue I have is with the fingerprint reader. It shows up as an unknown device after W8 install (it did not have any issues after the initial upgrade I performed though).
    So I've done plenty of things to try to rectify the issue and this includes installing the HP Support Assistant in the hope that this would help with the drivers. Instead of going through all the steps I've undertaken (I've read plenty in this HP forum and outside of the forum) and used certain W7 drivers, installed this that or the other program but unfortunately to no avail. I cannot get the fingerprint reader working and I still have a very hot and noisy laptop.
    I'm good enough with OS and device driver installations and happy to get stuck into some unorthodox solutions if needs be. What can I do to resolve these issues?
    Regarding the graphics card - is it a case that AMD have yet to release an updated driver? If so, I can live with that but in the meantime I would like to turn off the AMD card and work only with the integrated Intel graphics. Disabling the device in Device Manager does not seem to work. How do I do that?
    The fingerprint reader is no big deal, but ideally I would like it working. What to do here?
    If I need to do a re-install of W8 again and then get stuck into the driver installations I'm good with that, but would like to do it in a manner that will let me resolve these issues in the future without too much hassle.
    The spec of my machine is: HP DV7-6B01ED 17.3FHD / i5-2430 / 8GB / 750GB HDD / HD6490
    Thanks!

    Hello AttackofZaq....
    Thanks firstly for your reply. I re-installed W8 to start from scratch.
    OK, so I thought the AMD driver worked. I had installed it before I posted to the forum but then the problem seemed to have returned. I'll have to play with the settings because just as I type this the fan has started for no reason, same problem as before. Is there any chance Windows Updates in interfering?
    Regarding the fingerprint reader - it hasn't helped. In Device Manager I now see Biometric Devices > Validity Sensors (WBF) (PID=0018). Is there some further software I require in order to use the device. I'm going to install SimplePass to see if that's needed.
    I'll be back with an update.
    chemus79

  • On my windows Itunes I changed computers and ended up with two of every song. How do I delete the duplicates without doing it one at a time?

    I have duplicates of all the songs on my windows 7 computer.  I changed computers and ended up with duplicates of all of my songs. How can I delete them all without having to do it one at a time? thanks!

    Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • Using both Dynamic and Static NAT with two Different Internet facing Subnets

    We have two Class C Public Address subnets.  We started with Subnet (A) and have many of our Internet accessible devices on it. It is running on a Cisco PIX 515R. We bought a new ASA 5510 8.3(2) and started Migrating the Users and new servers to it so I started with our second Class C Subnet (B).   Later on down the road I found out that if the Firewalls Default Gateway is is set to a (B) Interface subnet, then the servers that are statically mapped to a (A) Address will have a (B) address when they communicate out to the internet.  So they are receiving packets on their (A) Address, though replying to them with a (B) address. 
    It was mentioned that I should be able to combine static and dynamic NAT mapping to allow devices behind the firewall to have a fixed external Address when communicating outbound as well as inbound. 
    So For instance I want the Following: when the Internal Replies I want the reply to come from the mapped IP, not a IP from the Dynamic Pool. 
    Public IP: 192.168.1.100/24
    Internal IP: 10.0.0.100/16
    Public IP: 192.168.5.101/24
    Internal IP: 10.0.0.101/16
    interface Ethernet0/0
    description 192.168.1.0/24 Network Outside IP
    nameif outside-1
    security-level 0
    ip address 192.168.1.1 255.255.255.0
    interface Ethernet0/1
    description 192.168.5.0/24 Network Outside IP
    nameif outside-5
    security-level 0
    ip address 192.168.5.1 255.255.255.0
    interface Ethernet0/2
    description inside 10.0.0.0/16
    nameif inside
    security-level 100
    ip address 10.0.0.1 255.255.0.0
    object network serverA_o
    host 192.168.1.100
    object network serverA_i
    host 10.0.0.100
    object network serverB_o
    host 192.168.5.101
    object network serverB_i
    host 10.0.0.101
    object network 192-168-1-NAT-POOL
    range 192.168.1.50 192.168.1.239
    nat (inside,outside-1) source static serverA_i serverA_o
    nat (inside,outside-5) source static serverB_i serverB_o
    nat (inside,outside-1) source dynamic any 192-168-1-NAT-POOL interface
    object network serverA_i
    nat (inside,outside-1) static serverA_o
    object network serverB_i
    nat (inside,outside-5) static serverB_o
    route outside-1 0.0.0.0 0.0.0.0 192.168.1.1 1
    route outside-5 0.0.0.0 0.0.0.0 192.168.5.1 2
    When I set this up my serverB shows a Public IP of something in the 192-168-1-NAT-POOL Not 192.168.5.101
    Any Suggestions?
    Thanks!

    Not sure why I have Multiple Entries. )-: I did think it was Odd. I think it might be because I looking at examples of the new and old styles of NAT.
    We have a Single ISP, though have 2 separate non-Contiguous  Class C Addresses from them. We host some Servers on one subnet and some on the other. 
    I'm looking for a way to use both Subnets on the same ASA. 
    The Connection to the net looks like this:
    Internet -> Edge Router Layer3 VLAN Switch
    GE0/1.2 - 192.168.1.1 VLAN Tagged --> GE0 - VLAN Tagged
    GE0/1.2 - 192.168.5.1 VLAN Tagged -^
    Layer3 VLAN Switch Firewall
    GE1 192.168.1.0/24 Untagged -> ASA Outside-1
    GE2 192.168.5.0/24 Untagged -> ASA Outside-5
    Firewall
    ASA inside 10.0.0.0/16 -> Switch -> 10.0.0.100
    Hope that helps clarify.
    I could try to post some sanitized Configs of my PIX and ASA if needed.  But the end result I'm trying to do is have the ASA do NAT for multiple Public Subnets. 

  • CS4 and Mac Pro with two graphic cards: OpenGL not supported!

    I have two graphic cards in my Mac Pro. If a use a dual display setup where both displays are connected to the same card, Photoshop enables OpenGL support (Preferences > Performance).
    Switch both displays to the other card, also works fine.
    BUT if I connect one display to the first card and the second display to the second card (so each display has its own graphic card) the Open GL support is greyed out (I can not longer use canvas display rotation for example)
    This doesn't make sense to me and looks like a bug...

    Are you running two of the same cards or are they different? I'm running a pair of NVidia 7300GTs with no issues...and I'm driving a pair of 30" Cinemas and an NEC 26" widescreen. I get better performance on the single 30" than on the card with the two displays. Also note that which PCI slot you are driving the cards in has an impact on their performance...something to look into.

Maybe you are looking for