read the serial port management using the SRM Protocol

Hello

I have a gas analyzer that communicates with the PC via the serial port.

This is the "Industrial VarioPlus SRM".

I have attached a PDF file that describes the communication protocol.

I'm trying to decode the data that are sent from the parser, but I can't do it.

I have attached the vi in which I made some effort.

Any help is appreciated, at least for a single value in the data stream.

Thank you.


Tags: NI Software

Similar Questions

  • View of the horizon 5.2 - serial Port in use

    We are deploying a new environment of VDI, using Horizon view 5.2.  All VDI OS are Windows 7 Pro. We have a USB printer that is connected to the thin client and redirects the USB port to use COM2 on the Windows operating system.  Our software told us that COM1 and COM2 are already used by the operating system.  No idea what could be using these ports, and if there is a way to release COM2 so is available?

    Thank you!

    Stone, this problem has been resolved.  I'll post the exact steps I used in the thread: https://communities.vmware.com/message/2322994#2322994

    Thank you for your help to fix this.

  • Parity errors & read on Serial Port framing

    Hello, I am writing a program that reads the serial port IR thermometer. Intermittently I get parity so many framing errors and can't explain why or find a way to remedy. All the parameters of the series were double checked and controlled. I don't get any errors when you use HyperTerminal yet, when I do test bed in MAX, I see these mistakes from time to time. I tried the suggestions of the knowledge base for these as presenting a delay between the Visa set up and read the Visa or flushing buffer issue before reading, but none worked. Any idea or ideas would be appreciated.

    In addition, while searching through discussions on parity and framing errors, I saw a when a user recommends the following: "use wait event triggered by the stop character and when the error occurs, I just deleted the error, empty the buffer (wait the next stop character) and reread." If that sounds like a good solution, how would I go about its implementation?

    I've attached a screenshot of my reading series loop so you can see what I'm doing. I do about the error code control timeout is.

    Given that you have activated the stop character, you should not use the bytes to the serial port. You shouldn't have to delay or any function buffer flush.

    PS, You also have to change the way your loop exits.

  • Said device USB to serial port Manager works, but it is not

    Original title: PL2303 USB to Serial No. GB
    My laptop is running Windows 7. I loaded the drivers PL2303. The Manager of said devices usb-serial comm port works. Set at 9600 baud, 8 No 1 order no flow.
    The GPS is a Garmin etrex Euro software version 2.06. GPS version model 156 206.
    I communicate successfully with the GPS unit via an DB9pin port at the back of my office. 9600 8 No 1 Garmin format.
    When I added the USB cable series to communicate via a usb port the "EasyGPS'program cannot read the GPS.

    I down loaded the PL2303 drivers for my desktop (XP) and the same problem occurs.

    I get the message ' device working properly "for both laptop and desktop."
    There is however no communication to the GPS.
    I tried again via the DB9pin port and communication are OK.

    Any Suggestions
    Thanks, Jim

    Hello

    I suggest you to join easygps helpdesk on this issue.
    www.EasyGPS.com/support.asp

  • How to read a serial port?

    Hello

    I am a complete newbie to Labview and hoped that one of the benefits could point me in the direction of a tutorial on how to acquire data from a serial port. I downloaded some programs here, but I really have no idea of what is happening in their. I also tried looking for the tutorial and through the forums, but all I've found is too specific and would really like to know how to go about reading data.

    Thank you!

    Search for series in the Finder for example of NOR (help > find examples) then choose the basis series write and Read.vi.

  • reading photoplethysmograph waveform with serial port on PC using Labview

    Hello world

    I'm gaining time real Photoplethysmography waveform of serial port using Labview.I have managed to acquire data from serial port by using the following features:

    -Baud rate: 38400

    -data bits: 8

    -stopbit: 1

     

    -No parity bit

    -Time delay before reading the serial port: 10 ms (according to what was written in the manual that every 10 ms there is a frame in serial port)

    After the reading string will be converted to byte array to be able to extract the bytes associated with waveform (1 & 2 bytes in a frame) even for SOP2 (6 & 7)

    (what is read in serial port is in decimal and must be converted to hexadecimal based on what made the software of prodeuct for some result.that in the waveform properties, I chose the hexadecimal representation)

    Then, as mentioned in the manual, I associate these two values to draw the waveform.

    Although I used the filter band digital waveform of pulse but not significant pass that was seen (cutofffrequeny:10 high low cut-off frequency: 0.5).

    I have attached my program and result in front of Panel and manual for the sensor. The result is still far from what is supposed to be. I was wondering if you could help me and let me know your opinion on the program and the protocol used. I have to get the result as soon as possible. Please let me know if you need more information.

    Kind regards


  • Driver serial port PCI missing on elitebook 2560p after replacing the defective motherboard

    Hello

    I have the following problem, after a replacement of faulty motherboard on my elitebook 2560p with Win XP, I find a question mark in the Device Manager list under a PCI serial port driver is missing.

    Properties of the navigation device I can read:

    Serial port PCI - PCI bus 0, device 22, function 3

    and
    PCI\VEN_8086 & DEV_1C3D & SUBSYS_162B103C & REV_04\3 & B1BFB68 & 0 & B3

    I tried to locate the pilot unsuccessfully in SP38312, SP45131, SP53918, unzip the files and trying to manually locate the driver in the files with the windows driver update function.

    can help you locate the correct driver?

    Thank you very much in advance

    Hello:

    Try this one:

    http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=321957&prodSeriesId=5071201&prodNameId=5071203&swEnvOID=4059&swLang=13&mode=2&taskId=135&swItem=ob-91961-1

    Paul

  • Is it possible to share a serial port?

    Hello

    I have to create a dll that manage the ports series. When I use it with a single process, I am able to connect to the serial port.

    But I would use a second process communicating on the same serial port through the same dll. I know that it's impossible to open it twice, manage my dll.

    The problem is I can't read or write with the second process on port, even if it is already open in the same dll.

    Is this a way to share the serial port without using a specific software like this (http://www.eltima.com/fr/products/serialshare/) ?

    Thank you

    Ludo

    I don't think you can call two different applications DLLs and expect it to work. When it is called by the second application, it creates another battery and therefore another copy of the dll that is trying to access the same serial port which is already opened by a first copy of the dll.

    Have you looked at this? 32-bit version is free.

    http://www.eterlogic.com/products.VSPE.html

  • Communication serial port IRP_MJ_READ

    Hello, I would ask you serial port communication. I am currently apply for communication with my engine not to not (Microcon), but it does not work. If I try to connect with the original software, my serial port monitor gives me values

    IRP_MJ_WRITE when I write some values and

    IRP_MJ_READ when I try to read from the serial port

    But when I'm using LabView, I can only send IRP_MJ_WRITE function by using the component to write VISA (if this one works well), but when I use VISA component read my serial port monitor gives me only IRP_DEVICE_CONTROL. Do you have any sugestion where can be a problem? I don't know how to get this function IRP_MJ_READ using LabView VISA component.

    You watch the using PortMon software? The only thing I see here is that the order that you send, there could be a space that you could have made while typing,

    or

    You're still motor control software running step by step when running the labview? In this case, there will be conflict.

    When you use software original stepper motor and when you send the command wirte down the hexadecimal value (see portmon or any other monitoring software) and try to send back the same hex values using labview. Sending a command, sending of hex are the same but just give it a try,.

    Use bytes depending on the port before VISA to read all available data.

    Search for Microcon network drivers driver Instrument in the Web site OR if you want a quick and simple solution.

  • Serial port profile Bluetooth help with saw-drill bit

    Hello

    Looking for example code using Bluetooth serial port profile using the basic version of the NDK. I can't find anything I find only using the waterfall.

    I need to set up a server, or a master of the blackberry device. Could you help me please. I read through the API, but I do not understand the implementation of the code needed for the realization of a simple connection of serial port Bluetooth mode master (server) profile.

    Thank you

    See soluton here

    https://supportforums.BlackBerry.com/T5/native-development/how-to-modiy-the-Makefile-to-link-the-so-...

  • Java USB serial port connections

    I was not able to open a serial port usb using "comm: / dev/ttyUSB0 '. BaudRate = 9600' connection uri. Pouvez USB serial ports available through java?

    Hello!

    What version of Java are you using ("Ai2" or "ai2 last developer version ')? In the latter case, you would not be able to open the serial port using Connector.open.

    In case if it is just ai2 it should be possible. An adjustment to the installation, you should do, however. In the file jwc_properties.ini please change the property deviceaccess.uart.prefix of/dev/ttyAMA/dev/ttyUSB (Please note that there is no '0')

    Kind regards

    Andrey

  • How use the serial port read and display the text but not scroll off the screen?

    I'm new-ish/return user fan of Labview and trying to change the example VI "Advanced serial write and read VI" is the part of the dev suite 2012.  I need to use the string box for ALL of the text from a serial port, always adding and just roll off the screen when the actuals come to the serial port.

    What actually arrived more than bytes (or no bytes AT ALL!), during reading time text, current rolls out of the box in the chain.  Even when receiving 0 bytes, screen is removed.  I'm not very familiar with the locations of functions and even worse to understand obscure references to functions, so please keep very basic answers so I can follow.

    Just to be clear, I need window of the chain behave as HyperTerminal does always displays the data and it is not pushed by window arbitrarily.

    Thank you

    Steve

    A long shot.

    Is that what you want?

  • Using the Serial Port on the HP 50 g graphic calculator

    Hello world

    I have another question. I want to use the Serial Port on the HP 50 g to connect with another device. The device is called the MFJ-1214PC. What it does is to accept the text and commands through a 9-pin serial Port and converts the text in a Code Morse/RTTY sound audible. It also decodes Audible the Morse Code and RTTY radio signals and displays them as text on your computer. The program that controls the MFJ-1214PC was originally written for an IBM PC for the MS-DOS operating system. The HP 50 g graphic calculator meets the system requirements for the simplest version of the program. I was wondering if there is an MS-DOS emulator written for the HP 50 g, which would allow the HP 50 g to become the computer in this case, or if the program could be rewritten and brought to the HP 50 g. If it could be rewritten, programming language what do you think would be better suited to this type of application (if it is even possible?) or UserRPL, SystemRPL or Assembly. Don't forget that I'm a complete newbie with the HP50g and have never programmed with it yet. I'll include the manual of the MFJ-1214 PC as an attachment so that you won't have to look for him. Thank you in advance for your help!

    ~ Zekelegge ~.

    I understand (from my brief overview) out of the box-MFJ-1214PC, this offer box decoder output series computer.  The computer (50g in your case) will have the software to read message series and then convert that to an output for display.

    BartDb gave you the right answer.

    A serial cable with the correct speed level and reversing lever to manage as well as the 50G has a RS-232 signal to the outside world is the ideal solution.

    However, make sure that the output of the decoder box series package can be understood by the 50 g. aud, bits, etc.   (you have the set-top box manual, so you'll have to look that up)

    the streamsmart is not an aggregator of serial port.

    in other words, these connectors DIN of Qty 4 on the front do not accept series rs-232 input and send then to 50 G.

    I'm not an expert, streamsmart more info on these boxes is rare to find.  The probes are even more rare.

    However, I know that the 4 connectors are for the analog-to-digital conversion in the probes.  The streamsmart works as a "data logger" in which he sees the input probe, the A/D converted, then sends it to the 50G (or a computer via the USB port).

    In addition to the solution of Bart, there was another named Tiwag forum poster who created a serial cable and displayed a schematic representation of the cable.  This information can be found here:

    https://groups.Google.com/Forum/?fromgroups#! searchIn/comp.sys.HP48/serial$20port/comp.sys.HP48/ltcane1jSOw/uHyw2Ti03kgJ

    to see an example of programming to use the serial port of 50G, you can reference the following hpcalc GPS data collection program.

    http://www.HPCalc.org/details.php?id=7105

    It is written in userrpl so can be crossed with the reference of users advanced for the translation of the syntax.

    It seems that the main routine of concern for the comm to the gps is in the file "GPS >.

  • How to read the Serial Arduino data using labview VISA?

    Hi =). Im a beginner work reading data series from an arduino but im facing... Lets do it step by step

    I built a voltage divider circuit which gives from output
    from 0 to 5V. The output of this circuit is sent to a 0 analog input pin
    of a Committee of Arduino Duemilanove.

    (1) Firstly, I connected the cable to connect to my laptop USB the Arduino.

    (2) I went to start-> control
    Control Panel-> system-> hardware-> Device Manager. Check the Ports (COM
    & LPT). In my laptop I can see USB Serial Port (COM4). Now I know only in
    LabVIEW that I must read the data series COM 4.

    (3) to the side of the arduino, here's the code to read changes in voltage
    entered to analog pin 0. The last line of 'delay' determines the sampling
    Rate of how we want to taste the output of the voltage divider:

    int potPin = 0;    Select the input pin for the output of the voltage divider
    int val = 0;       variable to store the value from the probe

    void setup()
    {
    Serial.begin(9600) (9600);    Opens the serial port, establishes the rate of 9600 bps data
    }

    void loop() {}
    Val = analogRead (potPin); read the value of the voltage divider
    Serial.println (Val);
    Delay (10);
    }

    I slightly modified the basis series reading writing VI... I have
    attached the block schema used with comments. Basically, I tried to read
    data series, divide by 1023 and multiply by 5 to graphic voltage
    variations of the voltage divider circuit.  But Im not getting
    the correct voltage output values. The value of the tension just keeps go
    0 and coming again, as shown in the photo.

    Could you guys please guide me on what went wrong?

    Thank you!

    -you read the data, even if there is no data on the port. If 0 bytes are read => «»

    -in the case of false, you resources VISA wired for the output of channel tunnel?

    -There is no close VISA at the end of the VI resources

    -you're not a loop this VI reading bytes

    I added an addaption of your VI that you should give a try maybe

  • Questions about serial port read and write at the same time

    Hi I create a user interface for the communication serial port, where there are essentially 2 front panels, where the user enters commands one and the other where the prints of UART is delivered. I thought initially using a state machine but the reading and writing may be independent sometimes and so I can't rely on States. I searched a bit on the forum and he left me even more confused. Help, please.

    (1) in a thread that sessions visa duplicated has been used for writing and reading at the same time, is it recommendable? How will this affect performance?

    (2) essentially when the vi is reading data are it must constantly view as well, however, someone said that it takes too much memory to use shift registers, so how do I go about this? If using a State in queue after the loop of reading it affects the playback loop and be sequential?

    In addition anyway is to move the cursor to the latest data from the indicator

    (3) for the control of the user input, assumes that the user has entered an order in the control and press ENTER, then writing visa is launched, but if it comes in another string and press enter then write must be called again... is - it possible? will detect the previous commands in the control of compensation?

    (4) according to my understand the expectation for the event do not monopolize resources and writing can go in parallel, am I right?

    Thank you. I have attached a very basic vi which took me to the point, but I want to make it more robust. Please help especially in the part of the user interface.

    su_a,

    (1) you can have only one session to a port. Several UART can handle full duplex so performance is not affected.  At flow rates of high data and large amounts of data, buffering and latencies of BONE can become a problem.

    (2) who told you that shift registers using too much memory? Shift registers are usually the best way to transfer data from one iteration to another. String concatenation inside a loop (registry to offset or not) causes the chain to develop and may require re-allocation of memory.  Your VI never clears the string so its cold length become very large.

    Generally, you do not have an active cursor on an indicator.  If you want to always display the most recently received characters and turn on the vertical scroll bar use a property node to keep scrolls to the bottom.  This can be annoying for users if they attempt to manually move the scroll bar and find that the program continues to move it back automatically.

    (3) if the user has changed the value in the chain of command, when he hits enter the modified value event fires.  Simply strike brace does not change the value and does not trigger the event.  Not control need to be erased, but the value that he has to change.  If you want to send the same command again, have a button send a command may be a better choice.

    (4) write is a case of the event.  It is not in parallel with anything.  The structure of the event do not monopolize resources.  The other loop will run while it waits.

    The event loop will not stop when you press the STOP button. Probably it wll take two command: change events of value after JUDGMENT before any loop stops.  Replace the Timeout event (which never expires) with a STOP: value change event and a real wire of this judgment to the Terminal endpoint.  Remove the local variable.  Make mechanical locking when released.

    Lynn

Maybe you are looking for

  • Can not turn the video on

    While I was on a video call, I clicked on the icon of camera and, of course, off camera. Now I can not get it turned back on. I clicked on the icon, etc., but he continues to show the red line through it. How can I me he still?

  • Bind my products in MY LIVE ID

    0 Dear Sir. I bought Orginal CD outside the U.S., MICROSOFT Windows XP, Vista now Windows 7. XP - CD KEY Vista - two CD KEY and Windows 7 - two CD KEY Now I would like to connect these PRODUCTS to my WINDOWS LIVE ID. How can I do that. I would like t

  • Re: one photosmart more coper/printer/scanner not to talk to the laptop

    1st stop I'm under Win7 32-bit home.  The printer will copy the built-in scanner pages and print them very well and printers autotest reports everything is fine.   For awhile, I had a problem with any computer see the printer via the USB cable.  I wo

  • Computer support

    Why is it that when I go to click on a shortcut like iTunes on my desktop a window appears and asks me what I program to use to open the program with, and because of that, I can't download any program because the window opens. How can I get rid of hi

  • Application of the amendments to my desktop wallpaper - changes apply

    I tried several times, to change the formatting of my wallpaper.  I've done a couple of weeks with no problems.  To the best of my knowledge, no update that would have resulted in it have been installed, but when I tried to change my background in sc