Analog and Encoder being collected only on encoder pulses.

I currently have the setup below and the XValue timestamps from the Write to Measurement File are not exactly at the rate I specified in the DAQ Assistant.  The DAQ Assistant just has analog channels with Samples to Read set as 10 (or 1, which does not affect this example) and the Sample Rate (Hz) set to 10 Hz.  The main problem that I am having is that the analog channels seem to follow the Frequency Counter in the sense that it alters the XValue timestamps in the Write to Measurement File and will only log the analogs and frequency channel when the encoder (frequency counter) encounters the edge of a pulse.  How do I get the analog channels in the DAQ Assistant to log as well as getting the Frequency Counter to log simultaneously with the correct XValue timestamps from the Write to Measurement File with or without the encoder moving? 
Also, is the 100 ms Wait Until Next ms Multiple needed for the Frequency Counter?
Thanks in advance for the help.

The *.vi works correctly except for the fact that when the encoder is not reading any pulses, not moving, it delays all data acquisition for all channels (analog and counter) until the encoder rotates again or the counter channel for the encoder times out according to the timeout specified.  I would like for all of the channels to be able to continue logging at the specified rate in the DAQ Assistant for the analog channels and the specified rate for the counter channel (encoder) if the encoder is not reading any pulses.  Also, when the counter channel is reading pulses, the timestamp XValue of the Write to Measurement File is not at the exact rate I specify in the DAQ Assistant.  An example of some data is shown below.
X_Value
              Analog
       Encoder
0
2.231008
0
9.237507
0.942442
0
20.366281
3.523876
5.227699
20.725778
-4.150966
1.09365
22.304438
6.117589
70.197237
When the encoder is not receiving counts, it halts all data to be written to the Write to Measurement File and the X_Value timestamps are not exactly at 10Hz as I requested in the DAQ Assistant.
Thanks again for any help.

