Is it possible to stop labview data hex autoconverting to a SQL database in ascii?

Hi all

I is currently working on a program that ask a SQL database for the data from the sensors and converts these data into a spreadsheet for future use.

My problem is the following:
I can access and read the data very well; However, the data I'm after are stored in the database as a hexadecimal number (example: "0 X 5727000...) ». When I pass this through this vi "DB Tools Fetch Item Data", he captures the data and the autoconverts it in ascii. It is a huge problem because the data contains several pieces of information and must be analyzed before his conversion in order to achieve the correct value (and wrong format in ascii).

Is it possible to recover the data as a string containing only the hexagonal information? I already have the code that converts it to; I need as hexadecimal values and not ascii he tries to AutoFormat to.

Your data are permanently binary.  And how it is stored in the database is a function of some program put in there.  It is not a case of LabVIEW doing any "autoconverting".

"more labview uses the display format Hex to work more on television anyway.

So the next question is what is the continuation of the work you want on these data?  There is a function call "String to Byte Array" that converts the characters in a table of U8.  So now, you have a table of numbers of U8.  What you then do with that depends on what all these data are supposed to represent.

Tags: NI Software

Similar Questions

  • How to pass data to LabVIEW teststand Hex

    Hello

    Is it possible to pass data Hex Teststand to a LabView VI.

    In the column 'Type' of the Module tab on the stage, I only have the options "ASCII" or "binary string".

    What I need to change my VI to take the hex data, or can I change the Type of TestStand so that I can enter the Hex data

    When I enter the Hex data directly in the VI, it works fine.

    Thank you

    Sound advice from Omar! If you decide to follow this method, here's a useful KB...

    How to convert between hexadecimal and ASCII in LabVIEW

    http://digital.NI.com/public.nsf/allkb/894CF5FE064971BF8625758400014993?OpenDocument

  • I can't stop the recording of data on a DVD. is it possible to stop this?

    I can't stop the recording of data on DVD

    is it possible to stop this?

    It indicates a security error

    Please help as recycling seems to be the only solution

    Original title: HP Pro Book S-series windows 7 proffessional

    Hello Mike,.

    Thanks for posting your question on the Forum of the Microsoft community.

    I understand that you have problems with a DVD, but I would like to learn more about the issue to provide you with better assistance.

    1. What do you mean when you say, 'I can't stop recording of data on a DVD?
    2. You talk about a blank rewritable DVD? It is specific to a particular disc?
    3. What is the accurate and complete error message when you say, 'this shows that a security error "?
    4. Are you able to eject the DVD? If so, what happens when you save the data without any disc in the drive?

    I suggest you to provide the information identified above to refine the question and provide you with better assistance. Apart from that, you can try the mentioned below of methods based on specified corresponding understanding.

    Method 1:

    If you mean that the data you record are, by default, saved on the DVD player, then you can change the default save location as detailed below.

    1. Open libraries.
    2. Right-click on the Documents folder, and then click Properties.
    3. Click on restore the default settings.
    4. Repeat steps 2 and 3 for the musicfiles, photos and videos in the library.

    Try to save all the data and check if the number is reproduced.

    Method 2:

    If you have problems with the specific DVD when inserted into the CD/DVD drive, you can try to let flow the next fixit and check if it helps.

    http://support.Microsoft.com/mats/cd_dvd_drive_problems

    Hope this information is useful. Please post back with the information required for any further assistance. We will be happy to help you.

  • Is it possible to stop export of EXIF data option in LR?

    I am in stock photography and a few times I don't want to reveal my details/settings of the camera. Is it possible to stop export of EXIF data option in LR?

    I think that if you want to control all the details on what is being exported and which not, use Jeffrey Friedls metadata Wrangler PlugIn.

    Beat

  • microphone in labview data acquisition

    Hello

    My name is Michael. I want to get micro data in labview using connection jack 3.5 mm on my laptop. I looked in daqmax and did not see the microphone. Is it possible to enter these data in labview? Any help will be great.

    Thank you

    Michael

    Did you do a search on the forum? I've seen dozens of messages asking the same thing.

    Mike...

  • Is it possible to delete a data source?

    I created a data source with the same name. Is it possible to delete?

    By 'data source', I assume you mean a short data store (i.e., created by creating the short-cmd-ds).

    You can remove a short in this way data store:

    1. stop recording data (stop-ds short-cmd command).

    2 detach the data store (ds off short-cmd command). This unregisters the short server data store.

    3. go into where the data files have been created and delete the directory with the command delete from your operating system.

    The directory of data files will be named index (for example, testindexes). By default, they are created in the directory of data-server/short.

  • How to stop the data date of getting indexed in the document type?

    Hi all

    I have a document where the date is used frequently, how to stop these dates back to get indexed?

    is it not possible to add dates in the stop class?

    Please let me know your suggestions

    Thanks in advance.

    The only available stopclass is currently numbers. However, in a text document, the dates are just numbers and characters. So, if you are using the numbers stopclass, which eliminates the part numbers of all dates. You can also add all the months, each abbreviation of the month, every day of the week and every abbreviation for all days of the week. I have demonstrated with just below. Of course, this will prevent also other numbers course tokenized so non-date.

    SCOTT@orcl_11g> CREATE TABLE test_tab (test_col VARCHAR2 (40))
      2  /
    
    Table created.
    
    SCOTT@orcl_11g> INSERT ALL
      2  INTO test_tab VALUES ('Today is Friday, May 15, 2009.')
      3  INTO test_tab VALUES ('Today is Friday, 15/May/2009.')
      4  INTO test_tab VALUES ('Today is Friday, 15-May-2009.')
      5  INTO test_tab VALUES ('Today is Fri, 15-May-2009.')
      6  SELECT * FROM DUAL
      7  /
    
    4 rows created.
    
    SCOTT@orcl_11g> BEGIN
      2    CTX_DDL.CREATE_STOPLIST ('your_stoplist', 'BASIC_STOPLIST');
      3    CTX_DDL.ADD_STOPCLASS ('your_stoplist', 'NUMBERS');
      4    CTX_DDL.ADD_STOPWORD ('your_stoplist', 'MAY');
      5    CTX_DDL.ADD_STOPWORD ('your_stoplist', 'FRIDAY');
      6    CTX_DDL.ADD_STOPWORD ('your_stoplist', 'FRI');
      7  END;
      8  /
    
    PL/SQL procedure successfully completed.
    
    SCOTT@orcl_11g> CREATE INDEX test_idx ON test_tab (test_col)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS ('STOPLIST your_stoplist')
      4  /
    
    Index created.
    
    SCOTT@orcl_11g> SELECT token_text FROM dr$test_idx$i
      2  /
    
    TOKEN_TEXT
    ----------------------------------------------------------------
    IS
    TODAY
    
    SCOTT@orcl_11g> 
    
  • is it possible to display the Date and time in the address bar or a clock window constantly

    I need to take screenshots with date stamps and time using the script of iMacros. Everything by taking screenshots iMacro don't add taskbar windows for the date and time. It takes screenshots of browser. Is it possible to display the Date and time in the address bar or a clock within the tab browser constantly to capture the screenshot with time stamp through iMacros
    I added the big clock background Add-ons, but it is visible to new tabs.

    Badly looking for help and it will be really appreciated...

    Try this extension:

  • Had to crash my computer. Lost my recovery key. My iphone have paired with the previous installation. is it possible to recover the data?

    In order to upgrade my Windows xp computer to Windows 7, I lost access to firefox without thinking to generate a recovery key. Is it possible to recover my data?

    If the only thing you have coupled to the account is an iPhone response is that unfortunately not. Customer iPhone (Firefox Home) is just a 'consumer' of data Sync and can't do much.

    My best advice is to keep sync iPhone to access bookmarks and transfer it manually to your new profile.

    Sorry to be the bearer of bad news.

  • Is it possible to stop auto power off while downloading?

    Is it possible to stop auto power off while downloading?

    Can you please be more specific with your problem?
    What model of laptop do you have?

    What happens exactly and when?

  • measure the angular speed, angle and trigger using a gyroscopic sensor breakout board and LabView data acquisition

    How to measure the angular velocity, the angle and trigger using a gyroscopic sensor breakout board and LabView data acquisition?

    There is a single channel data acquisition code which measures the angular velocity, angle and flexibility using a gyroscopic sensor breakout board and acquisition of LabView data attached to this, I need a help to creat two-channel data acquisition code?

    Hello

    Attached is a vi that you can use in order to read the measured angular position of an encoder.

    If you need more examples on the tasks that you can develop with NOR-DAQmx and LabVIEW, you just need to open LabVIEW and click Help > find examples > Input and Output material > DAQmx > entry counter.

    Kind regards

  • LabVIEW data Plugin SDK

    Is - this Labview Data Plugin SDKis always running on LV2009?

    I installed it but have no idea how to do to work with. I can not even find the mentioned help file LV_DataPlugin_SDK.pdf after installation.

    I wanted to use it to write a Plugin to G data for a custom results file. I'm looking for a range of specification or feature of accumulation LV of special or something else...

    Any help appreciated

    Christian

    Hi Christian,

    I checked with R & D on this, and they said that the SDK to use LabVIEW currently in office cannot work with LabVIEW 8.6.  They also said that they are a few days from the end of the version of LabVIEW 2009.  I have no idea where the files got installed in your computer, or not at all.  My recommendation is to wait for the 2009 version of LV or find a LV 8.6 computer.

    I'll let know you when I hear more,

    Brad Turpin

    Tiara Product Support Engineer
    National Instruments

  • LabVIEW data into a text file

    I have a LV program to save the LabVIEW data into a text file. The LV file is attached. My problem is: the first data that are saved after the headers of data, is on the first line of the text rather than the second file. Ideally, it should be line 1, line 2 from data headers. I don't know what is the origin of the data to be concatenated with the headers. Can anyone help on this please.

    Thank you and thank you for your time in advance.

    Hello!

    Your problem seems to be quite simple, if I understand it right.

    All you need is a constant to be concatenated with your header line end.
    The end of the constant line is equal to CRLF.

    So, if you concatenate the header with the CRLF, your concatenated string will be like: "header \n".

    and then, in the following lines (1, 2, 3...) your data will be available as it was already.

    I enclose a snapshot with this change.

    I hope that solves your problem!

    Best regards.

  • 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

  • I block junk emails every day, always bring, I mark the email phishing scam day after day, always find them in the same places day after day after day, is it possible to stop really and how?

    I block junk emails every day, always bring, I mark the email phishing scam day after day, always find them in the same places day after day after day, is it possible to stop really and how?

    original title: tired of it

    You have posted in a forum for MSE, antivirus, antimalware application.  You must investigate e-mail options... providers (hotmail, gmail, yahoo, etc) screen several e-mail for spam.  You don't have not yet described here your email client... so there is little that anyone can tell you that generic advice.

Maybe you are looking for