How do you convert the encoder counts to RMP of the motor using a myRIO in LabVIEW?
My intent is to gain hardware interfacing and general Labview experience. I am using a myRIO to control a Pittman 8222 34V Brushed DC motor (Motor Specs).
I recently created a code to control the angle of this motor using PID, which was visually implemented using the black disc with a white tick mark on it (see attached picture: "IMG_2523").
I now want to control the speed of this motor againg using PID, but I am not sure how to properly convert the encoder counts to RPM of this motor. I have attached 2 screen shots of my block diagram and my front panel for reference ("Capture" and "Capture2"). In the front panel picture, you can see my "actual" speed of the motor is a very choppy signal when it should theoretically be a flat line. To get the RPM, I currently use a shift register to store the current count value (which I converted to deg, then to radians), and then subtract the previous run's value, then divide by the while loop sampling time (10 ms). This would give me rad/s, which I then wrote a subVI to convert it to rpm.
Any help would be greatly appreciated, thanks.
Hi,
One thing you could try doing is verifying that the conversion from rad/s to rpm is working correctly.
This tutorial might also be helpful. It's not using the same hardware that you are, but goes through the general steps using PID control.
CompactRIO Motor Control Basics Tutorial: http://www.ni.com/pdf/labview/us/compactrio_motor_control_basics.pdf
Similar Messages
-
How Do You Convert A DVD Movie To Play On The iPad
I am using iTunes 11.02 and I have an iPad 2. Is there a way using iTunes 11.02 to convert a DVD movie i purchaned so i can view it on my iPad2?
Thanks.Judge Rules DVD-Copying Software Is Illegal | Threat Level | Wired ...
Man gets jail time for illegally copying DVDs - Baltimore Sun
New Ruling Confirms Copying DVDs is Illegal
Judge rules that DVD copying software is illegal | Technology ...
Copying DVDs and Modding Game Consoles Still Illegal, Copyright ...
Judge: DVD-copying software is illegal - CNET News -
How do you convert camera videos to iPad
How do you convert camera videos to Ipad2?
Pad2, the new iPad Supported Video Formats & Movie Formats
H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
Cheers, Tom -
How do you convert windows programs to imac
how do you convert windows program downloads to your imac
You need to use a tool which enables them to be run on the iMac, such as CrossOver Mac, VirtualBox, or Boot Camp.
(66074) -
HT3825 so how do you convert the raw files to jpeg in iphoto?
how do you convert the raw files to jpeg in iphoto?
Many thanks Barbara and dj_paige.
What I didn't mention is that I'm using PSE 5 with ACR 4.6, if its relevant. I'm thinking of updating to the next version when its out in the hope that it will run with Windows 7 64 bit or I may go to Lightroom.
I can now see that I can batch convert a whole folder of files using "process multiple files" as dj_paige suggested but that is too many at once as the settings I choose won't be relevant for all the pics in the folder.
I was hoping to batch convert say 5 or 6 similar photos at a time with the same settings. I'm not quite clear what you're suggesting but I'm hoping that its a "work round" using two stages to achieve this.
I can't see a list of open files within ACR to ensure that they are all selected as you suggest.
What does clicking Open rather than Done mean? Does this amend the original RAW file to the settings selected so that if I then "process multiple files" on the whole folder to convert from RAW to JPEG they will in fact have already been processed in smaller groups so I can convert without applying any further changes?
If so, what settings should I apply to "process multiple files" to ensure a simple conversion of file type rather than any further adjustments?
Any further help on this would be much appreciated.
Andrew -
How do you convert the audio from a mpeg4 video file to mp3?
How do you convert the audio from a mpeg4 video file to mp3 format?
Probably the easiest way to do this is to download a free media convertor. Most will be able to convert video into audio files.
-
How do you convert audio to ac3 in DVD SP 4 without a.pack
how do you convert audio to ac3 in DVD SP 4 without a.pack
thanks
JoshNO. If you let DVDSP make your encoding you'll get uncompressed audio (AIFF/PCM) what means most probably high bitrate issues during building/playback and a lot of the space of your disc.
Alberto -
How do you convert a PDF document to a word document ?
How do you convert a PDF document to a word document ?
I just noticed that you added a few more details and it seems like the problem is that part of the conversion is not working. Would it be possible to share the file with me so that I can forward it to the team that owns that service? My email address is [email protected]
Thanks!
Pat -
How do you convert a PDF to Word or Excel in Acrobat 9 Pro?
How do you convert a PDF to Word or Excel in Acrobat 9 Pro?
Refer to Acrobat 9 Help PDF (installed with Acrobat 9 is installed).
Review the discussion for Exporting PDFs in Chapter 5 of this Help PDF.
The PDF is also available on Adobe's site.
http://help.adobe.com/archive/en_US/acrobat/9/professional/acrobat_pro_9.0_help.pdf
Good to know is that the Acrobat 9.x product family passed into End of Support mid-year 2013.
Be well... -
How do you convert channels.dvb to channels.conf
Title says is all. How do you convert the kaffeine file channels.dvb to a channels.conf file which can be used by mplayer.
The winterhill transmitter in the UK is now totally digital, since the change over I've not been able to get BBC channels properly in mplayer. The receiver is a Freecom DVB-T USB. I've manually edited the uk-WinterHill file with the transmitter info to update it and used it to create a channels.conf file.
scan /usr/share/dvb/dvb-t/uk-WinterHill > /home/~/channels.conf
This picked up pretty much all the channels & I can tune into BBC channels but receive no picture. I've googled a bit and it seems other people have this problem too and they think it's a problem due to the increased power of the signal after the change over to digital. I've tried a variable attenuator which did no good.
I've now found that kaffeine can scan for and find the BBC channels AND it can also play them back properly. So the theory about the signal strength being too much for the freecom sticks attenuator is probably a load of guff, at least in my case.
The data for BBC One from the kaffeine channels.dvb is:-
TV|BBC ONE|101(2)|102(eng),106(eng),|0|4168|4168|Terrestrial|802000|0|v|-1|-1|-1|-1|8|-1|-1|-1|45|105(16)(1)(1)(eng),||9018|-1|0|
The same data from the mplayer/scan channels.conf is:-
BBC ONE:802000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:101:102:4168
I really don't want to keep kaffeine installed and any links or info that would help convert these channel data files would be greatly appreciated. Seems there are ways to convert them the other way round, but so far I've found nothing to do it fron channels.dvb to channels.conf
Last edited by Nixie (2009-12-17 08:42:56)Do you want to capture a single frame of the video as a separate image? You can play the video full screen in QuickTime, pause it at the appropriate frame and take a screenshot using shift-command-3.
Matt -
How do you convert an Autocad drawing into a pdf with Acrobat X Standard?
How do you convert an Autocad drawing into a pdf with Acrobat X Standard?
Something to try -
Having installed Acrobat Standard you have the Adobe PDF virtual printer installed.
From your authoring application do a "file-print" and select the Adobe PDF printer rather than the attached local or network printer / plotter.
Be well... -
How do you convert a jar file into a java file, ?
how do you convert a jar file into a java file ?
I am new to Java ,but have a little experience in C++ and Visual Basic.
I want to edit and maybe create my own mobile games that are written or converted into jar files.
At the moment I am using Java NetBeans , and Easy Java( the java pad).
However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?801283 wrote:
how do you convert a jar file into a java file ?You generally don't. There exist decompilers, but if you're meant to have the source, you should either have it because you are the author, or you should be able to get it from the author.
I am new to Java ,but have a little experience in C++ and Visual Basic.Does that experience include turning .exe files into C++ code? Because that's the equivalent of what you're asking
I want to edit and maybe create my own mobile games that are written or converted into jar files.Eh?
Are you saying you want to take existing games and modify them? If the creators allow you to modify their source, then they'll provide you with that source (the .java files). If you're allowed to add things but not modify, you don't need .java files. Just documentation, which, again, the creators should be providing.
Or are you saying you want to create your own games and distribute them in jar files? If so, there's no need to turn jars into .java.
However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?Why would you expect there to be one? -
HOW DO YOU CONVERT IPHOTO 8.1 TO APERTURE FILE FORMATT
how do you convert iphoto 8.1.2 photos to aperture file formatt?
I believe this is still possible if the iPhoto library has not been up graded.
No joy, Frank. This is what I get, when I try to import an older iPhoto Library into Aperture 3.4.3 using "File > Import > Library":
Aperture 3.4.x insists on the library being converted to 9.4.x. To be able to import earlier iPhoto Libraries you would have to fall back on Aperture 3.2.x; temporarily install a second, older Aperture version, create a new Aperture library with this version, import the iPhoto Libraries, then open this Aperture library in Aperture 3.4.3 to convert it to a current version.
bertpa, how many iphoto photos are we talking abourt? If you are having several iPhoto libraries with thousands of edited photos, it really would be worth it to upgrade to iPhoto 9.4 to convert your libraries. iPhoto 9.4 will convert your library to a format with Master-version pairs like aperture uses. If you import this to Aperture, you will be able to import each edited image as a single image with two versions (original and edited)- importing from previous iPhoto versions you would be importing each edited image as two separate images - an edited image and the original. This would be wasteful, if you have many photos in Aperture, and it would cause a lot of additional work to get these duplicates sorted out. But if you only have a handful of iPhoto images, launch iPhoto and use the "File > Export" command to export your photos from iPhoto to a folder. You will have to do it twice - once to export the originals and once to export the edited versions. Then import your exported iPhoto photos into Aperture.
Regards
Léonie -
How do you convert a quotation into a purchase requisition?
How do you convert a quotation into a purcahse requisition?
Hi Ganesh
But from ME51N in shows selection varaint it show RFQ for creation of Requisition but when you drop the RFQ to header for creation , it is not working..
Chek again.
Kishor
Hi Christopher
See Purchase requisition creation can happen without vendor and price details as well.
so once you have finalised your vendor and price ,you can put the vendor and price details in PR and then PR can go further for approval...there will be some manual work ,,but I do not think any more option available.
hope its logical,.
Kishor -
How do you convert 60fps to 24fps in FCP X
How do you convert 60fps to 24fps in FCP X for or do I need to figure out the percentages and use that optical flow tool, because I have tried to figure it out but there is a blurry trail when I use the optical flow tool.
Thanks Tom, so can you do that after it's already been imported? I am out shooting this afternoon, but I will look for it when I get back to the studio. I appreciate the help, I haven't had a lot of time to spend relearning FCP, so any help I can get to make my life easier is super appreciated.
Cheers,
Matt
Maybe you are looking for
-
How to create multiple editable PDFs from data merged Indesign file
Hi This is quite complicated but I'm hoping someone can help me and hoping I can explain it too! I am working on a project for a client. She wants to send 150 people a 6 page PDF with fields to complete and return to her. She has an Excel spreadsheet
-
I was charged for supposed to be "free games" atleast $10.97 and i didn't know that i will be charged and if i knew i would not downloaded this games. So therefore i would like to request for a refund. Thanks!
-
Does Adove FrameMaker 7.0 support Thai language?
Hello, after creating a sample document with some Thai text, I save it as MIF 7.0 . There is a prompt saying that saving in this format will cause loss of information related to new features. Then, after reopening the file in FrameMaker instead of Th
-
Problem with License determination
Hi, I have just setup license determination strategy as per the config guide. But, in the cockpit -> Legal COntrol Exports -> Maintain License determination strategy, Isee only 2 tabs(small views) 1.Legal regulation and 2. License Types Where are oth
-
I am using itunes 10.6.1 (previously 10.4 with smae problem) and am trying to set up itunes to access my stored media on an iomega storcenter ix2. I can look at my music and have moved around the itunes library but it doesn't let me access my films.