skywalkerxp Posted July 26, 2005 Report Share Posted July 26, 2005 Someone has an idea to burn CD in labVIEW? Please give me some hint.thx. Quote Link to comment
Jim Kring Posted July 26, 2005 Report Share Posted July 26, 2005 Someone has an idea to burn CD in labVIEW?Please give me some hint.thx. 5402[/snapback] LabVIEW driver for cd recording from CIT Engineering. Quote Link to comment
skywalkerxp Posted July 27, 2005 Author Report Share Posted July 27, 2005 LabVIEW driver for cd recording from CIT Engineering. 5403[/snapback] Hi,Jim The CIT's product need money to pay. Is there articles or document to describe the detail? Quote Link to comment
Rolf Kalbermatter Posted August 12, 2005 Report Share Posted August 12, 2005 Hi,JimThe CIT's product need money to pay. Is there articles or document to describe the detail? 5410[/snapback] Not all good things come for free ;-) But if your requirements are not that complicated you could probably get away with calling a command line tool for your favorite CD burning software through the System Exec.vi. Most CD burning packages come with an executable you can call with command line parameters to make it do certain tasks such as copying one or more directories to the CD, etc. How this is done is entirely dependant on your CD burning software and you will need to refer to your manual or online documentation or research that on the manufacturers web site. Unless your time does not cost anything I would however expect the price of that Toolkit to be less expensive than to even try to get your own solution working. Rolf Kalbermatter Quote Link to comment
JackHamilton Posted August 29, 2005 Report Share Posted August 29, 2005 I would not recommend trying to burn a CD directly from your LabVIEW application. The problems are not technical, but more an issue of making your code unecessarily complex and more prone to failure. For example: 1. Burning a CD requires that a blank CD is placed (by a human or trained primate) in the CD Drive. 2. The CD must actually be blank or have space for the data to be stored. 3. The CD could already have data on it so it would be adding data to the existing volume. 4. During the burn - a path or file with the same name could be added - causing a rename/overwrite prompt. 5. For whatever reason the burn could fail. Just trying to handle the 5 most likely problems that may occur associated with burning a CD - You could dedicate quite a bit of time creating a basic CD burn function with some rudedamenty error checking. It's common for some very nice working acqusistion code to quickly snowball into a Web access, database, reporting generating, eMail the user on error monsterous code, which will likely not do anthing well. Try to draw a line where adding features does not make the application fundamentally better. Adding features to make something easier for the user - is not always the best thing for the application. Many times is can only increase the chance the code will stop for errors. Take a look at the code size of a basic CD burning package and consider if you can do the same in a VI or two. That maybe the reason that CIT is charging 500 euros for the driver package. You still have to by Nero Burning. I've learned to try not to get caught-up in 'fluff' feature enchancements in code. I would really, really need a very good reason to add CD burning into LabVIEW. Regards Jack Hamilton Quote Link to comment
pallen Posted August 30, 2005 Report Share Posted August 30, 2005 You may have tried this already; Have a look around for a GPL'd command line utility that you can call with arguments. My first google hit this page: http://www.icewalkers.com/search.php?q=cd%20burning A few goodies in there. Good luck. Quote Link to comment
Jeffrey Habets Posted August 30, 2005 Report Share Posted August 30, 2005 Have a look at CdRecord, popular commandline burning program on unix platforms but also available as windows binaries and a huge number of other platforms. CdRecord home: http://cdrecord.berlios.de/ Win binaries: http://www.sbox.tugraz.at/home/t/tplank/ You should be able to call these tools with the system exec. Quote Link to comment
Jim Kring Posted September 5, 2005 Report Share Posted September 5, 2005 I've learned to try not to get caught-up in 'fluff' feature enchancements in code. I would really, really need a very good reason to add CD burning into LabVIEW. 5888[/snapback] Some organizational processes use CD burning as a way to achieve FDA Validation. This is a pretty good reason. Quote Link to comment
AnalogKid2DigitalMan Posted September 16, 2005 Report Share Posted September 16, 2005 Came across this submitted vi, but did not open or look into further. This code is by Dan Andersen http://sine.ni.com/apps/we/niepd_web_displ...rank=&p_answer= Quote Link to comment
jpdrolet Posted September 16, 2005 Report Share Posted September 16, 2005 Came across this submitted vi, but did not open or look into further.This code is by Dan Andersen http://sine.ni.com/apps/we/niepd_web_displ...rank=&p_answer= It is just a VI to start DIRECTCD.EXE with System Exec. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.