LabVIEW 2010 FPGA: problem with the mean and the variance Subvi
The Subvi 'Average, Variance and standard deviation' seems to not work properly. The calculation of the average value is ok but std and variance are bad and the results change with representation in an unexpected way. Everyone knows about this problem? Is there a problem with the use of this function?
Thank you
Andrea
Hello Andrea,
Here is a test for the configuration of your VI (entered I16, 16 samples), saved in LabVIEW 2010 SP1 and the new Subvi. It is relatively simple to adapt it to other configurations, but it does not reconfigure several nodes and constants on the diagram. Let me know if it will work for you.
Kind regards
Jim
Tags: NI Software
Similar Questions
-
[FPGA] Problem with the sinusoidal signal generator
Hello!
At first I want to apologize for my English is not my mother tongue.
Hardware and software I use is:
LabVIEW 8.5
NEITHER RIO 2.4.1
NEITHER cRIO-9014 (controller in time real CompactRIO)
NEITHER cRIO-9104 (chassis and FPGA)
NEITHER 9264 (16 channels, +-10V, 16-bit voltage analogue output Module)
I made a very simple FPGA VI: a while loop, generator of sinusoidal signal and a FPGA of e/s node in the loop. I've specified the Gnerator settings by following the path:
Frequency = 50 Hz
Amplitude = 1
Phase shift = 0.00
Size of the table look-up = 1024
= 16-bit amplitude resolutionFPGA clock frequency (40 MHz)
But the wave of "sine" I got is not what I wanted to get. First of all, its amplitude is 1 V. shouldn't it be coded on 16 bits? If I wanted to get 1V I should have specified Amplitude as a 3277. In addition, 'sine' is not very detailed, it's look like "steps", as many samples vere missing. What I did wrong? I checked the samples and tutorials, I did everything the same way. A I forgot something or not has not specify other parameters?
Thanks a lot for your help!
OK, I solved a problem. It's embarrassing to admit, but maybe this will help someone else I blame my inexperience
The main solution to the problem was changing calibration of calibrated RAW Mode. After that, everythoing works as expected. I had a problem with a sample because I was using a multiplier to control the generated sine wave amplitude. But... She was set to 1 in the sinusoidal signal generator. That was the reason for waveform Gradin. Please, don't laugh too much
In any case, thank you for an answer! It is now resolved
-
I have a problem with the simulation in Matlab 6.5 and LabVIEW for PID controllers
I have a problem with the simulation in Matlab 6.5 and LabVIEW. I have a few methods for granting regulators PID in MATLAB to go but not of LabVIEW. Degree of international teams of two transfer but when I passed to the fourth degree is no longer working. We have changed the formula to calculate the parameters for the fourth year and gave me some good values for assignment of Matlab, but when I put on LabVIEW are not resolved. the formulas are available in PDF format and are. Please help me and me someone if possible. Thank you
Lim.4 generation in comparison methods and the MATLAB program settings are for the service of transfer to the second degree.Hello Lascarica,
I noticed that you are using the screw of PID. Gains on these screws are based on TIME instead of GAIN. You should be able to build a PID regulator and vary the gains and then compare the results.
-
problem with timing cRio and FPGA
Hello
I develop software for measure the position of a device using some quadrature encoders.
What I do uses the FPGA interface to acquire the position, then send usign real number of the meter to a host pc to create a data file. In the RT environment, I create a table with the position and the time that is acquired and using shared variables I send the array to the host PC.
But I have a problem with the sync. The sampling time is unstable, I use a timed loop to control sampling but after some acquisitions, data sampling period begins to increase, as you can see in the image of attachment file. In the attached picture, I used a period of 250us and after some time gets twice and 3 times longer before you clean the table and begin to create a new table, during the period in 250us again. so the problem is that I should get a stable period in 250us instead of these steps in growing period
You use the table of construction to add new data points? I suggest to use the function "Initialize the array" and "replace the array element. It will reduce the time it takes from the table of the construction.
I can't open your code as I have LabVIEW 2010.
-
Satellite C850 - found problems with the networking and the FN key
Hey everybody,
I work on a Satellite Toshiba C850, that my parents recently bought and spin in a certain number of questions.
(1) wireless won't connect to my network. Have done the following: verified by connecting on two other computers, reset the router, the open network, reset the map, reinstalled the realtek drivers, checked the settings in the networking of Toshiba Utilities. End result is he's going to try, and fail. Wired LAN works fine.
(2) FN key does not work. Have you checked the region and it is OK, have tried to use the Flash cards - no change, checked with the screen keyboard and can check the FN key does not register.
I noticed that the first problem is common, but there are obvious positive results. If anyone can offer any assistance, I would appreciate it a lot.
Before you begin to discuss your problems can you please tell us what OS you are using?
Are you using the original OS that you got with your laptop? I mean original recovery image has been tested and works correctly, with the factory settings that all should especially the FN keys.1 / What do you mean with refusing? your WLAN is visible for your laptop?
2 / if there is problem with the feature keys FN and you use Win7 try please reinstall extra package from Toshiba.
-
I have an iMac7, 1 with Intel Core 2 Duo 2.8 GHz, 2 GB memory, 500 GB storage, iOS10.6.8 and can update in 10.11.2. must I do cela or are there problems with the upgrade?
I don't know about other issues. There are always 'problems' with any upgrade. You weigh against the benefits. I know that you need more RAM. At least 4 GB, maybe more if you can. Don't forget that this system is produced at a time when most of the machines have + 8 GB RAM and when Apple said 'minimum' they really mean it. I recently inherited a MacBook that has 2 GB of RAM and the Mavericks. When I checked the memory, the use of the system was using 1.95 GB = nothing to run applications!
-
I am facing a problem with the beep.vi. I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound. Everything works fine except the sound alarm. It gives the table 1 d of type mismatch. I tried to fix this by placing it in a box structure. But it still does not work. If someone could help? Please find attached my VI. Best wishes to all visitors to the Forums of Discussion OR.
Ihab El-Sayed
published here: http://forums.ni.com/t5/LabVIEW/Playing-sound-based-on-exceeding-a-threshold-value-1D-array-data/m-p...
-
Anyone know if there is a problem with the "Windows Update" site? As of May 11, 2010 I could not access it for 2 days now. I get an error report indicating that he has a "problem with the site '... Not sure if it's my computer or the site itself. I just need to check updates and download them. I would be grateful for any feedback... Thank you!
~ JeniferIt is without a doubt. There were a few patches published today, and I was able to update all my machines successfully. This looks more like a virus problem. Have you run a virus scan recently? Many times, if you are infected the virus will prevent you to access Windows Update.
You can also use Microsoft Fix It to reset the Windows Update components: http://support.microsoft.com/kb/971058. This could also be your problem.
Let me know how it goes,
Barbara
-
Problems with the resource of labview execution 2 visa
I use two loops in a labview code all-in - connects to a motor controller and other is used to connect to a multimeter agilent. As soon as I run this VI, the loop to connect to the controller stop working and only used to configure agilent machine works. If I remove the second loop (connecting to the computer of agilent), the code works fine. I guess it's a problem with the execution priority. Could you please review the attached code and let me know any problems with it.
COM1 and Com3 share an interruption.
Go to the BIOS of the computer and set the port to Com3 to the Com2 port, then they will be on their own interrupt and see if that helps.
FYI
COM1 and Com3 share IRQ3
COM2 and Com4 share IRQ4
-
Problems with the Windows and Windows Update problem of Installation of KB2416472 component.
Original title: I use SFC. EXE
Error detected
How can I fix this, or I have to re - install window again.
CSI 0000015a [SR] cannot repair the military record [l:24 {12}] "settings.ini" Microsoft-Windows-Sidebar, Version = 6.0.6002.18005, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "
The same with 0000015c detail above.
00000309 [SR] cannot repair the military record [l:24 {12}] "settings.ini" Microsoft-Windows-Sidebar, Version = 6.0.6002.18005, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "
2010-10-08 12:35:51, CSI Info 0000030b [SR] cannot repair the military record [l:24 {12}] "settings.ini" Microsoft-Windows-Sidebar, Version = 6.0.6002.18005, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "
2010-10-08 12:35:51, CSI Info 0000030 c [SR] this element is referenced by [l:158 {79}] "' Package_16_for_KB948465 ~ 31bf3856ad364e35 ~ x 86 ~ ~ 6.0.1.18005.948465 - 49_neutral_GDR" "00000367 [SR] cannot repair the military record [l:24 {12}] "settings.ini" Microsoft-Windows-Sidebar, Version = 6.0.6002.18005, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "
2010-10-08 12:38:13, Info CSI 00000369 [SR] cannot repair the military record [l:24 {12}] "settings.ini" Microsoft-Windows-Sidebar, Version = 6.0.6002.18005, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "
2010-10-08 12:38:13, CSI Info 0000036 [SR] a the item is referenced by [l:158 {79}] "' Package_16_for_KB948465 ~ 31bf3856ad364e35 ~ x 86 ~ ~ 6.0.1.18005.948465 - 49_neutral_GDR" "
2010-10-08 12:38:13, CSI Info 0000036 c [SR] full repairHaving a problem with the Update window for
Update of security for Microsoft .NET Framework 4 on Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008 x 86 (KB2416472)
I followed the recommendation, that nothing has changed.
Download size: 4.7 MB
You may have to restart your computer for this update is taken into account.
Update type: Important
A security issue has been identified that could allow a malicious user to compromise your Windows system that is running the Microsoft .NET Framework and gain access to information. You can protect your computer by installing this update from Microsoft. After you install this item, you may have to restart your computer.
Thank you
Hello
Problems with the Windows Sidebar?
It seems that the problem is related to the Windows Sidebar. Remove all third-party sidebar gadgets if
Follow these steps and check if it helps.
Logon as administrator-
a. If the sidebar is running - make a right click on the sidebar near the lower clock icon right in and out
b. Click Start - Type "CMD" in the search box - find top - right click it and run as administrator.
c. replace C:\Program Files\Windows Sidebar by copying and pasting this command->
CD C:\Program Files\Windows Sidebar
d. press enter (this is assuming that your sidebar is on C:, otherwise use the letter of the drive is on)Guest should be--> C:\Program Files\Windows Sidebar >
e. then copy and paste each of them following their tour to enter
regsvr32-u sbdrop.dll
regsvr32-u wlsrvc.dll
regsvr32 atl.dll
regsvr32 sbdrop.dll
regsvr32 wlsrvc.dll
Sidebar should now work.
Also if you scan SFC does not fix a corrupted system file, you can follow the steps from the link below.
Look under "'If the System File Checker tool can not repair a file, proceed as follows :" "
As with regard to the installation of KB2416472, to install this hotfix, you must have Windows Installer 3.1 or a later version installed on the computer. To get the latest version of Windows Installer, see the following Microsoft Web site.
For maore information, see: http://support.microsoft.com/kb/2416472Aziz Nadeem - Microsoft Support
[If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]
-
Original title: mouse problems
I have problems with my mouse and have not been able to find a solution to the research on various forums. Here are the symptoms:
1. you must click several times to get the menus to open. Sometimes they are not just and sometimes they open with a single click flash but do not stick until I clicked several times.
2 several times the menu drop down and seem to become transparent (not in looks) because when I click on something on the menu, he actually selects everything that is behind the menu drop down. For example, if I'm in powerpoint and you select an item in edit mode, it might work and here again he can just select the slideview behind the menu and expand. Or well, if I'm on a Web site, such as Facebook, and I chose to close the session, rather than enable the disconnection of the key, he chooses some ad is behind the part of the menu and redirects the page of this Web site.
3. when I try to select a Word, words or sections as paragraphs, it performs several different things: continually select as soon as I let go of the mouse button, the jumps of color selection in another part of the document, or deselects the part of the text before I even let go of the mouse button.
Here is what I tried:
1. I had originally a usb wireless mouse. I changed the batteries and then got a new. Now I use a wired mouse.
2 make sure all updates for Windows and Office 2010 are updated.
3 has tried to update the drivers mouse, says that it is up-to-date. He restored, did not work. Uninstalled and restarted.
4 Ran Windows Security Essential and Malwarebytes - found nothing.
5. ensure that all the Toshiba updates were up-to-date.
I don't know how the word this issue properly in order to find information about it. Everything I typed in search engines brings me other problems unrelated to this one.
I am running W7 64 x Home Premium SP1, SP2 MS 2010 with a mouse Dell; Toshiba Satellite C655
Well I have stumbled on the fix... looks like there was a problem with the HID-compliant mouse. The convenience store hardware detected and solved the problem. Everything seems to work properly again.
-
Problem with the Microsoft Office 2000 installation program &; 2007 &; 2010
Recently used your windows
Windows XP Professional SP3 integrated October 2012 (32 bit)
I have a problem with the installation
Microsoft Office 2000 Premium EN &
Microsoft Office 2010 Professional FR more
But MS Office 2003 no problem with him
and when iam using win 7 32 any desk of installation nprmally
MS Office 2000 & 2003 & 2007 & 2010 used and installation normally with no prpblems
Please give me answer or solution
Thank you
Just a troubled lifeHave you tried to check and making sure that all the Windows updates were executed? Also you install this on an account with administrator privileges?
-
recently, I had a problem with the import of my photo, s of my Nikon d700. I found an update to Lightroom 6.2 does that mean that if you are not a user of cloud there is no automatic update?
Hi johnp,
- Want to sure that your applications to be updated automatically without any prior notifications for new updates?
- If you are a user of creative cloud or not, if Adobe has an update for your product, then you would be notified for the same and then its your choice to update or not.
- Are you always facing a difficult when importing images? If so please help us with the following information to improve assistance:
1. the current version of Lightroom
2 operating system Type
Concerning
Sarika
-
I had a few problems with the search engines and history
My default search warning back to Yahoo after a reset on my computer. Close Firefox keep one to change but by restarting the computer, it takes.
I can't open the sidebar history. The option "view the history of your" opens its tab fine (the drop-down menu that says 'Show History Sidebar', 'clear recent history... ("ect.). But, when you click on the "Show History Sidebar", nothing comes. Can I use the "Show history" option, but the sidebar does not open for some reason any.
I just finished with a complete analysis of the Microsoft Safety Scanner and it said not that there is anything wrong. I have not reset the computer again to see if something has changed although after the factory reset (see the 2nd paragraph) it seems returned to Yahoo (search engine he kept going to happen).
I open the history tab in the menu of the toolbar, and everything seems fine here. I also had him always use private off all first browsing mode. After activating the option clear history when Firefox closes, I ended up having to reset to factory settings (things he saves were saved isn't really a problem) that doesn't seem to fix the problem with the sidebar of history not to come.
-
I have a Mac book pro 2009 model, when I try to load it it not there no green light on the adapter and he is in charge. Not sure if there is a problem with the adapter or the battery or the laptop. Kindly help... Thank you
Have you tried:
Portable Apple computers: Troubleshooting MagSafe adapters - Apple Support
This is the Office Mac Pro forum. I asked that your post be moved to the MacBook Pro laptop forum.
Maybe you are looking for
-
How can I get rid of malware (opening in applications) and I can't move it to the trash
How can I get rid of the application open Malware on my IMac? Cannot be moved to the Trash because his open... how I close?
-
Is it possible to connect my iPhone or iPad to Toshiba 42L7453DB
Hi E1 is it possible to connect my iPhone or iPad for my Toshiba 42L7453DB 42 "via wifiIf I could someone let me know how please Kind regardsTask001
-
Want 4500: scan and copy has stopped working
OpenD scanner and cannot complete the overview "scanner is busy. More pilots to day and smart scan installed. Still no scanner-printer or computer. And now, there are also * nothing * when I press print black or color.
-
Hello. I had problems since the installation of El Capitan. The computer hangs at the time apparently random. I'd be really grateful if someone competent would throw a glance. Here's the panic report since the last crash: Anonymous UUID: 948BD4C4-412
-
Sound with headphones not working not properly.
The problem started a couple of days. There is nothing of what happened past that would stand out or give reason to the cause: It is static in the right of my helmet speaker. I tried 3 different helmet and static is always there. There is no static i