Devantech USB-I2C converter and labview

Hi,
I bought a USB-I2C converter from Devantech. The driver sw installs a
virtual COM port for the USB communication.
With the demo program it works but I can not manage to get it to work with
the Labview 6.1 serial vi's.
Is there anybody who has experience with this?
Regards,
Marc

bmw318 wrote:
Hi,
can you give me an example how to send a string command to it? I also tried hyperterminal but  not use... What am I doing wrong?????
Marc
Well there should be some documentation with the device that describes the commands you can send to it, to do the things it should do. We can not help you with that as we do not have that device.
Once you get those commands you will probably want to use HyperTerminal to try and play with it a little. You can also go into Measurement & Automation Explorer and selecting your port you can use the Interactive Control Panel to do similar. If you have gotten some communication in that way and have an understanding of how the device works you can start coding in LabVIEW.
Basically until you can get some basic communication with the device from HyperTerminal, trying to make it work in LabVIEW is wasted time.
Rolf Kalbermatter
Message Edited by rolfk on 03-10-2009 10:00 AM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • Integrating an NI-USB 8451 driver and Labview Run-Time Files in an installation package of a .vi application

    Hello,
    I've built a .vi which uses the NI-USB 8451 device (please see http://sine.ni.com/nips/cds/view/p/lang/en/nid/202368), and I would like to create an installation package to be used on a costumer's PC, which has no Labview installed on or a driver for this device.
    I would like to have this installation as a completely stand-alone setup, so that the user could take this file and run it, and have the driver to the 8451, the run-time files for the Labview application installed by themselves,  and have the .exe file working on a completely "clean" PC.
    How can I integrate it all in one package ?
    Thanks,
    Michael.

    Nice hearing from you again, Ipshita
    I do not call any dll's currently, but am using the driver of the USB device, NI-USB 845x, version 1.0.1
    Now, I would very like to make the use of my application, by another user, with no Labview or this driver on his PC, as simple as possible.
    I just thought that maybe I could create an .EXE file with some Labview created dll's, which this executable would use, and spare the need of the 845x Driver or Labview Run-Time library prior installation. I could be wrong.
    What should I do ?
    P.S.
    Meanwhile, I've been playing with the Application Builder and tried to create an installation with the Driver and the Labview Run-Time.
    It had started the compile, but stopped with the following pop-up window: "Locate the 'NI-845x Software 1.0.1' distribution. Labview needs to copy a component installed or updated by the distribution..."
    (Attaching the pop-up window below)
    What is it looking for and where can I find it ?
    Thanks,
    Michael.
    Attachments:
    Installation_pop-up.JPG ‏20 KB

  • USB web cam and labview (IMAQ)

    Hi Everyone
    Is it possible to acquire images from a web video-cam with Labview/Imaq.
    which is connected via USB port ?
    Any information would be appreciated.
    Thanks in advance
    Andreas

    Hi Dogan (how do I get that g correct?)
    I think you are using a non-english (or some other languages) OS?
    If so have a look at this thread
    Good luck,
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • I2C data send using USB-to-I2C converter

    Hi guys me again
    Just when things started to look good another trouble comes
    We thought we will buy NI-8451 to implement I2C. We contacted NI also but suddenly another student comes and says we can implement I2C using Devantech USB-to-I2C converter..
    Can it be implemented using VISA(all operation of I2C like read, write, ack, clock stretching)???
    Thanks in advance

    I never used that device, but ran across it while searching for alternate I2C and SPI devices. That uses a standard FTDI interface chip, so the device shows up as a serial device. So, yes, you'd be able to use VISA to communicate with it. Please check the documentation for the device in the future.

  • How do I run a J-type thermocouple to the usb-6363 DAQ and program labview to measure temperature?

    I have a usb-6363 DAQ and a J-type non-contact thermocouple that I am looking to connect and measure temperature through. However, the DAQ does not have any T/C inputs, which is needed to measure in the thermocouple temperature. I am connecting the thermouple to an analog input (+/-) and I am not looking to buy an amplifier, converter or any other hardware. I believe there is a way to program labview to read in the voltages of the thermocouple and convert it into accurate temperature readings. Any help/ideas?

    Hello George,
    This tutorial should step you through the basic process of configuring the device and connecting the thermocouple:
    Tutorial: Connect Thermocouples to a Data Acquisition (DAQ) Device
    http://www.ni.com/gettingstarted/setuphardware/dataacquisition/thermocouples.htm#Connecting a Thermocouple to Your Device
    From there, there are a number of things you can do- I'd recommend taking a look at the LabVIEW shipping examples (Help>>Find Examples...) as well as the DAQmx getting started tutorials:
    Getting Started with NI-DAQmx: Main Page
    http://www.ni.com/white-paper/5434/en
    At first glance, the 6363 you're using should have enough resolution to acquire usable data from a thermocouple- if you attempt reading raw voltages be sure that the acquisition range is configured for +/- 0.1V, though.
    Regards,
    Tom L.

  • Reference Library for Converting Between LabVIEW and XML Data (GXML)

    Please provide feedback, comments and questions on the Reference Library for Converting Between LabVIEW and XML Data (GXML) in this thread.
    The latest version of the NI GXML Library is availble in VIPM on the NI LabVIEW  Tools Network repository.

    Francesco, Thank you for the feedback.  With this component it was my intention to make a more "terse" version of the LabVIEW Flatten to XML VI that was also supported on RT and that gave the user more flexbility regarding the structure of the parsing type definition. I think you are right that the XML parser is not compliant to section 2.11 of the XML spec.  The parser does specifically looking for a #D#A and this appears to be an oversight on my part.  Please confirm for me, the specifcation is saying that the XML parser should be able to recognize three possibilities as an "end of line" character: #D#A, #D, or #A.  Am I reading this right?There are more efficient (and in some cases much more efficient) ways of sharing data between LabVIEW and LabVIEW: some examples are flattened binary strings and the datalog binary format.  XML is slower than these optons but the upside is that it is human readable.  Furthermore XML is inherently hierarchical which is convenient for complex data structures like clusters of arrays of clusters, etc.  If you don't care about human readability then you are correct XML doesn't make as much sense.I will return to the GXML source code and try to fix this in the near future but I would hope that instead of creating yet another custom VI from scratch that you could reuse what I have provided for you.  I included enough documentation in the source code so that users could make some modificiations themselves. The target application for this reference library was LabVIEW to LabVIEW communication.  As such I documented the schema on the dev zone document from a LabVIEW perspective.  It includes all the supported datatypes and all the supported data structures (cluters, arrays, multidimensional arrays, clusters of multidimensional arrays, etc.)  I do see some value in making a more conventional XML spec but the time investment required didn't really line up with my intended use case. Were there any other downsides to GXML that I have missed?  Best Regards, Jeff TippsSystems Engineer - Sound and VibrationMessage Edited by Jeff T. on 04-21-2010 10:09 AM

  • Connecting hp 8508a vector voltmeter with agilent 82357a usb/gpib converter

    Hello
    For my experiment, I need to connect to a HP 8508A vector voltmeter by using an agilent 82357A usb/gpib converter. I have a serious problem about communicating with my device using NI-VISA. I tried to do the steps indicated at following links which were indicated at the forum posts by people using 82357A:
    http://digital.ni.com/public.nsf/allkb/F7C187DBF09EBE1186256F550065BD32?OpenDocument,
    http://digital.ni.com/public.nsf/websearch/3B3626D9C1F999218625694200791AD7?OpenDocument,
    http://cp.literature.agilent.com/litweb/pdf/5990-3731EN.pdf?cmpid=1273CN.
    The version of MAX is 4.3.0f0 and i am using labview 8.5 with NI-VISA 8.2. I am trying to configure my 82357A using agilent io libraries suite 14.1. 
    First, I tried to configure my usb/gpib controller using  agilent connection expert and set the visa interface id to GPIB6 and connect to the 82357A without any problems. Then I connect this gpib converter to my vector voltmeter. The gpib adress of the voltmeter was 6(gpib address of the interface converter was 10) so visa address GPIB6::6::INSTR was assigned to voltmeter by connection expert. I tried to connect to the voltmeter from the connection expert by using the agilent interactive IO. Send *IDN? command and took the proper response from the voltmeter. The voltmeter went into remote mode and I tried to read the voltage values by using the FETCH? command of the device and got the voltage properly which means I successfully connected to the device.Then I went to MAX and enabled the NIVISATulip.dll and restarted the MAX. Then I went back to agilent connection expert and checked the box: "use agilent 488 library where possible" for side-by-side communication between the NI and agilent visa. By the way agilent visa was installed as the secondary library.  Then when I went back to MAX, I start to see the voltmeter under miscellaneous VISA resources with the address  GPIB6::6::INSTR. But the problem started here. When I tried to send commands from MAX to voltmeter with the "open visa test panel" I encountered an error which exactly says:"unable to open session to GPIB6::6::INSTR, return status code:0xBFFF009E, status name:VI_ERROR_LIBRARY_NFOUND, a code library required by VISA couldn't be located or loaded." As I said before i enabled the libraries of agilent 488 from the options of the agilent connection expert. When I went back to connection expert and unchecked the box for using agilent 488 libraries nothing changed. Also when I went to NI-VISA interactive control I couldn't see my device under the tab of VISA I/O. 
    I tried to read some posts from this forum. People are using this usb/gpib converter successfully without any problems by performing the steps I have done. I have some questions about possible subtle points specific to my application.
    First question is according to the manual of the voltmeter(this is an old device by the way from 1988):"vector voltmeter is capable of remote operation via the HP-IB which is HP's implementation of IEEE standard 488.1  "So, what I understand from this sentence is my device is communicating remotely with IEEE standard 488.1 and not 488.2 Does it make any problem? What kind of modifications should I do to my setup for overcoming this if it creates any problems? As I said before I was communicating with device very properly from the agilent connection expert. In manual there is also a sentence like "HP-IB commands used in the vector voltmeter conform to the standards set by document IEEE 488.2 1987." 
    Second question is should I install newer versions of agilent io libraries suite or MAX or NI-VISA. I wrote the versions I am using before are they compatible? Where can I install newer versions? As I know the newest version of the agilent io libraries suite is 15.1 or 2. Is is compatible with 82357a?(maybe I should ask this question to agilent people)
    Third question I don't remember how I did it but agilent visa is indicated as secondary visa resource in agilent connection expert(I think I did it while installing agilent io libraries suite.) . How can I switch between NI and agilent visa as primary visa resource? Do you think think this will help?
    I terribly need measurements from this set up and really appreciate your help if possible.
    Sincerely
    Caglar Yavuz, University of Michigan,Ann Arbor,EECS department. 

    Caglar,
    The documents you mention ahould include the proper prcedure for using this hardware in LabVIEW. Here are my recommendations:
    The version of NI-VISA  you mentioned is not valid. The most recent version is 4.6.2. I would recommend ugrading if you do not have this version. After the upgrade,ensure that tulip is enabled as well as the other settings and see if this helps.
    When talking about the instrument, the biggest concern that usually is relevant with 488.1 is that it will not respond to *IDN?. In your case, it looks like it does, and should work as 488.2 is backwards compatible. It seems to me, the issue is still with the 82357A, and we have not yet reached the voltmeter.
    In order for NI-VISA to work with your device, NI-VISA must be the primary visa driver.
    Hope this helps, let us know how the upgrade turns out. If you continue to have issues, take some screenshots of the preferences in MAX and upload them on the forum.
    Regards,
    Peter Flores
    Applications Engineer

  • LCD, extented commands and Labview

    Hello,
    I am using a serial LCD (https://www.sparkfun.com/products/9395) associated with a TTL-USB converter (http://www.miniinthebox.com/fr/cp2102-usb-2-0-vers​-uart-ttl-convertisseur-6pin-serie-du-module_p3910​... and labview with VI n°1. Sending simple commands such as the one in VI n°1 works fine. My problem is that I don't know how to send the Extended commands on page 2 here https://www.sparkfun.com/datasheets/LCD/SerLCD_V2_​5.PDF.
    For instance as far as I understand  the data sheet I need to send 124 128 in order to turn off the brightness of the screen. If I type "124 128" in VI n°1 the LCD screen displays "124128".  I get the same result with VI n°2.
    Would anybody know what I could try next?
    Thansk a lot.
    User1979
    Solved!
    Go to Solution.
    Attachments:
    VI n°1.png ‏8 KB
    VI n°2.png ‏9 KB

    It looks like those values (124 and 128) are the decimal equivalent of the bytes to be transmitted 0x7C and 0x80. It is not possible to tell for sure from your images but most likely you are sending the ASCII text characters for "1" "2" "4" and "1" "2" "8". Since they show up on the display that is almost certainly what is happening.
    In your second VI pop upon the string constants and select Hex Display from the pop up menu. Then type in the hex values 7C and 80.
    Lynn

  • Need to convert to labview 11 from labview 12

    hello
    I need to convert the following Labview 12 VIs to Labview 11.
    thank you in advance
    Attachments:
    QAM Demodulation.vi ‏30 KB
    QAM Modulation.vi ‏30 KB
    rx QAM.vi ‏57 KB

    The conversion was done here: http://forums.ni.com/t5/Version-Conversion/need-to-convert-from-Labview-12-VI-to-Labview-11/m-p/3021...
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to get data from a USB-UIRT device using Labview?

    How to get data from a USB-UIRT device using Labview?
    I'm trying to get data from a USB-UIRT device, is it posible with Labview?
    I really appreciate your help, 
    thanks

    You may want to contact the developer of the device for the API and DLL.
    http://65.36.202.170/phpBB2/viewforum.php?f=3

  • External HDD just won't fly on USB... (and other random rants)

    Hi there Apple lovers and problem solvers!
    I have an external drive that can connect via firewire AND usb 2.0. The drive runs fine on the firewire but whenever I plug it into the USB I immediately get the alert message "USB Over Current Notice, A USB device is currently drawing too much power. The hub it is attached to will be deactivated".
    I am trying all sorts of things. I purchased an i-rocks USB hub that is self powered and still, no cigar.
    If I were using the storage device just for backup, I would be happy going via firewire, but since I am using this device for faster realtime audio recording and movie making, I would like to run via USB 2.0. My understanding is that USB 2.0 generates faster test results than the Firewire 1394 and I would like to know for myself and not be limited to the Firewire.
    I'm a bit dissapointed because I upgraded from my 17" powerbook to the 24" iMac as I was having USB issues thinking these same USB issues wouldn't haunt me in a desktop machine and yet here I am again, dealing with these same problems. Whats the problem? Why can a PC user plug in my drive into a USB and it fires up no problem? Why is my USB always inferior or lacking the guts to do the core stuff I need to do. I love apple, the interface is great... but I spend way too much time fiddling with the odd issue like USB circuits that can't handle the juice or commit to doing what they just can't achieve. Whats the solution here?
    I'm on Leopard and I upgraded over the top of Tiger (which ppl tell me was a no no). Is there going to be a fix that will correct the apparent problems that are caused by upgrading to leopard from tiger instead of a clean install? Ever since the upgrade my USB shorts out... for example, when the CPU is a bit intensive, like flying between expose, widgets and an animating finder window, its like the USB shorts out and my mouse will flick around the screen... it makes me want to downgrade back to tiger. What do I do?????? Is there an update to fix this coming anytime soon?
    Kind regards,
    Robert Norris, Apple convert and previous apple preacher who has converted an army of pc users to apple. Please help me stay a happy customer.

    Hi cosmicbdog
    Humm..(just checking) I hope you don't have it connect FireWire AND USB at the same time? Have you tried a different USB cord perhaps that one has a short, or some other device is also drawing on the bus.
    Have a look at "USB compared with FireWire" in the following article:
    http://en.wikipedia.org/wiki/Usb#USBcompared_withFireWire
    Also have a look at this "USB Device Troubleshooting" article:
    http://docs.info.apple.com/article.html?artnum=58033
    I installed 10.5 over 10.4.11 with no issues what so ever, only lost a couple of small unsupported third party App's.
    Have you run Disk Utility / Repair Disk Permissions sense upgrading? note: 10.5.. repair disk permissions hangs on less than a min. for a short time so be patient and let it finish.
    http://kb.wisc.edu/helpdesk/page.php?id=3810
    Dennis

  • Media converter and stuff

    Can anybody help?
    I can link my 6680 no problem to my pc all ok connection is
    fine.
    But when ever i try to update too phone with pics or sound it dont work for example,every image i have tryed in every format i get the same error message.
    >>>nokia image converter failed to udate image to phone<<<
    I get this every time no matter how i set the pic what pic i use and no matter what format...
    its driving me nuts,,i can build a pc but aint got a clue when it comes to a new mobile..
    Please help and advise if possible..
    Thanks

    I don't know what's going on with your PC and phone, but it sure doesn't sound normal.
    It is a lengthy route, but I would at least still try the following:
    1: Uninstall PC Suite (using "Add/Remove Programs" in "Control Panel", or by running the installation package again, and choosing the "Remove" option).
    2: Uninstall Nokia Connectivity Cable drivers (they're also in "Add/Remove Programs").
    3: Reboot the PC.
    4: Download and run the PC Suite Cleaner from
    http://nds2.nokia.com/files/support/global/phones
    /software/Nokia_PC_Suite_Cleaner_31.exe
    (use it to remove any and all traces of PC Suite it might find).
    5: If you run Windows XP, make sure you're up to Service Pack 2 (SP2).
    6: If you use Bluetooth, uninstall the Bluetooth adapter vendor's Bluetooth drivers and let Windows Plug & Play find the device and configure the Microsoft Bluetooth drivers supplied with SP2. (E.g., some versions of IVT BlueSoleil Bluetooth drivers needs, apparently, to have some audio feature disabled or it won't work, and some Widcomm driver versions do not seem to work at all, or are very tricky to get going.)
    7: Install whatever is the latest version of PC Suite (6.6.18 currently). Get it from http://www.nokia.com/pcsuite (the CD with your phone might not contain the latest).
    8: When the PC Suite connection wizard starts, cancel it, or wait with it until you've done the next step.
    9: Connect the phone using the DKU-2 (or CA-53) USB cable. Wait until Plug & Play has discovered the phone and installed everything it needs (Windows should report "Your new hardware is ready for use" when it is done).
    There are some other steps that could be taken, too, but hopefully these are enough. If not, I can describe those as well.
    And, for what its worth, PC Suite 6.6 works fine (all features) on my PC with WinXP SP2 using either Bluetooth or USB cable connectivity (and with a few different phones).Message Edited by vandelay on 20-Nov-2005
    09:28 PM

  • Convert from LabVIEW 2011 to LabVIEW 9.0

    Please convert from LabVIEW 2011 to LabVIEW 9.0
    Attachments:
    Watlow Vis.zip ‏76 KB

    Looks like somebody forgot to attach the zip file.  Here you go.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Watflow.zip ‏57 KB

  • Writing USB-Serial Converter Device Driver for Windows CE 6.0

    Dear Developers,
          I have a Silicon Labs chip Cp2108. Its a Quad USB to Serial converter. It supports all the operating systems except Win CE. So I have the source code of the driver for Linux 2.6 / Linux 3.0. I have experience in Device drivers development
    in Linux.
      Question is How will I start coding driver for Windows CE 6.0. Can anyone point me to a best starting point on this topic. All I need to do is make this chip work with WIN CE 6.0. Can anyone point me to a Sample driver source code It will be great.
     Regards,
         Winston

    Dear Vinoth, 
            Thanks for the valuable reply. 
      I am confused a bit here. I need to make the external USB -UART bridge (CP2108) work on win CE 7.
       the driver in Path \WINCE600\PUBLIC\COMMON\OAK\DRIVERS\USB\CLASS\USBSER is using the built in USB controller
    hardware and making it as a Serial port right ? 
       How do you go about making the external USB -UART bridge work as a COM port ? 
     I have a document from SIlicon Labs which gives info about Device descriptors and interface commands . 
      Regards,
        Winston 

  • VCR2Mac USB VHS Converter ?

    I'm interested in purchasing a USB VHS Converter for a PowerBook 17" G4 Mac, both hardware and software. I was disappointed that Ion's EZ VHS Converter software is NOT Mac compatible!!!
    In short, I'm asking what USB VHS Converter PowerBook 17" G4 Mac users would recommend, and is there a VHS Converter that actually works on a PPC Mac?
    Looking forward to hearing from the Mac community in all convenient speed, I am,
    Yours sincerely,
    Joseph.
    [email protected]

    I use a Canopus box to convert from analog to digital, and have used it for VHS conversion. Their current entry level box is at http://desktop.thomsongrassvalley.com/products/ADVC55/index.php . You can see their larger product line at http://desktop.thomsongrassvalley.com/products/videoconversion.php . Their connection to the Powerbook is via firewire, not USB, however. You can use the Apple software, starting with iMovie and moving up to Final Cut Express if you need more function. I'm not sure if the current Final Cut Studio is still installable on a G4 Powerbook. Avid/Pinnacle makes video software that's mac-compatible and has a conversion box also, however, I haven't used any of their products extensively. I did try a free software promo several years ago, and found I preferred the Apple software.
    Make sure you have lots of hard drive space available before you start, either on your internal hard drive or on an externally-attached hard drive. When you render your production, tilt up the back of the Powerbook a bit, to get more air under it, as the bottom will get hot.

Maybe you are looking for