Having trouble converting working with a 1D array waveform?

I have made a vi that outputs a signal to a pinger in the water, the vi then receives the same output signal so the trigger is always the same and also receives the signal from the hydrophone. The problem is I want to only use the part of the received signal from the hydrophone when I try to use the vis to do this I get an error saying "The typ of source is 1D array of waveform, the type of sink is waveform" What is the difference between these two and how could I go about trying to pick off only a peice of the waveform in the 1D array waveform?
Attachments:
OCT7_Trigger_on_going_wave_w_stop.vi ‏467 KB

Sounds to me like you're asking two questions. One is about your error -- in order to fix that, you either need to put your waveform handling VI in a for loop or index the array of waveforms to select the waveform you want to select a part of. If you notice, the output from AI read is an array of waveforms, not a single waveform. In fact, I suspect you aren't getting the output you want for your array of DBLs either. The coercion of a 1D array of waveforms to a 1D array of DBLs just shows a single element of each waveform in my testing.
Once you select a waveform (or use the for loop to auto-index the waveforms), just use the Waveform Subset.vi to pick off the piece that you want. It's located in the Waveform menu under Waveform Operations.

Similar Messages

  • Having trouble converting array to spreadsheet string, storing the file and coverting back to array with complex numbers

    I am working with a network analyzer. I have arrays made of 5 columns the first consisting of an integer and the next four consisting of complex numbers. I am converting the array into a spreadsheet string and then saving the file using the write characters to a file VI. That seems to work well as when I open the file in Excel all the data is there. However when I try to reverse the process, open file and convert back to array, I loose some of the data. Specifically the imaginary parts of my complex numbers are all going to zero. I have narrowed down the problem to be in the conversion from spreadsheet string to array and vice versa. I
    think the problem may be with the 'format' input to the VI. I do not have an adequate resource for this so I am not sure what to put in to accomplish my task. Any takers?

    Hi Biz
    I don't think there is a direct way of converting a complex number to a
    string, so when you convert the array to a spreadsheet string, the
    numbers would be converted to real data.
    However, you could try separating the real and imaginary parts using the
    "Numeric: Complex to Re/Im" function, and then store these - either in
    separate files or in adjacent columns/rows in the same file. Then, when
    you read in the data again, use the "Numeric: Re/Im to Complex" function
    to put the two "halves" together.
    If you actually want Excel to interpret the numbers as imaginary, then
    you'll probably want to create a string for each complex number of the
    form "Re + Im*i" (after separating the Re and Im parts), by using
    "String:Format into String" with 2 numeric inputs and the format string
    "%f+%fi".
    Reading the data back into Labview then would require splitting the
    string into the 2 pieces by using "Stringcan from String" with 2
    numeric outputs (smae precision as original numbers specified by the 2
    Default Value inputs) and the same format string "%f+%fi", and then using
    the above-mentioned "Numeric: Re/Im to Complex" function. It worked for
    me, so if you can't follow what I am describing, send me an email and I
    can email you what I did (LV 5.1.1).
    Paul
    Biz wrote:
    > Having trouble converting array to spreadsheet string, storing the
    > file and coverting back to array with complex numbers
    >
    > I am working with a network analyzer. I have arrays made of 5 columns
    > the first consisting of an integer and the next four consisting of
    > complex numbers. I am converting the array into a spreadsheet string
    > and then saving the file using the write characters to a file VI. That
    > seems to work well as when I open the file in Excel all the data is
    > there. However when I try to reverse the process, open file and
    > convert back to array, I loose some of the data. Specifically the
    > imaginary parts of my complex numbers are all going to zero. I have
    > narrowed down the problem to be in the conversion from spreadsheet
    > string to array and vice versa. I think the problem may be with the
    > 'format' input to the VI. I do not have an adequate resource for this
    > so I am not sure what to put in to accomplish my task. Any takers?
    Research Assistant
    School of Physiotherapy, Curtin University of Technology
    Selby Street, Shenton Park, Western Australia, Australia. 6008
    email: [email protected]
    Tel. +61 8 9266 4657 Fax. +61 8 9266 3699
    "Everyone who calls on the name of the Lord will be saved." Romans 10:12
    "For all have sinned and fall short of the glory of God, and are
    justified freely by his grace through the redemption that came by Christ
    Jesus." Romans 3:23-4

  • There are text messages that I'm having trouble deleting.  With some of my text messages, I can swipe to the left and delete ... or press and hold, get more and delete to trash can icon. But there are some where neither will work. Can't delete. Help!

    There are text messages that I'm having trouble deleting.  With some of my text messages, I can swipe to the left and delete ... or press and hold, get more and delete to trash can icon. But there are some where neither will work. Can't delete. Help!

    But once again, I do not want to lose my other texts, app progress, and photos. I could sync the photos but i would still lose the app progress and texts. I would only restore if it was the only option left, but the other space, as already stated, isnt the main concern. The main concern is those 'deleted' texts. If they go, then a good size chunk of the other space goes. I know you CAN delete texts for good. It worked fine before. All i want to know is why its not working for me now, and how to fix it.
    I also know that when you delete texts on your iphone, they get marked for deletion, however they stay on your device (thats why they show up when you search for them.) then when you sync your device with itunes, the texts marked for deletion should disappear. When i synced they didnt disappear. Thats what i need an explanation/solution for. Why the texts marked for deletion didnt get fully deleted after the sync.

  • HT204204 Having trouble to connect with bluetooth

    Why i having trouble to connect with bluetooth woth other smartphone? I  have already try to connect with bluetooth beetwen my iphone 4 with iphone 6 ? While my iphone 4 have already upgrade to ios 8

    never mind. I fixed it. After uninstalling and then reinstalling iTunes all start to work. Thanks anyways

  • Having trouble accessing internet with new wireless WRT54...

    Having trouble accessing internet with new wireless WRT54G. Used easylink to read existing router BEFSR41 which works great to westell modem provided by Verizon. When connect new router Easylink configures WRT54G but when trying to connect to internet...fails. All lites indicate good. Not using wireless device yet, just the wired ethernet. Router set up as DHCP.
    I keep going back to old router and works great every time. Help! 

    Thanks for response, however I tried setting unit to 192.168.2.1 (leaving DHCP) to no avail. I put my old unit (BEFSR41) back in and I'm back up. I need to sit back and decide which way to go on this. Perhaps it's defective and I should return it.

  • I am having trouble syncing photos with lightroom mobile. Lightroom (on computer) tells me that it's syncing but nothing appears on my I pad. Any comments?

    I am having trouble syncing photos with lightroom mobile. Lightroom (on computer) tells me that it's syncing but nothing appears on my I pad. Any comments?

    however when I try to sync my older ipod with it and upload some new music to it, Itunes keeps telling me that all the previous songs will be erased
    Yes, that's correct. If you don't have the songs that are currently on your iPod also in your new iTunes installation, they will be erased from the iPod if you sync it. Best to start afresh by first transferring all the music on your iPod back to your new computer/iTunes library.
    For iTunes version 7 or later, then you can transfer purchased iTunes store music from the iPod to an authorized computer by using the "file/transfer purchases from iPod" menu. Note that the maximum of 5 authorized computers applies here.
    Find out how to do that here.
    How to copy iTunes purchases from an iPod or iPhone to a computer.
    For all other non purchased content (your own CDs etc), check out the instructions/suggestions here.
    Music from iPod to computer (using option 2). This a manual method using "hidden folders" and although it works, it is a little more involved than other methods.
    Much easier ways are to use one of the many 3rd party programs that copy music from the iPod to the computer.
    One of the most recommended is Yamipod. This is a free program that transfers music from iPod back to the computer. However, it does not transfer playcounts/ratings etc.
    Other free programs are Pod Player, SharePod and Floola.
    If you want to recover just the structure of playlists from the iPod (and not the actual song files themselves), there's iRepo for Windows. which I understand has this feature along with all the standard features for these programs.
    iPodRip also has the feature enabling you to reconstruct playlists.
    There is also CopyTrans. This does preserve ratings/playcounts etc if those are important to you but this program is not free. It also supports video transfer.
    Once all the music is safely back in your new iTunes library, you can sync your iPod as normal.

  • I'm having trouble converting my RAW files to jpegs. Even though my RAW files are 90MB plus, the jpegs when converted are only around 6MB.  Am I doing something wrong?  Thanks,  A

    Dear Forum,
    I realise this isn’t necessarily your problem, buy I’m having trouble converting my RAW files to jpegs.
    Even though my RAW files are 90MB plus, the jpegs when converted are only around 6MB.
    Am I doing something wrong?
    Thanks,
    A

    HHi Barbara, thanks for replying to my post.
    No there's nothing wrong with the Jpegs, but I want to srart uploading images for sale in Alamy, but they say they must be a minimum of 17mb un compressed. Does that mean that at 6mb compressed from 90mb they'd be acceptable?
    thanks,
    alex

  • I'm having trouble sending mms with my iPhone 3GS

    I'm having trouble sending mms with my iPhone 3GS

    This also happened to me after update to IOS 6. So probably it is cause your email outgoing stopped to work.
    So check your outgoing settings and you probably will solve the issue.
    Hope it will be helpful

  • I have a MacBook Air, OS 10.8.5 I am having trouble sending attachments with Mail. Even small (130K) files don't go. It tries to send then gives up. What can I do to fix this?

    I am having trouble send messages with attachments in Mail. Even small attachments (130K) Mail tries to send, then gives up and the message sits in my out box. How can I fix this?

    1. You need an external DVD drive.
    2. There are no Mac OS X applications or other software in the iTunes App Store.
    (116312)

  • I'm having troubles converting my raw files from Nikon D5200 (NEF) to DNG. I tried using Lightroom 4, but it didn't identify the folder containing the files. So i downloaded the latest DNG converter but that too didn't identify the files kept in the folde

    I'm having troubles converting my raw files from Nikon D5200 (NEF) to DNG. I tried using Lightroom 4, but it didn't identify the folder containing the files. So i downloaded the latest DNG converter but that too didn't identify the files kept in the folder location. So I downloaded DNG converter v7.3 for D5200. It identifies the folder and files; but it is giving me parsing error on trying to convert files. I'm running Windows Vista Home Edition SP1. Kindly advise. Thank you.

    I probably missed this detail in what you’ve posted, but do you see the thumbnails of the three cameras’ raw files in Finder if you don’t convert to DNG?
    What has happened in the past is that the Apple raw interpreter doesn’t read thumbnails of DNGs it doesn’t like, where at least one thing it didn’t used to like was embedded lens corrections for mirrorless cameras.  Are the Olympus and Panasonic mirrorless—meaning there is no optical viewfinder and everything is seen on an LCD screen or perhaps an electronic view finder?  If so the reason these are different is that the camera is doing the lens distortion corrections automatically and this information is stored in the raw files and in the DNGs but Apple doesn’t know how to use these embedded lens corrections or doesn’t know how to read the newer DNG spec that does allow for this information to be embedded in the DNG, at least.
    Apple could just extract the embedded jpg preview and ignore the other parts of the file it doesn’t understand, but it apparently doesn’t do this.
    What I’m not sure about is if the Apple raw interpreter still has this problem or if you’re on an older system without the latest updates for camera raw decoding by Apple.

  • Having trouble getting started with my new shuffle

    I am having trouble getting started with my new shuffle. any help?

    Hey there Feisty59,
    It sounds like you have a new iPod Shuffle, and want to know how to start using it. Here is a great resource for understanding how to use your iPod, and how to set it up and get music synced to it from iTunes:
    iPod shuffle User Guide
    http://manuals.info.apple.com/MANUALS/1000/MA1550/en_US/iPod_shuffle_4thgen_User _Guide.pdf
    If you have a different model of iPod Shuffle, choose yours from the following page and use that guide instead:
    Apple - Support - Manuals
    http://support.apple.com/manuals/#ipodshuffle
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Does the magsafe 2 converter work with with the 13in MacBook Pro(2012)?

    i was just wondering if the MagSafe 2 Converter worked with the 13" MacBook Pro(2012)

    The spec's page only say "MagSafe power port" - doesn't specify if it's the original or the newer '2'. The Retina spec's a MagSafe 2...
    I guess you'll just have to wait until someone with a 2012 non-Retina MBP comes along...
    Clinton

  • I am having trouble logging in with my password on the macbook

    I am having trouble logging in with my password on the macbook, I know it's right and I just can't log in. Please help!!

    Reset password.
    OS X 10.7 Lion, 10.8 Mountain Lion, 10.9 Mavericks and 10.10 Yosemite
    Reset Password
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box under “Select user account”.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    If Keychain dialog box appears, select “Create New Keychain”.

  • I've reset my iPhone 3GS and I'm having trouble activating it with an old SIM card

    I've reset my iPhone 3GS and I'm having trouble activating it with an old SIM card
    I just would like to activate it so I may use it as an iPod I have the iPhone 4s now... HELP

    What trouble are you having?
    If there is an error message, what is the exact wording of that message?

  • Having trouble connect consistantly with websites, clear history then it works and an hour later, need to do the same thing (clear history to connect)

    Just purchased new laptop with Windows 8, loaded firefox for browser as have always used in other computers. Am having trouble accessing websites, for example when I go to my gmail gmail.com, an error comes up that it can't access the website, check connections. But if I go and clear history, includidng the cache, then close Firefox and reopen and then try it works. Then I'll move onto other things and go back and it still works. Not sure what is the trigger, but when I try to go back to my gmail for example.(as it happens on other sites as well, my banking, my facebook, etc) I get that error again, I then have to again clear history,...then everything works!!! It's very frustrating as I have to clear history at least a dozen times per day! What is happening!

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox and any leftover program files and then reinstall Firefox. Please follow these steps one by one:
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu) and confirm all upcoming messages.
    #Now, uninstall Firefox by following the steps mentioned in the [[Uninstall Firefox from your computer#w_uninstall-firefox|Uninstall Firefox]] article.
    '''IMPORTANT:''' On Windows, the uninstaller has the option to remove your personal data and settings. Make sure that you do '''not''' check this option; otherwise all of your bookmarks, passwords, extensions, user customizations and other Firefox [[Profiles|user profile data]] will be removed from your computer.
    After uninstalling Firefox on Windows, delete the "Mozilla Firefox" program folder, located by default in one of these locations:
    * '''(On 32-bit Windows)''' ''C:\Program Files\Mozilla Firefox''
    * '''(On 64-bit Windows)''' ''C:\Program Files (x86)\Mozilla Firefox''
    #Go to the Windows Start menu and click on "Computer".
    #In the Explorer window that opens, double click Local Disk (C:) to open the C:\ drive.
    #Find the "Program Files (x86)" folder or "Program Files" folder.
    #* On 32-bit Windows, double-click the '''Program Files''' folder to open it.
    #* On 64-bit Windows, you will see a "Program Files (x86)" folder AND a "Program Files" folder. Open the '''Program Files (x86)''' folder.
    #Look for a '''Mozilla Firefox''' folder. If you find one, right-click it and select ''Delete'' and confirm that you want to move the folder to the Recycle Bin.
    Now, go ahead and reinstall Firefox:
    #Double-click the downloaded installation file and go through the steps of the installation wizard.
    #Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

