04-11-2011 11:51 AM
Hi,
I want to use MCP2200 usb-uart . I have a dll from microchip.com .
The problem is that I cannot access from labview to this dll.
What can be a problem?
dll can be found here http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en546923
04-12-2011 04:13 PM
Generally, documentation for third-party drivers like the one you are describing is provided for by the manufacturer. If you would like to use the DLL from Microchip, take a look at the documentation they provide for the DLL. Additionally, here is the manual from NI that documents using external code in LabVIEW.
http://digital.ni.com/manuals.nsf/websearch/8D930295FFBF9F7686256D2C00624728?OpenDocument&seen=1
12-06-2013 03:08 PM
Hi,
I'm also using the MCP2200 for my application. Basically I have a MCU connected to a sensor and MCP2200. I need to display the sensor data on my PC and save the data into a file once I'm done with the aqcuestion. Latter I might want to control the MCU from my PC, But for now I just need to read the sensor data in my PC. I'm looking for quick solution. So I'd rather not get into the DLL provided by microchip. I'd rather use VISA instead. But I'm new to VISA and reading from a USB port. As far as I know now all I need is:
the MCP200 windows driver
VISA
, and LabVIEW
is this correct?
any help or advice is appreciated.
Thanks
12-09-2013 10:40 AM
That is correct. As long as you know the commands you need to send which should be in the manual. We have example read and write VISA programs that you can start from.
12-09-2013 02:41 PM
Hi ,
You can use standard serial port communication with VISA.
But you will have problems using Microchip DLL, when I used it, it always crashed. But dll is only needed if you want to toggle gpio.
Anyway I found that Silicon Labs chip is more user friendly.
12-10-2013 02:41 AM
you mean the commands for the MCP2200 converter chip?
Also isn't the converter chip is just a data relay? I mean the commands goes to the MCU not the converter chip?
Also, my setup is really a RAW instrument as defined by NI since I'll be sending commands in binary data. Correct? as I understood USBTMC sends commands as text that will be parsed by the instrument.
Also, I think I have to write a firmware that processes the USB commands and data communication correct?
Sorry for the many questions but I'm new at this and trying to find my way quickly into a fast solution.
Thank you very much.
12-10-2013 02:45 AM
unfortunatly I don't have time to switch to slicon lab chip. It needs a new electrical design and pcb etc. I have to go with Microchip.
12-10-2013 04:31 AM
I think there is some confusion here.
Using this chip you convert USB to simple serial interface with a COM port in windows.
Just send commands to com port that windows will generate for your hardware and they will be transfered as serial protocol (like rs232) to your mcu.
You have example "Basic serial write and read.vi"