Ascii to hexa on Labview 7.0

Hello,
Within a school project, we are using Labview 7.0 to display and process frames we receive on a serial port.
The frames are received in a ascii mode.
We would like to know the programming structure to convert these ascii frames in hexadecimal type so that we could process them in the following of our program.
We already found many examples on the Net but no one matching with Labview 7.0.
We would be glad if some one had some advice or a V.I at disposal.
Thanks by advance !
Nicolas & Thomas

Hi Nic & Thomas,
when you receive hexnumbers as ASCII text you should use this function to convert those into numerics...
When that's not your case you should attach an example VI with received string and wanted result...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • Need your suggestions - how to display large file in ASCII and HEX

    Hello,
    I want to create an application which can read in a large file and switch between displaying ASCII and HEX (formatted a particular way). There are two problems here that I'm not quite sure how to solve.
    1. How to switch dynamically between ASCII and HEX. Should the HEX formatter be in the document of the JTextArea(or equivalent), or somewhere in the view? If it's in the view then where? I'd rather not read in the file more than once.
    2. How to do some kind of paging scheme for huge files. I'd like to read in part of the file and display it, then when the user scrolls to another area, read in that part of the file.
    Thanks!
    Jeff

    Hello,
    I want to create an application which can read in a
    large file and switch between displaying ASCII and
    HEX (formatted a particular way). There are two
    problems here that I'm not quite sure how to solve.
    1. How to switch dynamically between ASCII and HEX.
    Should the HEX formatter be in the document of the
    e JTextArea(or equivalent), or somewhere in the view?
    If it's in the view then where? I'd rather not read
    d in the file more than once.You can iterate over all the characters in the String using String.charAt, cast the chars to ints, and call Integer.toHexValue(...)
    >
    2. How to do some kind of paging scheme for huge
    files. I'd like to read in part of the file and
    display it, then when the user scrolls to another
    area, read in that part of the file.
    Thanks!
    Jeff

  • A string that can be displayed as both ASCII and hex in an indicator will only save the data to a file in ASCII format

    We can see the data in an indicator just fine, but when we try to write that string of hexadecimal data to a file, it will only save the data in ASCII format.  
    This sounds fairly simple, as the indicator can be selected to display the data in several different formats (VI>Properties>Appearance>Display Style: Normal, Backslash...., Hexadecimal).  However, I have been unable, as of yet, to save the data in different formats.
    Solved!
    Go to Solution.

    altenbach wrote:
    ... or you could just read the string:text.text property to get whatever is actually displayed.
    like this...
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    texttextString.PNG ‏6 KB

  • Non-ASCII WIFI Hex WEP Key in iPhone 1.1.2

    I am struggling to connect to my employer's WIFI network. I was able to do this back with older firmware of the iPhone when it would let me specify that the WEP key was Hex. That option doesn't seem to exist anymore.
    My employer's key is "1111111111" but it doesn't have an ASCII equivalent that can be typed using the iPhone keyboard. I've looked around and some people mention that if you put a "$" in front of the hex key that it will then force the iPhone to treat it like hex but that doesn't seem to be true.
    Please help me figure out what I am doing wrong.
    Thank you,
    Matt

    Matt Cooper1,
    WEP Password, and type password means the Mac is seeing it as ASCII password not a hex.
    Is your network using 128-bit or 40-bit encryption?
    If using 40-bit the ASCII password should be 5 characters, and 128-bit 13 characters to avoid potential hashing issues.
    This article discusses that in the "Multiplatform issue" and "Avoiding the issue" sections:
    http://docs.info.apple.com/article.html?artnum=108058
    Hope this helps,
    Nathan C.

  • Boolean Array to Hex String - LabVIEW Supplementary Data Conversion Library in version 12 please

    Hello,
    I would like to use the Boolean Array to Hex String.vi in LabVIEW Supplementary Data Conversion Library at http://zone.ni.com/devzone/cda/epd/p/id/3727
    But it is version 4. Can someone give me the library in version 12? Attached herewith.
    Attachments:
    cnvrsion.zip ‏38 KB

    Mass compiled in 8.2.1, which you can open with 2012.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    convrzun.llb ‏65 KB

  • How can be represent -10 in Hex in LabVIEW

    Hello All,
    Can anybody tell me how to represent a –ve number in a Hexadecimal format? (How do u will represent -10 in Hex)
    If anybody is having any readymade utility
    Thanks and Regards.

    Lets say we have 32 bits to work with.
    The first 16 bits is for positive numbers and the last 16 bits is for negative numbers.
    Only thing you have to watch out for is negative numbers count backwords in HEX. See example below.
    decimal 2 = hex: 0000 0002
    decimal 1 = hex: 0000 0001
    decimal 0 = hex: 0000 0000
    decimal -1 = hex: FFFF FFFF
    decimal -2 = hex: FFFF FFFD\
    etc
    So -10 decimal is FFFFFFF6
    LabVIEW can do this easy enough. Make an indicator, right click for properties and change it to HEX display.
    See code below:
    Attachments:
    Hex.vi ‏13 KB

  • Help with binary to decimal, binary to hex, and hex to ascii or ascii to hex program

    I decided to do a program that will do binary to decimal, binary to hex, and hex to ascii for a project related to a java programming course, which only needs to perform features from chapters 1-6 and 8 of Tony Gaddis's book. The functions work fine as their own main programs out side of this combined effort, so can anyone help me determine why I get the following 41 errrors saying: class, interface, or enum expected as well as any other errors that may show up afterwards because I'm stumped. My flowcharts, which have to be revised after discovering that my previous function were logically incorrect after running them in their own main are attached below as the spec sheet.
    My code is as follows and I hope you don't mind the commented lines of unused code because I'm not sure where I want things and what I want at the moment:
    import java.util.Scanner;
    import java.io.*;
    import java.lang.*;
    public class BintoDectoHextoAscii
       public static void main(String[] args)throws IOException
          Scanner input = new Scanner(System.in);
          System.out.println("Enter a binary number: ");
          String binary = input.nextLine(); // store input from user
         if (binary == input.nextLine())
          //int i= Integer.parseInt(hex,2);
          //String hexString = Integer.toHexString(i);
          //System.out.println("Hexa decimal: " + hexString);
          //int finaldecimalvalue = binaryToDecimal(hexString);
          int finaldecimalvalue = binaryToDecimal(hexString);
         if (binary != input.nextLine())
          String hexInput; // The variable Bin Input declared as the datatype int to store the Binary value  
          // Create a Scanner object for keyboard input.
          //Scanner keyboard = new Scanner(System.in);
          // Get the number of binary files.
          System.out.print("Enter the Hex value: ");
          hexInput = keyboard.nextLine();
          System.out.println("Original String: "+ hexInput);
          //String hexEquivalent = asciiToHex(demoString);
          String hexEquivalent = asciiToHex(hexInput);
          //Hex value of original String
          System.out.println("Hex String: "+ hexEquivalent);
          String asciiEquivalent = hexToASCII(hexEquivalent);
          //ASCII value obtained from Hex value
          System.out.println("Ascii String: "+ asciiEquivalent);String finalhexOutput = HextoAsciiConverter(hexEquivalent);
         if (binary != input.nextLine() && hexInput != keyboard.nextLine())
             BufferedReader binInput = new BufferedReader(new InputStreamReader(System.in));
             System.out.println("Enter the Binary number:");
             String hex = binInput.readLine();
             //String finaldecimalvalue = binaryToDecimal(decimal);
             //long finalhexvalue = BinaryToHexadecimal(num);
             long finalhexvalue = BinaryToHexadecimal();
       public static String BinaryToHexadecimal(String hex)
          //public static void main(String[] args)throws IOException
             //BufferedReader bf= new BufferedReader(new InputStreamReader(System.in));
             //System.out.println("Enter the Binary number:");
             //String hex = binInput.readLine();
             long num = Long.parseLong(hex);
             long rem;
             while(num > 0)
             rem = num % 10;
             num = num / 10;
             if(rem != 0 && rem != 1)
             System.out.println("This is not a binary number.");
             System.out.println("Please try once again.");
             System.exit(0);
             int i= Integer.parseInt(hex,2);
             String hexString = Integer.toHexString(i);
             System.out.println("Hexa decimal: " + hexString);
          return num.tolong();
      //int i= Integer.parseInt(hex,2);
      //String hexString = Integer.toHexString(i);
      //System.out.println("Hexa decimal: " + hexString);
    //} // end BintoDectoHextoAsciil
       //public static String HexAsciiConverter(String hextInput)
          // Get the number of binary files.
          //System.out.print("Enter the Hex value: ");
          //hexInput = keyboard.nextLine();
          //System.out.println("Original String: "+ hexInput);
          //String hexEquivalent = asciiToHex(demoString);
          //String hexEquivalent = asciiToHex(hexInput);
          //Hex value of original String
          //System.out.println("Hex String: "+ hexEquivalent);
          //String asciiEquivalent = hexToASCII(hexEquivalent);
          //ASCII value obtained from Hex value
          //System.out.println("Ascii String: "+ asciiEquivalent);
       //} // End function  
       private static String asciiToHex(String asciiValue)
          char[] chars = asciiValue.toCharArray();
          StringBuffer hex = new StringBuffer();
          for (int i = 0; i < chars.length; i++)
             hex.append(Integer.toHexString((int) chars[i]));
          return hex.toString();
       private static String hexToASCII(String hexValue)
          StringBuilder output = new StringBuilder("");
          for (int i = 0; i < hexValue.length(); i += 2)
             String str = hexValue.substring(i, i + 2);
             output.append((char) Integer.parseInt(str, 16));
          return output.toString();
       public static String binaryToDecimal(String binary)
            //Scanner input = new Scanner(System.in);
            //System.out.println("Enter a binary number: ");
            //String binary = input.nextLine(); // store input from user
            int[] powers = new int[16]; // contains powers of 2
            int powersIndex = 0; // keep track of the index
            int decimal = 0; // will contain decimals
            boolean isCorrect = true; // flag if incorrect input
           // populate the powers array with powers of 2
            for(int i = 0; i < powers.length; i++)
                powers[i] = (int) Math.pow(2, i);
            for(int i = binary.length() - 1; i >= 0; i--)
                // if 1 add to decimal to calculate
                if(binary.charAt(i) == '1')
                    decimal = decimal + powers[powersIndex]; // calc the decimal
                else if(binary.charAt(i) != '0' & binary.charAt(i) != '1')
                    isCorrect = false; // flag the wrong input
                    break; // break from loop due to wrong input
                } // end else if
                // keeps track of which power we are on
                powersIndex++; // counts from zero up to combat the loop counting down to zero
            } // end for
            if(isCorrect) // print decimal output
                System.out.println(binary + " converted to base 10 is: " + decimal);
            else // print incorrect input message
                System.out.println("Wrong input! It is binary... 0 and 1's like.....!");
            return decimal.toint();
       } // end function
    The errors are as follows:
    ----jGRASP exec: javac BintoDectoHextoAscii.java
    BintoDectoHextoAscii.java:65: error: class, interface, or enum expected
       public static String BinaryToHexadecimal(String hex)
                     ^
    BintoDectoHextoAscii.java:73: error: class, interface, or enum expected
             long rem;
             ^
    BintoDectoHextoAscii.java:74: error: class, interface, or enum expected
             while(num > 0)
             ^
    BintoDectoHextoAscii.java:77: error: class, interface, or enum expected
             num = num / 10;
             ^
    BintoDectoHextoAscii.java:78: error: class, interface, or enum expected
             if(rem != 0 && rem != 1)
             ^
    BintoDectoHextoAscii.java:81: error: class, interface, or enum expected
             System.out.println("Please try once again.");
             ^
    BintoDectoHextoAscii.java:83: error: class, interface, or enum expected
             System.exit(0);
             ^
    BintoDectoHextoAscii.java:84: error: class, interface, or enum expected
             ^
    BintoDectoHextoAscii.java:87: error: class, interface, or enum expected
             String hexString = Integer.toHexString(i);
             ^
    BintoDectoHextoAscii.java:88: error: class, interface, or enum expected
             System.out.println("Hexa decimal: " + hexString);
             ^
    BintoDectoHextoAscii.java:90: error: class, interface, or enum expected
          return num.tolong();
          ^
    BintoDectoHextoAscii.java:91: error: class, interface, or enum expected
       ^
    BintoDectoHextoAscii.java:124: error: class, interface, or enum expected
          StringBuffer hex = new StringBuffer();
          ^
    BintoDectoHextoAscii.java:125: error: class, interface, or enum expected
          for (int i = 0; i < chars.length; i++)
          ^
    BintoDectoHextoAscii.java:125: error: class, interface, or enum expected
          for (int i = 0; i < chars.length; i++)
                          ^
    BintoDectoHextoAscii.java:125: error: class, interface, or enum expected
          for (int i = 0; i < chars.length; i++)
                                            ^
    BintoDectoHextoAscii.java:128: error: class, interface, or enum expected
          ^
    BintoDectoHextoAscii.java:130: error: class, interface, or enum expected
       ^
    BintoDectoHextoAscii.java:135: error: class, interface, or enum expected
          for (int i = 0; i < hexValue.length(); i += 2)
          ^
    BintoDectoHextoAscii.java:135: error: class, interface, or enum expected
          for (int i = 0; i < hexValue.length(); i += 2)
                          ^
    BintoDectoHextoAscii.java:135: error: class, interface, or enum expected
          for (int i = 0; i < hexValue.length(); i += 2)
                                                 ^
    BintoDectoHextoAscii.java:138: error: class, interface, or enum expected
             output.append((char) Integer.parseInt(str, 16));
             ^
    BintoDectoHextoAscii.java:139: error: class, interface, or enum expected
          ^
    BintoDectoHextoAscii.java:141: error: class, interface, or enum expected
       ^
    BintoDectoHextoAscii.java:144: error: class, interface, or enum expected
       public static String binaryToDecimal(String binary)
                     ^
    BintoDectoHextoAscii.java:150: error: class, interface, or enum expected
            int powersIndex = 0; // keep track of the index
            ^
    BintoDectoHextoAscii.java:151: error: class, interface, or enum expected
            int decimal = 0; // will contain decimals
            ^
    BintoDectoHextoAscii.java:152: error: class, interface, or enum expected
            boolean isCorrect = true; // flag if incorrect input
            ^
    BintoDectoHextoAscii.java:155: error: class, interface, or enum expected
            for(int i = 0; i < powers.length; i++)
            ^
    BintoDectoHextoAscii.java:155: error: class, interface, or enum expected
            for(int i = 0; i < powers.length; i++)
                           ^
    BintoDectoHextoAscii.java:155: error: class, interface, or enum expected
            for(int i = 0; i < powers.length; i++)
                                              ^
    BintoDectoHextoAscii.java:159: error: class, interface, or enum expected
            for(int i = binary.length() - 1; i >= 0; i--)
            ^
    BintoDectoHextoAscii.java:159: error: class, interface, or enum expected
            for(int i = binary.length() - 1; i >= 0; i--)
                                             ^
    BintoDectoHextoAscii.java:159: error: class, interface, or enum expected
            for(int i = binary.length() - 1; i >= 0; i--)
                                                     ^
    BintoDectoHextoAscii.java:166: error: class, interface, or enum expected
                else if(binary.charAt(i) != '0' & binary.charAt(i) != '1')
                ^
    BintoDectoHextoAscii.java:169: error: class, interface, or enum expected
                    break; // break from loop due to wrong input
                    ^
    BintoDectoHextoAscii.java:170: error: class, interface, or enum expected
                } // end else if
                ^
    BintoDectoHextoAscii.java:174: error: class, interface, or enum expected
            } // end for
            ^
    BintoDectoHextoAscii.java:180: error: class, interface, or enum expected
            else // print incorrect input message
            ^
    BintoDectoHextoAscii.java:185: error: class, interface, or enum expected
            return decimal.toint();
            ^
    BintoDectoHextoAscii.java:186: error: class, interface, or enum expected
       } // end function
       ^
    41 errors
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.

    so can anyone help me determine why I get the following 41 errrors saying: class, interface, or enum expected as well as any other errors that may show up afterwards because I'm stumped.
    Yes - YOU CAN!
    My code is as follows and I hope you don't mind the commented lines of unused code because I'm not sure where I want things and what I want at the moment:
    Excellent! Commenting out code is EXACTLY how you troubleshoot problems like yours.
    Comment out sections of code until the problem goes away. Then start adding back ONE SECTION of code at a time until the problem occurs. When it does you have just FOUND the problem.
    If you do that you wind up with code that looks like this:
    import java.util.Scanner;
    import java.io.*;
    import java.lang.*;
    public class BintoDectoHextoAscii  {
          public static void main(String[] args)throws IOException      {
             Scanner input = new Scanner(System.in);
             System.out.println("Enter a binary number: ");
             String binary = input.nextLine(); // store input from user
                  public static String BinaryToHexadecimal(String hex)     {     } // end function        
    Notice ANYTHING UNUSUAL?
    You have a complete CLASS definition followed by a method definition.
    Methods have to be INSIDE the class - you can NOT define methods on their own.
    Write modular code.
    Write EMPTY methods - just the method signature and maybe a RETURN NULL if you need to return something.
    Then add calls to those empty methods.
    When everything compiles and runs find you can start adding code to the methods ONE METHOD AT A TIME.
    Test compile and run after you add the code for each method.

  • Conversion HEXA vers ASCII

    Bonjour,
    Je n'ai trouvé aucun outil Labview ni aucun post traitant de ce problème:
    Convertir du ASCII en hexa n'est pas un problème, mais je ne parviens pas à faire l'inverse.
    J'ai par exemple une constante chaîne de valeur 3C
    Je souhaite la traiter pour obtenir une variable chaîne de valeur < qui est son equivalent en ASCII
    Mon VI ne se résume bien évidemment pas à cela mais le principe sur lequel je bloque est rigoureusement celui ci.
    Les valeur que je suis susceptible de convertir sont comprises entre 30 et 3F.
    Je peux traiter ceci cas par cas mais ça me paraît inutilement lourd.
    Y a-t-il un outil qui m'aurait echappé ?
    Une méthode particulière que je ne connais pas ?
    Merci d'avance

    logique que tu ai 030D, tu converti une tableau d'octet, dois je te rappeler qu'un octet prend toujours 2 digits en Hexa, Puisqu’un digit par quartet.
    c'est a toi d'extraire les données que tu veux (1quartet) de chaque octet, et de les lier 2 à 2 pour en fair des octets et ainsi pouvoir les lire via la chaine.
    je rajouterais que labview et un peu lourd pour ce genre de traitement si facilement faisable en C.
    mais je te l'ai quand meme fais (une bonne demi-heure de perdue!)
    t'aurais pu chercher quand meme
    je crois que tu vas devoir me mettre 5 etoiles, car la je bosse pour toi.
    mobyJ
    Message Edité par MobyJ le 04-25-2007 04:29 PM
    Attachments:
    Forums.JPG ‏43 KB

  • Since 1.0.1 - no longer have choice of Passcode or Hex/ASCII key

    Since 1.0.1 update I no longer can tell the iPhone that my WEP password should be treated as a Hex/ASCII key.
    I'm able to successfully connect to this network from my Macbook no problem.
    I tried putting a $ before the password to no avail.
    Any thoughts?
    Tim

    I noticed the same thing after the update. I have two wireless systems (one of each) and have had no trouble establishing connections. I just entered the appropriate key (either ascii or hex) directly and the network connection was established.

  • Convert Hex to ASCII

    Is there an easy way to convert a HEX file format or string to ASCII format? It's easy to convert ASCII to HEX using using "toHexString" but how do you convert HEX back to ASCII?

    Integer.parseInt(hexString, 16);

  • Conversion from hex string to bytes withh out ascii

    how to convert hex string to byte numbers without ascii codes,then all the converted bytes should come into a packets

    rajkumar5 wrote:
    how to convert hex string to byte numbers without ascii codes,then all the converted bytes should come into a packets
    What people consider ASCII and Hex with strings varies so much, you pretty much need to supply an example.  The best way is to create a VI with default data in the string control and indicator (to show what you want out).

  • Hex character into columns

    Hi, I am trying to go from ascii characters to Hex. It works fine. but I need my hex numbers to show in 4 columns ( as show on this text file, how can I do that?
    Attachments:
    ascii to hex.vi ‏7 KB
    Hex.txt ‏1 KB

    Darin.K wrote:
    For the non-Regex-impaired and those who dislike padding with zeros.
    Regular expressions are much more clear after they have been compiled to machine code.
    Spoiler (Highlight to read)
    Just kidding. They only look confusing if you are not familiar with them. They really do make sense after you learn them and are very powerful!
    Just kidding. They only look confusing if you are not familiar with them. They really do make sense after you learn them and are very powerful!
    =====================
    LabVIEW 2012

  • Convert PDF File to ASCII / Text File

    Hello,
    I have a PDF File that was created from a Spools (Output of Smart Form to begin with and run in background) using the SAP Function module - CONVERT_OTFSPOOLJOB_2_PDF and I have the pdf file archived.
    Now, I need to do Reverse process. The original Spool is gone, and I need to extract some data from the pdf file - say, for example:
    I need to extract A/c numbers where the Label is "Account No:" followed by value of the Account No.
    I opened the pdf file in Binary mode, stored into an internal table of type Hex and then LOOP ed through this table.
    Moved the Hex data to a long enough data field of Type C to use "CS" operator in an IF Statement to look for the String "4163636F756E74204E6F3A" which is Hex representation of  'Account No:' (without the single quotes).
    I can see 'Account No:' in the PDF File but my IF Statement with CS fails. I even tried to find the Zip Code using CS Statement - it fails too.
    Some sample codes that I used are as follows:
      LV_TAG_1_C = '4163636F756E74204E6F3A'.
    refresh: T_DATA_FILE_C.
      LOOP AT T_DATA_FILE_X.
        ASSIGN T_DATA_FILE_C-DATA TO <FS_C>.
        T_DATA_FILE_C-DATA     = T_DATA_FILE_X-DATA.
        IF T_DATA_FILE_C-DATA CS LV_TAG_1_C.
    * The Above IF Statement NEVER became TRUE - even though I can see the "Account No:"
          LV_VAL_1_C = <FS_C>+SY-FDPOS(6).
          APPEND T_DATA_FILE_C.
        ENDIF.
      ENDLOOP.
    Outside LOOP, T_DATA_FILE_C is still EMPTY.
    Please let me know if you know of any example where I can extract data in ASCII format from a PDF File.
    Please NOTE - I do NOT need to convert a spool to PDF File (whole website is full of this) - I need the opposite !!!
    Help will be much appreciated.
    Regards,
    Tarun
    Message was edited by: Matthew Billingham - email address removed

    Hello Manish,
    Thanks a lot for your suggestion. This pdf file is really not a 1 to 1 representation of ASCII to Hex and vice verse. Your suggestion is really good.
    I think, we are very close. Do you know the Function Module name that I need to use - this is what we have in ECC / R/3. An example with which Function module I need to use with some sample code - basically, what I need to supply and where does the result go - will be great.
    Thanks again Manish.
    INCLUDE LSSXPU01.   "SXPG_STEP_XPG_START
    INCLUDE LSSXPU02.   "SXPG_STEP_END
    INCLUDE LSSXPU03.   "SXPG_STEP_COMMAND_START
    INCLUDE LSSXPU04.   "SXPG_JOB_END
    INCLUDE LSSXPU05.   "SXPG_STEP_START_UPDATE
    INCLUDE LSSXPU06.   "SXPG_STEP_END_UPDATE
    INCLUDE LSSXPU07.   "SXPG_JOB_END_UPDATE
    INCLUDE LSSXPU08.   "SXPG_COMMAND_CHECK
    INCLUDE LSSXPU09.   "SXPG_DUMMY_COMMAND_CHECK
    INCLUDE LSSXPU10.   "SXPG_APPSERV_RFCDEST_GET_INT
    INCLUDE LSSXPU11.   "SXPG_RFCDEST_OPEN_INT
    INCLUDE LSSXPU12.   "SXPG_COMMAND_CHECK_INT

  • Need help on complex math calculation in labview

    I need some help by being pointed in the right direction.  I have a piece of old lab equipment that I will be connecting to labview.  In order to send commands to the hardware, I have to calculate a checksum.  The checksum algorythm requires me to take alphanumeric characters, convert them to binary, perform binary addition, perform an Xor, mask certain digits, and convert the resultant binary string back to an ascii character.  Does labview have the capabilities to do this on it's own, or should I look at connecting to something like an external dll? 
    I have Visual Studio 2008 and some previous VB experience, so I think I could write a program that would do the calculation, but don't really know exactly what type of project (dll, etc.) is best.  Are there any specific settings for the dll so that labview can use it.  I see an example for C++ for Visual Studio 2005, but that is as close as I can get.  I only know VB, not C# or C++
    Can someone please point me in the right direction?
    Tron
    Solved!
    Go to Solution.

    You basically need some logical shifts and ANDs.
    Check version 2.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV
    Attachments:
    Checksum ver 2.vi ‏10 KB

  • How to run command line in LABVIEW 7.1

    Dear Sir/Madam,
    I want to execute such as command like this:
    c:\data\rename aa.txt aa.hex
    In LABVIEW 7.1, how do we implement this command. I really appreciate your help on this matter.
    Regards,
    Xia

    Use the sys exec function.  In LV 7.1 it is in the Communications palette.
    paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

Maybe you are looking for

  • BB Q10. Conclusions of the first week experience

    Hey there, I have moved from OS7 device to BB Q10 a week ago and here are my first brief conclusions (mostly for those who are yet considering of the purchase) good stuff: - the device looks good itself and it is completely not slippery; - I do like

  • ITunes Library Messed Up

    Today I opened up my iTunes and a pop-up appeared saying that my library is damaged. I started out by trying some things like opening other libraries, but it didn't change. In the end I used Vistas System-Recovery (is that what it's called?) to set m

  • Preview corrupted? - shows grey checkerboard pattern on PDFs

    I'm using an iMac OS 10.6.8 & Preview version is 5.0.3. A few weeks ago I started getting this translucent grey checkerboard pattern across many PDF documents opening in Preview. It doesn't happen with all PDFs, and in some documents any photos on th

  • Can't get safari to open with home page

    I have set google as my homepage in Preferences, but Safari invariably opens with the last page I had used before quitting.  I've tried both "Set as Current Page" (being on google, of course), as well as typing in google's URL. Any suggestions? Thank

  • Problems with Premiere Pro CS5

    Everyone seems to be getting replies to all questions around here so i hope someone can help me out. My premiere pro CS5 has decided to act up for the past three weeks: everytime i open an old project, it loads up, opens the project window and timeli