Maybe you are looking for

  • How do I remove a small line at the bottom of the page?

    Hello! I'm formatting some work for a client and I can't seem to find out how to remove this line at the bottom of the screen. It's on every page. It's not a line that was drawn in because I can't click to remove it. Has anyone seen this before? Than

  • Hr report using pch not working

    I am trying to create a report using logical database pch.here is the code TABLES: objec,         gdstr. INFOTYPES: 0002,            1003. GET objec.   LOOP AT p1003      WHERE begda LE pc-begda      AND   endda GE pc-begda.      write: / p1003-abtel

  • Two step verification in Canada SMS does not work with Telus

    Just saw the announcement that Two step verification for your Apple account is now available to Canada.  http://www.macnn.com/articles/13/05/10/option.will.appear.automatically.in.accou nt.details/ Tried to sign up, unfortunately after many attempts

  • My iTunes wont sync files to my iPhone 4

    Even if I delete something from my iTunes library it stays on my phone. I've restored my phone, reinstalled iTunes, checked everything for sync. It says sync is complete but nothing happens. Any ideas how to fix?

  • Network Attached Storage (NAS) and Aperture (Drobo, ReadyNAS, etc)

    My photos are growing past a single hard drive worth of space - I'd like to attach a Droboshare to my iMac, and keep my photos on it. I was wondering - will this still have usable speed, if I store my library locally (I believe this is called referen