If I use pci-6602 DMA, should I alloc DMA Memory after I set MITE? If must,what is the size ?

hi everyone:
      please help me, thank you

Hello,
The interrupt that will happen nearest the times that you need is the AI_Start_Interrupt in the Interrupt_A group. This interrupt will occur with each sample clock. By the second time this interrupt fires, the AI FIFO should have the samples from the first conversion. If it is easier to use programmed IO, you can read the samples out of the FIFO until you get all 80.
Additionally, you can set the DMA to send samples as soon as the FIFO is no longer empty...instead of waiting for half full or full. This change will reduce latency for your control loop. You can set AI_FIFO_Mode in AI_Mode_3_Register to 0. By the second time this interrupt fires, you should be able to check how much data is in the DMA ring buffer and read the 80 samples when they are available. You can make the ring buffer larger than 80 samples if you see data getting overwritten.
There is no interrupt associated with 80 samples being available in the FIFO or 80 samples being available/transferred by DMA to the host. X Series has much more flexibility with these interrupts.
I hope this helps!
Steven T.

Similar Messages

  • Counter using PCI-6602 for multi output

    Hi guys,
    currently I tried to control a linearmotor using PCI-6052E and PCI-6602.
    The questions is, how to use PCI-6602 to be a counter which will be converted to several output (multioutput):
    (1) converted to position >> 1count = ...[mm] --> position measurement
    (2) converted to voltage >> 1count = ...[mV] or [V] --> voltage measurement
    (3) converted to current >> 1count = ...[mA] or [A] --> current measurement
    (4) converted to velocity >> 1count = ...[mm/s] --> velocity measurement
    (5) converted to acceleration >> 1count = ...[mm/s^2] --> acceleration measurement
    (6) converted to force >> 1count = ...[N] or [kg.mm/s^2] --> force/load measurement
    (7) converted to frequency >> 1count=...[Hz] --> frequency measurement
    (i) Please assist me how to connect the driver's encoder (Ch. A A/ B B/ Z Z/) with PCI-6602, so I can get all informations above (7 measurements). What/which port of PCI-6602 connect to where from the driver.
    (ii) Please assist me how to connect the feedback signal to the PC. What/which port of PCI-6602 connect to PC.
    (iii) How to test those 7 measurements above using Measuremant and Automation Explorer (MAX) ver.4.4.1?
    Thank you for your kindly help and assistance.
    Best wishes,
    hendro

    Dear Jochen,
    (1) Principally, I'd like to use PCI-6602 to be a motion encoder also be a counter (Is it possible? Due to the manual, it is possible). I expect to have all information, such as position, time, velocity, etc. from that motion encoder (or at least the position and time). It is also expected of using PCI-6602 to do all measurements that I mentioned before . My meaning is, after having a signal from the counter, that 'count' will be converted to desire units under other programs. So, in this case, PCI-6602 is only used to get the 'count'.
    Simplified, the voltage command will send to the system (linear motor) through PCI-6052E (-10V to 10V). The actual position or other actual information will be catched (read) by using PCI-6602 (as a motion encoder, also as a counter). Then, this actual position will be used as a feedback, that will be compared to desired position.
    Is that also possible to use PCI-6602 be a motion controller + a counter + a frequency measurement in a same time parallely?
    I don't decide yet (I don't know) which acquisition rate will be needed/required, higher is better.
    (2) I'd like to apply an adaptive robust controller (yes, it is a closed loop system) under matlab with their feature called Real-Time-Workshop instead of using LV.
    (3) Power drive for the linear system will be driven by AC servo drive.
    Thanks for your help before,
    Warmly regards,
    hendro

  • Use PCI-6602 to produce synchronous different TTL singals

    I am using PCI-6602,if I want to use two line to producing two different TTL singals,and the two TTL singals must write to lines synchronously.How can I get it,Thank you !!

    Hi,
    You can generate two pulse trains, one on each counter. If this is what you need, you can do that easly with pulse generation VIs - you can look at the LabVIEW shipping examples - in particular, look at Generate Pulse Train (NI-TIO).vi
    Regards,
    RamziH.

  • I am trying to decrease the size of my aperature library on my MB Pro HD.  I used  file\ relocate master to move files to my External HD(EHD) and this worked.  However, the size of my MBP library has not decreased.

    I am trying to decrease the size of my aperature library on my MB Pro HD.  I used  file\ relocate master to move files to my External HD(EHD) and this worked.  However, the size of my MBP library has not decreased.  I do not want to delete the files on my MB Pro until I am confident Aperature can see the files on the EHD.  It looks like the relocate master fxn just copies the masters and data to another location. 

    Relocate master (or original in newer versions) does move and not copy the master file. Jut to make sure I just ram a test and moved some images out of the library to an external drive and they were definitely gone from the Aperture library.
    If you look at the images in the library that you moved do they have the referenced file badge? If you run a filter on your library looking for referenced files do the images you relocated show up? If you select one of the images and do a Show in Finder what does it show? Finally if you select the images and do Locate Referenced files do they appear listed as being on the volume you put them on?
    You could go into the library and look for the masters you moved to see if they are still there but if all the above show you they were relocated then I don;t think you will find them.
    How are you checking the library size? Have you quit Aperture and restarted it (better would be to log out and log back in) and then checked the size? It is possible that some of that data is cached and won't get updated till you restart.
    Finally you could do a library repair in case something got 'stuck'.

  • Can't get the picture to show up on Apple TV using both of my iPads.  Only sound.   Everything is updated and rebooted.  What's the deal ?

    Can't get the picture to show up on Apple TV using both of my iPads.  Only sound.   Everything is updated and rebooted.  What's the deal ?
    there is no mirror button,  nor is one hidden underneath anywhere.

    Not all apps are enabled for airplay, this is up to the developer to do. If you want to mirror, it cannot be turned on within an app. You need to bring up control centre, select airplay and toggle ON mirroring.
    iOS: Use AirPlay Mirroring - Apple Support

  • When I open Firefox 5.0.1 (using Windows XP Home), Firefox starts to open tab after tab automatically and I have to close the program to stop the proceeding misfunction! ??

    When I open Firefox 5.0.1 (using Windows XP Home), Firefox starts to open tab after tab automatically and I have to close the program to stop the proceeding misfunction! ??

    See [[Firefox keeps opening many tabs or windows]]

  • HT4059 I got an error message that I should connect to Wi-Fi after trying to download a Book Sample from the iBooks Store. I still get this error message even after I bought, downloaded, and transferred the file to my iPad's iBook thru iTunes. Wi-Fi ain't

    I got an error message that I should connect to Wi-Fi after trying to download a Book Sample from the iBooks Store. I still get this error message even after I bought, downloaded, and transferred the file to my iPad's iBook thru iTunes. Wi-Fi ain't cheap.

    Hi I had a similar issue to you, I could connect to the router but no internet. Here is my explanation of how I sorted it.....I hope this works for you.
    *To anyone that is reading this it appears that the problem lay in the airport setting: IPV6: set to 'Automatically'. I turned it off (after reading someones plight on MacFixIt) & everything is back to normal.*
    *The worrying thing is although my problem was extreme with other computers on the network being locked out nothing was changed, one minute it worked the next it didn't. Reading on other forums it appears to be a problem with laptops (but I could be mistaken). A lot of people on the Macfixit forum are complaining of network just dropping out even when they are next to the router.*
    *I hope this is the fix (although I dont know why it suddenly went to sh*t!) & I hope my hair pulling & trawling the forums can help someone else out.*
    Much Respect
    Lammo

  • Resistance measurement using PCI-6602

    Hello,
    I would like to measure the resistance between 2 points using my PCI-6602 counter/timer card while using LabVIEW. The resistance values to be measured will vary between 10 ohms and 1000 ohms approximately.
    I found three examples in LabVIEW example finder for measuring resistance but am not sure which one to use. Moreover, which pins of the PCI-6602 would be used for measuring the resistance?
    Please advise me how I could use this PCI-6602 card for measuring resistance values and what the pin configuration would be.
    Thank you,
    Viktoriya.

    As you have written, the PCI-6602 is a counter/timer board. It has no analog input and is not suited for analog measurements !

  • Use PCI-6602 Counters from different threads

    Hello,
    I have read that DaqMX is thread safe. So is it possible to use several Counters form the PCI-6602 form different threads at the same time?
    Thanks
    farmer

    Hi Farmer,
    the DAQ driver is thread safe, that means, that the driver manages the
    data flow to your application and no data gets lost in case of
    simultaneously tasks in an multichannel acquisition for example. So the
    mechanism of how to deploy the data from different channels in your
    application threads will be managed by the driver.
    It's possible to create parallel threads where an data aquisition with
    different channels is running. The new DAQmx driver is a multithreaded
    driver, it improves the performance and programming simultaneously is
    much easier.
    Have a look on the following link for further information to that,
    http://digital.ni.com/public.nsf/allkb/E1C8492854855FA98625689E0072E832?OpenDocument
    regards,
    Nikolai

  • I use Apple TV's screen saver with a file in my photo library.  If I install newest update - will that change anything with my using this favorite feature?  I have just under 4000 photos in that file.  What is the total # of photos it can utilize?

    I use Apple TV's screen saver with a file in my photo library.  I believe it is first generation or second Apple TV - not the newest one.
    If I install newest update - will that change anything with my using this, my favorite feature?  I have just under 4000 photos in that file. 
    And, what is the total # of photos it can utilize?  If I keep adding photos - is there a limit to the # it will utilize?

    Thank you Alan and  know you are right. I really can do all I need with my netbook and ereader and do not need the ipad. I think I just wanted something new and felt I may enjoy using it a lttle more than the netook. But it would be a waste just to buy one when I donlt acutally need it  And, donl't think it is worth the extra money for me the get the 4g wireless capability since I doubt I would really need it often.
    I may treat myself to the Ipad for the color, touchpad and fun to use but it is very expensive considering how little it will do for me no more than the things I want it for. It woudl be and expensive luxuray, I can do without. I actually  need t learn how to use more of the function avaiable first.  Maybe I should take up playing games and learning to take digital pictures so I can at least load them. If I could learn to do that and take a decent picture, I could start selling back all the "stuff" I have purchased on ebay. haha - I do have a nice doll collection, I would like to sell. I just do not have room for anything else. That was the primary purpose for the Kindle Ereader I bought and enjoy so much,
    But, I will hold onto the thought for a while and see how it goes and what other comments I get, If I think I cannot live without it, then I will have to rethink which one to buy, I coud get the 32 g if I did not have to pay for the 4g wireless. And, if I knew I could get help to teach me how to use and enjoy all the functions, I would give it more serious consideration. My granddaugther got one for Christmas and that was what got me interested in it. I love the size of the screen and it had good color and was fast. She even had an application where she could write her notes and it would convert into typed words. That was a neat feature, If you could print it?
    But thanks again for your comments and I will check later to see I get any other feedback.
    Sunny:)

  • Ramping a pulse signal using PCI-6602 card

    I'm controlling a stepper motor and need a continuous pulse output with variable frequency. I need to accelerate and decelerate teh motor (It can't start immediately at a high frequency but needs to be ramped up to it). I can't have any hiccups in the signal or the motor can stall. It seemed I had my own ramp program written (which gradually increased the frequency value sent to the counter) to solve this problem, but when I switched to Office2000 I started getting hiccups in my signal. I also have a PCI 1200 card and could use A/O but I think using the counter signals would be better. If I'm wrong let me know. Once I have the motor up to speed I am reading in a pulse signal to analyze with FFT.
    thanks for y
    our help.

    A few thoughts & musings, hope some of them are useful:
    1. The sequence for setting a new frequency should be to first load up the new pulse specs (use 1 & 2, not 3 & 4), then issue the "switch cycle" command to 'Counter Control.vi' You can look at NI's example program called 'Pulse Width Modulator' to verify syntax.
    2. If your frequencies are low enough and your loop time is fast enough, you may be trying to update the pulse specs before the previous specs have completed a full cycle. This has traditionally been a no-no, though I'm not 100% sure that it remains one with the latest NI-DAQ drivers.
    3. No ideas about the possible interaction with MS Windows and/or Office 2000. Haven't used either.
    4. (My own latest installment in a multi-year running gripe at NI): Wh
    en oh when will we be granted the ability to perform buffered counter OUTPUT operations? Just as in the analog world, one can acquire a signal with AI and then reproduce it with AO, it would be REALLY REALLY handy in the counter world to measure with buffered semi-periods and then reproduce the same pulse train with a buffered output.

  • Can any one tell me what is the size or dimension I have to use to run a android air project.

    I know there is like a 800 X 400 pix. for it.
    but with the new phones it might have changed to 1920 X 1080

    You must download the latest AIR SDK:
    Download Adobe AIR SDK
    Extract the contents of the .zip file somewhere. After that go into Flash's Help menu and use the "Manage AIR SDK" option. Browse to the location you extracted AIR to and choose that folder. Now you will have a publish target for whatever version you download.
    You should continuously check the AIR SDK release notes to see when it was last updated. If you notice a newer point release is out, you should always update.
    Adobe AIR Help | Release Notes
    For example I just noticed they put out a new version yesterday, Nov 25th, so I need to update myself hehe.
    Sorry for the late replies. We all get busy during the holidays!
    Note: Every time you update your AIR you should pay attention to the version it is and update your apps XML to reflect that. Right at the top, the namespace in the XML contains the version of AIR SDK used. At the time of this post you should be setting it to 15.0 from whatever it currently is. Flash will let you know that with an error message if you try to export anyhow.

  • I have an early apple tv. Will it support netflix streaming? Also what is the size of the newest apple tv's hard drive? And, will my current apple tv be able to use the icloud services?

    I have an early apple tv. Will it support netflix streaming? Netflix does not show on the internet tab on the AppleTV display.
    Will my current appletv connect to icloud services, synch, etc.?
    Also, what is the size of the current appleTV's hard drive?

    1. No to NetFlix and ATV1
    2. If you mean your ATV1, no.
    3. If you mean your ATV1, there are more than one hard drive size.  If you mean the new ATV2, it doesn't have a hard drive.

  • What is the size limit for a video using VZW Messaging

    I've tried a few times to send videos with VZW Messenger but every time it gets rejected for being too large.  I don't see a setting anywhere and these videos aren't that big.  What's the trick??
    Thank you,
    Ron

    I may not simply be a matter of size, it may also be a matter of resolution.
    In the past, I have tried to send a video which was not able to be sent because it failed to meet the size restrictions of the texting app. I tried repeatedly to shorten the video until it was not worth sending. I then lowered the resolution of the phone when taking another video to a lower resolution and was able to send the video even though the file size was larger then the size of a higher resolution video I had previously tried to send.
    I believe I had to lower the resolution to 640x480 in order to send the video attached to a text. Whether or not this is still the case, I do not know as I rarely send video MMS.

  • Triggering the reading of counter totals (PCI 6602)

    Hi,
    thanks for reading these lines,
    for a special application I need to read the totals of multiple counters
    simoltanouesly. The inputs of the counters are connected to quadrature encoders.
    Is there a way to reroute the gate to another input pin?
    Thanks for taking the time to support me.
    live long and prosper
    Michael

    Dear Jochen,
    (1) Principally, I'd like to use PCI-6602 to be a motion encoder also be a counter (Is it possible? Due to the manual, it is possible). I expect to have all information, such as position, time, velocity, etc. from that motion encoder (or at least the position and time). It is also expected of using PCI-6602 to do all measurements that I mentioned before . My meaning is, after having a signal from the counter, that 'count' will be converted to desire units under other programs. So, in this case, PCI-6602 is only used to get the 'count'.
    Simplified, the voltage command will send to the system (linear motor) through PCI-6052E (-10V to 10V). The actual position or other actual information will be catched (read) by using PCI-6602 (as a motion encoder, also as a counter). Then, this actual position will be used as a feedback, that will be compared to desired position.
    Is that also possible to use PCI-6602 be a motion controller + a counter + a frequency measurement in a same time parallely?
    I don't decide yet (I don't know) which acquisition rate will be needed/required, higher is better.
    (2) I'd like to apply an adaptive robust controller (yes, it is a closed loop system) under matlab with their feature called Real-Time-Workshop instead of using LV.
    (3) Power drive for the linear system will be driven by AC servo drive.
    Thanks for your help before,
    Warmly regards,
    hendro

