Sending ASCII commands through USB hub

I am having issues connecting to hardware. I have 3 types of hardware connected to a Serial to USB converter hub. 2 of the hardware take ASCII commands while the other does not. I am able to communicate with the hardware individually without the hub but when I connect the hardware to the hub and the hub to my computer, it does not work. I do not think MAX sees the hardware connected. Any ideas?
CLD Certified 2014

When you say "hub", are you talking about a product like the QUATECH USB to serial adapter (4 ports)?
If so, then each port has its own serial port assigned to it.  You should be able to communicate through it using a terminal emulator, such as HyperTerm, TerraTerm, ProCOMM, etc.  
You do have to install the driver for the box and you can also configure the starting COM port number.  For instance, Port A on my box is COM-3.
You can open multiple ports in parallel, as long as you select different COM port numbers.
MAX should see the serial ports.

Similar Messages

  • Send Ascii command Through RS232 Interface in labview

    Hello,
    I tried to use labview to control the CD2A Compudrive.
    Actually I found the driver of CD2A online in the following link
    http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=266
    but however, I still can't use this driver to send the command and adjust the parameter.
    p.s. Use only "CD2A Setup" or "CD2A Init" should be enough to set the parameter and command, right?
    The command code written in the CD2A Manual is, for example,
    <STX>ST600<ETX><LF>   which is Start of Message,Start Position 600 nm, End of Message, Line Feed
    I've tried to send this using MAX (Measurement & Automation Explorer), but the signal I got back is
    −1073807298
    = Could not perform operation because of I/O error.
    For the command in the driver above,
    The code is written in number form of ascii format  >> e.g. <STX> = ascii 02
    and The Code is written as
    \02ST600\03\r
    But sending this code>> nothing happens
    Which is quite confusing for me.
    1. Is it general to write \02  to send <STX> signal??
    2. actually <LF> = ascii 10  >> so why does it use    /r         instead?
    3. What should I do, is my format correct???  I can't even send one signal to operate it at all.
    Thank you very much for help

    A string control can set for 4 different types of display. When you right click on it, you can select Normal, '\' Codes, Hex, or Password. Normal is ASCII character and the unprintable characters such as <STX> cannot be entered. The <STX> is hex 02 so you enter this as \02. The '\' says to interpret the next byte as hex. A <LF> is not ASCII 10 at all. It is hex 0A. For readability, it was decided a long time ago that certain '\' characters could be represented a bit differently. If \n, that was hex 0A. A \r is hex 0D or the CR. You can find documentation on these stand C Escape Sequences. In LabVIEW, you can type \0A into your control and it will automatically convert or \n.
    Your other option is to use hex display. You just enter all of the hex equivalents though it makes entering the ST600 a bit more difficult in your case.
    I'm not sure if the data entry in MAX is set for '\' Code Display and whether it is interpretting your string correctly. I know that the Basic Serial Write and Read example in LabVIEW is set this way and you might want to try that.

  • Windows can't find harddisk (connected through usb-hub to airport extreme) although airport utility can

    windows can't find harddisk (connected through usb-hub to airport extreme) although airport utility can

    There are a number of posts related to copying issues between Windows Vista / 7 and AirPort Disks. Two potential solutions being forwarded are: 1) Changing the LAN Manager authentication level, and/or 2) Disabling the Windows Search feature.
     To change the LAN Manager authentication level:
    From the Windows Vista / 7 desktop, click Start
    Search for: security
    Click 'Local Security Policy'
    Goto Local Policies > Security Options
    Under Policy, double-click 'Network security: LAN Manager authentication level'
    Change level to: Send LM & NTLM responses
    Under Policy, double-click 'Network security: Minimum session security for NTLM SSP based (including RPC) clients'
    De-select 'Require 128-bit encryption'
    Click OK
     To disable Windows Search:
    Start > Control Panel > Programs > Programs & Features
    On the right-hand side, click "Turn Windows features on/off"
    Scroll down, and de-select "Windows Search".
    Press OK, close all windows and restart.
     A third "solution," that has worked for me, is verify that both the AirPort base station and the Win7 PC are using the exact same Workgroup Name. In my case, I use "WORKGROUP" (without the quote marks) for this name. From the AirPort Utility, you would enter this value on the Disks > File Sharing tab. On Win7, Start > Control Panel > System and Security > System > Change Settings > Change > Workgroup

  • Time capsule doesn't see printer through USB hub

    I can't seem to get the TC to see my USB printer if it connects through a hub.  I have an external drive plugged into the hub and I can plug it into any of the ports and the TC log file shows the disk plug in and unplug.  The disk works great.
    So far, the only way I've been able to print via the TC, is to connect the USB cable direct to the TC.  But there's no indication in the AirPort utility that the printer even exists.  Using System Preferences printer setup, I'm able to see the printer, add it and print a test page.  At no time did the AirPort utility indicate that the printer was indeed attached to the Time Capsule and functioning correctly.
    How do I get the AirPort to give me more log information?  I can't believe that I'm able to print via the TC, yet the printers pane is empty, and nothing in the system log.
    After doing this test, I again tried using the hub, and the printer is no longer visible on the Mac, but the disk on the hub is there.  I unplug the hub and plug the printer direct, and it's again visible on the Mac.  At no time does the TC indicate that the printer exists.
    I do Linux system admin all day and bought a mac because it runs Unix for command line, and is supposed to be a "no brainer" to manage - a big plus as I really don't want to bring my work home and just use the computer.  Sigh....
    Macbook is running 10.7.2
    Time Capsule is a new 2T unit
    Printer is Canon iP4300

    The thing that really bothers me is that when I connect the printer direct to the TC, the Mac sees it, but not the Time Capsule...  ***?!?
    Resetting the print system may...or may not....help here.
    See the last step in this Apple Support Document
    http://support.apple.com/kb/TS1253
    You are power cycling the entire network after you make a change in the USB connections, correct?
    A powered USB hub will run $15-20 or so. Highly recommended.

  • Print Report using ASCII command through printer selection available on windows

    Hi,
    I'm using Labview 2009 to create a report using Report Generation Toolkit.
    Creating a report is not the problem, the problem is I need to print the report manually by sending an ASCII Code.
    I noticed that there are few example on send ASCII code command, but neither of them are related to printing.
    The printer I use is Panasonic dot matrix printer KX-P1121E with USB port. (Fanfold type of paper)
    I used "NI_report_lvclass: Print report.vi" from Report Generation before this to print my report, everything is okay and not receiving any error.
    But I noticed that after finish printing, the paper will automatically feed out as if that VI (Print report.vi) is sending out "Form Feed" (FF) Command to the printer. 
    My application cannot use this method because I need to print a set of data in every minute. If the data only have 2 rows, then it will be a wasting a lot of paper if everytime finished printing paper feeding out. I want the printer to continue standby on the same paper after finished printing previous data. In other words, maybe just manually send "Line Feed or Carriage Return" to the printer.
    So I have a few things need to be clarified step by step;
    1. How can I send an ASCII Code to my printer? Do you have any example for this? link below is the character of ASCII Codes that can be use :http://webpages.charter.net/dperr/links/esc_p83.ht​m
    2. Can I send a report created by report generation to be printed using this ASCII command method?
    3. If my printer is setup by using windows (Meaning: Available on "Printer and Faxes" list), How can I configure the printer setup in sending the ASCII Code? 
    Really appreciated your reply
    Thanks!

    Hi Zwired1,
    Just to make sure I fully understand the situation - I am assuming since you say you are printing to two different printers that when you are using the Print Report.vi you are using the printer name string to specify which printer you would like to print on. And if the printer that you specify is not functioning it automatically prints on the other printer, is that correct?
    From looking at the code in the Print Report.vi, it looks like if you specify a printer name in the input string, if there is a problem with that printer or if that printer is unavailable, the VI should not print anything, so please let me know if that is not the behavior you are seeing.
    For your question about checking the health of printers, there is a VI in the report gen toolkit called Query Available Printers. You can find it if you open up the Print Report.vi and choose the Standard Report instance, the Query Available Printers.vi is on the block diagram of that VI. It will return the list of available printers and the default printer.
    I hope that helps,

  • Sending ASCII commands by tcp to wireless device

    Hi to all. I have some AVL (automatic vehicle location) devices. I work with them through GPRS by USB modem (Compass 885). I read data from them through UDP port and everything works fine. But I have to send a commands to the devices by TCP and I don't know how. All of examples are not helped. Ping test to IP of device is OK.  Hope to your help.

    You have the pointer to nmap.  But you could just try any search engine for more info.  That is now in your task to deal with the protocol for communication.  We can point you to how to use LV, how to find out certain information but you need to do the specific work for your task.  What port your AVL is on, is information specific to your problem.  It was a design choice by whoever wrote the software/firmware for the AVL device.
    nmap is a powerful tool and with great power comes great responsibility.  It is used by hackers and network administrators.  The full use of nmap is beyond this discussion group but you can use the link for more information.  This is not as good a solution as asking the designers for their communication protocol.  It is designed for communication and so it would be absurd not to publish it in a manual or keep it secret.

  • External Hard Drive will not mount through USB Hub.

    The Hard Drives are ok. If I plug them directly into my iMac (3 weeks old and update to 10.7.1) they mount fine. But they wont show up if I plug them into my USB Hub that is plugged into my iMac. I have had THREE USB Hubs and all of them have had problems. I have USB flash drive that sometimes shows up and a iPhone that will show up in iTunes when I mount it through the hub.
    Is there a program (in the system or share/freeware) that will force the Mac to scan and mount them?
    thanks - Otto.

    The issue is the EHD's are not getting enough power. Going forward never buy EHD's unless they have their own power supply. I would recommend either connecting directly to the iMac or replacing them with higher quality devices. The EHD's I like to recommend are:
    OWC Mercury Elite Pro series
    LaCie d2 Quadra series
    G-Tech G-DRIVE series
    All are similar in quality and features. Yes they're probably more money that what you paid however they're worth it. I use the LaCie's however I wouldn't hesitate to use the OWC or G-Tech's either.

  • Flash drive only mounts when connected through USB hub

    I have a PNY 32gb USB 2.0 flash drive, when trying to connect the drive directly to my Mid 2012 MBP (specs attached) the drive never mounts, doesn't list in diskutil as an unmounted drive either, however when I plug the drive into a Micro Innovations USB Hub (old ~ 2002) the drive mounts (albeit slowly).
    On my iMac (Mid 2010 I7) the drive works perfectly in the machine or through Apple USB Keyboard.
    Any help?

    Is that the only USB drive that doesn't work with your MBP ?
    Everything else works fine?

  • Connecting iPhone through USB hub

    I have a weird problem. When I connect the iPhone through a USB hub, nothing happens. It doesn't synchronize, it doesn't charge. When I connect the iPhone directly to the computer, with the same cable, it works as supposed.
    The weird thing is, I have been connecting the iPhone successfully through this (powered) hub for half a year. But suddenly it doesn't work. Everything else connected through the hub works fine.

    You're going to want a USB hub that comes with an AC adapter: the iPhone will draw as much power from the port as it reasonably can, and prefers up to 1 A (USB spec is 500 mA) at 12 V to charge as quick as possible. This tends to lead to undervolt situations on the bus when other devices suddenly draw more (a mouse wakes up, a HD spins up, et cetera).
    I use my iPhone 3G with a dock on a USB hub that's powered, and have had minimal issues. This isn't an endorsement, just FYI.

  • Suncing through USB hub "upgraded" after 3.1.2????

    Hi all!
    Before upgrading to 3.1.2, my phone would charge on my non-powered usb hub but would NOT sync. After 3.1.2 it also syncs!!!
    Is this a fluke, or did Apple fix something?
    Has anyone else noticed similar behavior?
    M.

    This is a discussions forum for users, Apple do not read all the posts.
    The choppy scrolling was happening prior to 3.1.3 and I have used Feedback to inform Apple about it. However, until others also use Feedback, Apple will think I'm the only one with the problem and perhaps think I'm just being fussy. So please, all three of you, use http://www.apple.com/feedback/ipodtouch.html to let them know.
    Phil
    Message was edited by: the fiend

  • Cdrom audio permissions in udev through USB hub

    Connection of the HDD via USB adapter through a USB 4-port hub , then to the computer USB connector does not permit hdparm to recognize the HDD.
    Connection of the USB adapter directly to the computer USB connector permits hdparm to recognize the drive
    Command hdparm -tT /dev/sdb produces correct output with the USB adapter connected to the computer USB connector.
    What command should be used ,if any, when the USB 4 port hub is included in the interface?
    The effects of the hub would then be determined.....

    My setup is a bit different.
    I have the hub connected to the comp USB.  The USB audio adapter is outputted from the hub.  In addition, a USB to IDE powered adapter is outputted.
    The USB adapter feeds IDE output to an IDE cable with 5 devices connected.  Each of the 5 devices has power connected to them via "Y" cables modified to permit 5Volt line to be switched to select the IDE device to be powered "on".
    I have 3 HDD and a cdr/w/dvdrom connected to the IDE cable.
    The selection in the computer is established by fstab, using the same device:
    /dev/sdc1 /mnt/dvd-ext udf  ro,users,noauto,unhide 0  0
    /dev/scd1 /mnt/dvd-ext iso9660 rw,users,noauto,unhide 0  0
    /dev/scd1 /mnt/cdrom-ext iso9660 rw,users,noauto,unhide 0  0
    /dev/scd1 /mnt/cdrom-ext iso9660 ro,users,noauto,unhide 0  0
    /dev/sdb1 /mnt/sdb1 ntfs defaults 0  0
    /dev/sdb1 /mnt/sdb1 vfat defaults 0  0
    /dev/sdb1 /mnt/sdb3 ext3 defaults 0  0
    I have been able to burn a CD via K3b with this arrangement.
    This setup allows only one device to run or none(with adapter power off).
    I was having trouble with ID's which has been better organized now.
    The USB adapter shares bandwidth with the USB audio.
    The 12Volt line is connected to all devices on the IDE 5 device cable, and the 5v is selected by a switch.
    In operation, turn off adapter power, select device, turn adapter power on. 
    Computer recognizes the device...with the roms, insertion of a disc starts the computer recognition.
    I apologize for my stumbling over this interface which was new since the new 2.6.15 upgrade.
    I also have selectable HDD's in primary IDE with selection made before boot by single pin connector interface.  No bios call needed.
    Thus, only one HDD running inside the case, less heat and power dissipation.  I expect I could install four or five on an 80 strand IDE cable, enabling booting on alternate OS'es without using dual booting ,( which if one makes a mistake loses  all partitions).   I do make mistakes!
    Hope you can appreciate my arrangement which attempts to reduce power needs and lower case temps.  Not an automated selection process but a power saving setup.
    Have to find a case for the devices, now!
    Many thanks for your responses

  • Send/recive SMS through usb cabel and nokia pc suite

    Hi All,
    I'm new here and I hope to get support,
    I connect my mobile nokia 3110c to the pc using usb and nokia pc suite everything is fine and work,
    Now, My goal is to send sms using java file called after insert trigger on oracle DB
    How can I do this? What I should using socket or....? What I should read? or using any other sms server program or any example.
    Thanks in Advance,
    Manssi
    Edited by: JavaIQ on Oct 2, 2007 10:10 AM

    {color:#000080}Nokia PC suite is not required, but the modem driver for your device must be available on your PC.
    Download smslib from
    {color}{color:#0000ff}http://code.google.com/p/smslib/{color}{color:#000080}
    Check out the code samples in src/java/examples/modem in the zip file.
    Note that sending SMS through a mobile device will restrict you to about 7-8 messages per minute (typical).
    Darryl{color}

  • Sending linux command through labview

    Hi,
    I am using Labview Professional Development system and I have to create a VI that opens a command prompt window to session into a linux based device.
    I have used System Exec to open the window and got to "root-bash#" prompt.
    Question:
    - How do I send command to the linux prompt ? Do I need to buy the labview linux package for Pipe VIs ?

    How about a TCP connection?
    Ctrl-Space (open quick drop) and TCP give me the TCP vis ....
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • IMac 2012 OS's not loading while USB-Hub pugged in. Why?

    So i have a problem. I have a new iMac 21,5. I plugged in my iMac through my Smart-UPS and It has an USB control. SO i turn to iMac USB-Hub with 3 USB and card reader in it and to this USB-Hub i have connect USB cable going from Smart-UPS.
    When i turning on my iMac its stop loading and i see white screen which goes before screen with Apple logo. As soon as i remove USB cable USB-Hub from iMac its going loading good and then i connect USB-Hub again and it works well. Why it can happen?

    ok just did it.
    So right now all USB prots on iMac are busy.
    - USB Wacom Wirless connection kit
    - USB-Hub with cardreader
    - UPS directly to iMac
    - Wacom tablet.
    Turn on iMac and system starting and loading quick
    SO looks like trouble was that i had connect UPS through the USB-Hub? Why it could be? Just early when i have this connection of UPS through USB-Hub i notfied that in task bar(or how it called on iMac where clock, menu at the top) there are icon with power pluged to UPS showinig percentage of battery loaded. And sometime its appear and then disappear and jumping here and there. Now when it connected directly i see this icons always appeared.
    So it looks like it lost connection sometime and this USB-Hub only for turning usb flash, some low power stuff and memry sticks only?

  • Send serial command in VBAI based off of calculation

    I am attempting to send serial commands through VBAI based off of a previous calculation step. For instance, my application will determine an objects mass center and then determine if it is to the left or right of my origin. From here, I would like to be able to send a serial command based on the left/right result. The command will be sent to an arduino which will controll a servo left or right based on the command it recieves. I think I have everything but linking to serial command to the calculation result figured out here. Any feedback or help with this would be greatly appreciated.

    In the Serial step, when you are sending a command (i.e. you press the "Send Command" button), you can press the "Insert Result" button to have the serial command you send out conatin a result from a previous step. There are even formatting options so you can have numeric previous measurements formatting into the string as you want. If you need to send results from other states, you can use variables to pass data between states since the Serial step doesn't currently support accessing results from other states.
    Hope this helps,
    Brad

Maybe you are looking for

  • PowerMac G5 Freezing

    Hey everyone. I've been having some trouble with a Mac in my possession and was hoping for some insight. Apparently from the first few weeks of use this computer has experienced random lock-ups when running basic programs (Safari, Terminal, iTunes, e

  • TROUBLE with Mac OS X Tiger install on G4 iMac 1.25 GHz

    Trying to install retail copy of Mac OS X Tiger 10.4 onto an iMac G4 1.25 GHz running OS X 10.3.9. The DVD shows up on the desktop when inserted, but after clicking install and waiting for the reboot, the system just loads OS X 10.3.9 and NOT the 10.

  • Howto bapi calls

    Hello, I am working on a scenario in which a client (abap proxy) sends a message to the integration server, which dispatches the messages to an rfc-adapter, an bapi call. Therefore I have read the tutorial, which can be found on this site, but unfort

  • I'm having trouble with FaceTime

    im having trouble calling and recieving people's facetime calls. im trying to fix it from the website but its not really helping that much

  • XMII 12.1

    Dear all, 1. When the xMII 12.1 version available? 2. What are the prerequisites we need to use for the xMII 12.1? Thanks John R