How can I speed up this VI? It only checks 6 channels, but updates only 20/sec

I am measuring 6 channels of current in this VI. It will only update about 20 times per second.
The VI is quite simple. It measures current on 6 channels, performs a running average using shift registers, and performs some math on the current to convert it to loads. It also writes all values to a file once per iteration. I ran a similar VI that only checked 4 channels and did not write to the file, but it is not much faster. I also tried to make sure all coercion dots were eliminated, but that did not help much either.
Can anyone take a quick look and see if there is something obvious I am doing that is slowing it down? Or is this a reasonable update rate for this VI?
The top-l
evel VI is the one called "RunTestBed 24v loop loop.vi".
Thanks!
Mike
Attachments:
RunTestBed_24v_loop_loop.llb ‏349 KB

You are using high lvel VI to do you I/O inside the loop.
Take a look at the shipped example that demonstrates how to start a do a continuous acquisition.
The example is title something like
Continuous double buffered acquisition.
The High VI's you are using are configuring the I/O and allocating buffers durring each iteration. THe eaxample I mentioned will do all of this one up front and then just re-use everything inside the loop.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • I just created a slideshow dvd in imovie, and when I hit finalize it said that it would take 7 hours to finalize.  I've only had my macbook pro for 6 months, and this is the first imovie I've done...is this normal?  If not how can I speed up this process?

    I just created a slideshow dvd in imovie, and when I hit finalize it said that it would take 7 hours to finalize.  I've only had my macbook pro for 6 months, and this is the first imovie I've done...is this normal?  If not how can I speed up this process?  Thanks in advance for all of your help!

    Hi
    Time needed can depend on several things.
    • less than 5 GB free space on Start-up (Mac OS) hard disk = Redicolous long times AND a DVD that most probably will not work OK
    Medicine - I never go under 25GB free space
    • Use of strange file formats into iDVD - can force it to de-code first then re-encode - this can take long long times
    I use
    Video - StreamingDV as from miniDV tape Cameras - or QuickTime Movies Converted to StreamingDV
    Audio - .aiff 16-bit 48 kHz - (no .mp3, .wma etc)
    • Use of old Mac - My G4 600MHz took about 24 hour per hour movie. my dG5 - about 2 hours per hour (I use Pro Quality encoding)
    • Pro Quality encoding - takes about x2 to process a movie
    Yours Bengt W

  • HT204053 how can a find my iPad if it was stolen.. but is only a wifi model

    i purchased my new iPad 3 couple weeks ago and it got stolen today with my car.. is just a wife model,, how can I locate it

    As Winston says, you have to have the Find My iPhone service turned on (on the iPad) via settings.  Just having the Find My iPhone app on the iPad will not do, that does not turn on the service.  Assuming you did turn on the service, use a computer and log into icloud.com.  From there you can access the Find My iPhone module at iCloud to track it.
    However, if it's been weeks and the "thief" is knowledgeable, it's probably been wiped and can no longer be found.

  • Experiencing very slow text and image editing. How can i speed up this laggy-ness??

    Brochure template I created myself is responding terribly to editing and manipulation.  I'm thinking it could have been a problem with the amount of layers I added on PS elements 12, but I compressed the file and I'm still was having this extremely slow response.  I went through the re-installation process and troubleshooting with updates and whatnot but they proved to be unsuccessful.
    Sidenote*
    Brand new desktop PC
    All other Adobe products have been running just perfectly until Acrobat Pro
    I have worked with Acrobat 8 before and I never experienced these same problems
    Any tips to help my productivity increase tenfold?
    Thanks in advance!
    -MMM

    So what OS and what version of Acrobat? There may be an issue in the combination.

  • HOW can i speed up this database search

    SelectCommand="SELECT ADDR1_HSE, DISCO_DTE_SBB, DISCO_RSN_SBB, FMA_SBB, HOME_PHONE_SBB, RES_NAME_SBB, TAG_FIELD1_HSE, TAG_FIELD2_HSE, TAG_FIELD3_HSE, ZIPCODE5, SYS_SBB FROM SBB_HSE_HSL WHERE (SYS_SBB = 8773) AND upper(ADDR1_HSE) LIKE '%'|| upper(:ADDR1_HSE) || '%' AND upper(RES_STATE_HSE) = upper(:RES_STATE_HSE) AND upper(RES_CITY_HSE) LIKE upper(:RES_CITY_HSE)">
    <SelectParameters>
    <asp:ControlParameter ControlID="txtSearch" Name="ADDR1_HSE" PropertyName="Text" Type="String" />
    <asp:ControlParameter ControlID="state" Name="RES_STATE_HSE" PropertyName="Text" Type="String" />
    <asp:ControlParameter ControlID="city" Name="RES_CITY_HSE" PropertyName="Text" Type="String" />
    </SelectParameters>

    Find out how many distinct values for SYS_SBB exist.
    select count(distinct(SYS_SBB)) from SBB_HSE_HSL;
    select SYS_SBB, count(*) from SBB_HSE_HSL group by SYS_SBB order by SYS_SBB;If you have a large number of distinct values with a small number of rows for each value (or for most values) you could index the table on SYS_SBB
    create index AN_APPOPRIATE_INDEX_NAME  on  SBB_HSE_HSL(SYS_SBB) nologging;
    alter index AN_APPROPRIATE_INDEX_NAME logging;(substitute a name for "AN_APPROPRIATE_INDEX_NAME" per the Index Naming Conventions in the database / in your organisation.

  • Using Back Up Mode is taking me quite literally days to complete! Is this at all normal? Am I doing something wrong? How can I speed up this process so that I can update my iPod touch's operating system!

    This is my first time joining the Apple Support Communities Help Line.
    Please refer to the subject line for my discussion/Question!

    Try here:
    iOS: Troubleshooting backup issues in iTunes
    Does the backup complete?

  • HT1349 It takes hours (2-3 or more) to download updates to various software.  I use my iPhone in personal hotspot mode paired to my laptop to do this.  How can i speed up the downloads.

    It takes hours (2-3 or more) to download updates to various software.  I use my iPhone in personal hotspot mode paired to my laptop to do this.  How can i speed up the downloads?

    It's a function of your iPhone's data speed, which is a function of your physical location and your carrier.  Talk to your carrier about increasing your data speed (probalby unlikely) or get dedicated internet to connect your computer to, i.e. cable, fiber, etc.

  • How Can I Speed Up My Video Like This? (Example Included)

    iMovie is currently optimizing my video so figured i'd ask this now rather than when i'm editing.
    I recorded video of myself getting a haircut and would like to speed the video up and add some music to it; similar to this video i found on youtube.
    How can I speed up the film like this and slow it down as done in this video?
    http://www.youtube.com/watch?v=-OmFShCpXSU

    Quite easy to do.
    Watch the tutorial here:
    http://www.apple.com/ilife/tutorials/#imovie-timing
    You can access these tutorials and ask questions from within iMovie Help.
    Regards,
    Z

  • Hi I like to export movies and put them on youtube. But it takes 2 hours to export i usually export 20 min of film how can i speed this up?

    Hi I like to export movies and put them on youtube. But it takes 2 hours to export i usually export 20 min of film how can i speed this up? can somebody help me thanks

    It's not a good idea to use a network disk for both Time Machine backups and other things.  By design Time Machine will eventually consume all the space on its output disk, which will then cause problem for your other files.  I'd store those other files on an external disk connected to the Time Capsule.  The problem with that is that Time Machine will only back up files that are local to your Mac.  That means that you'll only have one copy of the files on or attached to your Time Capsule.
    By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject.  In the future just type a short summary of your post into that field and type the whole message into the field below that.

  • How can I speed up the extract() function queries on XML

    Hi,
    Please I need some light on xml and indexes.
    This is my case:
    I use Oracle 9i R2.
    I have a table with some rows containing some few xml documents (each row contains a big xml document).
    Given a value for an attribute of a tag, I want to extract the entire section within the tags.
    Example:
    <MYTAG number="1">
    .....big stuff here
    </MYTAG>
    <MYTAG number="2">
    .....big stuff here
    </MYTAG>
    <MYTAG number="x">
    .....big stuff here
    </MYTAG>
    So for number=2 I would like to extract from the document the xmltype
    <MYTAG number="2">
    .....big stuff here
    </MYTAG>
    I created an index and have followed all the steps from the XML Database Developers Kit manual. Then I would use extrac() as the document says.
    Now some doubts arised:
    Are these text/xml indexes only useful for getting the rowid of my document?
    I mean, if I select 'x' from the table looking for some value, then the index is used. But when I use extract in the select to get the section I look for, the query gets really low, specially when xml documents are big. I think when I have only row with one document, getting the rowid is not the problem, but the extraction from the document is.
    Is the extraction process faster because of the index?
    For what I see, the index only helps me to find the rowid, but then Oracle has to deal with the very big document inside the row. At that point Its oracle against a big text processing and index has nothing to do.
    How can I speed up the extraction of the section?
    If there any other index or tool for help extraction to be faster?
    I would appreciate to know what can I do. I need help on this.
    Thanks in advance!

    Well,
    - What indexes, if any, already exist?
    - What do the functions rl and nice do?
    - What are the current query plans?
    - How restrictive are the various predicates?
    - What version of Oracle?
    Justin

  • I was getting support for my Office 2008 for Mac, and the support tech said my OS was very slow. I have latest update for Snow10.6.7. Question how can I speed up my Macbook?

    I was getting support for my Office 2008 for Mac, and the support tech said my OS was very slow. I have latest update for Snow10.6.7. Question; How can I speed up my Macbook?

    Hi
    In the first instance, I'd use Onyx and run through its sequence of maintenance and tune up tools:
    Verify, Maintenance, Cleaning.
    I'd also reset the SMC and PRAM (Google them)
    If that doesn't help then I'd look at System Preferences.. > Accounts > Login Items tab (not Login Options).  Check what processes get started at login and decide which ones you don't want.
    After that I'd use Applications/Utilities/Activity Monitor to see if any processes are using a lot of computer power or if anything else nasty might be happening.
    If none of this helped then my final step would be to reinstall OS X.
    Bob

  • How can I speed up PDF generation?

    I am working on 2 manuals in Frame 10, unstructured. I have installed all the latest FM patches. The smaller manual is 270 pages with 200 graphics inserted by reference. It takes 2.5 hours to "Save as PDF." The larger manual is 500 pages, 250 graphics and takes 3 hours to "Save as PDF".
    I have converted graphics to smaller .jpg files. I have freed up as much space on my PC as possible - it has 4GB memory and 300 GB hard drive space available, dual processor with i3 chip. I delete Temp files and reboot before creating PDF.
    If I turn off graphics (Esc+v+v), the PDF is created in just a few minutes.
    What else can I do to produce a complete PDF with graphics in a reasonable amount of time?

    I am a lone writer working on a single PC. No network drives. I open all files in the book before creating PDF.
    Many of the graphics are product photos - how to assemble, etc. I was provided with .psd and .jpg versions. Originally inserted the .psd ones, but then consultant advised us to use the .jpg instead. PDF generation is extremely long either way. Also had numerous huge .tif files that I saved to much smaller .jpg.
    Manuals will be localized and printed. What type of graphics are advised in this case - for good print quality and efficient PDF generation?  
    doolie
    Date: Thu, 26 Jan 2012 11:33:15 -0700
    From: [email protected]
    To: [email protected]
    Subject: How can I speed up PDF generation?
        Re: How can I speed up PDF generation?
        created by Error7103 in FrameMaker General Discussion - View the full discussion
    Are the Frame files and/or the imported objects coming from network servers? If so, you might get a speed up by saving to manual to the local machine prior to printing, and printing to PostScript, where the .ps file is on the local machine. Then Distill separately (if you have the full Acrobat product). Distilling separately* at least frees up Frame for that part of the rendering. I have converted graphics to smaller .jpg files. From what? And I wouldn't have bet that using JPEG would help. The files may be smaller, but they still need to be filtered for export to Ps or PDF, and if they are raster, they may be subject to further processing during PDF generation based on the subsampling specified. You might try sending the objects as EPS (which requires minimal processing into Ps), and you might try making sure that raster images are already at the desired dpi, and require no further downsampling in the rendering flow.

  • HT5953 How can I speed up the "start speaking" feature in iBooks? (System Preferences Dictation and speech does not do anything to the speech speed.) The rate is a bit to slow.

    How can I speed up the "start speaking" feature in iBooks? (System Preferences Dictation and speech does not do anything to the speech speed.) The rate is a bit to slow.

    Hi, I had the same problem you described, and I noticed that there are two ways of activating text to speech on iBook for Mac, with different speed results (at least on my MacBook Pro Retina display)
    On your iBook you can select the text and and then click on > More> Start speaking,  and you will get a certain speed, which tends to be too slow.
    But you will get the speed you had selected with "Go to System Preferences>Dictation and Speech>Text to speech. In there is a slider to adjust the speaking rate." if you use the TOP MENU (next to the black apple)  under Edit>Speech>Start Speaking. I also learned that under System Preferences>Dictation and Speech>Text to speech, there is an option for a shortcut which is very helpful. And you can change Key. Hope this was helpful.

  • HT2404 How can I speed up the updates for my apps on my iphone 4 ?

    How can I speed up the updates for my apps on my iphone 4?  They take forever and/or a window says that the update will be available when I connect my iphone to itunes on my computer which doesn't help.

    I don't have virus protection on my iphone so this answer in not applicable

  • How Can I speed the progress of analyze/dbms_stats.GATHER_TABLE_STATS

    When I analyze a table and its index or dbms_stats.GATHER_TABLE_STATS .The speed is very low,and I can not see the progress of it ? How can I speed it ? or how can I see the progress of it ? Thanks !!

    v$session_longops is the table that contains information about long-running processes. You should be able to query that table to see how your analyze is going.
    The easiest way to speed this sort of thing up is to have it do less work. If you're computing statistics, you may be able to use estimate statistics instead, depending on how homogenous your table is. If you're generating histograms for all the columns, you may be able to get away with fewer well-chosen histograms.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

Maybe you are looking for

  • Trackpad Problems: Two-Finger Sometimes Not Working

    This is a recent problem I've been having that's just surfaced only this week. Every now and then, as I'm two-finger scrolling, the trackpad will register only one finger, consequently moving the mouse only. Settings are alright, otherwise two-finger

  • Orgainisational steps break down financial statment.

    Dear Friends, "In the financial statment adjustment breaks the receivables, payables and taxes down in the additional account assignments "Business area" and "Prfit Center" which are store in GL account." I m in the mid of Organizational Steps Lesson

  • Audio skips after rendering

    Does anyone know how to correct audio that skips after rendering? The video is fine and the audio matches up to the video but the audio skips as though it is going in and out. The movie is about 2 hours long and the first few clips were fine but now

  • Exam C_TBW45_04s

    Hi All, Is Exam C_TBW45_04s (SAP NetWeaver 2004s – Business Intelligence) released? If not, what is its release date? Where can I find the study materials for it? Thanks...

  • How to select multiple AP invoice lines

    Hi all, In my AP invoice, I have many lines. And I would like to select some lines in order to discard them. But it seems that it is not possible. I tried to do that with <SHIFT> + select each line but it doesn't work. Thanks for your help ! Tina