Sluggish data collection will log but not plot

Please be gentle with another newbie here. Unfortunately, I am stuck using LV6 on a Windows XP machine so I am limited in some of the options I have to control data logging and event structures. However, I have done the best I can for the application with what I have learned of LabView. I am trying to set up a multichannel, continuous (long-term) data collection from the serial port which will send the data to a chart and a log. I have tried to build my own event structure to tell it to collect faster if there is a change in the data value and to collect slower when the change in the data is minimal (based on the mean values).
Any ideas on why this is running so sluggishly and not charting?
Thanks for all input and help!!
Attachments:
4 Channel Temp Monitor_latest.vi ‏1170 KB

Some things I see.
1.  You are setting a lot of properties for the charts on every iteration, along with property nodes for some other controls.  Particularly the ones involving scaling.  These cause the UI interface to need to update often.  I would recommend only writing values to property nodes in the event that something changes.  If you can use an event structure, great.  If not, just compare the old value to the new value and only write out values if they are different.
2.  I can't tell if anything controls the speed of you main while loop.  You might want to put in a small wait statement.
3.  Don't open and close the serial port on every iteration.  You are actually doing it several times within an iteration.  Open it once, Read and Write to it in a loop. Close the port when the program ends after the loop.
4.  Some of the stacked sequence structures seem suspect.  Some are using dequeues from the same queue in every frame, only to OR all the data together at the end.  It seems like a For Loop would be a better choice.
5.  Do all your graphs need to be single representation?  Make them double.  You can also avoide the bullet conversion from double to single in your Scan from String functions if you wire a single representation constant into the type terminal of the Scan from String function.
I'm sure there are more things that could be fixed, but I really suspect #1 and #2 as the main problems as to why your code seems sluggish.

