Trouble using Sample Compressio​n VI in LabView

When I run my VI which includes the sample compression sub VI, I get no errors however I get no output onto the graph I am plotting to. WHen I take out the sample compression sub VI, my uncompressed data plots fine.

Hello rpursley8 and Travis, thank you for your replies.
I have managed to get my data plotting using the sample compression sub VI. The reason I had no data showing up in my plot was that my input to the compression was a series of data points, so when it compresses 1 point by a factor of 10 I got zero points. So obviously nothing showed up on the plot and there were no errors. I had to change my input to a waveform format where the data was interpreted as a group of points it could compress and still be left with data to plot.
I do have one question for you. I have my data plotting, and I am trying to plot it vs degrees. It is a radiation pattern of an antenna I am working on. So I would plot the voltage data (which is turned into the original power levels in dB by a ratio given to me by the receiver I am using) vs degrees ranging from -90 to +90. Into the graph I have both of these sets of data. Ok..now to the problem When I plot, the voltage data only covers from -90 to -80. I am not sure why it is doing this. I thought it was because I am compressing the points so there are not as many, so I need to space them out by the same factor as I am compressing them. I tried this but it didnt change anything.
I have attached the VI. If you could help me out that would be great.
Attachments:
PlotWaveform4.vi ‏251 KB

