Thread: USB - Virtual RS232 port

  1. #1
    Registered User
    Join Date
    Feb 2017
    Posts
    2

    USB - Virtual RS232 port

    Hello everyone,

    I am currently working on my Master's thesis and I need help on a very specific issue that, although being related to the work I'm developing, my counselor can't help and I haven't found anyone that could.

    I'm using a programmable DC power source that is connected to the computer via USB. LabVIEW drivers for Windows already exist, but the computer I was given to work on is a Mac that runs Yosemite. And I'm completely clueless on how to build a LabVIEW driver.

    Here is the situation. Although the power source connects via USB, the communication is made through a virtual RS232 port.

    I tried using PyUSB and pySerial in an initial approach but the best I managed to do was creating a USB/Serial device, without being able to correctly communicate.

    The help I'm asking is, can I do it with C? Are there specific .h I can use?

    Can someone please help me with this? Or redirect me to a guide?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help to hook Rs232 port
    By am22091980 in forum Windows Programming
    Replies: 0
    Last Post: 09-03-2013, 04:18 PM
  2. Need help to hook Rs232 port
    By am22091980 in forum C Programming
    Replies: 0
    Last Post: 09-03-2013, 04:18 PM
  3. RS232 serial port interfacing on Mac OS X
    By Mini in forum C Programming
    Replies: 4
    Last Post: 11-23-2011, 12:52 PM
  4. Communication using RS232 port
    By edesign in forum C Programming
    Replies: 27
    Last Post: 03-26-2008, 03:06 AM
  5. Programming the RS232 port in C++
    By nkxt82 in forum C++ Programming
    Replies: 7
    Last Post: 11-01-2006, 12:10 AM

Tags for this Thread