Communication series-1073807339 error

Hey all,.

I know that this type of question has been asked several times before, but I have browsed the forums and have been unable to solve my problem after working hours. To be honest, I don't know what the problem is. The program was working fine yesterday and then randomly stopped working. I hope someone here can take a look at the code and give me an idea.

Thank you

LANL13

Since it seems that you need the CR like a terminator, I would use VISA Initialize Serial Port, set the correct end indicator and then get rid of all these bytes VISA to the Serial Port and delays. Just use an arbitrary high number for the number of bytes to read.

As he was working at any given time, I recommend also that you try to use the terminal as Hyperterminal, PuTTY, emulation program etc to also test communication. If this also fails, then there isn't a problem with LabVIEW.

Tags: NI Hardware

Similar Questions

  • Communication series with Mettler Toledo 205 XS

    Hey guys,.

    I'm in the process of establishing a communication series between my PC and a microphone Mettler Toledo (XS-205) balance. The Balance is connected via an RS 232 cable to the adapter USB TU-S9, then to the PC. I do not see the port in the MAX of NOR and via the test Panel, I put the configuration of the communication according to those of my balance:

    BD rate: 9600

    Bit\Parity: 8 / no

    Stop bits: 1

    Handshake: no

    EndofLine: LF

    CharSet: Ansi\Win (only within the balance)

    Continuous mode: OFF ("");

    now, the fact is that if I try to query the command * IDN? \n I get as a response

    1: write operation (* IDN? \n)

    Back County: 6 bytes

    2: read operation
    Back County: 17 bytes
    S\sS\s\s\s-0.0006\s\sg\n

    with an error in the data returned (Hex 0xBFFF006C). I also tried to use the script provided by the site OR Mettler-Toledo scales, but I get all the data and at the end of the routine, I get error VISA: (Hex 0xBFFF0015) timeout expired before the operation is complete.

    Everyone as an indication of what's going on? Thank you much for the help

    See you soon!

    Thank you guys for the quick responses.

    my mistake. Mettler Toledo balances does not accept the SCPI standard commands, but they have their own defined standardized command.

    Thanks anyway

  • Communication series

    Hello

    I'm using communications series VISA in my vi to communicate with the hardware. My laptop has two COM COM1 and COM2 ports. I'll be using VISA configure a serial port to set specific Com Port.

    COM port will be indicated by using the name of resource VISA. I should know the status of com before another operation takes place. IE say I chose com2 on behalf of the resource for the COM port configuration, but I connected the hardware serial cable on COM1. How can I know the difference? I tried the line of the error checking, but unfortunately his does give no error since the COM1 is present in the laptop.

    Thanking you,

    sushmith

    Hello

    The idea would be to write * IDN? (or you can select the order based on the expected answer your device connected to COM port) command individually, to the COM port

    This should return the identification of the unit (or a known response) of the device connected to the COM port when trying to read the data for the number of available bytes to the port.

    If the returned string is empty (or not the expected answer) then that would mean that no device is connected to the COM port.

  • Writing of multiple orders with communication series

    Hello

    I'm quite familiar with the basics of LabVIEW, but I'm new to communication series with VISA. I had no chance of finding a solution to my problem, but it is similar: http://forums.ni.com/t5/LabVIEW/VISA-read-write-to-serial-port-Unable-to-impelement-multiple/td-p/93....

    I am able to send a command and read the response with the device, but I can't send several commands to change the settings of the device. For example, I send 'F' to the device to read the current operating frequency and read the response (22). But if I send 'f' to the device to change the operating frequency, read the answer ('send frequency... (''), then send my desired frequency (120), I get no response.

    The default frequency at the opening of the port of the unit is 22. I would like to change the frequency to 120, then read the current operating frequency to ensure that it was indeed changed.

    I'm confused about the format of data to be sent in LabVIEW. In MatLab, it works fine if I send 'f' as a character (fwrite), followed by the desired integer frequency. However, in LabVIEW, it seems that the number I want to send is not read correctly. I have tried to cast the integer to a string and read that the slash code, hexadecimal, normal code, all I could think about.

    Help, please

    This give a try. Press the button "Prepare", followed by the 'Set Freq' button. You need to configure your serial port properly first well.

  • Management communication series through liaison camera card

    I have a card OR cameralink and want to handle the integration of a camera time using the controls of the camera series.  Is it possible to place orders of series using other software like MatLab (heresy I know)...

    My experience using MATLAB is absent, but if you can call the C API for IMAQ, then you should be able to do.  You can take a look at the help of the reference of the NOR-IMAQ function and specifically examine the functions of Communication series under features low level.

  • That engine run time is necessary for communication series build Setup

    That engine run time is necessary for communication series build Setup

    You need NI-VISA. If you are using a National Instruments serial port card or device, then you also need OR Serial. All software can be found in the Technical Support page.

    Obviously, you have also the runtime for the software development environment itself as well. For example, for LabVIEW, you need to the LabVIEW Run-Time.

  • communication series with VISA

    I'm trying to communcate with a power supply via a serial connection.  Communication works very well in Hyperterminal and putty, but I can't seem to run in labview.  It times out when trying to read the data.

    Hyperterminal parameters are the basis of everything and it works fine

    9600 baud

    8 data bits

    no parity

    1 stop bit

    no flow control

    Send "VOLT?" with CTRL + J for line break

    Returns under the voltage at the output of the UUT.

    I wonder if I send you the incorrect order in labview.  Any help would be great.  I have attached the VI, it's my first try at comms series so it's pretty baisc and I do not know I'm missing something

    You are not sending the line break.  You send only "Volt"?

    Make a right click on the string constant, visible display style and make \codes show.  Then enter \n at the end.  Now you send VOLT? with the line break.

    In addition, remove the shift regsiters on the son of reference and error.  (A single time-out error will keep your VI to run again until you stop and restart the VI)

    And put a close VISA outside the loop.

  • Reading loop DAQmx only reaches the speed of Communication series

    Hello everyone,

    This is my first post in this Forum. I have a program with 4 loops, 2 separate and 2 connected by a queue. The first loop (see attachment loop PID) runs at maximum speed, the second a (serial communication) works at maximum speed (very slow because of the speed of series).

    To find the error I deleted from the queue to get 4 separate loops. The loop with the calculations (calculate loop) now also runs at the maximum speed, but the analog read loop just past the loop of serial communication speed. On the inside of the Sub - VI is just the configuration for the DAQmx with internal sampling. I have no connection between the loop of serial communication and analog playback loop. Is it possible that the DAQmx is slowed down because of the serial communication? Serial communication also uses a windows DLL.

    I hope you can help me.

    Best regards

    Jannik

    Thank you for your quick response. I found the answer, I guess that: I deleted the Subvi and the use of the DAQmx in the loop directly, it has worked. I think that the Subvi took too long because of the additional options to run at 1 kHz.

  • HP Officejet 4630 series: printing error

    Hello

    My printer was fine until 'Windows10 update 1607' has been downloaded on my desk a few days ago. Now every time I try to print anything for my computer. Status reports "error-printing".  I ran the trouble shooter print a test page, I printed a report of diagnosis of HP print and Scan doctor. Everything seems fine, but it always brings a printing error. So now I'm re-printing a document, it now says "printing" on the device, but it feels very, very slow, 10 minutes and it's still printing the first page. What can I do to fix this?

    Your help in this matter is much appreciated!

    Welcome to the community @BeeAnn HP

    I saw your post on the slow printing problem and wanted to do some of my own suggestions.

    You can try the following:

    1 reset the printer, then restart the computer. Make sure that the printer is connected directly to a wall outlet.

    Turn on the printer.

    With the printer, unplug the power cord at the back of the unit.

    Unplug the power cord from the wall outlet.

    Wait at least 15 seconds.

    Plug the power cord into the wall outlet.

    Reconnect the power cord to the back of the unit.

    If the printer does not by itself, press the Power button to turn it on.

    2 run printing scanning and Dr.

    3 try to make copies to see if they are too slow. If they are, then it's showing us that there is a problem with the hardware with the printer.

    4. Uninstall and reinstall the printer driver and software.

    Let me know how make you out!

    Hit the "accept as Solution" if we reached a solution and the "thumbs up" to say thank you for my help.

  • Web interface and communication series

    I just started reading on the user Web interface. It seems useful, but I could not, how do I connect an application user Web interface with some series/USB instrument, for example. Is it possible to have VISAS screws normals and other toolkits within the user Web interface? Or maybe, it would be possible to develop a stand-alone application using LabVIEW (and all the screw and tool boxes that I am used to), and then import into the user Web interface?

    Thank you

    Marcelo

    That's basically correct - LabVIEW code cannot be imported and you can not directly interface with hardware - and is the only authorized communication with web services (LabVIEW or otherwise).

    So if you have any material you want with the Web Interface Builder interface, you will need to build a web service of LabVIEW that outlined some of the features and then consuming the Builder UI with the functionality of the Web Service to import.

  • Communication series with ANSI emulation

    I have a mass flow of gripper controller that uses a connection set to read/write.  I have the connection works in hyperterminal, but we are updating our computers and do not use more serial ports.  I have a cable USb232 and now trying to establish the connection through labview.  There are several required specific hyperterminal settings to get the device to communicate that I can't find in the settings of labview.  The device requires:

    1. 19200 bauds, 8 bits, no parity, no flow control (not a problem, can adjust these settings)

    2 terminal emulation must be set to ANSI

    3. under the ASCII Configuration

    Send line with line breaks ends is NOT enabled

    The echo typed local characters is turned on

    Add RSS to finish lines is running

    When I connect through the serial.vi base, I get a time-out error and do not have all the data of the device.  In hyperterminal, the news on the device are questioned by sending 'A' to the device.  Any help for this communication device would be appreciated.

    Thank you

    Problem solved, I just to activate the writing of the end and read with characters of endpoint and the hexadecimal value on D.

  • Series-1073807298 error

    Hello

    I have a serial rs232 interface configuration base to send and receive commands to a microcontroller.  Vi simply sends a command for formatting when the button is pressed and data are received port data will be read in variable entry stack sizes.

    When I run the VI, it works fine when I use a terminal window to send commands.  When I send data to the the following error occurs

    «Error 1073807298 occurred to read in data.vi receipt deubg VISA»

    Possible reasons:

    "VISA: (Hex 0xBFFF003E) failed to perform operation due to IO error.

    Is attached a simple VI that the problem occurs when on.  Any ideas of what I can do to fix the problem?

    Double check your flow rate baud rate, parity, data and stop bits settings to ensure they match the settings of your microcontroller.

    I would recommend that associate you your son of error between VISA functions.  At the moment you do certain things in parallel which could be a race about what is happening.  For example, configure the port series, THEN empty the buffer.  Write to the port VISA, and THEN read the data.

    Although it will not resolve your error, CMD1, CMD2, and byte to read must be set on I32, I32 and U32 (respectively) to avoid the stress points on the functions that they are wired to.

  • Serial communication - ignore parity error

    I have a question about how LabVIEW opens a serial port for communication. I communicate with a device that uses a protocol owner. It sets and clears the parity bit to indicate the nature of the response. For example, the orders are sent with the parity bit higher while responses are sent with the weak parity bit (unless the answer is at the end of the transmission, in which case the device sets the parity bit high to indicate).

    My problem is the way that LabVIEW opens the serial port for communication. Using Portmon, that I captured the control indicators, that it sends to Windows to configure serial communication:

    IOCTL_SERIAL_SET_LINE_CONTROL   Serial0 SUCCESS StopBits: 1 Parity: MARK WordLength: 8IOCTL_SERIAL_SET_CHAR  Serial0 SUCCESS EOF:0 ERR:0 BRK:0 EVT:0 XON:11 XOFF:13IOCTL_SERIAL_SET_HANDFLOW  Serial0 SUCCESS Shake:1 Replace:44 XonLimit:64 XoffLimit:64
    

    Note the values 'Shake' and 'replace '. In my view, they are originally bytes with parity errors is removed. A separate RS232 Comm Debug tool that I use with success looks like this:

    IOCTL_SERIAL_SET_LINE_CONTROL    Serial0 SUCCESS StopBits: 1 Parity: NONE WordLength: 8IOCTL_SERIAL_SET_CHAR  Serial0 SUCCESS EOF:0 ERR:0 BRK:0 EVT:0 XON:11 XOFF:13IOCTL_SERIAL_SET_HANDFLOW  Serial0 SUCCESS Shake:0 Replace:80000000 XonLimit:128 XoffLimit:128
    

    Notice the difference in values. By using this tool, Windows does not packages with parity errors - that's what I want. Is there any way to change how LabVIEW opens the serial communication port to achieve?

    I tried to change the parity, where the ILO is defined differently, but I think that I am running in a race condition; LabVIEW can not run the code and change the mode of fast enough parity before the next byte of data is sent by the device.

    Ravens fan: the parity bit, in the proprietary protocol, that I use, is not used for parity checking. Basically, the protocol uses a 9-bit serial communication. The parity bit must be paid or compensated according to what byte do (if it is a command, if it is the end of transmission, etc.).

    I found an old post on this page which seems to answer my question (my apologies for not completely research before posting... I learn the right use/search phrases that I find more information). I download the 3.4.1 version of VISA now.

  • LaserJet 4000 TN: The printer HP Laserjet 4000 Series PCL5: error state & quot; message & quot;

    I sent the following message to Microsoft after a ' update:

    I have a printer HP Laserjet 4000 Series PCL5 TN which worked beautifully "black only" for many years. A recent update (Windows 10:12 / 22/15) seemed to put the printer in the "printer error state", when you try to print a simple document. It has been my default printer for a long time. I followed the suggestions of printer "windows 10", that is, unplug and plug - check cable (not USB) connections, remove the printer from the list of print devices /, reinstall drivers HP for Windows 10 (following suggestions from HP on HP site) - nothing seems to work. It has a network cable connection, but it is directly connected to my computer, no other computers are connected. See screen capture below. I even did a "recovery" of before 12/22! Any suggestions? Thank you. GM

    I received instructions from Microsoft:

    You run the printer Troubleshooter and identify the cause?

    If this isn't the case, we will do that by visiting the link below and see if it helps.

    http://Windows.Microsoft.com/en-us/Windows-10/fix-printer-problems

    Check also the update (KB number) has recently been installed on your computer.

    You can also restore printer drivers and check.

    To restore the driver, you can follow the steps below:

    • Press Windows + R on the desktop screen.
    • Type devmgmt.msc and press ENTER.
    • Expand the printer drivers and do a right-click on the driver and select Properties.
    • Go to the driver tab and click driver RollBack.

    Can I assume that you use a parallel cable to connect the printer to the computer.  If you do this is a known problem that can be solved.  Go to Device Manager and then click ports.  Double-click the lpt for the printer port, and then click on device settings at the top.  Change the default setting of the middle box checked in the box below to use any available interruption. I would also check the legacy down.  If necessary, turn the computer off and then turn it back on, but most of the time this solves the problem without a reboot.

  • Series parity errors, and clearing the error replacement character

    I have a situation where I have to change the parity on the last byte of an outgoing message.  E problem is that when I try to play, I get a parity error and the error replacement character appears in the output.  I have a few extra bytes and a few bytes lost due to masking.  This thread stated that visa 3.4.1 there is a configuration INI directive which would disable the error replacement character.  I installed 4.4.1 and were not able to make it work properly.  I'm curious to know if anyone knows if this setting without papers is always available and how to make it work.

    Thank you.

    Thanks to Tyler of OR helped me to determine the appropriate location to use.  The entry is valid, I just used the wrong visaconf.ini file.  The correct file is located in
    (\All Users\Application Data\National Instruments\NIvisa.)  Adding the following disable replacement of the error and give the data seen by the prot series:

    [ASRL-RSRC-ALIAS]
    DisableErrorReplacement = 1

Maybe you are looking for

  • restore deleted iMessage

    I deleted a conversation in iMessage (the Exchange was between two users of the iPhone).  I get messages on my iMac and my iPhone, but I (believe), I deleted the message then that on my Mac.  I have the Version OS X El Capitan 10.11.2 installed on my

  • Mode 'Shell' on a MBP in El Cap?

    Rather than keeping my MBP17 older but otherwise fully functional"opened the lid cracked on the desktop to enable its features as a Bumblebee by running the program great SpamSieve, I prefer to put it in a beautiful clamshell mode BookArc stand. Open

  • 1300 printer all-in-one: 1300 all-in-one is offline now

    I have been using a series 1300 printer all-in-one and had no problems until I changed the ink cartridges. Now the printer is offline and I could not get it online. There is no that print a test sheet any... I've updated the driver. Help!

  • Get message specified print monitor unknown when you try to install the Dell A920 printer. Any ideas?

    Try to reinstall the Dell A920 printer. He stopped working because I kept getting a message saying "soecified unknown print monitor. I removed it by using control panel/Add Remove Programs, now I can't reinstall it on the CD. I get the above message

  • Dynamically change background of richtextfield

    Is it possible to dynamically change the background color of a richtextfield type to emulate a listfield? Thank you!