Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Yipit Clone Script - Daily Deals Software 1.0.2
Devart Excel Add-in for Oracle 1.7
Devart Excel Add-in for Freshdesk 1.7
Devart Excel Add-in for G Suite 1.7
C# QR Code Generator 4.0.2.2
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
Top Code
MCU 8051 IDE 1.4.7
shopping mall management system 1.0
WinPoker 2.02
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
SynaSer Serial Port Library 5.0
MLM Software 1.0.2
sipmethod 1.0
STDF file reader 1.0
Maios 1.0
School Management Script 1.0.4
jArt Java Operating System 1.0
Planyo online reservation system module 6.x-1.8
Bank Transfer 6.x-1.x-dev
Azizi search engine script PHP 4.1.10
SuperGeek Free Document OCR 2.5.6
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
FTD2XX_NET_Write_GetPinStates 1.0
File ID: 83765






FTD2XX_NET_Write_GetPinStates 1.0
Download FTD2XX_NET_Write_GetPinStates 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 4
Submit Rating:
FTD2XX_NET_Write_GetPinStates 1.0 Description
Description: File demonstrates calling directly into the FTD2XX_NET.dll library from Matlab code. Code demonstrates how to split the data pins into two groups of four bits. Demo writes to 4 bits, reads the other 4 bits. FTDI makes USB compatible devices which can make the creation of USB-based electronic instruments much easier. The FTD2XX_NET.dll (downloadable ftdichip.com) is a .Net wrapper for the FTDI D2XX USB device driver programming library. This library eliminates the need for device developers to write custom USB drivers when developing custom instrumentation which interfaces to a PC via the USB ports.

Test_FTD2XX_NET_BitBang.m demonstrates opening the dll, opening a FTDI FT245-based USB device, and setting the device up for BitBang mode. In BitBang mode, the FT245 device functions as an 8-bit parallel I/O port. Modern PCs and laptops do not typically contain such parallel interfaces anymore. Hanging a simple module containing the FTDI FT245 chip, such as the DLP-USB245M, on a PC USB bus can add parallel port I/O capability to your PC which can be useful when controlling or communicating with external hardware.

USB245 is set up with 10k pullups on d3-d0 outputs(write pins) and the pins are jumpered to d7-d4 inputs(read pins). Via the FTD2XX_NET.dll, Test_FTD2XX_NET_BitBang_Write_GetPinStates.m 'bangs' four ouput bits of the DLP-USB245M, writing hex values from 0 to 15 interleaved with zero values. After every write, there is a GetPinState "read" which reads back the input pins. Debug statements show read values.

No .mex files, header files, or other fussing around is necessary as (at least the most recent versions) Matlab user code can directly call into .NET assemblies such as the FTD2XX_NET.dll.

License: Shareware

Related: Hardware, External, communicating, Controlling, Usb, pullups, inputsread, jumpered, outputswrite

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 4



More Similar Code

Learn to read and write XML with .NET's XML classes is an ASP.NET tutorial in which programmers can learn about the procedure for reading and writing the XML documents by using XmlReader and XmlWriter classes respectively. The author elaborates the simple methods to execute the above said process. The author gives source code for performing this process.



Write Your Own Provider For the ASP.NET DataGrid is an interesting article which discusess about how to create custom data provider to populate datagrid control. In this article the author describes the Enumerable interface of the ADO.NET and its...



How To Write Binary Files to the Browser Using ASP.NET and Visual C# .NET is a web based tutorial through which programmers can gather information about the steps that they have to adapt to retrieve binary data from file and also to download data...



HOW TO: Read and Write BLOB Data by Using ADO.NET Through ASP.NET is an ASP.NET article in which the author concentrates on the procedure for reading and writing binary large object data to a SQL server with the help of Filestream object and byte...



This is an useful .NET article through which you can know about how to read from and write to a text file in Visual Basic.NET. You can do this by using the ReadLine and WriteLine methods of the StreamReader and StreamWriter classes. You must pass...



ImageProperties .NET control reads and writes a comprehensive range of meta data from image files.
This includes many EXIF types and image properties like Resolution and Color depth, Author, Title, Comments, photo properties like Creation...



ASP.NET Programming Languages Primer is a tutorial which explains you how to create web applications in ASP.NET using three languages such as C#, Visual Basic, and JScript. In this tutorial the author clearly shows how to write statements and...



The new security components in .NET 2.0 can help you greatly reduce the amount of code you need to write in order to make your applications secure. Security is difficult to get right, and it is a good strategy to leverage the code provided by...



It is a visual tool for developing COM Add-ins, Smart Tags and RTD on .NET. Add-in Express implements everything required by the supported technologies such as IDTExtensibility2, ISmartTag and ISmartTagTopic, you write functional code only. It...



Btrieve Classes for .NET is a set of .NET database access support classes that enable fast , easy to program access from .NET programs to Pervasive.SQL databases via the Btrieve API. As such they greatly help developers looking to write .NET...

User Review for FTD2XX_NET_Write_GetPinStates
- required fields
     

Please enter text on the image