Read the USB Serial entry

I'm reading the entries of a parser to communicate with the computer via a USB port.  I tried to use the RS232 DASYlab input module, but he always says he's waiting for a signal.  I have attached the Protocol for the parser.  Can what settings I change to display these values?

Basically, if your device is equipped with a USB adapter and the adapter is not simulating a RS-232 port, you have only two choices:

(1) the manufacturer will provide you with a driver DASYLab in the same way that it could provide one of a LabView

(2) the manufacturer as a programming library with, at least, a C or Python library.  In this case, you can write your own driver in Python using the script module in 13 DASYLab

If the unit has a RS232 Simulator, then you need to look in your manual and use the correct symbol.

Tags: NI Products

Similar Questions

  • Satellite A200-1NF needs time to read the USB flash drive

    Hello

    I have a Toshiba Satellite A200-1NF, model No.: ETA 6-055021FR works with Windows 7.

    My problem is that my USB is plenty of time to read the USB keys.

    Could you please help me to solve this problem.

    Thank you.

    Sorry, but for me the question is not clear enough... Satellite A200 recognizes the connected USB MemoryStick?
    If he recognizes the USB device connected, then everything seems to be OK.

    By the way: you said that the laptop needs a lot of time reading the USB...
    How long does it take and have you checked if the number is displayed using different USB ports and different flash memory sticks?

    If this is not the case, what to do

  • Timeout of read with USB-serial adapter

    Hello world

    Sorry to post this kind of question again, but I spent 2 days to navigate on this forum, the forum of The Mathworks, and several web pages, I still cannot find the thing that will solve my problem

    I'm trying to control an Agilent 34970 A (with 40 channels 34908 A module) to read values of temperature thermocouples. I use a laptop (win7/64) and an adapter USB-to-serial (MCT U232-P9, who uses the Philips P87C52X2BA, not the FTDI chipset in case it makes a difference) and I installed the driver for this card. The adapter is recognized by Windows and appears as COM4.

    I put the COM port settings in Windows as they are on the unit (9600 baud, parity: none, 8 data bits, flow control: Xon/Xoff; the stop bits are not specified on the device).

    And... TADAAA... it does not work!

    I tried to use NI MAX (version 5.5), LabView (2013/32-bit version) and MatLab (R2012b) to send the * IDN? command and read the response. The part 'writing' is fine (at least it does not generate an error, but I don't know if the command reaches the instrument), but there is no response from the unit. If I try to read the COM port, I get the 1073807339 error (time-out before the operation ended). I tried to see if there any bytes that will be read at the port, but there is no...

    In LabView, I put the Xon and Xoff characters to those specified in the manual of Agilent (0x11 for Xon and Xoff 0x13), but there are a few other settings that I am not so sure: "Activate termination Char" (should be on or off? Tried both - no change) and the tank itself ending (I left it to the default '\n').

    I know this isn't really a problem NOR / Labview, but given that so many people in this community seem to have experienced this problem, I would be very grateful if someone can help solve me this problem!

    Thanks in advance

    Mathieu

    Yes.

  • Satellite A200 - issue USB ports - failed to read the USB

    I have a Satellite A200 series - and when I insert a dongle in the USB Ports - nothing is read or seen when I go via explores.
    In this case for an external mouse or my USB storage - yet it will recognize my Ipod when I need to recharge the battery.

    All of the suggestions, I'll be very grateful.

    See you soon

    Li Li

    Hello

    First of all, it would be interesting to know if you are using the OS preinstalled Toshiba.
    Second, you must check the status of the USB controller in Device Manager.

    I recommend you to unplug all external USB devices to the laptop.
    Delete all the USB root hubs and Device Manager USB host controllers.
    Then restart the laptop and wait until Windows will reinstall all USB ports again.
    Then you can plug in a USB mouse or USB again.

    Check it out

  • How a detector of fuel level on the USB/serial port to indicate the level of the interface?

    Hello!
    Im working on a project that contains a fuel level (capacitive sensor) sensor. My task is to connect the sensor to a PC and indicate the level of fuel on a chart. The instrument works with 1-wire communication, but Ive built a USB converter for it. So I want to plug it into the USB port on the computer and use Labview to access the fuel level. Its important, I need indicate level constantly, because the probe will build in a bus to see his level of fuel. I've never used instrument in LV control, that is why now wrote im.

    Please can someone help me build a VI to do this?

    Thank you very much
    Regarding.

    G. masseteau


  • Windows 7 is no longer reads the USB storage devices

    I have a problem similar to some other posts, but different enough so that I write it here.

    When I insert a USB storage device (like a Microcenter * Go Flash) Windows 7 Ultimate just shows a yellow exclamation mark next to the device in Device Manager. OtherDevices, USB Flash drive. Software update driver fails, no update.  Uninstalling and reinstalling has no effect.

    Under properties:

    Type of device: USB FLash Drive

    Maufacturer: unknown

    Location: Port_ #0003.Hub_ #0008

    Pilot wrote:

    Privder: unknown

    DAT: Not available

    Version: Not available

    digital GIS: dig signed ot

    Under Details:

    Hardware ID: USB\VID_1307 & PID_0163 & REV_0100

    USB\VID_1307 & PID_0163

    There is no ping, no popup. Nothing. All this used to work very well, and now, when I need to copy files to work urgrnetly, he's dead.

    Just rub a little salt, I CAN access the device through Linux in VMWare Workstation. But when vmware is not current execution, or when I disconnect and try to attach to host, nothing happens.

    I tried each storage device USB I can find and no luck on any of them.

    Thank you

    TMB

    After digging through the forums, I tried to copy the usbstor.inf and .pnf to the Windows\inf directory and reinstalled the driver through the Device Manager, and it loaded right up.

    I don't know, but I suspect that the impact of this change, there are other devices that can complain. For now, the process of transfer between W7 and VMWARE/linux seems flawless.

    TMB - back

  • Read the entry to the XML page format and analyze

    Hello
    I use JDeveloper 11.1.1.6

    I have to get feedback from the page that will be in valid xml format.
    This entry is converted to a string and is used inside a bean for validation.
    How can I read the XML page entry and analyze?

    Thank you.

    The buttonListener from my first post shows how to access the data on the page (you have to change the attribute name).
    You can get it in string as

    String data = (String)attr.getInputValue();
    

    Now you have the XML as a string.
    Does that answer your question?

    Timo

  • read the first character of each line

    Hello!

    I have a problem with the reading of a text file in LabView which I think is pretty easy to do, but since I'm really new to labview (and programming at all) I'm having a hard time to understand.

    So basically, I use the VI 'write file to measure' to write some test results to a text file. I'm just the ones and zeros so the text file looks something like this:

    1.00000

    0.00000

    1.00000

    ..

    and so on.

    I would then import these values in labview but I don't want decimals and I would like that everything on the same line, something like this:

    1 0 1 0 etc etc.

    (the idea is to then be able to convert the values to a hexadecimal number 1-F, if for example the above entry would result in 6.)

    I tried to use the function of text file reading, but I don't know how to convert then the entrance of my desired format.

    Also if you have any idea on how to start playback at the first 1, and then read the next 4 entries contact that would be great as well.

    Any help is really appreciated!


  • Audio output using the USB connector problem

    I use a USB connector to connect with Audio output. It's because my headphones Jack does not work.

    It worked without problems so far.

    My problem is that there is no output from my laptop to this USB device. The music plays and can be heard on the laptop. Connections (USB device & son) of the laptop work.

    I'm ising Vista home versio

    Any ideas?

    Try this:

    With the USB speaker connected, right click on the speaker icon on the tray (right), left click on 'sounds '. On the tab 'Read' the USB speaker should be listed, click to select it, and then click the button "set as default". Click the OK button to exit.

    Alternatively, you can go to control panel, Sound.

  • "Please insert the disk" drama, but he had to get the USB files

    Hello
    I tried to do some homework and generally save them on my USB disk of 4 GB, up to our days, the car worked well (even when the phone fell off my bed and the USB it folded kind of last night). I went to school and used without any problems at all until a class when I logged on a computer and it told me that the message "insert a disk in the drive removable (E)", I had not thought much of it because the pc to school can be quite slow at times. Went home and have encountered the same problem, had not actually saved a good copy on my laptop so there is mistake no. 1. So I googled the problem found some solutions and none have worked so far, I can understand that it works perhaps not properly because it folds (but could be fixed / back into place, the damage wasn't bad at all).
    Is there anyway that I can my laptop to read the USB so I can extract the files it contains, if I can actually do my homework?
    I'd appreciate any help at all because this assignment due tomorrow and even if it is a heavy task to write again I really want to solve the problem,
    Thank you.

    Your USB may have been permanently damaged.

    Try this program to extract the assignment thereof:

    http://www.SnapFiles.com/get/Recuva.html

    Recuva is a file undeletion tool that allows you to analyze your hard drives or media cards for files that have been deleted or formatted. It presents you a list of files that have been found, as well as an assessment of their potential for recovery, a preview option, and a hex viewer to inspect the content. You can limit your search to files of a certain type (e.g. images, audio etc.) and choose between a quick and a thorough analysis approach. The program also includes a secure deletion option that allows you to permanently delete files that were found while parsing, to avoid any future recoveries.

    See you soon.

    Mick Murphy - Microsoft partner

  • During playback from the USB-6008 on the OID entry, he reads the top floating. How to configure to read low when it is anything but 5V

    I have a USB-6008, I read an entry on the OID.

    I want this 1 report when the line has a present 5v and 0 for something else.

    When I don't have anything on the lines.  It reads 1

    How configure it to read 0 when nothing is connected?

    Also how I re this in c#

    Thank you

    Hello ashitakaLax,

    The USB-6008 housing has an internal pull-up resistance to 5V (according to page 22 of the User Guide and specifications) that pulls the line to 5V when nothing is connected.

    In order to change this, you can add an external resistance of menu drop down to make the output to the earth when it is disconnected, if your device should get power to fuel the high line.

    Kind regards

  • Read the serial number in LabVIEW of USB-8476 LIN Module

    Is it possible to read the serial number of a USB-8476 module in LabVIEW. I am building a system that will use 10 of these modules in a single system and I want to be able to verify this LINX = serial No.: ABC. I'm afraid that a 'user' will disconnect and the plug-in a USB module causing the FLAX number to change.

    Hi graveux,

    The ncGetHardwareInfo.vi with the attribute set to "Serial number" should do the trick (use the desired USB interface and port number 1 as inputs).

    -B2k

  • Serial port buffer - how to read the last entry?

    Hello

    I'm trying to read data from a device connected to the serial port. The instrument makes a row of data, last updated CR LF at pre-set intervals (0.2 seconds, 0.5 sec., etc.). I want to read the most recent line to an interval of time different (for example 1 s). What happens is that the buffer fills, and when I read that I always get the whole buffer content, starting with the first (oldest) row of data.  After reading, I empty the buffer to prevent overflow.

    From the red string I, I serach occurrence of CRLF and take the data before the game. This will give me the first line of data (oldest), sometimes incomplete.

    What I want is the last line. There must be an easy way to achieve this?

    I can't use the Frother with my instrument.

    Any help appreciated

    Sylvester

    To give an idea, put something like this you diagram:

  • My SD card reader and USB 3.0 Hub have left both answer but see the place in the information system. How can I make them work again?

    On my Macbook Pro 13 inch Core I5 2 .6GHz, I just noticed that my SD card reader and USB ports have stopped working. They hub and drive appear in the information of the reporting system. I tried to reset PRAM and SMC but no luck so far and my Time Machine backup is on a SSD in a USB 3.0 hard drive enclosure. Any ideas how to reset the hub and the reader? I'm including all system information in case it is useful

    System information:

    Model name: MacBook Pro

    Model identifier: MacBookPro11, 1

    Processor name: Intel Core i5

    Processor speed: 2.6 GHz

    Number of processors: 1

    Total number of cores: 2

    (By heart) L2 Cache: 256 KB

    L3 Cache: 3 MB

    Memory: 8 GB

    Boot ROM Version: MBP111.0138.B17

    : 2.16f68 SCM Version (system)

    USB:

    USB 3.0 Bus:

    Host Controller Driver: AppleUSBXHCILPT

    PCI Device ID:0x9c31

    PCI revision ID:0 x 0004

    The seller ID:0 x 8086 PCI

    Mass storage device:

    Product ID:0 x 1000

    Provider ID:0 8564 x

    Version: 11 h 00

    Serial number: 45H3PTDPV3XSLHKB

    Speed: up to 5 GB/s

    Manufacturer: JetFlash

    Location ID:0 x 14500000 / 9

    Available current (mA): 1800

    Current (mA): 76

    Additional operating current (mA): 0

    Apple keyboard / Trackpad:

    Product ID:0 x 0259

    ID:0x05ac of the seller (Apple Inc.)

    Version: 2.24

    Speed: up to 12 Mb/s

    Manufacturer: Apple Inc..

    Location ID:0 x 14400000 / 2

    Available current (mA): 1000

    Current (mA): 40

    Additional operating current (mA): 0

    Built-In: Yes

    BRCM20702 Hub:

    Product ID:0 x 4500

    Name of the vendor ID:0x0a5c (Broadcom Corp.)

    Version: 1.00

    Speed: up to 12 Mb/s

    Manufacturer: Apple Inc..

    Location ID:0 x 14300000 / 3

    Available current (mA): 1000

    Current (mA): 94

    Additional operating current (mA): 0

    Built-In: Yes

    Host controller USB Bluetooth:

    Product ID:0 x 8289

    ID:0x05ac of the seller (Apple Inc.)

    Version: 1.18

    Speed: up to 12 Mb/s

    Manufacturer: Apple Inc..

    Location ID:0 x 14330000 / 6

    Available current (mA): 1000

    Current (mA): 0

    Additional operating current (mA): 0

    Built-In: Yes

    Software:

    Presentation of the system software:

    System Version: OS X 10.11.5 (15F34)

    Kernel version: Darwin 15.5.0

    Volume: Macintosh HD to startup

    Boot Mode: Normal

    MacBook Pro name: Stuart computer

    User name: Stuart Berwick

    Ensure the virtual memory: enabled

    Integrity of system protection: enabled

    Since the starting time: 6 minutes

    USB 3.0 Bus:

    Manufacturer: Apple Inc..

    Location ID: 0 x 14330000 / 6

    Available current (mA): 1000

    Current (mA): 0

    Additional operating current (mA): 0

    Integrated: Yes

    Model name: MacBook P

    A simple restart of the machine is reset.

    On the hub to try another cable and a different port if possible.

    The SD is constructed in the?  It can be a bit fussy, Reseat the card with a purpose, repeatedly if necessary so that it can recognize it.

  • Allow access to the USB Reader under account 'user '.

    Hello world

    Need help to allow access to the usb ports so that users can use a card reader to download stuff on a web application, we have.

    The great way would be able to push on HP device Manager (I v4.5) and Thin Clients are T610 running WES7

    Any help is appreciated.

    See you soon,.

    The local user account is configured to restrict access to the Z:\ only through NoDrives policy.  See http://technet.microsoft.com/en-us/library/cc938267.aspx for more details.

    To make life easier, there are calculators that you can use to determine what should be this entry of 32 bits, based on drive letters you want hidden.  An example is http://www.wisdombay.com/hidedrive/index.php.  The default value for Z:\ is only 0x01ffffff (33554431).

Maybe you are looking for

  • OfficeJet Pro 8600 Printhead question

    I bought the Officejet Pro 8600 Plus about a year, and recently the impression was very bad.  I have a lot of horizontal gaps in the photos (color and b & w) as well as in the text.  It is not as crisp as it was when I bought it first.  I use it to w

  • Qosmio G40 - 120 Integrated TOSHIBA hybrid Analog/PCI DVB - T TV Tuner HOW to

    Hi everyone and thank you in advance for your help.I have a qosmio as in the subject with this hybrid tuner. This seems to work well, but the fact that the only software recognized as dual tuner is windows media center in vista ultimate oem supplied.

  • KB951338

    I got in trouble for centuries with this update. I am running Vista Business SP1, MS Office 2007 SP1 and Viewer powerpoint 2007 SP1 on my machine. I tried the update and uninstall also the spectator PP I have seen elsewhere that it may be the problem

  • HP Scanjet G4050: Scanjet G4050 cannot find destination for scans

    I tried twice to install my new scanner, but when I try to start an application (scan or copy), I get the folloing error message: The program cannot find any available destinations to which the scans can be sent.  Try the following steps. Restart the

  • HP Color Laserjet 2550n will not print in color?

    My HP Color Laserjet 2550n will not print in color? I spent half a day Googling this issue and could not find any solution? When I press the go and cancel the 3 test pages print fine in color set button. But if I try to print anything from my laptop,