<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/1349" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-05-09T20:13:03+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/1349</id>

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-05-09T20:13:03+02:00</updated>

		<published>2008-05-09T20:13:03+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1349&amp;p=5302#p5302</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=5302#p5302"/>
		<title type="html"><![CDATA[Using an Obdev AVR-USB device with Labview]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=5302#p5302"><![CDATA[
You can implement a virtual COM port, but you need your own drivers on the Windows side. The big advantage of CDC mode is that drivers are already included with Windows.<br /><br />An example for an application layer driver based on libusb-win32 can be found in AVR-Doper. The &quot;avrdebug&quot; tool sends to and receives from a serial interface. The implementation may not be very efficient, though.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Fri May 09, 2008 8:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-05-09T16:13:07+02:00</updated>

		<published>2008-05-09T16:13:07+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1349&amp;p=5299#p5299</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=5299#p5299"/>
		<title type="html"><![CDATA[virtual com port]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=5299#p5299"><![CDATA[
Since the CDC use more than 90% of the cpu time, is it possible to implement a virtual com port on the host side talking to AVR USB running the HID mode ?<br />Is such a thing already exist ?<br />Can you point my to an example of such an driver in the reference samples (PowerSwitch, etc) ?<br /><br />Thank for this great work.<br /><br />Nick<p>Statistics: Posted by Guest — Fri May 09, 2008 4:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scls19fr]]></name></author>
		<updated>2008-04-16T16:44:12+02:00</updated>

		<published>2008-04-16T16:44:12+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1349&amp;p=5063#p5063</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=5063#p5063"/>
		<title type="html"><![CDATA[Using an Obdev AVR-USB device with Labview]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=5063#p5063"><![CDATA[
Thanks for the link but I ever made my own AVR-gcc program to manage servo ! So the problem is just about using AVR-USB with Labview.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=984">scls19fr</a> — Wed Apr 16, 2008 4:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spiff]]></name></author>
		<updated>2008-04-14T20:25:13+02:00</updated>

		<published>2008-04-14T20:25:13+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1349&amp;p=5044#p5044</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=5044#p5044"/>
		<title type="html"><![CDATA[Using an Obdev AVR-USB device with Labview]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=5044#p5044"><![CDATA[
<blockquote><div><cite>scls19fr wrote:</cite>But do you think that my device program (that generate a pulse width modulated signal from 1ms to 2ms with a period of 20ms)<br /></div></blockquote><br /><br />Since I guess from the timing you are mentioning, that you want to control an RC servo, you should probably look at the USB-Servo projects:<br /><a href="http://obdev.at/products/avrusb/prjcontrol.html" class="postlink">http://obdev.at/products/avrusb/prjcontrol.html</a><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=226">spiff</a> — Mon Apr 14, 2008 8:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-04-07T16:19:22+02:00</updated>

		<published>2008-04-07T16:19:22+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1349&amp;p=4937#p4937</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=4937#p4937"/>
		<title type="html"><![CDATA[Using an Obdev AVR-USB device with Labview]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=4937#p4937"><![CDATA[
I must admit that I don't know what Labview is.<br /><br />CDC mode uses ~ 90% or more of the CPU's time. If you just want to generate a PWM signal, that can be done in hardware with timer1, the hardware should therefore be good enough.<br /><br />AVR-USB can implement all types of interfaces. I don't know D2XX, but I'm sure you can emulate the FTDI with AVR-USB. Or you can design your own driver based on control and optionally interrupt transfers.<br /><br />See the documentation linked from <!-- m --><a class="postlink" href="http://www.obdev.at/avrusb/">http://www.obdev.at/avrusb/</a><!-- m --> for details.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Mon Apr 07, 2008 4:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scls19fr]]></name></author>
		<updated>2008-04-07T14:09:30+02:00</updated>

		<published>2008-04-07T14:09:30+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1349&amp;p=4933#p4933</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=4933#p4933"/>
		<title type="html"><![CDATA[Using an Obdev AVR-USB device with Labview]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=4933#p4933"><![CDATA[
All right !<br /><br />But do you think that my device program (that generate a pulse width modulated signal from 1ms to 2ms with a period of 20ms)<br />1ms when receiving 0x00=0<br />2ms when receiving 0xFF=255<br />can also support the USB stack for Virtual COM port and fit in an ATMega8 ?<br /><br />Using a Virtual COM port with Labview can be done using NI VISA<br /><!-- m --><a class="postlink" href="http://zone.ni.com/devzone/cda/tut/p/id/4478">http://zone.ni.com/devzone/cda/tut/p/id/4478</a><!-- m --><br />Thank for the link about AVR-CDC<br /><br />Do you know if something has ever been done to avoid using Virtual COM Port (like the D2XX drivers for FTDI ?) <!-- m --><a class="postlink" href="http://www.ftdichip.com/Drivers/D2XX.htm">http://www.ftdichip.com/Drivers/D2XX.htm</a><!-- m --><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=984">scls19fr</a> — Mon Apr 07, 2008 2:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-04-07T10:08:17+02:00</updated>

		<published>2008-04-07T10:08:17+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1349&amp;p=4926#p4926</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=4926#p4926"/>
		<title type="html"><![CDATA[Using an Obdev AVR-USB device with Labview]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=4926#p4926"><![CDATA[
See the AVR-CDC example at <!-- m --><a class="postlink" href="http://www.recursion.jp/avrcdc/">http://www.recursion.jp/avrcdc/</a><!-- m -->. This is a virtual COM port.<br /><br />Please note that there seem to be problems with the driver on Vista which have not been resolved yet.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Mon Apr 07, 2008 10:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scls19fr]]></name></author>
		<updated>2008-04-06T12:28:42+02:00</updated>

		<published>2008-04-06T12:28:42+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1349&amp;p=4916#p4916</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=4916#p4916"/>
		<title type="html"><![CDATA[Using an Obdev AVR-USB device with Labview]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1349&amp;p=4916#p4916"><![CDATA[
Hello,<br /><br />I would like to know if there is a way to send a byte (using Labview under Windows) to an Obdev AVR-USB device.<br /><br />For now I'm using a FTDI (bought at SparkFun on a breakout board)<br /><!-- m --><a class="postlink" href="http://www.sparkfun.com/commerce/product_info.php?products_id=718">http://www.sparkfun.com/commerce/produc ... cts_id=718</a><!-- m --><br /><br />As FTDI is a surface-mount device it's not very convenient to use it ! So I would prefer using a USB software implementation (like the Obdev AVR-USB)<br />FTDI provides 2 kinds of drivers<br />- VCP : Virtual COM Port.<br />- D2XX : Direct USB drivers<br /><br />Using VCP is very easy because your device act like a serial device !<br />Using D2XX drivers with Labview is not very difficult because FTDI provide Labview samples which call a DLL<br />see <!-- m --><a class="postlink" href="http://www.ftdichip.com/Projects/CodeExamples/LabVIEW.htm">http://www.ftdichip.com/Projects/CodeEx ... abVIEW.htm</a><!-- m --><br /><br />So I would like to do the same (sending a byte with Labview) with an Obdev AVR-USB device<br /><br />Best regards<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=984">scls19fr</a> — Sun Apr 06, 2008 12:28 pm</p><hr />
]]></content>
	</entry>
	</feed>
