<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: My device is complete, how communicate with PC through Labview? in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702710#M321908</link>
    <description>&lt;P&gt;Well, emulating an RS-232 port is a valid USB connection as far as I am concerned. I think all you would be giving up is some data transfer speed.At 40Hz, you don't need USB 2.0 speed.&lt;/P&gt;
&lt;P&gt;If you are creating a commercial product, then you will need a &lt;A href="http://www.usb.org/developers/vendor/" target="_blank"&gt;vendor id&lt;/A&gt;. For a one-off and something used internally, you might be able to just make one up. When you eliminate the RS-232 emulation, you then have a couple of options. You can use the driver wizard and use the VISA USB RAW or you can create a driver in C/C++. There is a lot of help in other forums for creating C based drivers. I'm guessing that the vast majority of USB devices ship with this type of driver and not a VISA based one. &lt;/P&gt;</description>
    <pubDate>Wed, 07 May 2008 19:26:04 GMT</pubDate>
    <dc:creator>Dennis_Knutson</dc:creator>
    <dc:date>2008-05-07T19:26:04Z</dc:date>
    <item>
      <title>My device is complete, how communicate with PC through Labview?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702242#M321675</link>
      <description>&lt;DIV&gt;Hi everyone,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I have my device developed, it used Atmel91SAM7, usb ports.&lt;/DIV&gt;
&lt;DIV&gt;At first i have successfully communicate it with PC through REALTERMINAL, now i want through the real USB prot to cmmunicate.&lt;/DIV&gt;
&lt;DIV&gt;I have a Labview8.0 , i thought i should use the VISA, but the VISA component don't work as i wished, &amp;nbsp;the created Controller can't display the actuel Port.&lt;/DIV&gt;
&lt;DIV&gt;Furthermore, how can the LV find&amp;nbsp;my usb device, i have no drive for it,&amp;nbsp;cause it's a new Product.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;So, what&amp;nbsp;i can do&amp;nbsp;now?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks a lot!&lt;/DIV&gt;
&lt;DIV&gt;Jin&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 May 2008 10:09:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702242#M321675</guid>
      <dc:creator>uCer</dc:creator>
      <dc:date>2008-05-07T10:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: My device is complete, how communicate with PC through Labview?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702245#M321677</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;use &lt;A href="http://www.codeproject.com/KB/system/DevicePropertySheet.aspx?df=100&amp;amp;forumid=83880&amp;amp;exp=0&amp;amp;select=958032" target="_blank"&gt;devmgr.dll&lt;/A&gt;</description>
      <pubDate>Wed, 07 May 2008 10:22:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702245#M321677</guid>
      <dc:creator>Mathan</dc:creator>
      <dc:date>2008-05-07T10:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: My device is complete, how communicate with PC through Labview?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702371#M321730</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;I don't know what REALTERMINAL is but if it is similar to Hyperterminal and the USB ports show up in device manager as com ports, then you can use VISA. Look at the shipping examples for serial communication.&lt;/P&gt;
&lt;P&gt;If your USB ports are not emulating a serial port, then you can create your own VISA driver. See &lt;A href="http://zone.ni.com/devzone/cda/tut/p/id/4478" target="_blank"&gt;http://zone.ni.com/devzone/cda/tut/p/id/4478&lt;/A&gt;&amp;nbsp;for a starting point.&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2008 13:59:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702371#M321730</guid>
      <dc:creator>Dennis_Knutson</dc:creator>
      <dc:date>2008-05-07T13:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: My device is complete, how communicate with PC through Labview?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702383#M321737</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/103044"&gt;@Mathan&lt;/a&gt; wrote:&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;use &lt;A href="http://www.codeproject.com/KB/system/DevicePropertySheet.aspx?df=100&amp;amp;forumid=83880&amp;amp;exp=0&amp;amp;select=958032" target="_blank"&gt;devmgr.dll&lt;/A&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;????&amp;nbsp; &lt;SPAN&gt;&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://ni.lithium.com/i/smilies/16x16_smiley-surprised.gif" alt="Smiley Surprised" title="Smiley Surprised" /&gt;&lt;/SPAN&gt;&lt;IMG src="file:/C:/DOCUME%7E1/SMERCU%7E1/LOCALS%7E1/Temp/moz-screenshot-2.jpg" alt="" /&gt;&amp;nbsp;&lt;IMG src="http://forums.ni.com/attachments/ni/130/4039/3/aeh.gif" /&gt;&lt;BR /&gt;&lt;BR /&gt;(Note: I didn't give you the 1-star rating. I'm just confused what this will accomplish.)&lt;IMG src="file:/C:/DOCUME%7E1/SMERCU%7E1/LOCALS%7E1/Temp/moz-screenshot-1.jpg" alt="" /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by smercurio_fc on &lt;SPAN class="date_text"&gt;05-07-2008&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:10 AM&lt;/SPAN&gt;</description>
      <pubDate>Wed, 07 May 2008 14:10:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702383#M321737</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-05-07T14:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: My device is complete, how communicate with PC through Labview?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702390#M321742</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;That link helps in how to&amp;nbsp;use devmgr.dll to list the USB devices attached to pc.&lt;/P&gt;
