I want to plot a waveform chart where I have a constant slope(defined by me) and new data is plotted over the chart with the defined slope already in the background.

I want my chart to have a constant slope already plotted before it continues to start plotting the real time data.. so that I can compare my new data point to point with the ideal slope that i already have in the background
Solved!
Go to Solution.

raza51 wrote:
Hi,
Thanks for help.. But this would work when i have one array and a constant "slope". What if I want to print 2 arrays of data.. means if there is an array of data instead of constant "slope"...
Since your graph is refreshed every time you go through the loop anyway, just set up the constant/reference array before the loop and feed it into the graph. That way you'll also have a full X-axis (and a Y-axis which at least includes all the reference data) for the graph already set up.
(That's twice in two days I've been scooped by a couple of minutes, I've got to get my typing speed up...)
Cameron
To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.
To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
LabVIEW Unit 1 - Getting Started
Learn to Use LabVIEW with MyDAQ

Similar Messages

  • Hopefully someone can help.... I have an Iphone 5 and want to create a music video playlist on my phone so then i can play through my apple tv... but when i make a playlist in itunes and try to add it over to my iphone it wont let me sync the playlist...?

    Hopefully someone can help.... I have an Iphone 5 and want to create a music video playlist on my phone so then i can play through my apple tv... but when i make a playlist in itunes and try to add it over to my iphone it wont let me sync the playlist...? I have already added the music videos to my iphone so that is not the problem.... i cant seem to figure out how to make a playlist for them... IE: to make the videos play consecutively in the order i want without stopping after each video and gong back to the list.... this is what i have had to resort to make it work....what i want to do....is be able to make a playlist of videos on my iphone 5....take my apple tv to friends houses and with wifi....set up apple tv and play videos at the party and not have to stand by with the remote and find a new video to play stopping the music between the songs/videos....very annoying....and have spent over 4 hours one day and an hour and a half today on the phone today with a sr. advisor with apple and they have no clue.... this seems sooooo simple.... please somebody that really knows how to do this....i will be indebted forever...............
    Mike

    Thank you for replying.    Yes I deleted the old email address..   

  • When i go to sync my apps with my computer it tells me  ''are you sure you want to sync apps ? all exsisting apps and there data on (iphone) will be replaced with the apps on this itunes library'' does this mean all my data will be lost if i continue ?

    when i go to sync my apps with my computer it tells me  ''are you sure you want to sync apps ? all exsisting apps and there data on (iphone) will be replaced with the apps on this itunes library'' does this mean all my data will be lost if i continue ?

    Regarding your broken, previously authorized computer, here's how that works:
    You would authorize your new computer -- maybe you've done that already.  Then you will have two computers authorized.  Apple allows you to have up to five computers authorized at any time.  If you get to five, you can then go to your account details in iTunes and remove all authorizations.
    Bear in mind this is not saying you can synch to more tham one library.  Razmee209 and gdgmacguy's comments above are correct.  But if Apple only allowed you to authorize one computer at a time, then having a broken computer would mean you could no longer use your Apple ID with iTunes.

  • I dont know why the battery life of my iphone 4 is so low ! i really want to know how many hours i'll have if it's on standby. And how many hours if i use it normally for music and facebook (sometimes a little bit games)

    i dont know why the battery life of my iphone 4 is so low ! i really want to know how many hours i'll have if it's on standby. And how many hours if i use it normally for music and facebook (sometimes a little bit games) !!!

    to enhance your battery life, keep screen display to minimum, set screen lock automatically after 1 min, select internet notifications to off.

  • On a Mac, how do I close tabs or windows where dialogs have popped up trying to download malware and you cannot close them?

    On a Mac, how do I close tabs or windows where dialogs have popped up trying to download malware and you cannot close them? I think it's Ctrl+F4 on a PC. I would like to close just these tabs or windows instead of having to quit the whole firefox program.

    The equivalent of Control+F4 is Command+W, I have not tried it but you may still get the alert boxes when closing a tab using this method.
    The AlertCheck add-on can be used to block the infinite loops such as this - https://addons.mozilla.org/firefox/addon/alertcheck - This functionality is built into Firefox 4.
    An alternative method in Firefox 3.6.* is to temporarily turn off JavaScript. Open the Firefox preferences window, go to the Content panel and de-select the setting "Enable JavaScript" then click OK. You will then be able to close the tab, and can then re-enable JavaScript.

  • I want to take an image that's from my files, no cropped and be able to set up action(s) where I can drop that image behind an 8x10 frame overlay, then the same with a 5x7 frame overlay, then the same image behind a memory mate overlay that's an 8x10 size

    So is there a way to do this using the images right from the camera, where I don't have to crop three different sized images and drag them into the overlays?  I can set up an action for each, but cropping the same image 3x is a pain in the ***..!

    There are.  I did not write you need to learn scripting and write your own scripts.  As I wrote most Photoshop will never write a script.  However I would write every Photoshop user will at times use a Photoshop script to do some automated process for them. 
    I wrote the it would be very hard to do what you want to do would a straight Photoshop action.  Actions on their own can not use logic.  An action would need to to it by brute force.
    However in Photoshop CC Adobe added conditional action support.  With this support it is now possible to create a group of actions to process some conditions.  Like you can separate Landscape from portraits have an Action for processing  landscape images and an other for processing portrait images.
    Size is still hard to deal with for you can have landscape's the are extremely wide to landscapes that are square and portraits the are extremely narrow to those that are almost square.
    Image the extreme aspect ratio will not fill a 8:10 or 5:7  area it resized to 10 and 7 and creating crops the have 8"10 and 5:7 will have images compositions where most of your image content has been discarded.
    Camera images do not have extreme aspect ratio the usually have  3:2 or 4:3 aspect ratios there are exceptions.  When you have print made the are 5x7 and 8x10 by printers  the prints you receive from the printers are center crops from your image files.
    It is very easy to make center crops if aree images have the same aspect ratio and orientation to begin with.  Now with CC you can have seperate actions to the two orientations.
    A general solution would need handle arbitrary aspect ratios the resulting center crop may well not have a satisfactory image composition for source image with extreme aspect ratios.
    Photoshop ship with several scripts users use all the time to process their image.  You may have used some yourself. Do any of these sound familiar to you. Conditional Mode Change, ContactSheetII, Delete All Empty Layers, Export Layers To Files, ExportColorLookupTables,  Fit Image, Flatten All Layer Effects, Flatten All Masks, generate, Image Processor, Layer Comps To Files, Layer Comps To PDF, Lens Correct, Load DICOM, Load Files into Stack, Merge To HDR, Photomerge, Script Events Manager and Statistics.
    My action package as I wrote contains more the a dozen script I wrote to be used in actions to add logic into the actions.
    It would also be extremely easy to create a Photo Collage Template PSD that contains a background layer that has your two frames the 8x10 and 5x7 and also have two alpha channels to map the locations of the images.  That can be batch populated with my script  BatchPicturePackage.
    Photo Collage Toolkit
    Photoshop scripting is powerful and I believe this package demonstrates this A video showing a 5 image collage PSD template  being populates with images:
    The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
    Size the photo collage templates for the print size you want - width, height and print DPI resolution.
    Photo collage templates must have a Photoshop background layer. The contents of this layer can be anything.
    Photo collage templates must have alpha channels named "Image 1", "Image 2", ... "Image n".
    Photo collage templates layers above the background layers must provide transparent areas to let the images that will be placed below them show through.
    There are twelve scripts in this package they provide the following functions:
    TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
    CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
    LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
    InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
    ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
    ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
    PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
    BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
    BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
    BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder
    PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
    PCTpreferences.jsx - Edit This File to Customize Collage Populating scripts default setting and add your own Layer styles.
    Documentation and Examples

  • Reading a text file and using data to plot a graph

    Dear Friends,
    I have the following problem...
    I have a text data looking like this;
    100000000
    1003ff001
    1010013ff
    1000003ff
    1023fe001
    102000000
    1023ff3ff
    1010013fd
    0ff0033fc
    0ff002001
    0fe3fd3ff
    0ff000002
    100000000
    1003ff001
    1010013ff
    1000003ff
    1023fe001
    102000000
    1023ff3ff
    1010013fd
    0ff0033fc
    0ff002001
    0fe3fd3ff
    0ff000002
    My Code should have a button , when you click that button it should ask you to choose a txt file to open this file from a specific place. The Indicators of the front panel should show me the ID , Name and Date. The data;
    100000000
    1003ff001
    1010013ff
    1000003ff
    1023fe001
    102000000
    1023ff3ff
    1010013fd
    the first 3 bits belong to X axis, the next 3 bits belong to Y and the rest 3 belongs to Z axis.  I have to convert those values to Decimal system, and plot them in a graph, 10 times a second , which means after converting and plotting 10 values , one second is over.
    I would aprriciate it very much if you could help me in this case....
    Thanks in advance.
    Message Edited by Support on 11-13-2007 01:03 PM
    Message Edited by Support on 11-13-2007 01:04 PM

    Some questions a teacher might ask:
    What's the display setting for the "\n" string diagram constant? Why?
    Is it better to read the file one line at a time or all at once?
    What would you do to be able to stop the chart display before it runs out of data?
    What would be different if we combine the two FOR loops into one?
    How would you display the header as a multiline string instead of an array of strings?
    Why is the scan format %03x instead of %3x? Would it make a difference?
    What is the purpose of the two items of the property node?
    What would you need to change to plot the data every 50ms? (change in two places!)
    Why is the error output of the property node wired to the first FOR loop? (After all, the error value is not really used anywhere there!)
    Instead of the two "array subset" operations, we could do it with one icon. Which one? (two possibilities!)
    So... be prepared!
    Message Edited by altenbach on 10-29-2007 11:31 AM
    LabVIEW Champion . Do more with less code and in less time .

  • How to install all the drivers for the MacBook with Windows 7 or 8 without the disk from OSX Lion? Where can I find the drivers?

    Guys, a have one big problem..My customer brought me a macbook with windows 7 installed to do a format and reinstallation, but she is no longer the OSX Lion, and do not know how to install the sound drivers, "touchpad", among other drivers, how to solve this? Where can I find the drivers? The MacBook is now with Windows 8 installed.

    Sorry my bad english..
    See is meant. The MacBook has already come for me with Windows 7 installed, checked that it does not have another partition with OSX Lion installed, do not know how the person who did the maintenance before I managed to remove the partition with the Lion, so I can not create a disk or access boot camp because there is no partition Lion and don't own the DVDs of OSX Lion, you understand me?
    There is a boot camp Windows executable? Where do I find, since I poked around and found nothing on ...
    The sound driver is installed, but not working ... and the rest are missing there also, the trackpad also does not work correctly, the right button does not work ... My experience with mac is low, it may be that you do not know how it works correctly the trackpad

  • Is there any there any scenario where we have to publish "Orchestration as WCF Service" and not "Schema as WCF service"

    Hi All,
    Recently in one interview a senior architect asked me this question-
    Q- In which scenario we have to publish "Orchestration as WCF Service" and not "Schema as WCF service".
    He also told there are some scenarios which can't be accomplished by exposing schema as WCF Service.
    As per my understanding below are the benefits of exposing Orchestration as a web service, but there is no such scenario where we can't be achieved by exposing Schema as WCF Service.
    Publishing orchestrations is a way to go when:
    Implementing simple solutions with small number of dependencies when we have control over both consumer and service endpoints
    * Rapid prototyping, proof-of-concepts, service stubs
    * Developing local scoped services, when collaboration is not an issue
    * Don’t care much about interoperability
    * No skilled XML Schema, WSDL developers available
    (http://geekswithblogs.net/paulp/archive/2006/03/21/72943.aspx)
    Please share your inputs.
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

    First, the answer to the question as written is NO, because there really isn't a difference between the two options.
    To be more specific, the only difference is in the Wizard itself in that when you publish an Orchestration, the Wizard reads the request/response schema(s) and Service & Operation name from the Orchestration Port rather than asking for them as it does
    when you choose Publish schemas.
    Basically, if you choose Publish schemas and enter the same values configured in the Orchestration Port, the output will be the same.  So, publishing an Orchestration is merely a convenient shortcut.
    Most importantly though, all of this only affects the metadata publishing.  There is no difference in the Receive Location (BizTalk or IIS), if you chose to create one.  The receive stack is schema agnostic, always.
    In practice, the only thing the Wizard does that is difficult to do manually is organize the metadata, but I haven't had to create a metadata endpoint in years.  The only reason I even run the Wizards is to create the IIS app.

  • I forgot the answers to the security questions. When I get the screen with security questions to be answered, the email adress where the reset procedure is sent to is wrong. How do I change it?

    I forgot the answers to the security questions. When I get the screen to answer them, the email address listed to send the email procedure is wrong. How do i change this email address?

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
    Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                             Apple ID- All about Apple ID security questions.

  • I have iphone4 from Vodafone carrier when i was in spain, but now i'm in indonesia, i want to unlocking my iphone, where i have to go??? cos it's useless in indonesia... plizzz give me sollution!!!

    i have iphone4 from Vodafone carrier when i was in spain, but now i'm in indonesia, i want to unlocking my iphone, where i have to go??? cos it's useless in indonesia... plizzz give me sollution!!!

    The ONLY place that can unlock the iphone is the carrier to which it is locked.
    You would have to contact Vodafone in Spain.

  • How do i make it so iTunes plays the music files from where i have chosen to store them?

    how do i make it so iTunes plays the music files from where i have chosen to store them as opposed to it scattering copies of my files into a myriad different folders based on the albums they came from when i'm not even interested in keeping whole albums?
    I recently converted myself to mac after having been a windows formatted person since the beginning of time. I use last.fm and the client scrobbler only supports iTunes on the mac (scobbling since Nov 06 and i'm now heavily dependant upon it as a means of discovering new music) - if you don't know what that means then take it for granted i have no option other than to use iTunes as my media player whn using the mac. And almost immediately upon using iTunes i was filled with horror.
    My tale of woe as follows: I copy all my mp3 files to folder X on my new mac. I copy my simple playlist in to that same folder X. The simple playlist simply lists all the files in folder X in the order i want to hear them in... simple right? And what happens the moment i start playing my simple list? Well you probably all ready know; itunes throws copies of all those files in to the air, scatters them to the four winds so each of them fall into a little folder of their own representing the album they might once have come from. I don't keep whole albums. For me the 'album experience' is a ruse to trick one into listening to weaker material. I only keep the concentrated goodness. I only put up with albums in a previous lifetime because in the days of vinyl i had no other choice apart from spending hours compiling mix tapes. Now i am liberated from these restrictions and have been for the 15 or so years i've been using a computer to listen to music. Until along comes iTunes forcing me backwards in time, frog marching me back into the past.
    That simple list i mentioned is my one and only playlist. This single playlist has been evolving for 15 years as tracks are added and removed and their position in the list changes because that song sounds amazing when heard after that other song whereas hearing this song after that song would be like pouring custard over your sausages (for me shuffling is an abomination). And so here is how i've managed this list and managed synchronization of said list and listed files with my mp3 player (currently a Zen).
    Adding a new file: After deciding that song is a keeper i will copy it into that simple folder that holds all my music and drop it in to a position on the list i deem most suited for it. Incidentally over this entire 15 year (i'm pretty sure it's been around that long) my media player has been winamp but for the reason previously mentioned i am unable to use winamp in mac world.
    Removing a file: fortunately winamp has an option to simultaneously remove a file from the list and the hard drive. And naturally so because after all if i no longer like a song then i want it expunged completely from life or at least from my hard drive and playlist. In the brave new world of iTunes i have to remove from the list there then delete the file from where iTunes copied it from and then the place iTunes copied it to.
    Editing the list: drag an item in the list to it's preferred location and select to save it as i would for any other file using any other application... well desktop type application as opposed to one that uses a database as its primary means of storage.
    Syncing with the mp3 player: copy drag drop playlist file from the simple folder on the hard drive to the simple folder on the mp3 player as i would for any other file. And then also copy drag drop the most recently created files from simple folder on hard drive to simple folder on player after having ordered them by creation date so as to make it easier to select the most recently created. After a while the mp3 player will fill up with the files no longer on the list so i will delete all files from player then re-copy all flies from simple folder on hard drive to simple folder on mp3 player.
    I do not make changes to the list on the mp3 player so synchronization needs only to go one way: from laptop to player.
    So all very simple. Apart from editing the positions of files in the list everything is managed by copy drag dropping and deleting files using windows explorer.
    But i'm in a mac and circumstances have forced me in to the corner of using iTunes. And this whole iTunes situation is terrifying for me as over the years i've heard horror stories about it deleting all of someone's music files. Perhaps this may have been by using the software incorrectly but even so, the very fact that it appears possible for this to happen simply by using the software incorrectly and the fact that it happens with some degree of frequency given the number of reports of this happening that i have heard of over the years on music discussion forums fills me with dread that i have to now use this software. And given the software's blatant disregard for the user's choice as to where to store his/her files it's no surprise that this happens. The software is pointlessly doing dangerous things with my data. Please make it stop.
    Please can i just at the very least make iTunes play the music from the folder i have chosen to put my files in and not copy those files here there and everywhere without my say so? Thankyou.

    option discovered in preferences. Really this and any feature that moves deletes or edits a users data should as far as possible be OFF BY DEFAULT. It shouldn't by default and without the users specific say do this dangerous and unnecessary thing without even letting the user know what it's doing!!! And then cause me a few hours (as i'm new to mac) searching for the option so as to switch it off. If i hadn't noticed the status cage declaring that it was copying files then i might never have twigged that this insane thing was occurring. And if i hadn't of noticed i would have been left maintaining the contents of the folder i copied the files to, the folder which as far as i was informed and so believed was also the location of the music files i was playing. How does Apple justify this 'genius' piece of software non-design? Surely it will hurt no one if this was off by default for new users - overall at least i dare say it would cause a lot less distress in the future for the unsuspecting public at large. Thanks for the support.

  • How do I configure the mixed signal graph property node to set the plot names

    I have a mixed signal graph displaying digital and analog data in two groups.
    I would like to programmatically set the names of individual plots i.e. rather that the digital graph displaying 'Digital 0->Line 0'  I would like to set it to 'Signal 1'  in the vi.
    How do I do this?
    Probably via the property node but I cant get this to work without errors?  (i.e. i cant find the right combination of node arguments to set.)
    Also,  I can set the names of the plots of the component waveforms programmatically, but when I bundle the plots together to form the mixed signal graph, the plot names are reset to the mixed signal graph default values. Can this behaviour be turned off?

    What are you doing? You need to select the plot first and then set the name, like this:
    Attachments:
    Mixed Signal Graph_BD.png ‏1 KB

  • I have my iTunes on my PC and have an iPod Classic, I have just purchased an iPod touch and want to load all of my Itunes music onto it, how do I do this and not loose my library, I'm not very computer savvy.

    I have my iTunes on my PC and have an iPod Classic, I have just purchased an iPod touch and want to load all of my Itunes music onto it, how do I do this and not loose my library, I'm not very computer savvy.

    You sync music the same way as on the Classic. What you sync to an iPod does not effect the iTunes library on your computer.
    iTunes 11 for Windows: Syncing overview
    or
    iTunes 11 for Mac: Syncing overview

  • I work in an area where we use T one lines for internet.  I do have an iphone and am able to get on the internet on it.  Will I be able to get on the internet with an IPAD 3 that I have recently purchased.

    I work in a company that has only t one connection for internet.  There is no interet srvice provided in this area.  I do however have and Iphone three and have no trouble getting on the internet with it. Will it be the same for the IPAD 3 that I just purchased??  Want to be able to use the IPAD 3 at work and get on the interent and if I can on the Iphone 3 I'm hoping the IPAD 3 will also.  Any thoughts?

    Either your phone is getting on wifi or you're using the cellular network to access the internet. If it's wifi, then you just need to connect the iPad to the same wifi. If you're using the phone's cellular connection to access the net, then you'll either need to get a tethering plan to use your phone as a mobile hotspot for your iPad, or get a device like the Mifi, which is a portable cellular wifi hotspot

Maybe you are looking for