Similar Messages

  • Palm TX will sync but not transfer data after installing 64bit drivers for Windows 7

    Palm TX will sync but not transfer data after installing 64bit drivers for Windows 7 using the USB cable. Does anyone have any advise?
    Post relates to: HP TouchPad (WiFi)

    @MikeNTxs - 64bit USB drivers have been available since April of 2010, and they do work. I've synced successfully to my Vista64 bit laptop many times via USB.
    See the sticky thread at the top of this section titled "64bit Palm Desktop drivers are here!"
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Took backup of data files and controlfile but not archive file db is 11g xe

    took backup of data files and controlfile but not redo file db is 11g xe r2..was trying complete shut backup,..missed redo..
    anyway to restore the db back..
    I had failed to backup redo log file..
    db was shut...properly
    any info highly appreciated.
    cheers
    Edited by: zycoz100 on Feb 27, 2013 4:42 AM

    A controlfile create is a fairly trivial task, for either a cold backup or hot backup scenario. Well, its an easy task after you've done the process a few times.
    If you have a healthy oracle instance running any place else, preferably at 11gR2, or even a 10g instance can work as an example, get a system connection and do an `alter database backup controlfile to trace;` and the instance will create a new trace file with all SQL commands needed to rebuild the controlfile in the instance trace directory.
    Have a look at the trace file, a `show parameter diag` reveals the diagnostic_dest parameter, look for the "trace" directory under that folder, for the latest *trc file. In 10g its `show parameter dump` and the trace file goes straight to the user_dump_dest directory, no digging required.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • [svn] 1364: MessageBroker provided access to Log but not to what managed Log: LogManager.

    Revision: 1364
    Author: [email protected]
    Date: 2008-04-23 14:30:57 -0700 (Wed, 23 Apr 2008)
    Log Message:
    MessageBroker provided access to Log but not to what managed Log: LogManager. Added MessageBroker.getLogManager method but marked it with @exclude as it's probably only useful for testing purposes.
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageBroker.java

    Security Questions
    http://support.apple.com/kb/HT5312
    Apple ID Contact
    http://www.apple.com/support/appleid/contact/

  • My MacBook Air will send but not receive Airdrops?

    Does anyone know why my MacBook Air running OS X 10.9.4 will send, but not receive, AirDrop files?  I've tried to see if there are any security settings blocking receiving but have been unable to find anything.  Thank you!

    If the firewall is on, turn it off in the Security & Privacy preference pane. Otherwise see below.
    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Hp Officejet Pro 8500 will print but not anything with black ink. It keeps aligning itself.

    My Hp Officejet Pro 8500 will print but not anything with black ink - i have checked the black ink cartridge and it is full. Whenever i print anything in colour (only option) the printer goes into an alignment/maintenace loop that lasts for a long time and does not fix the problem. What should I do?

    Clean your printerhesd 4-5 times until the black fully restores.  I am on my third complete cleaning and have gone from 0% black to approx. 60-70%.  So, it works just takes time.

  • IPad will open but not display information entered on a form sent as a PDF.

    iPad will open but not display information entered on a PDF file. Same file will open and display all information on my iMac. Anyone had this problem?

    I think that you are trying to view a form fields PDF file and you cannot see the content that was filled in on those fields. Form fields will not show in the mail app or in iBooks. Download Adobe Reader for the iPad. It is free and it offers a lot of features for a free app. Save that PDF to Adobe Reader and see if the text in the fields appear.

  • My Mac Mini will charge - but not sync with - USB-connected devices (ipod, camera, memory card reader). How do I fix it?

    My Mac Mini will charge - but not sync with - USB-connected devices (ipod, camera, memory card reader). I have tried unplugging the devices, restarting the computer, selectively unplugging and plugging in the devices, closing and opening the relevant applications (iTunes, iPhoto, etc). I have tried using different USB cables.
    It's like all of a sudden the synching service stopped functioning or recognizing these devices for some reason. The other ports work just fine (monitor).
    The only USB-connected external device that appears to be unaffected is the USB SuperDrive and it works on all the USB ports into which I plug it.
    How do I fix this?

    Open Console in Applications>Utilities & see if there are any clues or repeating messages when this happens or doesn't happen.

  • Hp photosmart c4480 using with mac OS X 10.9.4 will scan but not save or send

    hp photosmart c4480 using with mac OS X 10.9.4 will scan but not save or send.  says: could not be written to  check the properties for the file to make sure it is not read only. 

    Hello @JoScan , and welcome to the HP Forums, I hope you enjoy your experience!
    I see you are experiencing scan issues.  I would like to help.
    I would suggest deleting the printer from your print system, using this document: Uninstalling the Printer Software.
    Once you have deleted it, I would suggest verifying and repairing the disk permissions: About Disk Utility's Repair Disk Permissions feature.
    I would also suggest running your Apple updates:  OS X: Updating OS X and Mac App Store apps
    After the updates, I would recommend readding the OS X v10.9 Mavericks: Installing and Using the Printer on a Mac.
    Good luck and please let me know the results of your troubleshooting steps. Thank you for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • OS X 10.4.11 will send but not receive faxes on Power Mac G4 MDD

    OS X 10.4.11 will send but not receive faxes on my Power Mac G4 MDD. Perhaps I should remove the relevant .plist preference file(s). But which one(s) is it /are they? Or is there something else I should do?

    Thank you for your reply, BDAqua. I have set the fax feature to answer after 3 rings, but the phone rings only once when someone is trying to send a fax. The phone icon in the menu bar changes to "ringing ..." but nothing more happens. The phone line on which I receive faxes is dedicated to that use. I phoned in to its number earlier today from another phone. I heard it ring once and then it went to the busy signal. I then disconnected the fax phone line from its wall jack, connected a phone to the jack, and phoned in to it. The phone now rang and rang as it should. So this confirms the assumption that the fault is in the computer, presumably in the Print & Fax software. I should also mention that I don't find com.apple.print.FaxPrefs.plist in /Library/Preferences.

  • G5, 10.3.9,Safari will not load.  aol will download but not upload. ?

    My g5 , 10.3.9, will not load safari, aol will download but not up load.  Safari just bonces when trying.  On aol I get a 513 error message when trying to upload.
    whats going on?
    John

    Success. I discovered the issue that was preventing QTSS start up.
    The IP Bind tab listed a set of new Class C IP addresses that ARIN forced us to move to last year and which had been properly configured into our network and I had checked the matching address shared in our new web server config.
    However /library/quicktimestreaming/config/streamingserver.xml had not exterminated the obsolete address and I pico'ed in the Terminal to replace these lines
    <LIST-PREF NAME="bindipaddr" >
    <VALUE>old ip</VALUE>
    <VALUE>new ip</VALUE>
    </LIST-PREF>
    with this line, which will now overide whatever's poking in the old ip, probably one of those pesky permanently-burned Net Info DB's that can't be purged despite the reality that servers sometimes need wholesale refreshes to be re-networked:
    <PREF NAME="bindipaddr" >new ip</PREF>

  • My o2 email will receive, but not send on my ipad

    My o2 email will receive, but not send. I've got other email accounts on the ipad &amp; they all work OK. The o2 mail account used to work properly, but I needed to remove the account &amp; since I've put it back on, it won't work on my ipad. Works ok on android mobile phone. I've checked the settings &amp; spoken to o2, but they couldn't solve! It may be since I've joined the cloud? Any advice, gratefully received. Thanks.

    Recheck the settings once again.  There is something wrong.  And it seems to happen to O2 people with some regularity.    Google o2 mail settings and you will get a page with the details.  Pay close attention to the port setting, you may need to change it on the pad, and that may be the problem.

  • I am using iphone4 and recently updated to 7.0.4 from then onwards having issues with phone book. It will open but not able to scrool up and down and all options are not working. Is any one facing same issues?

    I am using iphone4 and recently updated to 7.0.4 from then onwards having issues with phone book. It will open but not able to scrool up and down and all options are not working. Is any one facing same issues?
    Why apple also doing such kind of softwares? Cant they do testing before releasing the product?
    Could any one help me out of this?
    Thanks,
    Rajesh

    See this discussion...
    https://discussions.apple.com/message/23731048#23731048

  • IPhone5 will send but not receive Text messages

    IPhone5 will send but not receive Text messages.  Specifically, I can send my grown son text messages, but he can not reply to them, nor can he send me new texts. He and I are both on Verizon, and he has a Droid phone.  His texts can be recieved by his mother, who can forward them successfully to me.  When I initally received the phone (Dec 2012) I could receive and send texts with my son with no difficulty. The trouble began (as near as I can tell) when my phone was upgraded to 6.1.1.  This is a significant problem and I would like it resolved as soon as possible.

        Scouter, let's get you reconnected with your son, via text message. Make sure that your text messaging feature is enabled in Settings>Messaging:
    enable iMessage ON
    enable "Send as SMS" to ON
    MMS Messaging ON
    You will also need to reset the network connections in:
    Settings>General>Reset>Reset Network
    Finally, power cycle your phone off/on and try to send your son a text message. Keep us posted. We're here to help you.
    LasinaH_VZW
    VZW Support
    Follow us on Twitter @VZWSUPPORT

  • Additional email address will receive but not send

    My .mac email address works fine, sending and rerceiving in "Mail" I have another email address with virgin.net. which will receive but not send. I get a pop-up window saying "cannot send using smpt mac.com" (this is the server selected for my .mac address account) I have tried selecting the virgin smpt server but that doesn't work either. What should I do?
    Thanks for all suggestions
    Rob
    imac G5 isight   Mac OS X (10.4.2)  

    Most, if not all ISPs block the use of SMTP servers that are outside of their network (or not provided by the ISP) on Port 25. Some ISPs allow the use of an authenticated SMTP server only (such as the .Mac SMTP server) that is outside of the network on Port 25 but some block its use regardless.
    Sounds like BT Broadband allows the use of an authenticated SMTP server that is outside of their network on Port 25 and the virgin.net SMTP server must not be authenticated.
    Are you accessing an email account and SMTP server provided by BT Broadband with the Mail.app?
    Something to try.
    Go to Mail > Preferences > Accounts and under the Account Information tab for the virgin.net account preferences at the SMTP server selection, select the Server Settings button below.
    Enter 587 in place of 25 in the Server Port field and when finished, select OK to save the changed setting.
    If this doesn't resolve the problem and you are accessing an email account and SMTP server provided by BT Broadband in Mail, select/use BT Broadband's SMTP server to send mail with your virgin.net account which is invisible to all recipients.
    These SMTP server restrictions are in place as part of an overall effort to prevent spam emanating from the ISP's domain.

