imitate running a script to run Labview tera - serial communication

Hi I have an anemometer which I am trying to communicate with via the serial interface. I am connected via a USB converter to 485. The manufacturer of the anemometer provided two scripts of term tera to communicate with the device. When I run scripts in tera term anemometer reacts as expected. When I imitate (or so I think I'm) orders in Labview, I get no response.  Please see the attached document for more information.

I'm not familiar with the language of terms of Tera, but what I found on the internet I guess that there is more information (CR & CRLF variable defined by the code2str function), which is in fact the echo back on display "00TR 00012 '.

Any ideas?

Thank you

-Scott

It is probably sending a return trolley/line.  (or just one or the other).

I suggest using a program like Portmon using Teraterm to see what is actually sent and received.

Tags: NI Software

Similar Questions

  • Can't get bytes of CPU to read in LabVIEW * FTDI * Serial Communication *.

    I have trouble to get LabVIEW to display the bytes I send from a microcontroller with a FTDI chip.

    Specifications of communication are:

    baud-19200

    -8-bit word length

    -1 stop bit

    -no parity

    -no flow control

    I modified the demo of the chain of read-write of the here just reading the chip. I see that a few bytes have been read in the indicator "bytes read" but nothing appears in the buffer. Any ideas? I may have something hooked up wrong or something wrong in communication specifications


  • Low configuration computer cannot run Labview real-time

    Hi all

    I'm a little confused when I run Labview in another computer. The application written by my laptop already worked well. Then I package it and installed on another computer.

    The application can run in this computer as well, but the waveformchart (to display the data) could not keep time real (about 5-6 seconds of delay).

    I tried to install the second computer, and he could run well as it did in my laptop

    So, I don't know where the problem was. I guess the computer configuration affect the speed of acquisition? (Because the first computer I installed was version and has a configuration below)
    (I used Arduino to get the data through processes with labview and analog pins)

    Please see and tell me what exactly is my problem?

    A few tips:

    -All operations that don't rely on the acquired data, their outside the while loop (for example some of the functions of filter design) because you probably don't have to do it once at the beginning

    -The LIFA Toolbox is no longer supported and has been replaced for a long time by the LINX Toolbox - you can consider using the Toolbox current taken in charge

    -Your loop at the top of the diagram does nothing - you take an array of 1000 points and index the elements in an array of 1000 points - so does not change the table - just straight through wire.

    -You may want to consider using an architecture of producer/consumer - write data to files is slow and can be slow down your loop (especially on an old hard drive!), if you put the data to another loop, you can write to file without slowing down your data acquisition.

  • There is a possibility to run Labview projects or to set them off from a batch file or if the exist and the ability to control labview or run it from an external application?

    Hi, I m a bit new in LabVIEW and I'd like to ask a few questions...

    -There is a possibility to run Labview projects or to set them off from a batch file or if the exist and the ability to control labview or run it from an external application?

    -One API PI or raspberry beaglebone exists for LabVIEW?

    -Power supply Wich can recommend you control with LabVIEW? (some chip solution witn 0 - 30v / 0 - 3A DC)

    Thank you very much for your advice!

    Best regards

    Elena

    Elena,

    I know raspberry, so no comment on that.

    For the rest:

    -Do you want to create tools for developers? If so, we must look in the API of project VI and VI server. If this isn't the case, please compile your application LV as executable and call this one using a batch file.

    -LV prefer specific supplies. LV is a programming language. There are several power supply providers (including OR) which provide directly the LV API for their power supplies. So, essentially, the approach is:

    1. choose food that serves your needs.

    2. check if the power supply has a standard interface for programming (such as Ethernet, GPIB, or if the power supply is PXI, is already providing a programming interface!)

    3. check if the LV API (so-called "instrument driver") is available for the device. In the case of a PXI system, get you a device driver (for example NI DCPower).

    4. check if the LV samples are available (for example in the Finder for example LV once you have installed the driver).

    Norbert

  • executable files may only work running labview

    Dear all,

    I simply create an executable file that calls several functions of a DLL (also written in LabVIEW), the LabVIEW DLL will call a DLL acquisition card written in c ++ to capture images from my camera. Everything worked fine until I have copy my entire program to a pc with the only run LabVIEW and installed vision. While the program no longer works. The LabVIEW DLL I call keep will return null string that it's not supposed to be. The DLL is supposed to return 0 for any mistake or any number which is the error code.

    Help, please... Thank you very much!!

    Hi GerdW,

    Thanks for the reply.

    I just thought of it.

    It was because I only installed runtime of vision but has not installed the device IMAQ driver.

    My program works fine after installing the device IMAW driver.

  • Run LabVIEW executable in Windows 7

    Can I run an executable of Labview created with Labview 8.6(32-bit) in windows 7 or Vista. If this can be done then how? I tried to copy the lvrt.dll (runtime engine) in the system 32 folder, but it is not solved my problem. FYI, my Labview exe file also include the fuzzy logic toolkit.

    Hope someone will help me. Thank you.

    Lojius.

    Refer to http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/ps/30/sn/catnav: of, n12:, n13:r. /c0 >, motor run LabVIEW 8.6 only supports Vista.

    If you are using WIndows 7, you use LabVIEW 2009.

  • How do I run Labview applications into a tablet with android os

    How to run the Labview application in the tablet with android operating system?

    Can we use Labview mobile module or use the google game for labVIEW data dashboard? How to install in the PC?

    If you had looked at the dashboard of data and some other links on Android, you will see that you can not run a LabVIEW on Android application. Nor can use you a serial port. With data dashboard, you have a pc that runs LabVIEW and publishes to shared network variables. The Android data dashboard allows you to see these variables.

  • Run LabVIEW vi - steps stage construction simple comparison

    I watched both 'Building run LabVIEW VI steps of a model' and 'Create Plug - Ins to with LabView SignalExpress', but they don't tell me what to do about errors in the process.

    I am trying to create a step of the user of the Less.VI.  Because it's a 'polymorphic vi', I find that I need to 'create a forum '.  There is no explanation of this expression is found, so I created a new white VI and inserted Less.vi.  Another State of instructions as the inputs and outputs must be connected to the terminals of the VI.  However, this VI has no object of front panel and I can't find any instructions on how to connect a terminal to the block diagram display.

    When I go through the procedure in "creating SignalExpress Plug-Ins with LabView", I always get a Bachelor's degree in LAW with a VI that will not open, when I try to insert using a LabVIEW 8.6 VI step adds - run a LabVIEW VI - run (since I created the source distribution in LabVIEW 8.6).

    I checked that I removed exclusion for user.vi and instr.vi in the Instructions to build.

    This 'easy' with LabVIEW SignalExpress interchangeability is what I most need.  The document "Creating."... "isn't really a tutorial because it does not pass by one example.

    Someone please help which created and transferred a user step in LabView - one with no object of façade?

    Hi wildcatherder,

    The Less.vi is not a normal VI, but is rather a function.  However, you can create a VI of this.  To create a connection in the pane of a VI connector and you must go to the front where you have your desired entry and commands and output indicators ("for the Less.vi, you can create these simply by double-clicking on the terminals of the function on the block diagram and selecting Create" "indicator or Create ' control).  In the upper right corner of the front panel, there will be the VI icon.  If you right-click this, you can select display connector.  This should display the connector pane.  When you click on a terminal in the connector pane, your cursor should turn on a coil of wire.  By clicking on a command or the indicator after that, you connect an object to front panel to the terminal you selected.  You can find more information on this here.  Go to the section called "Building the connector pane."

  • status of the computer to run LabVIEW 8.6 remote façade

    Hello

    Is there any specific computer to run LabVIEW 8.6 remote panel?

    It's same as LabVIEW 8.6 run?

    Or I just need Internet access? how fast the Internet is to ensure the quality of the programming? Any fine version of web brouser? where could I find info relavent?

    Thank you!

    Cynitha

    The client computer would need the engine to run LabVIEW. The conditions for this are detailed in the LabVIEW 8.6 Release Notes. With regard to the 'speed' internet should be - that depends entirely on the amount of information that is sent. This KB article details some of the browser requirements.

  • Spend the MATLAB data types 'cell' between MATLAB script nodes in LabView?

    Hi all

    I need to pass a variable of data type of cell of a MATLAB script node in LabView to another, but the cell is not listed as a data type 'exit' in the script node.

    Is it possible to do without converting them into a 2D array?  Each column of my cell has a different number of lines...

    Thank you!

    Mike

    Too bad...

    Rather than use a typical LabView, I just say

    assignin ('basic', ' varname', varvalue ");

    in the first script and varname called from the second node to get my cell.

    Easy... duh leaving here if anyone has the same issue in the future.

  • VISA select events dumps memory LabVIEW on serial port

    I recently tried to use the VISA Event functions for serial communication and had a nasty surprise.

    For some reason, it seems to drop a few hundred bytes of memory of LabVIEW in the COM port!

    I do something terribly wrong or is it nasty bug lurking in LabVIEW here?

    You'll need 2 COM ports, a null-modem cable and the attached vi in order to test this. (Null-modem: as long as the pins 2 & 3 are exchanged and PIN 5 connects via it will do.)

    1. connect a COM (A) port to another COM port via a RS232 NULL-MODEM cable.
    2. run the "Port B.vi" (the port COM B value).
    3. run 'Port A.i"(position A COM port)

    4. click on send a bunch of time at random on "Port A.i".

    Result: If it worked correctly you should only get a single WAITING response from Port B.vi for each request sent.
    If the bug appears, you get a few hundred bytes of memory of LabVIEW dumped on the COM port by Port B.vi.

    It does not always seem to do, you may need to stop and start "Port B.vi ' a couple of times and quickly click the button send on"Port A.i"when they run together."

    It happens on 2011SP1 and 2009SP1 of LabVIEW.

    Bug seems fixed in NI-VISA 5.4 that comes with LabVIEW 2013. (Does not test in-depth yet, just using the screws included in the original post).

  • LabVIEW block in serial communication!

    Hello.

    I use pl2303HXA (usb to UART converter) in my design data and sending of microphone for pc in LabVIEW 2013 x 86.

    When I tried in a terminal CODEVISION, everything is OK and each microphone send to a PC, Hypertermial or Terminal CODEVISION is received correctly.

    but when I run LabVIEW, it works for a few seconds and Communication all of a sudden abrupt and LabVIEW crash. You can see in picture I capture from my Telechareger below. Why LabVIEW hang?

    the image is the front of my VI.

    every time it blocks, I have to restart LabVIEW and test again. in the meanwhile I have to said hang occur randomly.

    Thank you.


  • Loading and running scripts consecutive in LabVIEW

    Hello

    I would like to start by saying that I am very new to LabVIEW so I apologize for questions that should seem obvious. In addition, when you answer please don't forget I am unfamiliar as I want to be with LabVIEW in general. I recently had a problem on my desktop to add features to a VI preexiting, quite complex. The solution seems to be in scripts. However, a script more 55 loading lines gives an error (is this normal? Is there a way around it?). The problem is fairly easy to break into small pieces, so that the script has been divided into several smaller parts which offer the same functions when run consecutively. After each script execution, the system will take time to process (up to 300 ms, IIRC) and assert a bit ready when you are finished. Using this ready signal as a trigger, I want to run the following script.

    Scripts are read correctly in the program using "niHSDIO Script.vi of Scripture" and can be selected by hardcode the name of the 'script' in 'Configure Script niHSDIO to Generate.vi'. It will run all the scripts successfully of when hardcoded, but trying to call the following script (script names stored in a table and incremented with a while loop) an error is given:

    Error - 1074118651 occurred at niHSDIO Write
    Script.vi
    
    Possible reason(s):
    Driver Status: (Hex 0xBFFA4005) You cannot perform this
    action while the session is in the running state.
    

    At this point, I read quite a bit online and in the documentation to trying to find a way to suspend, interrupt, etc. the State to allow another script load, but I have not been able to understand.

    On the other hand, if there is a way to load a script of arbitrary length, I think that can solve my problem as well. Please let me know what additional information may be required to help solve this, I am sure that I left out all the good bits.

    Thank you in advance,

    Landon

    Edited for clarity.

    Oops... Here is the link to the white paper:

    http://www.NI.com/white-paper/7283/en/

    See you soon,.

  • running labview 8.2 matlab mfile

    Hello

    I work in a project essentially using labview 8.2 and I wrote a program in matlab R2008(m file) and I want to run this file in my labview program; I also load the program into the mathscript window, but it did not because the m file contains many functions; I was wondering if you can help me please in this way.

    can't wait to receive from you

    worked well with me... attached image shows your script, copied and pasted into a knot of mathlab formula and the running program asking the xls file.

    get you there? If you did, send us the xls so that we can go to test more

    Don't you have the crux of formula script Matlab? should be in mathematics > scripts and formulas nodes > Matlab script node.

    (if you don't have it please tell me)

  • Can I use my license to run LabVIEW to work on a PC and at home on an iMac?

    I would like to be able to work on my LabVIEW projects at home to avoid a long drive, which seems to be allowed by the license (single user license). However, my work computer is a Dell PC and my home one as imac and I said I need another license for the iMac, which is very expensive. The license does not say computers must be of the same type, and I am fulfillng the license terms that I can't run both versions at the same time. If someone else has had this problem and if so, how is it resolved.

    TIA for any help.

    (I hope this is the right forum for this question, but I can't find one for a single-user license)

    Hi LongTom,

    LabVIEW for Windows and LabVIEW for Mac are not only different licenses, the software is actually different. The architecture of operating systems is different enough so that the copy of Windows in LabVIEW and the copy of Mac have different software in them.

    But do not despair, there is a way around this. You can install a virtual Windows on your Mac Machine. This creates an environment on your Mac, which is actually a Windows environment. Once you have done this, you can install the software on your Virtual Machine and it use it.

    The license allows that LabVIEW named users to install on 3 computers at work and another at home, then you are in the terms of the license.

    Vsenior

Maybe you are looking for