If you have the right drivers (eg. some HP CD-RW's come with this), then the CD can be written to as if it were just another harddrive. We have used this in VIs here. This is the easiest way to do what you're asking.
Rob
Hi,
I'm trying to make backup copies (on CD-R) of some files automatically using a LabVIEW application.
Has anybody ever done this?
There is a DLL called wnaspi32.dll wich I think can be used to do this, does anyone has information about the protothype of the functions included in this DLL?
Thanks.
do not know about the .DLL but here is A link for direct cd.Try it, It just might work for you.
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B123AE0CBBA8111EE034080020E74861&p_node=DZ53002&p_source=external
Joe
Share what you know. Learn what you don't.
WINASPI32.DLL is a low level API to control SCSI and SCSI like
resources. The API uses only a few fucntions but is quite complex in the
parameters those functions take. It is definitely not something to do in
a few hours and will require a CIN or wrapper DLL to interface in a
useful way with LabVIEW.
Most importantly although you could control CD burners through this
interface it would be a very tedious way of doing it as each CD burner
ha
s manufacturer specific protocols to use. It is much easier to use an
application like Nero or DirectCD which takes care of controlling the
different CD burners in a proper way and gives you a simple interface.
Both packages come with a command line interface which you can use
through SystemExec.vi to write CDs and Nero has an additional DLL API
which can be called.
Checkout http://labview.citeng.com/pagesEN/products/cdrec.aspx to see a
product which allows you to control the Nero software though ist DLL API
from LabVIEW.
Rolf Kalbermatter
Calling to Adaptec DirectCD with LabVIEW |
Print this Page
|
This code is by Dan Andersen |
Simple vi that uses windows scripting host to call to Adaptec DirectCD. this allows you to write data to a cd just as you would a "regular" drive.
|
|
|
Application Software: |
LabVIEW Full Development System 6.0
|
|
Toolkits and Add-ons: |
|
|
Additional Software: |
|
|
Language(s): |
LabVIEW |
|
|
|
|
|
Download - labview_talks_to_directcd.vi |
21 kilobyte(s) |
|
|
Please Note: This 3rd party code is available for use free of charge. National Instruments does not support, maintain, test, or guarantee the quality of this code in any way. For details on terms of use or support of this code, please contact the code author or the site being referred at the top of this page.
|
|
|