Maybe you are looking for

  • Single User Mode - mount external drive and make it r/w

    How can I access a USB disk and make it read/write? I can't +mount -uw /Volumes/"Time Machine Backups"+ because it says that the disk is a special type. Can I just use chmod because the disk is automounted? When I attempt to chmod my USB disk, I get

  • Value too large for "BPM_AUDIT_QUERY"."AUDIT_LOG"(real: 2077, max: 2000)

    Hello everybody: I really need some help. I've modeled and implemented a BPMN process. I'm trying to test it but I got the following error. ORA-12899: value too large for column "DEV1_SOAINFRA"."BPM_AUDIT_QUERY"."AUDIT_LOG" (actual: 2077, maximum: 20

  • Upgrading from 5.0.2 to 5.1.4

    hi everybody. i have a friend who asked me something, and I didn't know how to answer so I thought I'd run it by you guys. His question was can he upgrade his Final Cut from 5.0.2 to 5.1.4 by downloading some update off the net? Or is he supposed to

  • Error on sign in

    Everytime I press the convert button in Export PDF i instantly get the message an error occurred while signing in. Does nayone know how to fix this.

  • OVM 3.1.1 Repository Being Mapped with Diffferent /dev/mapper/ address

    Hello, I'm running OVM 3.1 on a Dell T420 server with onboard storage. The RAID 5 virtual disk that was housing my repository was inadvertently deleted. I was able to recreate a new VD and the server can now see the original ocsf2 partition that the