Serial RS232 directly to a USB DAQ?

Hello

I have a question about serial communication: is it possible to directly connect a device through RS232 serial to digital pins of an acquisition of data USB-6211? (Or perhaps even a USB-6008?)

If so, where should I wire the pins to?

If this isn't the case, could you recommend me a not too expensive, but functional RS232 to USB adapter that could work well? (I plan to interface a capnometer Datex or an infusion of Fresenius pilot C pump first, but if I could find a relatively cheap multi-port adapter I'd both. BTW, can I include more NI-VISA requests in parallel in LabVIEW?)

Thank you

No, you cannot use a DAQ hardware to simulate a serial port.

I do not have a specific recommendation for a seller, but I've had much better luck with adapters built with a chip from ftdi than others. Google "usb to serial adapter".

You can have multiple threads of communication with several cards.

Tags: NI Hardware

Similar Questions

  • USB DAQ error after update to 15.1 DAQ

    Everything worked well (DAQ 9.5) on my windows XP SP3 machine, so I thought that it's a good idea to install the last DQA 15.1, NOW my USB DAQ has a Red Cross in NI MAX and does not

    I tried to reinstall OR DAQ 15.1, restarted the PC, plug the NIDAQ inside and out, but the error remains.

    Any ideas how to solve this problem?

    Thanks for the info. I tried the above and uninstall and reinstall everything, but in the end, the only thing that solved the problem was to install a new copy of the operating system, windows XP in this case.

  • Get the serial number of the GPIB-USB-HS

    How can I get the serial number of the GPIB-USB-HS device programmatically?

    I worked on it. Attached simple solution.

    It is possible using the driver of VISA?

  • USB6363 DAQmx (reading and writing) calendar seems slower than other similar USB DAQ devices

    Hey people,

    I have currently a service waiting number with OR the subject, but I thought I'd post up incase anyone has ever dealt with a similar question pertaining to USB DAQ hardware.

    Try to understand why there is a difference of synchronization between the 6363 USB and some of the other less expensive USB devices like the 6525 or 6501.

    It's a watered the actual code that my team has noticed this difference in the simplified version.  The actual code is a reading analog daqmx (it's triggered hw, so we begin the task of analog playback, trigger, wait the time we acquire to and then run reading daqmx. who takes 6 ms to read a single 50 values of the buffer).

    Thank you

    -Pat

    Hi Pat,

    Try benchmarking of HAVE it read that way (with the wait timed by the software, it seems to me that the task is probably not yet made to the time you want to read - I guess that the question is relative between the event of the task performed and all the data is available in the DAQmx buffer, I don't have a series of X USB to see) :

    Try benchmarking your writing clocked by the software in this way (there no reason to include the check/reserve/validation/start sequence in your writing of reference when the task can easily be launched during initialization of your program):

    On my PCIe X Series as the two cases take< 1="">

    Best regards

  • With LabVIEW how to control an instrument with a RS232 output, using a USB RS232 converter cable.

    With LabVIEW how to control an instrument with a RS232 output, using a USB RS232 converter cable, since I do not have rs232 ports. I have two instruments I want for the control in this way. One is a guarantee of strength Imada SPAS with RS232 output. The other is a micrometer Panasonic HL-G103-S-J laser sensor which is RS422. I have done significant programming LabVIEW using GPIB, but I have no experience with devices such as these. No matter what tutorial or examples would be greatly appreciated.

    Thank you.

    When you plug the USB-RS-232 converter, it installs a driver under Windows which makes it look like any other RS-232 port.  You may need to install the driver of everything that came on the CD with the converter.  It will get a Com as Com5 port number according to what is the next available number.

  • Writing USB DAQ: Reading the data, analyze, analyzed data - does not

    I have Labview 2011 32 bits (without tools), on Windows 7.

    Material: Enclosure OR USB - 6251 DAQ board.  I use analog analog out.

    I'm trying to collect data (reading), analyze (like part or derivative) to a new waveform (or a data table)., then convert them this new waveform. As in this example:

    http://zone.NI.com/reference/en-XX/help/370466V-01/mxcncpts/hwtimedsimio/

    However, I don't have hardware timing.

    I tried a lot of things. Those who work temporarily, until the start to write task threw an error: http://i.imgur.com/as5ItdO.png

    Another who work temporarily, but it has a 7 second delay: http://i.imgur.com/VLbyZbo.png

    Ends up having this error: Warning 200015 occurred

    When writing to the buffer during a regeneration, the actual data generated may have alternated between the old and new data. In other words, while the pilot was replacing the old model of the buffer with the new model, the device could have generated some new data, while a part of the old data and then a part of the new data again.

    Reduce the sampling frequency, use a larger buffer or refer to the documentation on DAQmx write me for more information on other ways to avoid this warning.

    Can someone tell me what I'm missing?  It seems very simple.

    Thank you.

    Thank you for an update. Sorry I missed you use hardware USB DAQ and this is the reason why we see this error

    http://digital.NI.com/public.nsf/allkb/EC1968728E660B288625780700570D06?OpenDocument

    In general, when you receive errors like that they give you a pretty good idea on what is going on. Therefore, you can try to remove your task AO timming daqmx or try to set the size of the buffer.

    This might help

    http://digital.NI.com/public.nsf/allkb/E1E67695E76BA75B86256DB1004E9B07

  • Iso file of windows xp can directly be installed USB on a formatted hard drive?

    Iso file of windows xp can directly be installed USB on a formatted hard drive?

    Not directly.

    There is a SMALL chance that if your hardware supports it (unfortunately never say you anything on your PC or BIOS), you can boot from a USB stick or an optical drive and install Windows XP like this.
    But it is unlikely.
    In addition, tell us what you mean by 'windows xp iso file. This is very vague, and we do not know what you are talking about.
    Finally, if you want to ask questions here, really read the answers and recognize them in some way. Here is a link to your other thread:
  • virtual serial port (offered by a USB device) may not be reopened once the device has been lost and reconnected

    To connect to a virtual serial port offered by a USB device.
    -Physically disconnect the device (disappears from the entry in Device Manager)
    -Reconnect the device. (It reappears in the Manager of input devices)
    -Close the file handle
    -Reopen the virtual serial port. --> the CreateFile() call always fails with "ERROR_FILE_NOT_FOUND".
    -After dis - / reconnect the USB device once, the serial port can be reopened

    Even the true return of GetDefaultCommConfig there yet in CreateFile().

    It is clearly bad habits, because in our case the disconnection/reconnection occurs due to a restart of the device; and it's quite embarrassing to explain buyer for the disconnect/reconnect the device.

    Is there another workaround solution to clean the window's internal data structures or show me how to open the port?

    Hello

    The question you posted would be better suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums.

    http://social.msdn.Microsoft.com/forums/en/categories/

  • I use Windows 7 on a computer to which a printer is connected directly by a USB cable. I am able to print, but cannot find the printer when I run control/devices and printers Control Panel

    I use Windows 7 on a computer to which a printer is connected directly by a USB cable.  I am able to print, but cannot find the printer when I run control/devices and printers Control Panel. In fact, no devices appear at all.

    Can someone help me with this?

    Thank you.

    See http://www.winhelponline.com/blog/fix-devices-and-printers-completely-empty-windows-7/

    If this does not help, there is a very long thread here, which may include other suggestions--> http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/devices-and-printers-dialog-box-empty/353707a4-bcb0-4334-98bc-aab84747fecd?page=1

  • Serial RS232 adapter USB-issue

    The question that I have is Windows "forget" that he uses the device.  I will transmit data, and all goes well when the transfer suddenly stops and the program I use wrote that the device settings are wrong.  But the device still shows to work correctly in Device Manager.  I try another program and it does the same thing not programs.  And the question is the blindly.  He'll run right for hours and showing a defect. or he'll do all day every few minutes.  Don't know what to think.  These issues would be present with a PCMIA RS232?  I have a slot open in this laptop to try if you think he can.  I just need an option that I use this to DNC my CNC machining centers here at work.  So it should work right or get the scrap parts.   Any information is greatly appreciated.

    Thank you

    Bryan

    Brian those can be very problematic. Check with the support of the manufacturer if possible for all known
    questions. Back in the day, I used to pull my hair out trying to fix problems with those, dongles, and
    similar material.

    Check also with the support of any device you use the adapter - maybe there is
    updated drivers.

    Definitely check with support of system manufacturer (manufacturer of motherboard for customized systems),
    their documentation online and drivers and ask questions in the forums about known problems.
    Update the BIOS, chipset of low level driversand the major device on-board and separate
    drivers. These all can have an effect on your question.

    You are running an antivirus? If for those that cause problems with the adapters. If you need a
    Antivirus on the system I'd use MSE - free. Uninstall all 3rd party antivirus then
    run the removal of its creator tool to avoid problems causing remains.

    List of tools to clean/uninstall anti-malware programs
    http://answers.Microsoft.com/en-us/protect/wiki/MSE-protect_start/list-of-anti-malware-product-removal-tools/2bcb53f7-7ab4-4EF9-ab3a-6aebfa322f75

    Uninstallers (removal tools) for common antivirus software
    http://KB.eset.com/esetkb/index?page=content&ID=SOLN146

    MSE - free
    http://www.Microsoft.com/en-US/Download/details.aspx?ID=5201

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Question about USB DAQ 6363

    Hi all,

    I'm new with LabView, currently, we plan to purchase NI DAQ USB 6363 to use the entry to read the value of the resistor, capacitor and a diode and use digital i/o to check the functionality of the analog shift register. I want to check if it is possible that NI DAQ USB 6363 to acquire communication RS232 function because I want to drive barcode interface on it. I'll use LabView to log the reading result of database (SQL, Access) to do some data analyzation. IM also confused on test bench OR what is the relationship between she and NI LabView? is this another software to install except for LabView?

    Thank you

    No, you do not connect an RS-232 device to the DAQ card. The RS-232 is connected to the pc. If your pc lacks a built-in port you can use a USB-> RS232 converter.

    TestStand is a test of the direction which runs tests written in several languages, including LabVIEW. He plans the tests determine the success/failure, record results, create reports, etc.

  • swap USB DAQ

    We use DAQ USB-6289 devices on our production floor. Sometimes operators moving from station to station as needed. The problem is that the name of the device changes when they do IE (DEV1 in DEV2). I looked at programmatically find device name of DAQ hardware in the system , but it does not consider that you might have a USB-6289 as dev1 and Dev2 but only Dev2 currently installed.

    Has anyone encountered this problem before?

    If you connect the same device (serial #) into the same usb port, you will get the same name every time.  As soon as you modify the port or device, you will get a new name.

    If your device is still a USB-6289, you could do something like this so that the device name is not so bad.  If you have several USB-6289, installed on a machine, it will choose the first market.

  • Integrate USB DAQ 6008 program Labview

    I'm new to LabVIEW and am currently writing a vi to access the 6008. I'm using LabVIEW 2012. I installed the driver NOR-DAQmx 3.6, however, the sample code is code c - no vi. Also, I can't see examples of NOR-DAQmx in the finder of the example. I downloaded various examples, but each are missing Subvi which I believe should be installed with the driver. All advice is appreciated.

    Harry,

    1 DAQmx Base is only supported on Mac OS.  You can find petitions on the exchange of idea ask for better support.

    2 DAQmx and all its beautiful examples are not installed on the Mac.  This means that the measurement and Automation Explorer (MAX) is not installed on the Mac and things such as the DAQ Assistant exist (although it is not a great loss).

    3. when DAQmx Base is installed on Mac OS X with LV 2012 you should have the DAQmx Base screws accessible from the measures of e/s palette.

    4 installation DAQmx Base includes a bunch of examples in this direction: Applications: National Instruments: LabVIEW 2012: examples: daqmxbase: However, the example Finder doesn't seem to know they are there, then you will need to manually search.

    One good thing about DAQmx Base is that it is almost entirely written in LabVIEW, so you can see what he does.

    Once you get past the obstacles, the USB-6008 case works well with DAQmx Base and the Mac.

    Lynn

  • Ghost NI USB DAQ card readings

    Hello

    I have a question about the behavior of the NI USB-6218 data acquisition card.  Right now I use Labview to take several current readings of different channels to HAVE it.  I use resistors 250 ohms for each channel just as the instructions say to make the current readings.  I had an incident where he has been disconnected one end of a resistance at the entrance to the port.  I expected to see the reading go to zero, but instead, he began to piggback off the coast of reading one another channel give me a kind of 'reading ghost' because there was essentially no current crosses.  Playback of disconnected channel displayed the current reading of the canal connected even while values went upwards or downwards.  Can someone explain why the DAQ card would do that? and anyway to avoid this to happen?

    Thank you.

    A data acquisition uses a multiplexer to send a signal to the ADC.  Due to having only 1 ADC, you will get this effect if the ability has no way to bleed.  There is no way to avoid this if you disconnect the side DAQ, leaving the open input channel.

    You could try adding in some amplifiers specially designed for the shunts of currents.  I have used TSC103IPTwith success.  This amplifier gives you a single output is completed.  But I don't know what will happen with these if you disconnect one side of the resistance of the amplifier.

  • Continuous output signal using usb DAQ 6008 in matlab


    Hi Takou,

    You already post with the same subject. Is this the same thing, isn't?

    If so, refer to the following link:

    How to get out a sinus with usb 6008 on MATLAB

    http://forums.NI.com/T5/Multifunction-DAQ/how-to-output-a-sine-with-USB-6008-on-Matlab/m-p/1510508#M...

    Best regards

Maybe you are looking for

  • delete, record mx, mail, and gmail

    I'm helping a friend with a mac and I do not have a mac or have much knowledge on how to use one.  Problem of my friend is that she created her [email protected] address is linked to a [email protected] account, so that she could use google groups.  His gmai

  • Satellite P10-804 - power off without reason

    I have a problem where my laptop suddenly turns off without any reason at all. Most of the time it turns itself in the upper left corner of my laptop get really hot and it's too hot around the area where you insert the CD. Although, sometimes it can

  • an error occurred when checking for a software update

    My iphone6s when I check for the update, dosent work and say: an error occurred when checking for a software update.Please help me

  • Digital output on two fronts and internal clock edge

    Hola, I use a PCIe-6537 and LabView 8.6 unit. This unit has an internal clock up to 50 MHz. I am trying to output a digital square wave at the maximum rate of 50 MHz I put my 50 MHz clock frequency, build my table of 1 and 0, convert it and the digit

  • Acer Predator 17 SSD G9-792-75ZT error

    Hi everyone I recently bought an acer predator 17 in one of the local stores from the Philippines last October 5, 2016. Overall, the quality is excellent and it works what is said. I have some of my favorite and need games apps installed in the compu