Waterfall plot acquired in real time doesn't match when it is read offline.
Dear fellow LabVIEW experts,
I'm in need of help regarding the waterfall plot in LabVIEW. I acquired vibration signals of a CNC router during idling. The accelerometer was attached to the tool spindle in proximity to the rotating tool. Using a LabVIEW program (LV 2010), I saved my data (using write to spreasheet function) and I also had a waterfall plot showing the vibration spectrum built up as I was collecting the data. I used the Print Screen function on the keyboard to copy the waterfall plot (collected during real time data acquisition) and pasted it in a Word document. Then, I had another LabVIEW program that was able to read back all the data that I've saved including a waterfall plot that was used to reproduce the vibration spectrum that I've collected. After I read back my data (offline), I compared the vibration spectra between the real time and offline. The vibration spectrum that is collected during real time is supposed to match with the vibration spectrum that is reproduced when reading back the same data.
My problem is this, when I changed the location of the accelerometer or the vibration sensor to a new location (a bit far up and away from the rotating tool), the real time and offline vibration spectra didn't match in that the offline one showed some additional frequencies or peaks that weren''t there when I was collecting it in real time. Does anyone know why this happens?...Is it something to do with the buffer?
I've tried my best to explain and I hope someone out there is able to explain this situation.
Really appreciate any helps.
Thanks.
TiTou is right some screen shots would be helpful,
But these are good references too: http://zone.ni.com/devzone/cda/epd/p/id/5607 http://zone.ni.com/devzone/cda/epd/p/id/1425 http://zone.ni.com/devzone/cda/epd/p/id/5523
Sam S
Applications Engineer
National Instruments
Similar Messages
-
How to pass data from a C++ program to LV to plot the data real time?
Hello,
I am writing a C++ program in which I need to plot the data in real
time. I would like to pass data from my C++ program to LabView in order
to perfrom the plotting. I was wondering if this is possible. If so,
how can it be done? .
Thank YouThere are several C++ examples and application notes here.
-
Time doesn't match sampled data?
Hallo all experts,
I write a LV code which reads data from USB 6211 and saves them with time instants in a text file, but the time instants don't correspond the sampled data. The time values are generated by elapsed time, after build array with the data read from DAQ, they are fed to the write to a text file. The test signal is 10 Hz, but the text file yields 0.2 Hz signal. How could I synchronize them?
Any tips are highly appreciated.
win2Don't use the "elapsed time" express VI for precision timings. It seems to have limited resolution (internally, it converts a timestamp to DBL).
You can use e.g. the tick count to keep track of the time. See the attached comparison. (still there will always be some subtle differences due to the software timings).
LabVIEW Champion . Do more with less code and in less time .
Attachments:
usb6211_forumMOD.vi 42 KB -
Acquire sound data time does not match with the waveform graph
i am doing a basic data logging system to see the frequency behavior of sound. What I did is to use the "acquire sound" system of Labview and connect a waveform graph to see the time-domain behavior of sound.
However, if I input a duration of 4 seconds (or any time), I will only see 75% of the sound (that is 3 seconds). I tried to extract the values using write to file to see if the waveform graph is the one who have the delay. however, the data also showed me 3seconds.
I will attach here the picture of the simple program i created.
I hope someone can explain to me why this happen.
I am using the soundcard and microphone of a laptop. I also tried using a computer microphone. I have tried this program to all computers I can use (2 laptops: SAMSUNG, ASUS, and one desktop computer core i5)Hi all,
have you find a fix for this issue? Im facing the same situation, using Complex type, and String data type both in the service and Bi publisher. We are consuming CC&B services, and we have noticed this error appears when BIPublisher is running on WebLogic (10.3) but it does not appear when BIPublisher is running on OC4J , of course running the same report on both application servers.
Any idea?
Thanks a lot, regards
Nestor -
Time doesn't display when I close phone, record album does.
When I close my Style, I used to get a thirty second image of the time on the external screen. Now I get a picture of a record album. I don't have the music player running, and the clock's options don't lend any clues.
Thanks in advance for any help.Hi kapntoad,
Does the same occur if you reinsert your battery and try again?
Cheers,
-FB
Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.
Click "Accept as a Solution" for posts that have solved your issue(s)! -
IPhone 5 some times Doesn't respond when i press home button or sleep/awake button
hi all i am having one issue with my iphone 5 16gb white, some times when i press home screen or sleep button to check my phone, nothing happens, it shows nothing like not responding, but after approx 1 mint i press again it shows lock screen and i can use this iphone like normal.
daily 2-3 times it happens with me. same thing with my friend also.
i tried reseting , restoring, and all other tricks, but couldnt able to resolve this issue.
Please help..Hello ikashwin,
Thanks for using Apple Support Communities.
I'm sorry to hear about the difficulties you're experiencing with your iPhone. Please follow the troubleshooting steps below:
Buttons and Switches
Sleep/Wake button won't lock or unlock iPhone
To lock the phone, press the Sleep/Wake button. Note: By default, if you don't touch the screen for a minute, iPhone locks automatically.
To unlock iPhone, press the Home button or the Sleep/Wake button, then slide the slider.
If either of the above steps don't work, try turning iPhone off and then on again.
If the iPhone will not power off, reset it.
Try to lock or unlock the phone.
iPhone: Hardware troubleshooting
http://support.apple.com/kb/ts2802
Issue not resolved
My issue is still not resolved. What do I do next?
Contact Apple Support.
Take care,
Alex H. -
Image doesn't match when previewed or exported
Ok, so I have just recently upgraded to the latest version of FCP studio and have been having the weirdest problem with it.
I'm working on a project with two layers of video (a full-screen image with a small box insert. The insert video plays fine but in five spots (out of an eight-minute-long video) the full screen image doesn't play the clip that's put in there.
I've double clicked the clips to verify that they're correct and they look fine on the preview monitor. I tried going in and finding the original shots and replacing them but they are still showing up as the incorrect shots in the sequence monitor. I tried going in to the render files in the document folder and deleting and re-rendering. The problem still re-occurred. I then took off the insert for those clips, rendered, and they looked fine but then when I exported to Quicktime then the wrong images re-appeared in the exported file.
Does anyone have any ideas of what may be going on here, how to fix it, and/or a good work-around?I wonder if this has anything to do with the MacBook Pro problems?
http://www.apple.com/support/downloads/macbookprosoftwareupdate11.html
That said, I'm not sure I'd run the 1.1 update if you hadn't run the 1.0, there were so many problems with the 1.0...
Are you using filters, or just resizing the overlaid video track?
Patrick -
Those two pieces, where LCD and keyboard installed doesn't match when close
when i close MacBook, push the LCD back to keyboard.
the top piece has a 3mm offset. I means, it like this
ooooooo
_ooooooo
but it should be
ooooooo
ooooooo
i was try to push the top layer to normal position, but not works.
it was good before, i don't know why it start shift.when i close MacBook, push the LCD back to keyboard.
the top piece has a 3mm offset. I means, it like this
ooooooo
_ooooooo
but it should be
ooooooo
ooooooo
i was try to push the top layer to normal position, but not works.
it was good before, i don't know why it start shift. -
Display real time data on a plot in a sub VI and main VI
I am building a program to measure and plot real time data. Program has several steps so I build few Sub VIs to make it simple. My problem is I am plotting real time data in my SUB VI(it works fine), but in my main program when I try to get the same plot its not real time data plot. Plots appear at the end of the program. All tips and help would be greatly appreciated. Thanks
I have attached my main VI and Sub VI
Solved!
Go to Solution.
Attachments:
main VI.jpg 116 KB
Sub VI.jpg 242 KBLabVIEW program is based on DATA FLOW, now, until the subVI will finish execution (while loop will be stopped), the execution in Main VI will not proceed any further.
If you can pass the reference of 'XY Graph' inside the subVI, you'll be able to update the plot (placed on MAIN VI) from within subVI.
Find attached example for your reference.
I am not allergic to Kudos, in fact I love Kudos.
Make your LabVIEW experience more CONVENIENT.
Attachments:
Example [LV 90].zip 26 KB -
Dear all,
Hereafter is my scenario;
My customer after sales system works on AS400. Assuming that I would manage spare parts (required for after sales) inventory, including goods entry, goods issue as well as the company financial accounting in SAP, I have to interface the two system.
From SAP to AS400: (flow1) Master files + (flow2) goods entry
From AS400 to SAP: (flow3) AR postings, (flow4) goods consumption
Then my two systems will be in line in terms of referential data (flow1), stock movement (flow2 + flow4), invoicing (flow3).
1) My question is to know what would be the best way to flow2 knowing that stock movement following a goods entry (done in SAP) should be visible in real time from AS400?
2) Regarding other flows, no need for real time. So I guess flat file should be ok. However, would master data for instance sent from SAP to AS400 require a mapping table in order to be properly integrated in AS400?
Regards.Real Time doesn't mean always fast. It depends on your application requirements.
Anyway, don't think too much about Real Time in Windows. If it's possible, try to do all "time critical" operations in Matlab and after that pull data with LV. -
hi
i had a problem creating a real time application.
the project have all the files on the image1(proyecto), I'm trying to create the real time for then run the host executable.
i put all the sources files like image2(sourcefilesrttarget), the others configuration still quiet.
then i built it, set us startup, deployed it, and for last run as startup, reboot the rt target, but then when i gonna run the host executable, the variables doesn't work and the executable is already on the firewall.
when i just connected the CRIO- rttarget ,deploy the principal vi for the target that is Aplicacion RT principal controaldor ,then run the principal.vi of the host it works fine.
So i don't know why with the building and deplying the real time doesn't work? maybe something of configuration it's missing but i don't know.
thnks for any help
Attachments:
proyecto.png 72 KB
sourcefilesrttraget.png 67 KBThnks Omar R.
yes we are missing some configuration but i don't have idea what is it.
i followed the first link to deploy network variables but this doesnt work when i run the exe, and then when i gonna run the principal.vi since labview i get the next error
Possible reason(s):
LabVIEW: (Hex 0x8BBB0005) Unable to locate the shared variable in the Shared Variable Engine (SVE). Deployment of this shared variable may have failed, the SVE has not started, or the SVE is too busy to respond to this request.
i post you all the configuration windows about the .EXE -
Real Time Report Placed in iFrame and then Within a Web Applet
Real-Time Reports built and executed BI tool retrieve real-time updates. However, when report URL is placed within an IFRAME and that is then placed in a Web Applet and the Web Applet is placed within a Page Layout Section, the real-time report no longer retrieves real-time updates.
Do you have any ideas as to why?Hi Don,
Thanks for the reply. I had downloaded a set of samples from SAP and I have looked through a few of the set you supplied. I am worried that I'm going to have some trouble because the samples have the reports loaded as part of the solution but I was looking to create a more generic viewer. I don't want to have to reprogram for each and every report that is created. That is why I was trying to use the generic parameter dialog. After the Report Load Failed dialog comes up, it does bring up the parm dialog and hits SQL Server just fine. Yes...the reports are passing Parms to Stored Procs in SQL Server. The report has default parameter values.
What I am trying to do is search thru the application folder and gather the names of the reports located there and fill the combo box with the names of the reports. Then the user should just be able to select a report and run it. I can't save the data in the reports because they must be ran per the requester's date range and other desired parameters.
Does this seem valid or am I going to have to program for EVERY single report and reprogram/recompile for every report added? Not particularly what I want to hear. I would have used the standard Crystal Report Viewer and had the users use that but it doesn't seem to allow you refresh the data from the viewer.
Thanks for your help,
Chris -
Qual a diferença do LabVIEW FPGA e o LabVIEW REAL- TIME?
Hello,
Could anyone help me? This question arose in my work and could not answer. Does anyone know tell me?
Thank you.
Solved!
Go to Solution.Olá,
Com o LabVIEW FPGA você programa diretamente o chip FPGA presente no chassis cRIO, placas da NI Série R e single Board RIO. Você programa as E/S diretamente no chip, sendo assim uma programação de mais baixo nível. A grande vantagem do FPGA é o "paralelismo real", o que garante altas velocidades na execução das rotinas programadas.
Assista ao webcast Introduction to LabVIEW FPGA
Com o LabVIEW Real-Time você desenvolve aplicações que são críticas em relação a "tempo". Chamamos de aplicações "deterministicas". A idéia é que, se você tem uma rotina que deve ser executada em um tempo determinado, a diferença entre o tempo real e o que você programou seja o menor possível. Aplicações em Computadores comuns não são deterministicas, pois enquanto o LabVIEW executa uma certa rotina programada, o Windows está executando outras tarefas, monitorando a utilização de periféricos, atualizando a tela, etc.
Real time não significa "Velocidade", mas "Confiabilidade".
Assista ao webcast LabVIEW Real-Time: Graphical Development, Hard Real-Time Performance
Hello,
With LabVIEW FPGA you program the FPGA chip itself. The FPGA chip is found into cRIO chassis, NI R-Series Boards, and NI Single board RIO. You program the I/O directly in the chip, so we consider this as a low level programing. The main FPGA advantage is the "Real Paralelism", which guarantees high speed execution programming.
Whatch Introduction to LabVIEW FPGA webcast
With LabVIEW Real-Time you develop called "time crictical" or "Deterministics" applications. In case of you routine must be executed in a specified period of time, the difference between the real time execution and the time you programmed is as low as possible. Commom computers programming are not deterministic, because in the meantime of executing a certain programmed routine, the OS (e.g. Windows) is running other appication tasks, monitoring peripherals like mouse and keyboard, uptading screen, etc.
Real-Time doesn't mean "faster" but "reliable".
Watch LabVIEW Real-Time: Graphical Development, Hard Real-Time Performance webcast
I hope the information helps you!
Best Regards
Felipe Flores
Engenharia de Aplicações
National Instruments Brasil -
Real time task synchronization
I am using LabVIEW real time and I want to "trigger" a lower priority task at the end of the highest priority task if it isn't already done. What is the best solution ? I have read somewhere on NI site that the synchronisation palette doesn't guarantee determinism but unfortunately the real time fifos do not provide a blocking read call. Is there a potential real time problem when using occurences ? I would just like a simple deterministic mechanism to wake up a task if it isn't already awake.
Thanks in advance.Monsieur,
Je vous invite à consulter la doc ci-dessous pour plus d'infos sur comment LabVIEW gère les priorités lorsque plusieurs VIs s'exécutent en parallèle.
* How Does Priority Affect the Execution of VIs?
http://digital.ni.com/public.nsf/websearch/84081F249CEF7AB7862569450074168C?OpenDocument
* How is Priority of Execution Assigned when Loading and Executing Multiple VIs in LabVIEW?
http://digital.ni.com/public.nsf/websearch/44AB5BEDC20CB43C862565D4000D9885?OpenDocument
Les RT FIFOs sont le meilleur moyen pour transférer des données entre threads (typiquement, un thread critique avec un thread normal ou lower).
Les RT FIFOs ne cassent pas le déterminisme d'une application RT contrairement aux variables locales ou globales.
La gestion de l'exécution est entièrement faite par le Scheduler du moteur LabVIEW RT. Vous n'avez pas le contrôle sur son mode de fonctionnement.
Vous n'avez pas du tout intérêt à synchroniser avec les outils de LabVIEW une tâche critique RT avec une tâche non critique car vous allez forcément casser le déterminisme de l'application RT. Vous pouvez cependant synchroniser des portions de code du VI non critique (occurence pour déclencher du code sur génération d'un événement logiciel, rendez-vous pour synchro démarrage multi-VIs, sémaphores ...).
Cordialement.
Matthieu Gourssies
National Instruments -
hi guys,
i would like to know whether there is any option how to switch between variables that are currently being plotted to my real time trend, while the VI is running. because i have too much variables to monitor and there is no need to show all of them at the same time, but the switching itself is important.
thanks for your help
korstHi Korst:
A way to choose between a set of signals is using a menu Ring and a Case Structure. I've attached a simple VI that simulates 5 signals and lets you choose which one of them you can monitor. Of course it can be improved in many ways, but it can serve as a basis.
Hope this helps!, and if you need more help please tell me.
Robst.
Robst - CLD
Using LabVIEW since version 7.0
Attachments:
Select Signals.vi 32 KB
Maybe you are looking for
-
It was not dropped and has no other damage and works fine EXCEPT i cannot view the middle part of the screen. From other posts and searching the web this seems to be a "KNOWN" 1st Gen issue and I am ot the only one. Anyone had any luck with getting
-
Not able to clear session of web application running inside wpf browser control
Hi, I have used below code to clear session of web application running inside wpf browser control . [DllImport("wininet.dll", SetLastError = true)] private static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, in
-
Need to download acrobat standard x
reinstalling everything after wiping the hard drive and can't find my install disk. I have my install key. Thanks!
-
If I plug in my earphones to my iPhone 5c I am still hearing music from the phone. Should I be pressing something?
-
Can a shape be grouped with an object?
Is there any way to group a shape such as a line with arrowhead to an object? The intent is that the line overlay the object and point to a particular part of the object and that both should move with the text without the relationship between them be