Line 1... |
Line 1... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!--NewPage-->
|
<!--NewPage-->
|
<HTML>
|
<HTML>
|
<HEAD>
|
<HEAD>
|
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
|
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
|
<TITLE>
|
<TITLE>
|
ZtexScanBus1
|
ZtexScanBus1
|
</TITLE>
|
</TITLE>
|
|
|
<META NAME="date" CONTENT="2010-09-29">
|
<META NAME="date" CONTENT="2011-07-18">
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
|
|
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
function windowTitle()
|
function windowTitle()
|
Line 120... |
Line 120... |
<B>Constructor Summary</B></FONT></TH>
|
<B>Constructor Summary</B></FONT></TH>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean)">ZtexScanBus1</A></B>(int usbVendorId,
|
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean)">ZtexScanBus1</A></B>(int usbVendorId,
|
int usbProductId,
|
int usbProductId,
|
boolean scanCypress,
|
boolean scanUnconfigured,
|
boolean quiet)</CODE>
|
boolean quiet)</CODE>
|
|
|
<BR>
|
<BR>
|
Scans the USB for suitable devices and constructs a list of them.</TD>
|
Scans the USB for suitable devices and constructs a list of them.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int)">ZtexScanBus1</A></B>(int usbVendorId,
|
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int)">ZtexScanBus1</A></B>(int usbVendorId,
|
int usbProductId,
|
int usbProductId,
|
boolean scanCypress,
|
boolean scanUnconfigured,
|
boolean quiet,
|
boolean quiet,
|
int interfaceVersion)</CODE>
|
int interfaceVersion)</CODE>
|
|
|
<BR>
|
<BR>
|
Scans the USB for suitable devices and constructs a list of them.</TD>
|
Scans the USB for suitable devices and constructs a list of them.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int, int, int, int, int)">ZtexScanBus1</A></B>(int usbVendorId,
|
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int, java.lang.String)">ZtexScanBus1</A></B>(int usbVendorId,
|
int usbProductId,
|
int usbProductId,
|
boolean scanCypress,
|
boolean scanUnconfigured,
|
boolean quiet,
|
boolean quiet,
|
int interfaceVersion,
|
int interfaceVersion,
|
|
java.lang.String snString)</CODE>
|
|
|
|
<BR>
|
|
Scans the USB for suitable devices and constructs a list of them.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int, java.lang.String, int, int, int, int)">ZtexScanBus1</A></B>(int usbVendorId,
|
|
int usbProductId,
|
|
boolean scanUnconfigured,
|
|
boolean quiet,
|
|
int interfaceVersion,
|
|
java.lang.String snString,
|
int productId0,
|
int productId0,
|
int productId1,
|
int productId1,
|
int productId2,
|
int productId2,
|
int productId3)</CODE>
|
int productId3)</CODE>
|
|
|
Line 207... |
Line 219... |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<B>Constructor Detail</B></FONT></TH>
|
<B>Constructor Detail</B></FONT></TH>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int, int, int, int, int)"><!-- --></A><H3>
|
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int, java.lang.String, int, int, int, int)"><!-- --></A><H3>
|
ZtexScanBus1</H3>
|
ZtexScanBus1</H3>
|
<PRE>
|
<PRE>
|
public <B>ZtexScanBus1</B>(int usbVendorId,
|
public <B>ZtexScanBus1</B>(int usbVendorId,
|
int usbProductId,
|
int usbProductId,
|
boolean scanCypress,
|
boolean scanUnconfigured,
|
boolean quiet,
|
boolean quiet,
|
int interfaceVersion,
|
int interfaceVersion,
|
|
java.lang.String snString,
|
int productId0,
|
int productId0,
|
int productId1,
|
int productId1,
|
int productId2,
|
int productId2,
|
int productId3)</PRE>
|
int productId3)</PRE>
|
<DL>
|
<DL>
|
Line 226... |
Line 239... |
Four kinds of search filters can be applied
|
Four kinds of search filters can be applied
|
<ol>
|
<ol>
|
<li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
|
<li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
|
<li> If a certain interface version is required, it can be specified using interfaceVersion. </li>
|
<li> If a certain interface version is required, it can be specified using interfaceVersion. </li>
|
<li> Incompatible devices can be excluded by the specification of the ZTEX product ID's, see <A HREF="../ztex/ZtexDevice1.html#compatible(int, int, int, int)"><CODE>ZtexDevice1.compatible(int,int,int,int)</CODE></A>. </li>
|
<li> Incompatible devices can be excluded by the specification of the ZTEX product ID's, see <A HREF="../ztex/ZtexDevice1.html#compatible(int, int, int, int)"><CODE>ZtexDevice1.compatible(int,int,int,int)</CODE></A>. </li>
|
<li> If scanCypress is true, all devices (even unconfigured ones) with Cypress EZ-USB vendor and product ID's are considered. </li>
|
<li> If scanUnconfigured is true, also devices without ZTEX Firmware and devices with Cypress EZ-USB USB are considered</li>
|
|
<li> In multi device environment a single device can be selected by giving a serial number. </li>
|
|
</ol>
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanUnconfigured</CODE> - if true, scan for unconfigured devices and devices with Cypress EZ-USB USB ID's<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (<0 if no interface version is required)<DD><CODE>snString</CODE> - The serial number of the device<DD><CODE>productId0</CODE> - Byte 0 of a given ZTEX product ID (≤0 if not to be considered)<DD><CODE>productId1</CODE> - Byte 1 of a given ZTEX product ID (≤0 if not to be considered)<DD><CODE>productId2</CODE> - Byte 2 of a given ZTEX product ID (≤0 if not to be considered)<DD><CODE>productId3</CODE> - Byte 3 of a given ZTEX product ID (≤0 if not to be considered)</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int, java.lang.String)"><!-- --></A><H3>
|
|
ZtexScanBus1</H3>
|
|
<PRE>
|
|
public <B>ZtexScanBus1</B>(int usbVendorId,
|
|
int usbProductId,
|
|
boolean scanUnconfigured,
|
|
boolean quiet,
|
|
int interfaceVersion,
|
|
java.lang.String snString)</PRE>
|
|
<DL>
|
|
<DD>Scans the USB for suitable devices and constructs a list of them.
|
|
Three kinds of search filters can be applied
|
|
<ol>
|
|
<li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
|
|
<li> If a certain interface version is required, it can be specified using interfaceVersion. </li>
|
|
<li> If scanUnconfigured is true, also devices without ZTEX Firmware and devices with Cypress EZ-USB USB are considered</li>
|
|
<li> In multi device environment a single device can be selected by giving a serial number. </li>
|
</ol>
|
</ol>
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanCypress</CODE> - Include devices with Cypress EZ-USB vendor and product ID's (even unconfigured ones)<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (<0 if no interface version is required)<DD><CODE>productId0</CODE> - Byte 0 of a given ZTEX product ID (≤0 if not to be considered)<DD><CODE>productId1</CODE> - Byte 1 of a given ZTEX product ID (≤0 if not to be considered)<DD><CODE>productId2</CODE> - Byte 2 of a given ZTEX product ID (≤0 if not to be considered)<DD><CODE>productId3</CODE> - Byte 3 of a given ZTEX product ID (≤0 if not to be considered)</DL>
|
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanUnconfigured</CODE> - if true, scan for unconfigured devices and devices with Cypress EZ-USB USB ID's<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (<0 if no interface version is required)</DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int)"><!-- --></A><H3>
|
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int)"><!-- --></A><H3>
|
ZtexScanBus1</H3>
|
ZtexScanBus1</H3>
|
<PRE>
|
<PRE>
|
public <B>ZtexScanBus1</B>(int usbVendorId,
|
public <B>ZtexScanBus1</B>(int usbVendorId,
|
int usbProductId,
|
int usbProductId,
|
boolean scanCypress,
|
boolean scanUnconfigured,
|
boolean quiet,
|
boolean quiet,
|
int interfaceVersion)</PRE>
|
int interfaceVersion)</PRE>
|
<DL>
|
<DL>
|
<DD>Scans the USB for suitable devices and constructs a list of them.
|
<DD>Scans the USB for suitable devices and constructs a list of them.
|
Three kinds of search filters can be applied
|
Three kinds of search filters can be applied
|
<ol>
|
<ol>
|
<li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
|
<li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
|
<li> If a certain interface version is required, it can be specified using interfaceVersion. </li>
|
<li> If a certain interface version is required, it can be specified using interfaceVersion. </li>
|
<li> If scanCypress is true, all devices (even unconfigured ones) with Cypress EZ-USB vendor and product ID's are considered. </li>
|
<li> If scanUnconfigured is true, also devices without ZTEX Firmware and devices with Cypress EZ-USB USB are considered</li>
|
</ol>
|
</ol>
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanCypress</CODE> - Include devices with Cypress EZ-USB vendor and product ID's (even unconfigured ones)<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (<0 if no interface version is required)</DL>
|
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanUnconfigured</CODE> - if true, scan for unconfigured devices and devices with Cypress EZ-USB USB ID's<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (<0 if no interface version is required)</DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="ZtexScanBus1(int, int, boolean, boolean)"><!-- --></A><H3>
|
<A NAME="ZtexScanBus1(int, int, boolean, boolean)"><!-- --></A><H3>
|
ZtexScanBus1</H3>
|
ZtexScanBus1</H3>
|
<PRE>
|
<PRE>
|
public <B>ZtexScanBus1</B>(int usbVendorId,
|
public <B>ZtexScanBus1</B>(int usbVendorId,
|
int usbProductId,
|
int usbProductId,
|
boolean scanCypress,
|
boolean scanUnconfigured,
|
boolean quiet)</PRE>
|
boolean quiet)</PRE>
|
<DL>
|
<DL>
|
<DD>Scans the USB for suitable devices and constructs a list of them.
|
<DD>Scans the USB for suitable devices and constructs a list of them.
|
Two kinds of search filters can be applied
|
Two kinds of search filters can be applied
|
<ol>
|
<ol>
|
<li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
|
<li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
|
<li> If scanCypress is true, all devices (even unconfigured ones) with Cypress EZ-USB vendor and product ID's are considered. </li>
|
<li> If scanUnconfigured is true, also devices without ZTEX Firmware and devices with Cypress EZ-USB USB are considered</li>
|
</ol>
|
</ol>
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanCypress</CODE> - Include devices with Cypress EZ-USB vendor and product ID's (even unconfigured ones)<DD><CODE>quiet</CODE> - if true, don't print any warnings</DL>
|
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanUnconfigured</CODE> - if true, scan for unconfigured devices and devices with Cypress EZ-USB USB ID's<DD><CODE>quiet</CODE> - if true, don't print any warnings</DL>
|
</DL>
|
</DL>
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
<A NAME="method_detail"><!-- --></A>
|
<A NAME="method_detail"><!-- --></A>
|