Similar Messages

  • 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

  • Encode to audio only with a purchased iTunes movie?

    I'm trying to encode to audio only using finder, with a purchased movie from iTunes. When I do this it says complete with an error, and nothing is exported or encoded or anything???

    I can't imagine this would work.  Movies purchased via iTunes are protected via DRM and thus would resist attempts to decode and save off content.
    You could resort to analog methods.

  • LabVIEW USB-6366 sample 2 AI and Encoder Value triggered with X1-Encoder (not with sample clock) - Help needed, please

    Hello World,
    after 10 years of LabVIEW experience I'm totally lost.
    This is my first project with DAQmx and I don't know how to handle it.
    My setup: Windows7; LabVIEW 2012 DevSuite; X-Series USB-6366
    My goal: Trigger the encoder value and 2 Analog Inputs
    I would like to get one result for the encoder value and each of the two analog inputs for each change of the encoder value (not more!!! I don't want to sort a huge amount of data afterwards)
    I've been able to configure it with the Measurement and Automation Explorer, but have no clue how to get this in a LabVIEW configuration.
    All examples I could find are reading the analog Inputs and the Encoder with SampleClock. That's not what I'm looking for.
    I would greatly appreciate if someone could guide me to my solution.
    I've attached the exported confiuration of the Measurement and Automation Explorer.
    Thanks in advance, best regards,
    Balze
    P.S.: Sorry I had to ZIP the *.nce file, because NI doesn't allow to attach *.nce files
    Solved!
    Go to Solution.
    Attachments:
    configData.zip ‏290 KB

    Hi RupiDo, hi Kevin P.
    thank you for your effort and your willingness to help me. I aprreciate it!
    @ RupiDo:
    I'm aware of the DAQmx Timing.vi but where do I find I/O filtering (which context menue?)
    DAQmx is a Monster for me. It's for sure felxible and powerfull but how to configure it is not obvious for me. Also the dependencies are unclear to me. I tried things and get an error at run-time that this or that is not supported, reserved, ....
    Nyquist Shannon doesn't matter very much for my task. I measure DC voltages with litlle changes. But thank you for pointing this out.
    Retriggerable property node?? Where's that? (This maybe not obvious for me, because it's a german LabVIEW I've got to work with)
    @ Kevin P.:
    Yes, it's a quad-encoder with A,B and Z but Z is still unused (and will be unused for now)
    I've got similar problems to setup your solutions.
    When I try to configure "Change Detection" I get error messages, that it's not supported. "allow buffer overwrites"??? I seached for it very thoroughly,but without success.
    I looked at a lot of examples but always found solutions with buffered aquisition. I'm already willing to use buffered aquisition, but I even can't setup this.
    I FEEL SO STUPID Over 10 years LabVIEW experience and the first DAQmx project let's me stumble.
    I tried a buffered aquisition based on an NI example. But it only works for one analog input channel. The other brings up en error (-50103). Which one of the two analog channels brings the error is randomly.
    Maybe someone could explain me, what leads to this error, that I could start understanding DAQmx.
    I've attached the VI (LV2012) and screenshots of the frontpanel and the blockdiagram.
    Thanks in advance, best regards
    Balze
    Attachments:
    Meas Angular Position-Buffered-Cont-CtrClk-1.vi ‏72 KB
    vi_panel.png ‏95 KB
    vi_block.png ‏87 KB

  • In the privacy policy, it states that percentages and durations of books read are being collected to ensure that publishers can have a metered price model, prices depending on how the book was read. Give me an example of a company with such a price model?

    In your privacy policy, you state that the percentages and durations of books read are being collected to ensure that publishers can choose a metered price model. Prices which depends on the duration for which the book was read.
    Give me an example of a company with such a price model? Are the information being collected even where the companies have not asked for the information, even when the metered price models are not being used?
    Here is an extract från the privacy policy:
    What information does Adobe Digital Editions collect and how is it used?
    The following information may be collected when an eBook with DRM is opened in Adobe Digital Editions software. If an eBook does not have any DRM associated with it, then no information is collected.
    User GUID: The User GUID is a unique value assigned in place of your User ID and is used to authenticate you.
    Device GUID: The Device GUID is a unique value generated to identify your device. It is used to ensure that the eBook may be viewed on your device and that the number of devices permitted by the license is not exceeded.
    Certified App ID: This ID represents the application that is being used to view the eBook, in this case Adobe Digital Editions. It is necessary to ensure that only a certified application may display an eBook. This helps to minimize piracy and theft of eBooks.
    Device IP (Internet Protocol): This identifies the country you are located in when you purchase an eBook.  It is used by eBook providers for the enablement of localized pricing models. Only the country identifier of the Device IP is stored.
    Duration for Which the Book was Read: This information may be collected to facilitate limited or metered pricing models entered into between eBook providers, such as publishers and distributors. These models are based on how long a reader has read an eBook. For example, you may borrow an eBook for a period of 30 days. While some publishers and distributors may charge libraries and resellers for 30 days from the date of the download, others may follow a metered pricing model and charge them for the actual time you read the eBook.
    Percentage of the eBook Read: The percentage of the eBook read may be collected to allow eBook providers such as publishers to implement subscription pricing models where they charge based on the percentage of the eBook read.
    Information provided by eBook providers relating to the eBook you have purchased: The following information is provided by the eBook provider to enable the delivery of the eBook to your device:Date of eBook purchase/download
    Distributor ID and Adobe Content Server Operator URL
    Metadata of the eBook, such as title, author, language, publisher list price, ISBN number
    How is the information transmitted?
    The data is sent periodically to Adobe via a secure transmission using HTTPS.
    How is the information used?
    Adobe uses the information collected about the eBook you have opened in Adobe Digital Editions software to ensure it is being viewed in accordance with the type of DRM license that accompanies that eBook. The type of license is determined by the eBook provider. For more information on how each piece of data is used, please see above.

    In your privacy policy, you state that the percentages and durations of books read are being collected to ensure that publishers can choose a metered price model. Prices which depends on the duration for which the book was read.
    Give me an example of a company with such a price model? Are the information being collected even where the companies have not asked for the information, even when the metered price models are not being used?
    Here is an extract från the privacy policy:
    What information does Adobe Digital Editions collect and how is it used?
    The following information may be collected when an eBook with DRM is opened in Adobe Digital Editions software. If an eBook does not have any DRM associated with it, then no information is collected.
    User GUID: The User GUID is a unique value assigned in place of your User ID and is used to authenticate you.
    Device GUID: The Device GUID is a unique value generated to identify your device. It is used to ensure that the eBook may be viewed on your device and that the number of devices permitted by the license is not exceeded.
    Certified App ID: This ID represents the application that is being used to view the eBook, in this case Adobe Digital Editions. It is necessary to ensure that only a certified application may display an eBook. This helps to minimize piracy and theft of eBooks.
    Device IP (Internet Protocol): This identifies the country you are located in when you purchase an eBook.  It is used by eBook providers for the enablement of localized pricing models. Only the country identifier of the Device IP is stored.
    Duration for Which the Book was Read: This information may be collected to facilitate limited or metered pricing models entered into between eBook providers, such as publishers and distributors. These models are based on how long a reader has read an eBook. For example, you may borrow an eBook for a period of 30 days. While some publishers and distributors may charge libraries and resellers for 30 days from the date of the download, others may follow a metered pricing model and charge them for the actual time you read the eBook.
    Percentage of the eBook Read: The percentage of the eBook read may be collected to allow eBook providers such as publishers to implement subscription pricing models where they charge based on the percentage of the eBook read.
    Information provided by eBook providers relating to the eBook you have purchased: The following information is provided by the eBook provider to enable the delivery of the eBook to your device:Date of eBook purchase/download
    Distributor ID and Adobe Content Server Operator URL
    Metadata of the eBook, such as title, author, language, publisher list price, ISBN number
    How is the information transmitted?
    The data is sent periodically to Adobe via a secure transmission using HTTPS.
    How is the information used?
    Adobe uses the information collected about the eBook you have opened in Adobe Digital Editions software to ensure it is being viewed in accordance with the type of DRM license that accompanies that eBook. The type of license is determined by the eBook provider. For more information on how each piece of data is used, please see above.

  • How to get charEncoding property and set it to a perticular encoding?

    hi all,
    i would like to know
    1)how to get browser encoding property
    2) if the encoding is Western European(ISO) how can we change to arabic
    windows.
    i think i have to use like below
    request.getCharacterEncoding();
    request.setCharacterEncoding();
    but i dont have any idea what is charencoding for Western European(ISO) and arabic windows.
    Am i in the right direction.
    waiting for a valid solution.

    those are the methods, but you can't use getCharacterEncoding(), actually, cuz it seems it's not necessarily filled in.. or at least that might be on some servers only, like Tomcat 4. As for encodings, you need to do a search for character encoding names and use the appropriate one.

  • What's difference push stream with server script and push with flash media live encoder??

    Hi
    I'm multi point push streaming with adobe flash media server 4
    Stream structure like this
    Open Broadcaster Software (or Flash media live encoder) (RTMP) -> Home Flash media server with multi push script (main.asc)
    -> Stream to 2 justintv channels + 1 dailymotion channel (1024x576 , 1750Kbps)
    no problem at all when streaming to justintv
    but some another stream services have speed problem
    ustream can not push with this method
    and dailymotion, vaughnlive push speed slow down than OBS or FMLE Direct stream
    for example
    when direct streaming with OBS or FMLE (Without home server) , no problem at all stream to dailymotion and vaughnlive
    clearly no lag
    but when push with server script, slow down push speed and unstable (it affect only for dailymotion and vaughnlive streams)
    justintv upload speed same as OBS, FMLE's bitrate but dailymotion, vaughnlive bitrate always slower than justintv or OBS, FMLE
    Like this - justintv , OBS, FMLE (1750Kbps~2000Kbps) but dailymotion, vaughnlive (1600Kbps~1800Kbps)
    I don't understand why have push speed difference between server script push and OBS, FMLE push
    Have any reason? and do not have solution???
    (sorry for my bad english)

    First of all let me clarify that we call multi point publish and it has been explained in detail here
    http://help.adobe.com/en_US/flashmediaserver/devguide/WS5b3ccc516d4fbf351e63e3d11a0773d56e -7ffbDev.html
    When you do multi point publish(MPP) you publish from one server to another server, when you use FMLE you do a normal publish of stream(s) from a client/encoder(FMLE in this case) to the Adobe Media server.

  • I want to buy a new apple tv but it used hdmi cables and my house is only wired for analog.  Is there any way I can use the apple tv on analog cables?

    I want to buy a new apple tv but it used hdmi cables and my house is only wired for analog.  Is there any way I can use the apple tv on analog cables?

    Welcome to the Apple Community.
    It's do-able, but I don't think it's a great idea.
    DVI
    Some users with DVI have managed to get their TV's to work with DVI-HDMI cables. DVI carries no audio, so alternative connections need to be explored to enable audio. DVI doesn't necessarily support HDCP as well as other standards used by HDMI (which may or may not be an issue)
    Analogue
    There are hardware converters that will convert HDMI to various other types of output, however there are some issues with doing so that you should be aware of.
    HDCP
    HDCP compliant converters will not allow you to watch HDCP protected content such as that from the iTunes Store. Non compliant converters exist but we cannot discuss them under the Terms of Use for these communities.
    Resolution and aspect ratio
    I'm not aware of any converters that will scale the output from the Apple TV, any TV or projector which is used will need to be widescreen and support resolutions of 720p (Apple TV 2), 720p/1080p (Apple TV 3)
    DAC
    DAC (Example Only - Not a recommendation or suggestion that this is suitable in your circumstances)

  • No DVI signal, only analog and TV-out

    Hi, I bought a new computer a couple of months ago and have been having some problems with my graphic card (MSI FX5900XT-VTD128). Most of these problems disapeard when I re-installed WindowsXP.
    However, about one week before I re-installed WindowsXP my screen just went black when I tried re-installing my video drivers. First I thought that somehow in the pocess of installing the new drivers my video card got overheated or something and broke (highly unlikely, but I have seen strange things in my days).
    Furthur investigation revealed that it was "only" the DVI signal that stopped transmitting. I have since then tried to enable the DVI signal with no luck. I haven't found any options in both the NVIDIA drivers nor the MSI drivers in which to choose analog or digital output.
    My monitor shows that there is a DVI conneciton, but the screen is still black. In most of my tests I would have DVI and TV-out plugged in so that I can make changes in the settings through my TV.
    I'm running out of things to try and I am very open to suggestion, if anyone would be so kind.
    ASUS K8VSE-DX
    A64 3200+ ClawHammer
    Kingsmax SDRAM 512MB PC3200
    MSI GeForce FX 5900XT (BIOS Version 4.35.20.38.14, 128MB RAM)
    WindowsXP SP2
    NVIDIA 66.93 drivers (have tried with MSIs drivers)

    Thanks for your suggestions.
    I already tried the driver solution, and it didn't work... However, I can try even older driver and see if they will enable the cards DVI signal. The problem with the driver solution is that there is no setting for choosing CRT or LCD monitor. In both dual view and clone mode I can only choose between a monitor and TV output... One thing I found strange though, normally at boot time (before the OS loads) I would get both analog and digital signals, but now there is only the analog signal.
    The monitor solution I will try in a couple of days, when I will carry my computer over to a friends place and try it on his monitor. The only problem is that my computer is so damn heavy! :-)
    I will keep trying and let you guys know how it worked out.
    In the meantime, if anyone else has a suggestion, I'm all ears.

  • Trying 2 download new version of Firefox and after being prompted 2 drag Firefox icon into Applications folder, get message that task can't b completed bc Firefox is in use, but only use am making of Firefox is 2 have it open 2 download new version

    Trying 2 download new version of Firefox and after being prompted 2 drag Firefox icon into Applications folder, get message that task can't b completed bc Firefox is in use, but only use am making of Firefox is 2 have it open 2 download new version

    If there are problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the disk image (dmg) file to the desktop
    * Firefox 7.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data if you uninstall and (re)install Firefox.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox

  • [svn:fx-trunk] 7661: Change from charset=iso-8859-1" to charset=utf-8" and save file with utf-8 encoding.

    Revision: 7661
    Author:   [email protected]
    Date:     2009-06-08 17:50:12 -0700 (Mon, 08 Jun 2009)
    Log Message:
    Change from charset=iso-8859-1" to charset=utf-8" and save file with utf-8 encoding.
    QA Notes:
    Doc Notes:
    Bugs: SDK-21636
    Reviewers: Corey
    Ticket Links:
        http://bugs.adobe.com/jira/browse/iso-8859
        http://bugs.adobe.com/jira/browse/utf-8
        http://bugs.adobe.com/jira/browse/utf-8
        http://bugs.adobe.com/jira/browse/SDK-21636
    Modified Paths:
        flex/sdk/trunk/templates/swfobject/index.template.html

    same problem here with wl8.1
    have you sold it and if yes, how?
    thanks

  • All of a sudden my IMessages only from my boyfriends IPod to my IPod touch five are being received in my email and not being sent to my IMessages what do I do to fix it and be back to reviving them in my IMessage

    All of a sudden my IMessages only from my boyfriends iPhone4 to my IPod touch five are being received in my email and not being sent to my IMessages what do I do to fix it and be back to reviving them in my IMessage's we both updated our divises to the iOS 7 and mine to the ios7.0.2 his at first just stopped sending to me period but then I turned of IM then reset networking settings then turned back on my IM and also turned my device off and back on now reviving them in my email

    I do not want to download another virus program.. I do not believe it is a virus. I am running the full version of Norton 360 and it is doing a daily scan. I have Windows 7, 64 bit OS.
    This is very irritating !! If I wanted Yahoo I would ask for it !

  • Inbuilt isight camera is detected in system profiler but no image is being detected only a black screen shows up. I have tried all of the troubleshooting instructions and it still wont work. The iMac im using is OS X 10.6 and was an ex-floor model

    inbuilt isight camera is detected in system profiler but no image is being detected only a black screen shows up. I have tried all of the troubleshooting instructions and it still wont work. The iMac im using is OS X 10.6 and was an ex-floor model

    Hi,
    I would try a Safe Boot first.  (This will take longer than a normal Boot and you will need to Restart afterwards).
    If it were an older OS I would also suggest going to System Preferences > Displays and making sure the display is set to Millions.  (My MacBook Pro does not have this option in Snow Leopard so I did presume Snow Leopard does not have it).
    With some laptops there have been some issues with the cable up the back of the screen pulling loose with regular and frequent use of the lid, but this will not apply to you based on your specs.  (it does take time to appear and is also somewhat rare). However it seems enough contact with the camera can make it appear in System Profiler and power it on but not give a pic.
    If a Safe Boot does not work I would also try a PRAM reset.
    Shut down the computer.
    Restart it holding down Apple/CMD (or ⌘)+ALT( ⌥)+P+R Keys until you have heard three Start Up Bongs.
    This is actually "less" destructive in that it clears less memory items than Safe Boot but they are different enough to warrant trying.
    Do you have an older version of iGlasses installed ?
    The one for Leopard does not work for Snow Leopard.
    Do you have  Web Browser open ?
    This may point to  Google Video Chat Plug-in and Flash Conflict.  It would be rare to allow another app to access the camera even if not displayiong a Pic. 
    (Chrome Installs the Plug-in as does the standalone download).
    Knowing  what "any application" exactly you are trying might help us pin it down.
    Any additional downloaded  apps that can use the camera ?
    Do you happen to have something balck in front of the camera ?
    8:20 PM      Sunday; October 9, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • New and changed features in Adobe Media Encoder CS5

    Someone said on the Premiere Pro forum that they didn't know what was new and changed in AME CS5. So I wrote this:
    http://blogs.adobe.com/premiereprotraining/2010/10/new-and-changed-features-in-adobe-media -encoder-cs5.html

    I would like to also add that AME CS5 does a much better job at deinterlacing than CS4, the resulting files are much sharper, especially with text/titles.

  • Is it possible to have a phone line connected to a Mac Mini (OS X10.8.2) so you can use your computer with Parallels (Windows xp) to dial into a modem to download data being collected and stored at the remote location?

    Is it possible to have a phone line connected to a Mac Mini (OS X10.8.2) so you can use your computer with Parallels (Windows xp) to dial into a modem to download data being collected and stored at the remote location?

    Hi, do you mean a real Dial-up Modem as in the old days?
    As I recall, the Apple USB Modem won't work in 64 bit OSes, but there are others that will, I think this is one of them...
    http://www.zoomtel.com/products/dial_up_external_usb.html
    Or is the Modem on the other end Cable/DSL/FiberOptic?

Maybe you are looking for