Hi,
I am working in a production environment and we are using libftdi to
program our modules. As of now everything is working fine, but just
taking a really long time to program our devices (approx. 45 sec)
before we can actually start testing them. I am using C++ in Windows
Microsoft Visual Studios .
As of now I am using system() to open the commandline, open
install-filter.exe, and install the filter for a specific device.
Like I said it works fine, but once the filter driver is installed and
the device has been programmed, the comport changes and forces me to
disconnect and then reconnect my device in order to run the test
portion.
Here is my function to install the filter driver and using the
system() function.
void install_filterdriver()
{
// Install filter driver to unprogrammed module using commandline
application install-filter.exe
if (fileExists("C:\\install-filter.exe"))
{
string commandline_string;
commandline_string = "C:\\install-filter install
--device=USB\\Vid_0403.Pid_6001.Rev_0600";
system(commandline_string.c_str());
}
else
cout << "C:\\install-filter.exe does not exist. Driver filter
not installed." << endl;
}
Installing the filter along with disconnecting and reconnecting is
what eats up all the time. I would like to get this process to take
around half the time it does now.
Is there any way to do this without disconnecting and reconnecting, or
installing the filter-driver a different way?
Thanks in advance.
--
Devon Lind
Crystalfontz America, Inc.
12412 East Saltese Ave
Spokane Valley, WA 99216-0357
Twitter @Crystalfontz devon@xxxxxxxxxxxxxxxx http://www.crystalfontz.com
Phone: 1-509-892-1200, Fax: 1-509-892-1203, US Toll Free: 888-206-9720
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|