Maybe you are looking for

  • Safari 5.0.1 crashes when trying to open an email in gmail.

    Hi, When trying to open a particular email at gmail.com in Safari 5.0.1 on a Macbook Pro, Safari crashes. However, it works fine on my Mac Pro. The two systems are used by different people in the household. What can be cleaned up to help diagnose thi

  • CRM Sales 2.0 : Attachments are not downloaded to iPad

    Hi Community, We are using SAP CRM Sales mobile 2.0.x app on iPad devices. We are facing an issue with attachments. When we add attachments to transactions, they are not downloaded to device. I can see the attachment information on the transaction as

  • Support for 64 bit browsers Active-X control roadmap

    With reference to Microsoft Technical notes documented in http://technet.microsoft.com/en-us/library/cc263526(v=office.15).aspx#activex,  Microsoft mentioned that "Currently only 32-bit versions of Internet Explorer support Active X control."   Any r

  • How can i buy and send a gift credit to iTunes online

    Question: I would like to purchase and send a gift credit to iTunes online (by email).

  • PSE9 & Win 8 - Get download failed messages when I update

    I deinstalled PSE9 from my Win XP,installed in Win 8 and get download failed messages when I update (to 9.0.3 & Camera Raw 6.5). Pressing the error message i get to a screen 'Error "This serial number is not for a qualifying product..." when installi