3rd reading machine series

Hello

I'm trying to contact a 3rd party device, a tester of smoke for trucks, using series read in LabView. I have attached the dokument command parameters. I use the parameters of diesel on page 9. I can't get sensitive information. There is no byte to port when running the program. But once I had 6 bytes to the port that runs the code. This happens only once. See the image as an attachment. I' will also joined the code.

Can someone help me?


Tags: NI Software

Similar Questions

  • HOW TO READ DATA SERIES WITH SYNCHRONIZATION

    I have a question about my application for the acquisition of data in series. In my application, I use visa read to acquire data series sent by an inertial measurement unit. When I first put the sensor, it sends data in the following one time format:

    1:0 x 8011 header followed 1 data word for Adler, 1 data word (each 16-bit word data).

    and the sensor then starts sending the data in the following format:

    2:0x7FFF header followed 1 data word for checksum, 9 data word (each 16-bit word data).

    (Note: checksum is defined as a 2s - complement of the sum of 16 bits of the rest of the entire message)

    In my application, to simplify the problem, I use a wait function to ensure that the initial data header 1 tag is sent. Then I start reading using VISA Read 20 bytes (header 2 more words of associated data are 20 bytes), as I'm mainly interested in the data header 2 tag words.

    However, when I do this, the data that I get do not begin by 7FFF character and, accordingly, my 20-byte data cannot be parsed correctly. My question is how can I do the "VISA read" block read the serial port when data are preceded by '7FFF '.  Once I have solve this part, my strategy will be assembled data read 20 bytes (including the header of 4 bytes) and analyzed accordingly.

    Another question, I wonder if you can tell me how to use the given checksum it is defined as "a s 2 - complement of the sum of 16 bits of the rest of the entire message". Note the data that contains the header 1 tag is 1 post.

    I would appreciate if you have responded to my request.

    Thank you!

    Serdar


  • What is the best way to read data series high speed?

    My goal is to read 14 bytes of binary data of an instrument on the serial RS232 (460800 baud) to 2000 Hz. I didn't get a card series high speed again so I am currently using the standard serial port (115200 baud) and reading at 400 Hz I have configure the port series, empty the buffer, and then enter a while loop to read incoming data. I have a visa 14 bytes read by interation seconds 0.0025 (400 Hz). However it seems that the sensor is spewing data faster that labview can read because the bytes are accumilating in the port. After some time the buffer fills and the program fails.

    Is there a better way to do it?

    Would it not be better to read the larger quantities of data less often, for example as 1400 bytes every 0.25 seconds?

    Thank you

    Hello

    I think it would be good to read several points in a loop, and keep the loop less than 1000 Hz.  I found in the past, have something to run faster than about 10ms tends to fall down when windows loses interest in the process.  So yes, choose the slower you can get away with reading samples - for example to read every 10ms and read 20 samples every time. You should be able to configure your serial port in order to buffer the samples that I guess.

    Also and the issue of windows - if you use a loop "timed" instead of a while loop, so you can force it to an integer value including the ms.  You can also assign a dedicated processor and set the priority to 100, which means that it is less likely to elapse and decide to scan your hard drive for viruses or consult your account e-mail or what he does when he's bored with your program.  Also it "' tells you if the loop has taken longer that planned to run - you can use this to help iron out bugs etc. - report and/or to the user if you missed a few samples.

    http://zone.NI.com/reference/en-XX/help/371361H-01/Glang/timed_loop/

    JP

  • Read data series and detect the break in series at the same time

    I need to communicate with a serial device that sends messages back, but also sends a break, break, break, break series combo that I need to listen to. I've never worked with before series breaks but the only VI I found which seems to detect pending VISA on event VI with the series Break parameter. I'm not sure that understand how I could detect a break in the series, but also to be reading and writing messages at the same time in the meantime. Isn't this possible?

    If you use multiple loops, I think you can do.  You use 1 loop to check to see if there is data and 1 loop looking for breaks series.  Then use queues, authors of notifications or events to anyone who needs to know what you have experienced.

  • Problems with reading the series bytes

    Hello

    I currently have a PIC18F microcontroller serial communication with LABview using the base read and write.vi series. The PEAK sends strings such as "V222! (V is the character of the header, and! being the end character). Then, I have a program to take each individual character read and concatenate them in a larger string for data extraction. The port has been configured to 38400 baud and be only a single byte of long.

    The captain sends this one byte at the time and the problem here is that LABview seems to be only reading V most of the time, and occasinally has 2. Since it doesn't seem to be never read the end character, the sequence of extracting data from my code is never executed.

    A few questions I have are:

    The captain may send one byte at a time, but also all other devices communicate through a serial port.  The definition of the serial port involves both a byte.  Actually it's really a LITTLE at a time.  But serial port parameters leads to the gathering of 7 or 8 bits to produce a byte.  The PEAK sends a follow-up byte to another byte, etc.  The time between shipments of the byte may be too small to read contiguously in your Labview program.

    At very slow speeds, it could really work.  At 300 baud (3mS / bit), there are 33 mS to send a byte (8-bit + stop bit, start bit).  So if your loop runs fast enough, you get every byte one at a time.  But there is the overhead of other code to store the bytes, etc..

    38000 baud to only 0.2 mS to send a byte.  LabVIEW is not fast enough to loop at this rate to capture all the bytes individually.

    But why bother?  Simply capture all the bytes and treat them as a complete message.

  • File txt else reading machine

    Hi guys,.

    I am facing a problem that you are trying to read a .txt using ODI (11.1.1.7).

    My architecture has 3 servers. First with ODI installed with FDMEE agent, second with Essbase server and third Oracle database

    I have an interface that loads of .txt file which is on another machine (Essbase). When I run the package that contains the interface using the local agent, it runs successfully, but when I run it using my FDMEE agent it omits this file could not be found.

    I use a network path to load the file (such as \\ADDRESS_ESSBASE_MACHINE\... \File.txt).

    What can happen so he can run correctly with the agent local and failure with the FDMEE agent?

    Thank you

    Kind regards.

    Hello

    If you read files from another machine, autonomous agent configuration is recommended.

    If the FDMEE agent is not configured on the computer where the file exists, it cannot read the file.

    you have other ways to do this activity, using ftp or sftp if you have network configurations in place.

    hope that answers your question

    Kind regards

    Vinay

  • How do you add a 3rd license machine to my subscription to Creative Suite?

    Should be simple...

    Does anyone have an experince with which extends the license to accommodate a 3rd machine?

    Willing to pay.

    But, how do you?

    Do I need an another user/login ID?

    Thanks for the tips!

    Steve

    It depends, if you must use is only on the 3rd machine or mutiple machines. If you use the 3rd machine then you can get another CCM and you are entitled to the same facility on 2 machines more.

    However, if you need to use Creative Suite applications on multiple machines, so I suggest you to prepare the team offering which is similar to the Adobe Volume License. But it will not give you the benefits of the creative Cloud in its not available for ready team offer now but hope to get it soon.

  • CD player does not read the series Satellite A recovery CD

    Hello

    I have a laptop my father gave to me and I need to restore it before using it for me because it works very slowly.
    I have the restore cd but I have problems with the cd player.
    It does not read some CDs, but it will not read the cd recovery so its as if it is not there.

    Is it possible to restore it without the cd? I'm not very super-friendly up with computers, so please simplify if possible.

    Any help would be appreciated.

    Thank you

    Claire.

    You can try to boot from the original CD of Microsoft Windows.
    Check if this CD is readable.

    Then you can download the drivers from Toshiba from the European driver Toshiba page and could install the drivers

    A few words about the CD drive problem, it seems that the goal of readers can calibrate in the right position and therefore some CD or DVD is not readable
    In most cases, the CD/DVD drive should be replaced to solve these problems

    See you soon

  • fundamental question of write and read.vi series

    I downloaded the basic_serial_write_and_read.vi so that I can learn how to make my VI communicate through series.  Why the example diagram shows the resource name VISA, baud rate, parity, etc. as small rectangles, but when I go to create my own vi and the attempt to put what I think, it's the same controls down, they appear as squares of normal sizes?  I have chosen the wrong controls?  I do not know how to attach a file, or I will show you my vi.

    Tron

    What you call "normal sizes squares" is called the display icon and for those of us who use LabVIEW for awhile, there is nothing normal in their subject. You can right click on any of these and check/uncheck the "view as an icon. To place all the controls/indicators on the scheme in the form of smaller objects, go to tools > Options > block and uncheck "terminals in front Place as icons.

    PS why you download this example? It is part of the examples provided with LabVIEW.

  • Format memory read buffer series

    I'm receives the DATA from the RX buffer of my Instrument series.

    My program must analyze these DATA.

    My indicator buffer string is: \02K=2\r\n\03 Normal display

    However, what I owe to the reception so are contributing to my analysis under is: 024B3D330D0A03 Normal display

    Please advice, thank you.

  • Reading data series acquired a data acquisition

    Hello

    I have acquired data from a serial port by using an NI USB-5132 on the same computer. I would read these data in order to recover the original string sent. How can I do this please?

    Exactly what do you mean by "observe the signal" and why do you need to do this? If you need to perform some sort of parametrics on the signal (amplitude, rise time, etc.), you can connect the scope and use the product NOR or any USB-RS232 converter ($ 10 - $ 20) inexpensive to get the data.

  • Series read lack bytes

    Hello

    I need to read some telemetry equipment. Length of the telemetry is exactly 113 bytes. It does not have the bytes start and end, however the 2nd and the 3rd byte is always "DD" and the last two bytes is a mistake of the other 111 bytes CRC check.

    For the moment, using the VI I send you attached, I can read the telemetry but with some problems. Sometimes it won't read the correct 1 byte, resulting in a misinterpretation of the telemetry. And there are moments that don't read all 113 bytes (read only between 86 ~ 109 bytes), which is also a big problem.

    When these problems arise, it will often be read properly on read the following series. However, sometimes it takes a lot of time to read properly and I can not afford this.

    These problems are all random. For an hour, it can have very few problems and then, in 10 minutes, it may have a lot of problems reading consecutive series. I have used other software to verify the telemetry and they do not have these problems. This means that I do not correctly use LabVIEW to read the serial number or there is something that I am missing.

    Topic VI, I just want to read correctly the 113 bytes and use a queue to send data to another while loop. When he's not reading the 113 bytes or when the 2nd and 3rd bytes are not 'DD' or there is a problem on the series, I have "reset" the communication by close it and open it again.

    Could someone send suggestions and recommendations about my problem and my VI so I can hopefully resolve this situation? Any help would be appreciated.

    Thank you very much. Best regards

    William Kiyoji Ariyoshi (LabVIEW8.5)

    Disable the stop character.  'S done it with the configure Serial Port VI (there is a Boolean value on top of the VI who needs a forgery connected to it).  By default, the character of endpoint is 0xA.  So if you have this character anywhere in your data flow, VISA playback stop here.

    I also recommend moving the installation and closing the serial port on the outside of your loops.  You should only install and close once.  You must also add a way to stop the outer While loop (abandonment of the VI is not a good idea, especially since you use the communication bus).

  • low latency multiple series to read

    I develop a DAQ series box which reads using the SMU-8130 and labview RT I'm reading multiple series instruments that send packages of short, CR/LF-Close to a rate of about 1 to 4 Hz.  Low latency between the arrival of the series data and treatment (timestamp) is a priority.

    One of the instruments of series is a GPS timing device, and I checked, during playback of a single instrument in series, can I timestamp with a precision of about 50-100 microseconds.

    However, when I add more instruments, or at least more instrument of manipulation loops without connected equipment, these latencies jump at least 10 x.  The jump in time of latency seems also tied to the period of waiting time for VISA set up a Serial Port.

    In other words, I suspect that the additional instruments may be locking other threads in treatment of the series. I checked the reading series is configured for asynchronous mode.

    Can anyone suggest how to approach the issue? The serial ports are supposed to be blocking each and other reads like this?

    For reference, here's how my VI works:

    Here's some of my main VI.

    The basic operation is as follows:

    • open_aqn_serial opens a VISA resource for each serial port based on the parameters of read_aqn_conf.
    • Each serial port is controlled by a body independent while loop. Most of the work in each loop is done by the serial_handler2.vi, described below.  Feedback loops are used for the sequence numbering and buffering.
    • There are currently about 4 or 5 of these loops series instrument Manager
    • In each loop, data from the serial port are timestamped, then sent to a queue that collects the data sets of all instruments.

    Here's serial_handler2.vi:

    • The VI attempts to read either enough bytes for an entire package, or however, the number of bytes is on port, if it is higher.  It is also configured to finish reading on the term float.
    • The data is immediately stamped and added in a buffer.
    • The buffer contains incomplete packages (in the case of a partial reading) until they are complete, then complete passes (or outdated) packets to the queue of the collection.

  • on a home network 3 machine sync will synchronize only 2 machines

    Recently updated my main machine for Win 7 64 bit, reinstalled Firefox 5 on all three machines. Impossible to get a main machine to see the passwords stored on the laptop. I can read passwords cellphone on 3rd (XP) machine, but not on the main computer. I reinstalled sync on all 3 machines with new account still does not work.

    Hello

    Have you tried to "Sync"? Also, when you say that you 'reinstalled sync"I guess talk you through resetting your account and setting up again. As you may know, Sync is now part of Firefox and is not needed and extra add-on as it used to be.

    Bookmarks will sync correctly on all machines?

  • event and state machine

    Hello

    I have a problem when I want to set up an event in my state machine.

    The state machine is reading communication series through different States 10 +.

    The problem came when I tried to add an event inside the State number 10. In the number of State 9 code seems to work only partially (an option button is not possible to change the value on).

    It seems almost that it is frozen but when I select the code I can see it works well (option button isn't).

    It is strange that when I remove the event in condition 10 all is well again? The event code is not yet performed yet because it is in the frame after!

    Any thoughts?

    I'm under LabView 2013 on a Windows 7 PC.

    I'm trying to figure out which of the two cases is the one who seems to hang if the name would be better than a number.

    When using am event structure you don't we want to use a local variable.  In fact, you should only use local variables on rare occasions that they break the flow of data.  The event structure is fine for the entry.  The problem is the way you treat things after that the button is pressed.  Again, I think you have to look at a design model of producer/consumer with a machine of the State in queue.

    The best way to have a writing occur only after a button must have the code for writing in a case that is active when the button is true and is simply empty, when it has the value false.

Maybe you are looking for

  • Firefox PRE-POPULATED someone elses login in a form.

    I'm a developer of software with the State of Illinois. When I open a web form in my Firefox browser on my Android device to test, the area username pre-filled with a different user name.(1) I never heard of that user name and I am sure that the entr

  • After installing 31.1.2 all messages are reduced

    Hi all I upgraded to 31.1.2. (windows 7 Ultimate) yesterday and today when I download my emails, they are all reduced, i.e. only the first line of the message is displayed. When I click on the message, it is expanded. It also appears that the buttons

  • Satellite A200-1RK: how to connect to internet

    Hello I just bought my daughter an A200-1RK for Christmas.I would like to have the internet up and running when she opens it up, but I'm worried about the best way to do it. I have 2 mb broadband via a NTL cable modem.Could connect a usb cable from t

  • Incorrect password for computer Sony laptop XP

    Yes was lettin my daughter use my old laptop sonypcg-frv37 got in a fight now I can't get the password right back to what to do? * original title - me professional xp lockout on my viao old *.

  • Cannot read .pps (powerpoint) attachments of my Windows Mail.

    I can't open my Windows Mail program PowerPoint presentations.  It will work only after that I have save to another folder and read it from there.  Why they will not open directly from the Windows Mail program?  And Yes, my default program for .pps i