Hello sir,i need labview code for a code which is written in matlab,latter one is attached with this message.
hello sir,i need labview code for a code which is written in matlab...
clc;
close all;
clear all;
Ez= zeros(1,200);
Hy=zeros(1,200);
Ca=1;
Cb=.4519;
n=1;
while(n<1500)
for k = 2:200
Ez(k)=Ez(k) + Cb*(Hy(k)-Hy(k-1));
end
Ez(1)=1;
for k=1:199
Hy(k)=Hy(k)+Cb*(Ez(k+1)-Ez(k));
end
plot(Ez,'b')
hold on
plot(Hy,'r')
hold off
pause(0.001);
n=n+1;
end
thanku
Well, this code is quite trivial and if you have to learn LabVIEW anyway, you might as well try to implement it.
A few things to remember:
The first array element in LabVIEW has index #0, while in matlab it has index #1, so everything dealing with array indices needs to be adjusted slightly.
The zeroes function equivalent is "initialize array".
Keep the array in a shift register as you update elements.
use FOR loops.
Use one of the graphs to display the data.
LabVIEW Champion . Do more with less code and in less time .
Similar Messages
-
Hello. I need to define a mesure in a picture: I took a picture of an object with a ruler and I want to signify to photoshop "this segment = 1 cm". How to do? Thank you!
That's a good precaution, norm. It should be no problem is you have an object on a flat surface next to a ruler. It gets trickier in security camera frames.
Anyway that is one example. Anne can look further into the measuring tools of Photoshop Extended to see if it helps.
A note on the screen resolution thing. When I calculate the screen resolution, I go into Photoshop > Preferences > Units and Rulers
and enter it here in place of the default 72 ppi. Then when I use View > Print Size, the on-screen rulers will match a physical ruler.
That's if you wanted to look at the actual printed document size onscreen.
Gene -
Why do my iPhone cords for my 5 say it is not certified and may not work with this device? It's the same cord that came with my phone. The only difference is the iOS7 update.
Maps took me to the completely wrong side of town for a long standing business in town.Hello margmcarlson,
Thanks for using Apple Support Communities.
For more information on this, take a look at:
Troubleshooting iPhone, iPad, and iPod touch accessories
http://support.apple.com/kb/TS2634
Restore iPhone, iPad, or iPod touch to its factory default state. You should rarely need to use this step with an accessory issue.
Best of luck,
Mario -
My Time Capsule has stopped backing up.
I have an Apple Time Capsule which backs up by wireless. For the last 3 days it has not backed up. I get this message:
"The backup was not performed because an error occurred while copying files to the backup disk."
I have gone into Mac Help and followed this down to stage 4:
under shared it lists my time capsule and my husband's iMac - both use the time machine but we have switched his off temporarily. Clicking on my Time capsule I get "Connected" and "Sharepoint" - I didn't have to enter connect or password
I don't understand stage 5: how and where do I select the disk or volume that contains Time Machine backups ? How do I know which it is? My disk utility lists 160.04 TOSHIBA MK... with sub-heading Macintosh HD. It also lists (with a "CD" icon) HL-DT-ST DVDRW GS22N
Under stage 6, how and where do I Locate your backup ? I try dragging my Time capsule from Finder to the Disk Utility side panel but it won't go. What is my computer's name?
Please someone help! I'm completely stumped.
Thanks,
Maggie
Mac Help says:
If you back up to a Time Capsule or network disk:
Open the Time Machine pane of System Preferences, and slide the switch to Off.
Open Time Machine preferences
Open Disk Utility, which is in the Utilities folder in the Applications folder.
Open Disk Utility
Make sure the Time Capsule or network disk is turned on and available.
Open a Finder window, select your Time Capsule or network disk in the Shared section of the sidebar, and click Connect. If necessary, enter your user name and password.
On the Time Capsule or network disk, select the disk or volume that contains Time Machine backups. Depending on how your Time Capsule is set up, there may be one or more disks or volumes.
Locate your backup, and drag it to the Disk Utility sidebar.You can identify your backup by looking for your computer’s name in the backup’s filename.Hello,
Thanks to the great Pondini...
http://pondini.org/TM/C3.html -
iCloud backup is unable to access my account, because email I used for iCloud account is been deleted. And my iPad is stuck with this note on a screen, can't go Settings. How do I delete or edit my iCloud account?
You can eirther I think go on ITunes or if you can get to settings you would just go to iCloud.
-
Outlook 2011 for MAC, how do I stop "to protect your privacy some pictures in this message were not downloaded" I've added to safe senders and added to contacts, it still happens with every single email
Ask on the Microsoft Mac forums since it's their software you have questions about..
http://answers.microsoft.com/en-us/mac -
My iphone 5 is not syncing with my laptop and windows 8. cant find an itunes app for my laptop. is there something i can get that will help with this?
Lbo51380 wrote:
cant find an itunes app for my laptop. is there something i can get that will help with this?
Go here -> http://www.apple.com/itunes/download/ -
Ipod is disabled for 22,849,620 minutes how can I open ipod with this message?
Ipod is disabled for 22,849,620 minutes how can I open ipod with this message?
Disabled
Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
iOS: Wrong passcode results in red disabled screen
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
For how to restore:
iTunes: Restoring iOS software
To restore from backup see:
iOS: How to back up
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
in my phone when i open it appers a mesage with this message : error in application occured .error code : DF XX2700/6F1D WHAT'S THAT?
i googled it - try a different sim card - did you go through a demagnetizer or something?
-
My firefox quite often crashes ,with this message
"FIREFOX IS NOT RESPONDING"
IF YOU CLOSE THE PROGAM YOU MIGHT LOSE INFORMATION.
THESE APPEAR UNDERNEATH >CLOSE THE PROGAM > WAIT FOR THE PROGAM TO RESET, SO HOW DO I FIX THISSee:
* http://kb.mozillazine.org/Firefox_crashes
* http://kb.mozillazine.org/Firefox_hangs -
An attempt to install Adobe reader X on my Mac OS 10.5.8 failed, with this message: "Run preinstall script for application." What is that, and how do I do it?
Hi renmusn79002737,
Could you please try installing Reader again from the below mentioned link:
http://get.adobe.com/reader
Ensure that you are logged in as administrator and anti-virus is disabled as that might interrupt downloading.
Try again and then let me know.
Regards,
Anubha -
my screen is broken, it comes up with this message when I am trying to connect to itunes to get my pictures off. I cant even see the screen let alone enter a code, please help
Can you tell if the screen is still functional?
I assume you've entered the password many times, so if it's possible, turn on the iPhone and picture where the unlock slider is, then where the keyboard is. You might be able to enter the password. If you can hear keyboard clicks, it should work.
If not, check out this thread: http://discussions.apple.com/thread/5044081?start=0&tstart=0
Cheers. -
Hi,
I just try to install the setup download from apple website for iTune and iCloud.
During the installation, there was error message prompt out "There is a problem with this Windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."
I am using Window 7 32 bit. I have try several time for install, but the result is getting same error message.
Anyone can help on this??????
Thanks.
JustinI have also tried extracting the individual components to the temp file and attempting to install them individually despite being unable to remove the previous install of Apple Software Updater. The outcome, both Apple Software Updater and itunes encountered the same error message during the install process.
-
Do I need LabVIEW RT for a simple 10objects/sec image acquisition/processing?
I have a pretty simple application. A photoelectric sensor detects an object and triggers the image acquisition. The image of this object is then processed (a few morphological functions and particle analysis) and results are displayed in a table before a new image is acquired. The application also includes indicators for high/low limit, statistical calculations and a report generation. 7 to 10 particles per second are analyzed. Being still in the design phase, I use LabVIEW 7 Express. Do you think the LabVIEW Real-Time Module is necessary for my application?
Thank you very much for your help.
BerndHello Bernd,
LabVIEW Real-Time is used to acquire robust and deterministic operation. It's basically a stripped down operating system that runs your application, and that's it. There's no additional software running in your background that can clog up the processing queue and lose the exact execution that your application requires.
Yes, you could use Real-Time for your application, but I don't think it would be necessary. If anything, you may be limited by the hardware that you use and whether or not it will be able to acquire as many images as you would like in that short period of time.
National Instruments does have a real-time Compact Vision System which you may not to inquiry further about. I would strongly suggest posting a very simi
lar question to the Vision discussion forum to see what developers in that area think about your application. The numbers that you mention alone may light up a few light bulbs as to which LabVIEW target is generally used to reach the goal you desire.
Hope this helps.
Jared -
I need a code to be able to save my form to excel with a save button????
This is the codes very simple right now but i can not get a code or understanding of what to put for the import part or Dim file path. The excel sheet i have saved in C:\connecttoexcel\ but do have the exact code needed.
Public Class Mesquite
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
IsNumeric(TextBox1.Text)
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
End Sub
Private Sub TextBox2_TextChanged(sender As Object, e As EventArgs) Handles TextBox2.TextChanged
TimeValue(TimeOfDay)
End Sub
End ClassI'm sorry but there isn't enough information here to help you. You can't "save a form to Excel"... you could copy data from the Form's controls into an Excel spreadsheet, but it doesn't make sense to "save a form". There's
also no indication of how you want to interface with Excel... will there always be a version of Excel installed on the computer running your program? If so, what versions of Excel do you need to target? What version of Visual Studio are you using?
What Windows OS will you be targeting?
Please explain what you are trying to do in greater detail, answering not just the questions above, but also providing a detailed description of what you are trying to achieve.
Reed Kimble - "When you do things right, people won't be sure you've done anything at all"
Maybe you are looking for
-
HP Pavillion dv9812us VistaService pack 2 32bit. DVD no longer works. It isn't listed in device manager to enable driver reload or update. E:/ letter also is no longer there when using windows explorer.
-
I am making a website based in flash actionscript 3.0 i have a button nested in its own movie clip, because I have the button expanding to be able to read it i have figured out the only way to do this is by creating it as a movie clipa nd inside the
-
This project is a total labor of love for my 90 year-old mother-in-law who wrote a weekly column for a small-town newspaper for years back in the 1980s.We are going to do a booklet compilation of her articles for the enjoyment of family and friends.
-
Re: Teleoperate the Starter Kit from 20 floors away
I have been trying to open the VIs attached to the blog Teleoperate the Starter Kit from 20 floors away most of which open successfully. However when trying to load 'Starter Kit Remote Reciever.vi' I get messages saying that I am missing two VIs and
-
My Time Capsule (1TB) lasted a few more months than expected. Bought it in 3/2008. Got a message that it was overheating and 20 minutes later it died. I called Apple support. They were willing to replace it with another 1TB drive, but would not let m