Similar Messages

  • Having Trouble Copy and Pasteing Local Variable in LabVIEW 2010

    I am Having Trouble Copy and Pasteing Local Variable in LabVIEW 2010 in s subVI.
    I have a VI that has a Local Variable called "Node Addr". I can select it OK, and it appears to Copy OK, But when I go to paste it, nothing appears. It doesn't matter if I use Cntrl-C Cntrl-V or the Copy and Paste from the Edit menu, I get the same results. I tried many times and got the same results. I made sure that I had click a paste location. I can insert the Local Variable if I use the Data Communication panel.
    On one of the Paste, I got an error in the error list that said that a Local Variable was not connected to anything. When I clicked on the error, it took me to an insible item in the lower right corner of the block diagram that had nothing but a select box around it. I couldn't select the invisible item, but I could delete it.
    Why does the copy and paste of this local variable not work?
    Why does the paste cause the insertion of an invisible item?

    dbaechtel wrote:
     My VI is fairly complicated. In several places in the VI, I am either reading or writing to this variable which is an numeric Indicator on the Front Panel. Using local variables seems to be the best way to handle this situation rather that using wiring all over the VI. Since the VI is mainly a State Machine and there are only 2 Writes to the local variable, I am not afraid of race conditions in this case.  NO!! While you may think that using Locals is your solution to wiring, it is not!  The fact that you are writing and reading, most likely from several places, will most definitely contribute to a race condition.  Depending on your implemetation, you should ALWAYS use wires.  The wires are the variable.  If you are using a loop (While, For), then using shift registers are appropriate means for routing values so that they are used by other sections of the code, later.  One thing you must respect with LabVIEW is the dataflow.  That's where Locals often fail.
    I am not copying the Local Variable from one VI to another.
    I am not copying the Local Variable from one VI to another.
    The Data Communication panel is one of the panels that shows up in the Functions pop up list when editing the Block Diagram. It is the panel that includes the Local Variable function.
    I don't know if the invisible item that was inserted in my block diagram was hidden or not. All I know is that the Errors List said that it was a Local Variable and that it was not connected to anything. I couldn't select it to get more information. All I could do was delete it.
    You did not address my questions about why the Copy and Paste does not work properly for my Local Variable.  Maybe it's a sign from the Software Gods not to use them LOL!..
    So if I understand correctly, you are trying to copy & paste the Local Variable from within the same VI.  How large is your block diagram?  Did you try right-click on the variable and select "Find > Local Variables"?  If it's a block diagram larger than 1 single screen (which it shouldn't), then it is possible that the Local is hiding beyond the screen.  You should find it as I described earlier.
    See my comments in red above.

  • Trouble using XWD_RAMSTARTUP to connect to RAM DB:Database dbname must remain current

    Trouble using XWD_RAMSTARTUP to connect to RAM DB:Database dbname must remain current...
    I am having trouble connecting to the RAM database. The error I get is
    "In stored procedure XWD_RAMSTARTUP: The following Express Server error occurred: Database GLB must remain current becasue the TEST program is still executing it."
    The express database GLB is the global computing sample given by oracle doc.
    My Test program defined in Express Administrator for GLB has the following code:
    call xwd_meta.init
    call xwd_ramstartup('e:\\Orahome1\\olap\\oes632\\service\\glb.rdc','sampleolap', 'sampleolap')
    call xwd_attachdb('e:\\Orahome1\\olap\\oes632\\service\\glb.db')
    The hyperlink I used is " http://192.168.10.110/Scripts/oowa.exe/ExpSrv632/dbxwdevkit/xwd_init?glb/test "
    the content of the rdc file is
    [PATHS]
    CODE=E:\ORAHOME1\OLAP\OES632\COMMON\
    DATA=E:\ORAHOME1\OLAP\OES632\SERVCIE\
    EXTEND=E:\ORAHOME1\OLAP\OES632\SERVICE\
    [RELATIONAL]
    TYPE=OCI
    INSTANCE=SMSDW
    [DBINFO]
    DBNAME=GLB
    Any help/suggestions would be appreciated.

    Hi,
    > This program connects to database TEST, and reads table MYTABLE in schema MYSCHEMA.
    >
    > I would know if it is possible to select the table name in a dynamic way:
    >
    >   SELECT db_name() INTO :dbn FROM :ptab
    >
    > But this line fails with meesages:
    >
    >  dbdsmss: DBSL99 SQL1087
    >  Must declare the table variable "@P1".   - you have to declare variables in beginning of the program.
    You can select table name dynamic way , but you have to write ABAP code (Selection screen).
    post this question in ABAP forum. you will get more information.
    Thanks
    Siva

  • McAfee SiteAdvisor is no longer working with my Safari 8.0.  I never had trouble using it with Safari before this latest version.  Has anyone else had this problem?

    McAfee SiteAdvisor is no longer working with my Safari 8.0.  I never had trouble using it with Safari before this latest version.  Has anyone else had this problem?  I contacted McAfee support and they said nobody else is reporting this issue.

    Wow, life is certainly tough for you.
    S***t happens.  That's why there's a warranty.

  • I'm having trouble using Adobe Reader

    I'm having trouble using or uninstalling Adobe Reader, i get a message when the programme has been anitiated which says Adobe Reader has encountered a problem and needs to close, i went on to Adobe's website and it said try uninstalling Adobe Reader and then re-install it as this sometimes works, i tried un-installing it from the Add or Remove programme but that didn't work either as i got another message telling me that the patch package could not be verified and to make sure i have permission.

    Dear Mylenium.
    Sorry i don't quite understand your reply, What do you need to know?

  • Using pixelink software development kit with labview

    hi,
    i am currently using the pixelink camera pl b741 f, however i am facing a problem when i use the "get frame dll" in labview.
    my program works when in highlight execution mode, however when i run it in normal mode i get the following message:
    Labview: an exception occurred within the external code called by a library node function node. This might have corrupted labview's memory. Save any work to a new location and restart labview. VI "amol_getimage.vi" was stopped at node "" at a call to "MEPU- acquisition-getframe .vi"
    can you please help me!
    thanks
    amol

    amolchoudhary wrote:
    hi,
    i am currently using the pixelink camera pl b741 f, however i am facing a problem when i use the "get frame dll" in labview.
    my program works when in highlight execution mode, however when i run it in normal mode i get the following message:
    Labview: an exception occurred within the external code called by a library node function node. This might have corrupted labview's memory. Save any work to a new location and restart labview. VI "amol_getimage.vi" was stopped at node "" at a call to "MEPU- acquisition-getframe .vi"
    can you please help me!
    It's simple! You made an error in the configuration of your Call Library Node. It could be a number of reasons but the two most likely ones are that you get a variable wrong to be passed by Value while it should be by Reference or vice versa, or that you call the function which expects a buffer it can write in the results (the image frame is a likely candiate) and didn't create a large enough buffer in LabVIEW to be passed to the function.
    I actually think this last one is by far the most likely reason here and in fact the number 1 error done by most people that try to interface to a DLL through the Call Library Node. DLLs come from the C world and want to be called like that and one important rule there is that memory buffers to be filled, must always be created by the caller. This is different in LabVIEW itself since LabVIEW manages all the memory for you and allocates it whenver necessary but this can't work for calling DLLs as LabVIEW has ABSOLUTELY no way to know what a DLL function might need as memory buffer.
    You can create such a buffer by either executing the Initialize Array function with the correct parameters or in LabVIEW 8.2 you can directly configure array and string parameters in the Call Library Node configuration to create the necessary buffer. I prefer the Initialize Array variant since the other one is a LabVIEW 8.2 only feature and creates a fixed size buffer while for your frame buffer you will likely have to allocate a memory buffer whose minimum size depends on the bitmap format and bitmap size the function is going to return.
    Rolf Kalbermatter
    Message Edited by rolfk on 06-29-2007 07:27 PM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • HEEEEEELP - trouble using Apple ID

    Some time ago i changed my e-mail adress and therefore i had to change my Apple ID to the new e-mail. So far so good.
    I now have trouble using my Apple ID on my iPhone. It automatically logs on the old Apple ID, but there is no code for that Apple ID anymore. When i use the password i used with my old Apple ID, it will not accept (i have not changed it - only the "username")
    When i go into my Apple ID account, the old e-mail adress is deleted (only the new e-mail adress is in my account), so how can it be, that the old Apple ID is the one my phone wants to use?
    I have tried changing my password on the old account, by pressing "fotgot password", but the mail to reset my Apple ID is sent to my new e-mail and therefore it is the password to my new Apple ID i'm changing.
    I hoped it only was a problem because the old phone had already been logged in with the old Apple ID, but i have just recieved my new iPhone 5s and now i can't get all my previous purchases and stuff to the new phone, because it also wants to use the old Apple ID, and i still have no password.
    It is also causing my iCloud to not work proberly.
    What to do? Hope someone can help me.

    I just skipped the part of the setup with my old e-mail, and did the setups manually when my new phone was done setting up. Now I can use my Apple ID and iTunes and iCould account for the first time in months.
    Thank you for your help!

  • Trouble using AirPlay between iMac and AppleTV

    I'm running OS X Lion 10.7.5 and I'm having trouble using AirPlay between iMac and AppleTV (2nd Gen).  It used to work fine, but for some reason it just stopped responding.  I can see my media on my iMac from AppleTV and I can see AppleTV from my iMac when attempting to use AirPlay.  However, when I try to pull or push media from my iMac to AppleTV it just stalls and never loads.  AirPlay works fine from my iPhone and iPad with AppleTV - it's limited to my iMac only. 
    I'm using a Netgear R7000 wireless router and a Netgear AC120 WiFi Extender and as such, I have 4 available wireless networks (2 from the router and 2 from the extender / 2 - 2.4 GHz and 2 - 5 GHz).  My internet access is great and my network performance is good across the board.  All of my software/firmware is up to date (iMac, AppleTV and router/extenders). I've tried all combinations (mixing/matching) all of my wireless networks between devices (iMac/AppleTV) - nothing makes a difference (again, AirPlay works fine between my mobile devises/AppleTV).  Netgear Genie has been making changes to my network settings as new firmware has been installed in both the router and extender.  I'm guessing there is something screwy going on with the network settings on the iMac, but I can't figure it out.
    Anyone have any suggestions?
    Thanks!

    I'm glad you got it all working. Out of interest, how do you (or your son) connect to the internet now? Is it just a dial-up connection? If it is, I am sure you know that, even if you get the Apple TV to share the connection, the speed will seriously limit the use of many of the Apple TV's features.
    The Airport Extreme is a great router but you will need a DSL or cable modem as well as it won't connect to the internet without one. There are many great (and cheaper!) combined modem/routers available if your son wants to get a high-speed network up and running at lower cost. Any other computers, phones, games consoles etc that you may have in the house can then all connect easily.
    I hope that I have helped a little and I will look out for future posts in case I can help again.

  • Trouble using facetime on another device with same apple id

    Hi
    I am having trouble using facetime with my wife.  I have an iPad 2 and she has an IPhone 4S.  When we try to facetime, we are able to connect for a few seconds and then it drops off.  We are then unable to reconnect.  We both have the same apple Id and e-mail address although I am trying to contact her via her mobile number.  Any suggestions would be grateful received.

    Get an email address (free gmail.com) to use on the iPad.
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Trouble using Safari on start-up with pop-up error

    Hi,
    I'm having trouble using Safari. Every time I open up the application, a small screen popped up saying "Error- Failed to load the FastBrowserSearchPlugin plugin.* -[BrowserWindowController currentWebView]: unrecognized selector sent to instance 0x7aa570". What can I do to get rid of this issue. I am assuming it has something to do with the Fast Browser Search engine located on the top right of the safari app. Help me please! Any help will be appreciated. Thank you.

    HI and welcome to Apple Discussions...
    You need to uninstall that plugin.
    Go here for instructions on how to remove it.
    http://help.fastbrowsersearch.com/
    I think you'll find it in: ~/Library/Internet Plugin-ins
    ~ (Tilde) represents your Home folder.
    Carolyn

  • Trouble using Java on my MacBook

    I have tried everything and I am STILL having trouble using Java and Javascript on my MacBook. I have attempted to delete and reinstall Java. I have run the update. I have checked that both Java and Javascript are turned on in Safari. I am unable to use Java and Javascript on several websites. For an example, I am unable to use the photo uploader on Facebook.com. I am using a MacBook with 2.2 GHz Intel chip and OSX 10.5.3

    Hi all,
    I've got probably the same problem. Got a MacBook (2.4GHz Intel Core 2 Duo, black) and did the Apple Migration App to get all data from a PowerBook (with Leopard on it). Did all updates.
    Safari and Firefox don't want to show any JavaApplet.
    Is there a problem between old PowerPC and Intel-Plattform.
    Maybe it would be a good idea to reinstall Java, but how?
    Thanks for suggestions!
    Simon

  • Im having trouble using Emoji on some apps since i downloaded ios5... Anyone else experiencing this?

    Im having trouble using Emoji on some apps since i downloaded ios5... Anyone else experiencing this? Ive tried every thing deleting emoji and apps and re-instaling to no sucsess?? Any help would be great thanks!

    YES! I am having a lot of AppStore problems since iOS 6. My 2 main issues are:
    1. AppStore crashes constantly or will just sit & spin then does nothing at all.
    2. If I search for a specific App, making sure my spelling is correct, AppStore will NOT bring the app up. Instead, it will bring up unrelated apps.
    Podcasts app does the same thing, as well as jumbling up dates. Very impossible to find the correct episode.
    APPLE, please tell me you are reading this and that a fix is quickly under way!!

  • Im having trouble using bbciplayer on my ipad it says i need to switch to wifi but im already connected can any one help?

    im having trouble using bbciplayer on my ipad it says i need to switch to wifi but im already connected can any one help? I ve uninstalled/ reinstalled  switched it on and off what next?

    Did you try downloading the movie from iTunes on your iPad?  I know it takes longer but I'd try that. 
    Also try to reset all settings. 
    Settings > General > Reset. Reset all settings. 

  • How to use sampling procedure

    Hello Friends,
    I have to map the following scenario. Please advise the config & master data.
    1) My sample size should change if my acceptance & rejecetion level changes.
    2) If rejection increases then the sample size in the next lot should increase & the vice versa.
    Regards

    Hello Sir,
    Thanks for your valuable reply. I have progressed on this. I need some more help.
    Let us park DMR for a while. DMR is working fine. But I have some issues in results recording.
    Let us only work only with sampling procedure with sampling scheme.
    I have taken one inspection characteristic. It is quantitavie characteristic. It has lower limit as 10% & upper limit as 15%.
    what I have done
    1)
    I have created one sampling scheme = ABC
    Valuation parameter = variable inspection by S method
    sampling table = severity/AQL
    For normal inpsection (4) I have taken AQL as 2.
    Lot size = 100
    Sample size = 15
    K-Factor = 3
    2)
    I created one sampling procedure = XYZ
    Sampling type = Use sampling scheme
    Valuation mode = Variable inpscetion S - Method (two limits)
    without inpsection points
    assigned sampling scheme = ABC
    No multiple samples
    Inspection severity   4
    AQL value             2.000
    3)
    I assigned the sampling procedure in the plan with the characteristic.
    4)
    I did GR for 100 & sample of 15 generated.
    why I have done
    1)
    In sampling scheme
    valuation parameter = variable inspection by S method (because my characteristic is quantitative)
    2)
    In sampling procedure
    Valuation mode = Variable inpscetion S - Method (two limits) (because my characteristic is quantitative with lower & upper limit )
    My issues:
    1) Is my settings for a quantitative characteristic with lower & upper limit correct?
    2) During results recording system is asking to enter StdDev. What is standard deviation?
    3) How characteristic is accepted & rejected? I am not getting any pop up to select accept or reject?
    Regards

  • How can I use a non-NI card in LabVIEW RT environment

    We built up a LabVIEW RT environment with LabVIEW 7.1 and relating drivers. There is a problem that we use some non-NI cards in this system and we did not know how to install the dll driver.
    Could you give me some ideals?
    Thanks a lot!!
    Regards,
    Yang Xin

    As it states in the LV RT User Manual - Appendix A (7.0) you might get more info on ni.com/info with info code RTDRVS.
    What kind of instrument/io-/bus-cards are you using?
    As I thought the VI calling the DLL would download the dll to the RT target automatically when run the VI. However, there are probably some restrictions (e.g. Call Library Nodes that access an operating system API other than Pharlap).
    In the 7.0 release notes it is mentioned: When building a start-up application that uses shared libraries (DLLs) with the LabVIEW Application Builder, LabVIEW opens the DLLs Used by Application dialog box and lists the DLLs used by the application. Some DLLs might report the following error:
    Target OS fails to load this DLL
    Ignore the warning and click th
    e OK button if you already transferred the DLL to the RT target. If you have not transferred the DLLs to the target, FTP the DLLs to the /ni-rt/system directory of the RT target.
    Note as well: Why Does My DLL Call Cause My LabVIEW Real-Time VI to Fail to Download?
    Let us know.
    Roland
    PS: These are links to start with.
    Developing a LabVIEW Real-Time Driver for a PXI or Compact PCI Device
    Configuring LabVIEW Real-Time and NI-VISA to Recognize a Third Party Device
    Using VISA to Write Drivers Supported in LabVIEW Real-Time for Thi
    rd Party PXI Cards.
    Programming for the LabVIEW Real-Time Module Using LabWindows/CVI

Maybe you are looking for

  • How do i reinstall my yearly membership of photoshop on new laptop!?! please :(

    SO FRUSTRATED SOMEONE SAVE ME PLEASEEE

  • SCOM datawarehouse

    Hi, I am using scom datawarehouse for retrieving server Specification data such as disk, CPU.... monitored in report that i built, i have discovered that scom does not log any data in Datawarehouse for one of my monitored server. Scom console shows m

  • When is N73 firmware update due

    I called Vodafone (UK) to ask what I can do with my 8 week old N73 that repeatedly dies on me - whilst idle, on a call, or writing a txt. They said they were aware of issues in the firmware but that they didnt know when these would be fixed. *#0000#

  • Sales Order Created in OM to iStore Flow ?

    Dear Experts, Can we create a sales order in Order Management and can query/view/action the same Sales Order in iStore ? If yes, could you please give me the setup or navigation to follow. Thanks, RB

  • My iPhone4S left speaker wont work. help me!

    here's my elist problems.. 1. Any authorized Repair Shop in the Philippines! 2. if my iPhone4S bought in London and my Uncle loss the Official Receipt can i use the Warranty coz' its less than a year that im using it!