&lt;P&gt;That's all.&lt;/P&gt;
&lt;P&gt;That's a small starting point. &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;[Note: I like people pinpointing my mistakes.]&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mathan&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2008 14:15:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702390#M321742</guid>
      <dc:creator>Mathan</dc:creator>
      <dc:date>2008-05-07T14:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: My device is complete, how communicate with PC through Labview?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702614#M321850</link>
      <description>thanks, but what is that? I don't use C++ code..&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 May 2008 17:16:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702614#M321850</guid>
      <dc:creator>uCer</dc:creator>
      <dc:date>2008-05-07T17:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: My device is complete, how communicate with PC through Labview?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702646#M321870</link>
      <description>yes, u are right, i have successfuly programed, it runs, but one error, it seems can't continually recieve data, for example, from ...341, 342, 343, 344 then jump to 1001...every thousand like so. but it works in gear when use RealTern,&amp;nbsp;  the stucture please see &lt;SPAN class="noindex"&gt;Attachment.&lt;BR /&gt;&lt;BR /&gt;now, i know that at least i can through LV access my device, but my aim is using USB Port, &lt;/SPAN&gt;but i don't have a&amp;nbsp; USB vendor ID and product ID&lt;SPAN class="noindex"&gt;,&amp;nbsp; how i&amp;nbsp; can  do that forward?&lt;BR /&gt;&lt;BR /&gt;Thanks very much!&lt;BR /&gt;&lt;BR /&gt;Jin&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 May 2008 17:49:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702646#M321870</guid>
      <dc:creator>uCer</dc:creator>
      <dc:date>2008-05-07T17:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: My device is complete, how communicate with PC through Labview?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702662#M321880</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;I don't understand what you mean by 'aim is using USB Port'. If the port is emulating an RS-232 connection, then you are using the USB port. You would only need a vendor/product id if you were to create a driver from scratch and not use the serial emulation capablility. Since it can communicate with VISA now (even with some occasional errors), what would be the point? It would be easier to fix the existing problem. What are these numbers you are receiving? How often are they sent by&amp;nbsp; your device?</description>
      <pubDate>Wed, 07 May 2008 18:15:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702662#M321880</guid>
      <dc:creator>Dennis_Knutson</dc:creator>
      <dc:date>2008-05-07T18:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: My device is complete, how communicate with PC through Labview?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702702#M321902</link>
      <description>thanks for ur answer, I mean that&amp;nbsp; my aim is not to &lt;SPAN class="noindex"&gt;emulate an RS-232 connection, but a real usb connection, now the Port&amp;nbsp; is a Virtual COM Port, I want see it als a USB device..so that i must&amp;nbsp; buy a usb vendor if i want to develop a real usb device?&lt;BR /&gt;&lt;BR /&gt;the point error, the number is the packet ID, begin at 1, it is a 32 bits integer. the send frequence should be circa 40Hz. It works very good when i use the tool RealTernminal, but with LV&amp;nbsp; it seems that many packets are lost! I think the proglem is at the LV, but i can't find where is wrong.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 May 2008 19:10:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702702#M321902</guid>
      <dc:creator>uCer</dc:creator>
      <dc:date>2008-05-07T19:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: My device is complete, how communicate with PC through Labview?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702710#M321908</link>
      <description>&lt;P&gt;Well, emulating an RS-232 port is a valid USB connection as far as I am concerned. I think all you would be giving up is some data transfer speed.At 40Hz, you don't need USB 2.0 speed.&lt;/P&gt;
&lt;P&gt;If you are creating a commercial product, then you will need a &lt;A href="http://www.usb.org/developers/vendor/" target="_blank"&gt;vendor id&lt;/A&gt;. For a one-off and something used internally, you might be able to just make one up. When you eliminate the RS-232 emulation, you then have a couple of options. You can use the driver wizard and use the VISA USB RAW or you can create a driver in C/C++. There is a lot of help in other forums for creating C based drivers. I'm guessing that the vast majority of USB devices ship with this type of driver and not a VISA based one. &lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2008 19:26:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702710#M321908</guid>
      <dc:creator>Dennis_Knutson</dc:creator>
      <dc:date>2008-05-07T19:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: My device is complete, how communicate with PC through Labview?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702718#M321915</link>
      <description>so, I know the speed is not so high, but that should not cause this error, isn't it?&lt;BR /&gt;&lt;BR /&gt;Thanks again!&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 May 2008 19:40:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/My-device-is-complete-how-communicate-with-PC-through-Labview/m-p/702718#M321915</guid>
      <dc:creator>uCer</dc:creator>
      <dc:date>2008-05-07T19:40:34Z</dc:date>
    </item>
  </channel>
</rss>

