RS232 Communication tracking

Please is there a way to control the traffic of communication RS232 via VI?

OT sounds like you want to 'see' what the series is then port that another program is using the port as a sniffer port?

If LabView won't do that as LabView and Ni-VISA must have access to the serial port.

If another program is using the port NI-VISA and LabView will be locked out.

If you start a porgram LabView NI-VISA first will lock port so no other program can access it.

I think you need a program like part of the Sysinternals Suite from MS Technet PortMon .

Tags: NI Software

Similar Questions

  • How interface bronkhorst RS232 communication flowmeter in DIAdem DAC?

    Hello

    I am Thiyagi.I am working in WABCO INDIA Ltd. I bought Bronkhorst Flowmeter. I use the tiara DAC Professional version. I want the meter to DIAdem.Flowmeter of the interface have a RS232 communication. In my pc, I have a COM1 port. DIAdem DAC which icon I want to use to connect the flow meter.

    Hello hmongz

    You can already succeeded, but still, here's what I used to do:

    I could do this with flowmeters mass Bronkhorst and Brooks, and had a pretty good success using their method of DDE (dynamic data exchange). To do this, download their software from FlowDDE of Bronkhorst.com, start the DDE driver and he can communicate with the MFM. Once it works, insert a DDE lockk in CAD DIAdem, configure it appropriately and it should work.

    Greetings

    Michael

  • Chroma DC power supply RS232 communication (read problem of over-voltage and current)

    Dear all.

    I chroma programmable DC power. Based on the programming of the Instrument manual I develop using RS232 communication. Based on the program I can set the voltage, current, over-current protection, protection against overvoltages and make IT / OFF out put supply perfectly.

    But I have to read the measured values of the output power as current and voltage. Measured applications are the voltage and current of the output of the power supply. My problem is two of them read at the same time. Currently, the reading is only voaltge or current (if the first request is v? it is voltage read out but no reading for the current) and if the first request is CURR? the reading for the current, but not for VOLT? The status message is OK, even if it is to read values.

    Thanks in advance

    What I see in your program, it's that you do not use the stop for reading character. For your writing, you do the hard with all these concantanate string functions. You can set the stop character for all entries with a node unique propert - "ASRL end Out.

  • Simple serial using RS232 communication

    Hello

    I did some research on how to read and write with the serial RS232 port. The only example I found was a test program that is really involved. All I do is pass 7 bits of information that are going through a digital communication kit then read the same 7 bits of information after the kit Comm. (bits, parity of 7 bit stop bits not included... ect).

    So I just need to

    -Desired TX 7 bits of information comm kit (in addition to the necessary stop bits)

    -Information cross kit comm (short delay)

    -PC receives the same bits of return.

    Any help would be appreciated!

    IM using CVI version 9

    The byte field should be the data you want to send the kit of comm.

    It's something you need to know.

    Status fields give you information on the question of if the function call completed successfully.

    Most of the time 0 means success and error average of negative values. But you should read the function for each function to be sure about this.

    When you receive an error code you can use the GetRS232ErrorString function to get a verbal description of the error.

    number of bytes written, as its name implies, represents the number of bytes transferred to the COM port. You wait for the value to be equal to the number of bytes to send to your application.

    Hope this helps,

  • Serial RS232 Communication VISA write does not

    I am trying to send a SPELL of 5003 01 command to my card that I am logged in via Rs232. This command should get my PCB to change play modes.

    I posted about this problem before thinking it was a problem with it not sent in HEXADECIMAL:

    http://forums.NI.com/T5/LabVIEW/RS232-serial-communications-visa-using-hex-values-seem-to-be/m-p/326...

    It wasn't the problem.

    I use the CTS line for flow control. I know that the CTS signal is reaching the computer of my PCB as I tested it and I know that the PCB can send data to the computer I get the answer correct 4 bytes in HEXADECIMAL when I use the reading visa to get my player to PCB data.

    I get a 1073807339 error when I try to write even when the read function is disabled.

    The only thing I can think is that LabView is not to recognize the signal CTS go down and, consequently, time-out.

    I use the good 9600 baud rate, 8 bits of data and no parity, 1 stop bit. I am using RTS/CTS flow control, but the RTS line is not connected. I don't think it should be a problem that RTS is used to indicate the Council when to send data to the PC to my knowledge and is not serious.

    FYI the written string section of the VI is unused. The string to write, that's where I'm seizes my "5003 01" command.

    Thank you

    Kyle

    I just thought of it. I had messed up the wiring of the PSTN line. She received the RTS line, I think. I thought I had it correct since the Tx line was correct. Thank you for your help on the problem of the HEXAGON.

  • RS232 Communication with Mastech MS2203

    Hello

    I am viewing a Mastech MS2203 data in LabVIEW using the RS232 serial port.

    I have the initial configuration (baud rate, parity, etc.) settings that I could get using PORTMON, but I'm still not sure what to do next.

    I couldn't find the Protocol series for this camera, but I have their software that does exactly what I'm trying to do.

    I have attached the software display and PORTMON data I had while I was running the program.

    Anyone have any ideas on what I could do next?

    Thank you!

    You will find your answer here: http://www.multimeterwarehouse.com/MS2203Protocol.pdf

  • Real-time using RS232 communication

    Hi all

    I want to read a serial port at all times. Transmission speed is 2400. All the 1 sec 5 data packets are sent by the transmitter (hardware). Data package consists of 4-byte ASCII character as-A, d1, d2, d3. . Where A is used for synchronization of the data set, because d1, d2, and d3 are random and should be isolated for furthur v.f.. Here I am attachng my VI.

    Problem:-instead of get 5 packs in 1 second I'm receiving only 2 packages in a second.

    Questions:-ground for above problem? Y at - it another way to do it in real time. ? improvements to the VI Suggetions.

    Please answer for above post your answers will be a great help for me. Please do not hesitate to ask any necessary clarification.

    Thank you!

    @smercurio: Thnak you for your response. You are correct that globle variables were used to transmit the data received from other loops. As you say I will use local variables instead of globle variable.

    In addition, I would like to indicate more clearly that I forgot to mention that each byte 4 data are transmitted in the interval of 200ms. This 200ms includes the time required to transmit also the 4 bytes.

    Earlier, my second loop has been integrated into the 1st loop itself. But since I was getting only 2 packages instead of 5 in one second, I removed this reflection to loop 1st form it might take time for the loop iteration. But stil problem is not solved.

    Do you not assign data received by globle variable is taken on time?

    Note * I have varified 5 packet rate / sec using Terminal Server.

  • Office communication target RT PC with host via RS232

    Hello

    I use the computer as target RT. I want to run a standalone program on target RT for her turns. The goal of the RT is connected to the FPGA through the ethernet port. So I want to communicate with the host PC via the serial interface RS232 to send/receive data as the ethernet communication is not possible. The target RT PC desktop is compatible with RS232 communication with host and simultaneously with the FPGA target? If so, is there a protocol for this communication?

    I use LabVIEW 2012 and RT moudule.

    Thanking in advance.

    Rashmi


  • RS 232 Communication initialization

    Hi all

    my name is Carl and I have a problem to connect with a mass flow controller. Before developing a more advanced program, I wanted to check the communication and how it works (I'm new to LabView, had no Matlab and Scala so far).

    As my simple VI does not work, I checked if a simple RS232 communication tool would work (Termite 3.2). It does so with the following parameters: (IMG_1868)

    Parameter Append CR was very important. Then I tried to adapt my VI settings. But somehow, I think I got the wrong setting Append CR. It's a tank of termination setting and 13 of decimal corresponding to return according to the different tables I found in the internet.

    My VI sends a text command and read the response of every second. The LED indicates if there is something to read.

    That communication works with the tool of termites, that there must be a problem with my VI and the parameters of VISA.

    Thanks a lot for your help!

    Carl

    Carlcarl wrote:

    Parameter Append CR was very important.

    You must use a property node (written end ASRL) to have the CR automatically added on the written word.

  • WHY? C program = No delays, Labview delays = > > Intermittent delays in the loop of RS232 serial subroutine 115200 baud. Windows 7 LV 2012

    In 30 years of developing LabVIEW I saw such a strange problem.    Maybe someone can help out me.

    Here's the problem:

    Ms 1 000 large delays occur intermittently in two instances of an executable of LabVIEW with exact system.  (SEE ATTACHED time STAMP of SCREEN CAPTURE FOR 11 and 14 COM COM where there was a > 1000 ms delay)

    • Subrotine RS232 communication loop were brought in the course of a program of 'C' that has held rock solid and did not have this same problem.
    • No record on the hard drive is in this subroutine, communication comes standard.
    • The executables are running on the same high performance server DELL 7910 communicating with satellites in Earth orbit, 24 x 7.   (RS232 115 200 Baud, Windows 7, 6 son of processor).
    • An executable uses COM 11 and the other uses COM 14.
    • The executable has the critical loop "subroutine" that injects data REVIEWS, if there is more than a 100ms delay.
    • The subroutine is not reentrant, because it is the only case used throughout the program.
    • I placed the time markers in the loop of the subroutine which tell me exactly where in the code the delay occurred.  In most but not all cases, that the delay occurs at the 'WAIT MS' or 'WAIT until the NEXT MS MULTIPLE', I tried them both, and they both have the same intermittent problem.
    • What gets me, is that the executables that are run independently of each other are logging the delay at EXACTLY the same moment.    This leads me to believe that it is a question of operating system.  Or a problem that the two executables have when competing for time to critical system resources.
    • This problem of intermittent delay occurs on other computers and on windows XP
    • The large delay occurs even when there is only one executable file running.
    • This problem is particularly bad , when the user resizes or drag the window to the executable.
    • If the system is left alone, the problem of > 1000 ms delay can happen only once or twice a day.
    • I have not yet attempted to set the priority or affinity processor running in the Task Manager
    • The executable runs as well some other non-critical time loops that perform SQL database entries, you connect the hard drive, then state machine management.

    Would like to hear from someone about it.

    Thank you

    Brad Whaley

    @ Boeing electrical engineer


  • How to keep the RS232 connection

    Hello everyone. I have a problem with the RS232 communication. To activate the connection, I need to send the string "RS232", then the keep alive I send every second CR, but in the meantime, I have to be able to send any other strings without delay on the same port (COM7). Can someone help me?

    Thank you

    RS232 standard does not impose itself to be kept alive in some way, so I guess that's your remote device that requires it.

    In any case, you could create a timer of 1 s and having his reminder send periodically the CR on the serial port.

    To avoid conflicts between this task and in the rest of the application, you can use a lock: basically, after you have created the lock, each function that wants to access the serial port must call CmtGetLock (), work on the port and call CmtReleaseLock () afterwards. If the lock belongs to another function, other functions when trying to get access are frozen waits for the lock, so you must be careful in the design of COM function so that they are quick. If you do not want to have a function be blocked waiting for the lock, you can use CmtTryToGetLock instead of CmtGetLock. You will find some information about locks in this tutorial as well as in this chapter program ' s reference.

  • Eurotherm rs232

    Hello

    I would like to acquire the eurotherm temperature 2704 with a rs232 communication using a visa vi.

    Under MAX I have error 0xBFFF0072.* * the resource is valid but the VISA cannot currently access *.

    If someone has already used the ' eurotherm 2704, I am asking help from son.

    Thank you


  • too long in the loops of whlile (timed)

    HY

    I am: routinely labview developer course made, advanced no performance (not even as it may seem, I need that).

    Programm: multi all structure of event loop with lines of command for each loop, more a single elemnt queue for each loop running as a variable. network communication trought the queues is possible! Many hardware addons as controller PXI Motion and IO digital communication, RS232 communication with several controllers different als separated loops. The software also works without connected hardware components.

    problem: lines of "continuous loop" rate should be less than 5 ms, but is about 15ms/iteration at the present time.

    hardware: computers 2core, WinXP32bit, LabVIEW9

    goal: improve rates of loop of the "continuous loop.

    What has been tryied and tested:

    OK, I tried many things, partially with success.

    -make Subvi returning some of them are used many times at the same time in each loop (see hierarchy VI)

    -increase in speed Subvi with code improvements, partially with success

    -Analyze with the profiling of the VI

    Question:

    When I was profiling the performance of my VI, I have identified that summarizing the duration of the Subvi "Continuous loop" does NOT match the current loop duration. they are about 20-30 ms, whereas they should be according to the number of tracks and the total corresponding to 3ms. in other words, it is factor of 6 to 10 slower than it should be in my point of view. I don't really have an idea of why this happens. the printscreen and its corresponding information is without another iteration loop (deque just waiting) running.

    I tried to get more details and made a few tests and comparative analysis with my continuous loop. He showed that this additional time (latency? so high?) is not actually produced by the continuous Subvi and also not part of the loop deque. It seems that almost all the time of the loop is displayed once the code for the loop is finished... and before the beginning of the loop, somehow...

    If you have any suggestions or information, why this is the case, or if you even have ideas for improvements or references, please let me know.

    attached is viewed from the corresponding part of the program. I don't want to the public the entire program for everyone. If you have any ideas or need the code for the specific tests, please send an e-mail directly to stefan.hartmann (at) psi.ch.

    best thanks in advance

    HY

    OK, I found the problem. the long time of iteration is produced mainly due to a queue which was to load and write the string array of 100 x 100 several times by iteration. This is the reason why time iteration actually has been measured so high and produced a further delay by iteration, next to the slot-VI-times.

    I solved this problem by maintaining the use of queues in 100 with chain 1 x 100, where I actually just need a queue by iteration and not the 100 x 100. This means at the time of iteration about 2 Ms!

    see you soon

  • Win 2000 on Tecra M1

    Does anyone know, if Windows 2000 is put on the laptop next would create a problem with device drivers - specifically for the serial port (RS232, communications). I wonder, as I work with old technology and require a TRUE - no USB converters series series connection. I was wondering if XP can be taken out of SERVICE with respect to the software of automatic analysis on comms ports. Someone kindly help.

    HTTP://UK.COMPUTERS.TOSHIBA-EUROPE.COM/CGI-BIN/TOSHIBACSG/PRODUCT_PAGE.JSP?SERVICE=UK&PRODUCT_ID=46011&DISC _ MODEL = 1

    CUJO.

    Hello

    I think that there should be no problem to install Windows 2000 on the M1, because Toshiba is provide drivers for this laptop for XP and also for the year 2000. You can find them on the download page for the driver.

    Good bye

  • Request reset Labwindows

    Hello..

    First of all... Sorry for my Communication skills week...

    I'm new to labWindows/CVI and develop an application to monitor the environmental conditions of a test room using Rs232 communication.

    My problem is... I want to reset all default application / departure (including controls and allvariables) of the single button.

    I have 6 panels and approximately 90 variables.

    is it possible?

    I don't want to use the button leave as it leaves the entire application...

    DefaultCtrl only give orders... I want to reset any application... including the variables...

    Thanks to you all

    There is no function integrated to do - you need to implement yourself. So if a user presses the reset button of your program, you will have to set / reset all the settings to the default values.

    You may want to consider a more general approach, that is, at the start of the program, read a configuration file and exit the program, save all the settings in the configuration file - the user will be happy the next time it starts the software to find its previous settings.

    This extra effort benefits while on "reset" all what you need to do is call this new initialization routine, that is, to read and set all the values.

Maybe you are looking for

  • Issue of Fan T400

    I think that my T400 7417-RH4 is having an overheating problem. I run for about 10 minutes and it hangs and stops and tries to restart. I have been fighting with this thing for a few weeks and got almost running. Islet me buddy has a slot in this are

  • M477fdw: Updated Firmware for M477fdw and now it does not print correctly

    I noticed that I had an update on the printer, then I hit install update. After the updated whenver I print print hollow letters. I wouldn't change a thing on my Mac, I even tested it from a Windows machine I have. The first page prints always hollow

  • If I deleted the files from my computer. Can I recover the files?

    How can I recover deleted files?

  • Recovering files on Western Digital

    I have Vista Home Premium.  Through the Maintenance of the Vista system, I backed up on an external hardrive Western Digital.  Our computer crashed and was replaced the hard drive (not the external hardrive).  I'm trying to use the Vista System Maint

  • Default printer setup

    How can I make new printer stay enabled by default.