read byte serial number

Hi all

I have a small application that consists of reading data from a serial port using the VISA READ function. The data source that I am trying to acquire the serial port is a microcontroller that sends a word or a byte (8bits). However, when you try to download the programming code in the microcontroller, the programming software backup code in the HEX file into the chip.

It's all just an explanation into the problem.

in oreder to get my application actually, I used the attached VI have not program but adds some functions for multiple purposes. The Vi works perfectly and everything works fine, but it seems that I had some misunderstanding here.

what I'm trying to understand here is why a function (hexadecimal string to number) is used for as much that I have configured everything to read bytes (8bits)

I am very confused

any suggestion would be appreciated.

Thank you

Converted to 8.5 and attached.

You can also use

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

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

to perform the conversion.

Tags: NI Software

Similar Questions

  • Read the serial number in LabVIEW of USB-8476 LIN Module

    Is it possible to read the serial number of a USB-8476 module in LabVIEW. I am building a system that will use 10 of these modules in a single system and I want to be able to verify this LINX = serial No.: ABC. I'm afraid that a 'user' will disconnect and the plug-in a USB module causing the FLAX number to change.

    Hi graveux,

    The ncGetHardwareInfo.vi with the attribute set to "Serial number" should do the trick (use the desired USB interface and port number 1 as inputs).

    -B2k

  • Read the serial number of the PXI 8130

    Hello:

    Anyone know how to read the serial number of an SMU-8130 chassis controller programmatically? Read the serial number of a 1075 chassis will work also.

    Is it still possible?

    Thank you very much

    -Ilya.

    My apologies, as this thread is expanded to LabVIEW, I was assuming that the main language was LabVIEW. Currently, it is not a condition C library that reproduced the personality of the Configuration of the system. My understanding is that this feature is in the works, but not yet implemented.

    In the short term, you can choose to compile the necessary features of LabVIEW in a DLL called by your project. Otherwise, the MAC address can still be used as a unique identifier, if that's what you need.

    See you soon,.

  • write/read the serial number of 32-bit

    Hello

    I want to read and display the number of 32-bit Seraglio and then want to store in a text file. every time I scan the new serial number, whenever it needs to store the new number.

    What exactly is the problem you are having? The task is very simple and has been discussed before. If you use a bar code scanner, just search the forum which. If you post the code you've written, a person could look and see what the problem is (if in fact you describe the problem).

    And in case you've not seen it before, there are tutorials available.

  • Tried not to revert to the older version of adobe reader, no serial number?

    I've recently updated adobe reader without thinking.  Don't keep the old version.  Hate the new version, trying to go back, but it wants a serial number that I don't have.  Adobe has create me an account (I have not one) where all my serial numbers would be stored, well since I didn't have an account, no serial number is stored.  Clearly I had adobe reader software on my computer to update.  I want just the old version back.

    Adobe Reader requires no serial numbers

  • Failed to read the serial number or of SNIDS on label Aspire 5100.

    Hello

    I use the search function but did not find a question quite like this - little surprising?

    A family member gave me a laptop Aspire 5100 that no power, fear of the system board.  Not seem to receive a wave of newer computers with bad cards system.  The label on the back of the laptop with the number of series & NSID is faded & I can't do all the numbers.

    Since I will very probably be pulling apart anyway is everywhere, maybe inside, where the serial number or the SNID could be printed?

    The manual lists this laptop to use ATI Radeon® Xpress 1100 or Xpress1200 chipset - I can't tell the difference between the two.  All system boards for sale seem to only list Xpress 1100 chipset that will probably work but a little clarification on Xpress 1100 vs 1200 would be nice.

    Thank you

    Can try it analyzes, you'd be surprised to know that can capture even a little expensive HP scanner/printer.

  • Read the serial number of the device in LabView COM port

    Hello

    Is it possible to read a device COM port number in LabView? I would like to make an initialization of the program following the right port COM of a device, for example a USB temperature reading device, and set the COM port as the correct port at the start of the main program of LabView. I want to do that, because a USB device gets usually different dedication of COM port on different computers. Our application runs on 80 different computers. A program like that would be very nice.

    Can someone help me?

    Paal

    Another thought. It also has a place where certain standards can save you a lot of time.

    You have 3 dongles by machine. When setting up a computer are these three dongles * always * assigned to, for example, com 3, com 4 and com 5.

    Similarly, always check that instrument 1 is always on com 3, tool 2 is always on com 4 and 3 device is always on com 5.

    This convention will also simplify debugging...

    Mike...

  • Satellite L505 - 10 p - looking for Windows 7 serial number

    At the back of my computer, I can't read the serial number of Windows 7, but I need this number.

    Satellite L505 - 10 p - Reference: PSLS3E-01G00JFR

    I have the serial number of this laptop and an old toshiba warranty - Europe.com

    I hope... confused:

    I have lost the original CD (or DVD) Toshiba. So, I need this number

    Even if you would be able to read the key to series of windows 7 that appears at the bottom of the unit, this will not help you will activate another Win 7 system.
    It is an OEM key that belongs to the preinstalled image and does not work under the other system.

  • Satellite L300-21F - where can I find the serial number?

    The ink on the toshiba money serial No./model No. Panel at the back of my laptop rubbed off after only a week of use, when I bought the pc last year. I now have a problem with my touchpad registers is not the movement of finger-cursor or shots at normal pressure. I have to press more strong most of the time for the action to be recorded. A third of the time it works fine at normal pressure.

    It is still under warranty. Unless someone can tell me of a possible reason for this [someone]? so I guess I should probably send it in for repair.

    Where can I find the serial No. information? It is stored electronically on windows anywhere? I have only a rough idea of what is the serial number - I managed to write most of it when I noticed that he had started to rub. I don't think that my laptop is saved online and I don't have the paperwork that came with the laptop in its box.

    Thanks for any help

    null

    Hello

    I m wondering really that you can read the serial number on the underside of the t more after a week not where you use Notepad?

    In any case, I have the Satellite L300 too with Windows XP preinstalled. If I start Diagnostic PC Toshiba tools I can visualize all the details on my laptop and see also the serial number.
    Check this box!

  • Serial number of modules (programmatic conversion)

    Hi all

    I am the serial number of modules of reading in my NI EtherCAT 9144 chassis by programming using the shared variable property node. The value obtained in my program is completely different from this serial number on the module. For example that I'm reading the serial number of the module NI9234, serial number that I got from the program was 25182428 the series but real present on the module number is 18040DC. Could you please see this and let me know what problem I'm facing? or y at - it all conversions that I do.  Here is the picture of my code.

    Thanks in advance

    A watch in decimal, the other is hexadecimal.

    Change the display format for your digital indicator.

  • Cannot read Vista welcome number of key he disappeared?

    I can't read my serial number product key on my laptop as his faded. I had to wipe my hard drive but I don't have that 1 back up disk and it asks a second disc. So I need help please?

    I can't read my serial number product key on my laptop as his faded. I had to wipe my hard drive but I don't have that 1 back up disk and it asks a second disc. So I need help please?

    Hey jamman20

    as you have deleted your key finder disk programs hard won't help you with this

    I suggest that you contact your manufacturing it and explain your situation and ask them to send you a set of vista recovery disc

    recovery discs generally don't require an input product key to serve you

    check with them on this subject that we cannot help you with it

    Walter, the time zone traveller

  • Restore the serial number of Adobe standard CS6.

    Hello!

    Our product - CS6 Adobe Standard. Gains in 2012.

    Problem: When you open a session using the message get a trial version (!)

    Using Adobe ed and password. But the programs require a serial number. The serial number is lost.

    The goal of treatment - the restoration of the serial number.

    Sincerely.

    This theme has information on programs designed to read the serial number of an existing installation

    Lost information - response #1 in https://forums.adobe.com/thread/2008767 (for Mac or Windows programs)

    non-Cloud http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html back to the test

  • Is it possible with the serial number of an Xserve to read the configuration and the year of production?

    Is it possible with the serial number of an Xserve to read the configuration and the year of production?

    This will show you the model and year: https://checkcoverage.apple.com/

    If a specific configuration (like the 1 TB disk instead of 500 GB for ex) will not be determined. You can only learn by starting the Xserve (or open and look into it.)

  • How to read the host name or serial number cRIO locally

    I have not worked with cRIO and decided to ask for help.  (o).

    I don't know about the screws that allow to access this information from a connected Windows machine, however, I want to retrieve and display this information on remote panels.  But I cannot determine how to read the cRIO hostname or the serial number of the software running on the cRIO?

    Thanks for the help.

    James

    This could help.

  • Sometimes the lost bytes, reading the serial port

    Hello!

    I'm reading the serial port data (flow rate 57600 baud rate) that works very reliable so that I do not open any other window

    or minimize/restore my window of the application during the program is running. Then a byte of incoming data will be lost.

    I get a string of 30 bytes each 50 m in most of the cases the first byte is lost, sometimes one in the middle.

    This occurs not only on a PC.

    Is this a problem of LabVIEW or Windows?

    Are there settings that can solve the problem?

    Best regards

    JK78

    I solved the problem.  

    There was a bug in my program who become visible only if a window has been reduced or restored.

    When there are two or more messages in the buffer VISA, the separation of the messages was incorrect.

    Array index corresponded to false so that the first byte of the second message was at the end of the first

    and so the second message in the buffer seemed incomplete.

    In normal operation, the playback loop runs so fast, never both messages are in the buffer.

    Thanks for all replies.

    JK78

    Either way, I work with LabVIEW 2009 and serial interface hardware motherboard. With XON/XOFF flow control

    is not possible in my application because all the hex values from 00 h to FFh may appear in a message.

Maybe you are looking for