conversion of labview in c ++

Hello

I'm not an expert in computer programming. So, I choose LabView rather than an other other languages. But I just came across another problem here. The instrument I use takes only c ++ codes, not of LabView.

Is it possible that I can convert the screw that I wrote in c ++ codes, so that my instrument include LabView programs?

Thanks in advance,

Pui


Tags: NI Software

Similar Questions

  • conversion of LabVIEW 8.5 in 2012

    Hello

    I'm trying to convert my application written in LabVIEW 8.5 with NOR-traditional Daq OR DAQmx LabVIEW 2012.

    You can find the code as an attachment

    Thank you

    Are you aware of that very specific baord is available for applications for upgrading / downgrading.

    http://forums.NI.com/T5/version-conversion/BD-p/VersionConversion

    In addition, a VI that is created in LabVIEW 8.5 version can be opened in the 2012 version & later recompile (upgrade) it.

    Edition: Find VI improved with DAQmx functions in the attachment.

  • Conversion of LabVIEW 5.1 VI LabVIEW 8.0 or newer

    Hello

    Anyone have the opportunity to open a Labview 5.1 VI and could convert to a newer version for me?  I currently use 2010 and have access to 8.6 as well.  Thanks in advance!

    -Adam

    Here's a conversion to 8.2.

    Be aware that, for example, the temporal delay code is not healthy and probably belongs in the threads of Rube Goldberg .

    See if you can simplify it...

  • float to bytes conversion using labview

    in the project of the University to number of float serialy using labview. I don't know how to convert his individual bytes actualy I want to encode float in its float bytes. kindly help me in this regard

    Send "bytes" is usually done in the form of strings. Just use catalogued with the disconnected type entry (or use "flatten chain").

    To get started, simple would be to use the finder example in LabVIEW and search for serial communications.

  • Conversion of Labview 5 to 2012


    Two tips for you:

    1. do not create duplicate messages.

    2 need for a converted VI? Please report to the Office of the Conversion of Version .

  • Conversion of LabVIEW download

    Hello

    Can someone help me in converting some files labview 5.1 in labview 8.6-readable files?   I'm ready to do it myself if someone can tell me were to download a converter, but if I need several versions of labview, I am probably out of luck.

    Thank you

    I converted to LabVIEW 7.1 - I think that 8.6 might be able to open and convert 7.1

  • conversion of LabVIEW 2011 to 8.2


    Click on file and select Save to the previous version , select the version you want and save it (if you have the support 8.2 I guess), otherwise check the jury of the conversion of the version to convert the version of vi

  • C code conversion for labview

    Hello

    As I'm not familiar with C code, can anyone please help me convert this function in Labview (8,6)? See attached txt file.

    Thank you

    LabVIEW 8.6

    This is a very direct translation.  If you know that the length parameter will be equal to the length of the array, then you don't need the length parameter and you can use an automatic indexing for loop, cut just the last element if the parameter 'create' is true.  (Code snippet is LV 2009 but attached VI is saved to 8.6)

  • conversion of labview 7.0 to 6.1

    I have a set of FTDI labview vi 7 I need converted to 6.1.  They are designed to use a usb dll.

    Thanks, Jeff

    Downconvert requests Thread

  • LabVIEW file conversion toolkit

    I have a lot of files in the version of Labview 5.1.

    I can't open it in my version of Labview 8.5.

    Source code in labview 5.1 should be changed after the current requirement.

    I so need a run conversion toolkit labview.

    Attach the file to download.

    I use the windows xp operating system.

    Please, help me at your earliest.

    Hi grugh,

    did you read what I wrote?

    There is a thread upconvert to such request...

  • Conversion

    Hello

    Can someone convert this under VI (15 LV) 13 LabVIEW or lower, please?

    Thank you

    Amith

    Done here: http://forums.ni.com/t5/Version-Conversion/To-LabVIEW-2013-or-below/m-p/3348550#U3348550

  • By specifying the screen coordinates in printf using LabView RT 2009

    According to the 2011 help in LabView documentation 'Printf (Manager of LabVIEW function)", the character of the conversion of 'q' is supposed to refer to a point. The actual help text is "q Point (passed by value) as %d, %d, representing the coordinates horizontal, vertical. It is a valid conversion for LabView RT 2009 character? If so, then someone has an example of using these characters to print at line 10, column 1 on the console? I tried a lot of combinations like: printf ("% dqTest Row", (10.1)), etc.

    LabVIEW Real-time has not intrinsically a "console" - it has an "output stream.  There is no API added to allow you to jump all over the console in native mode (don't cross the streams) - you can't even do it with the functions of Manager of LabVIEW (literally, it prints a point in this place of pixel, not text).

    Now, I tell you this, but if you happen to have a target with a video memory (like a PXI system, certainly NOT a cRIO or PCP) and you happen to know the address of where the video memory is on your 0x0B8000 system, you can directly write ascii characters on the screen specific areas - just as they did in the days of DOS.

    #include 
    #include 
    
    void VGAChar(unsigned int row, unsigned int col, char c, unsigned char attr) {
        static volatile char *video_mem = (char *)0x0B8000;
        unsigned int pos = ((row * 80) + col)*2;
    
        video_mem[pos] = c;
        video_mem[pos+1] = attr;
    }
    
    void VGAString( unsigned int row, unsigned int col, char * str, unsigned char attr) {
        int i = 0;
        while (str[i] != '\0')
        {
            VGAChar(row+(col+i)/80, (col+i)%80, str[i], attr);   /* print each character */
            i++;
        }
    }
    
    int main (void)
    {
        char buffer[ 100 ];
        sprintf( buffer, "Hello, my DOS world!" );
        VGAString( 10, 10, buffer, FOREGROUND_BLUE | FOREGROUND_RED );   // prints in PURPLE at ROW 10, COL 10.
    
        return 0;
    }
    

    Of course, I don't condone this and it is certainly NOT taken in charge (and only works on targets based on the PharLap with a video console), but there is a lot of fun.

    -Danny

  • 16-bit float conversion

    Hello, I have recive 16-bit data that represents 16-bit float (half precision) is all easy way how to get the value of data without writing my own conversion from labview supports only 32, 64, 128, float formats. Thank you

    Hello, there is no option to convert the number in easy (without writing any code conversion) mode.

    According to: document 'A very Simple compiler' (http://acm.pku.edu.cn/JudgeOnline/problem?id=3202), you can use the code that is found in an attachment.

    Best regards
    MK

  • Problem with typecasting function

    Hello world

    I have a problem with the conversion in labview function. I want to save my data in a binary format, so I use the conversion feature to convert data types to string format. Subsequently, these files must be read into Matlab and other software. Everything works directly in labview but is not with other software. For example, if I want to save a value of 1 (U16) I can only read a value of 256 in Matlab. I guess it has something to do with the effects of Mismatching described in help. But how can I fix? Can someone help me, that would be great?

    Thank you very much!

    Johannes

    I want to save the value 1 (U16), I can read only instead of a value of 256 in Matlab

    You have a problem (as said Mercurio, "Boutien") byte order.

    A U16 takes 16 bits, or two bytes.

    When sending two bytes in the meantime, both parties must agree on which one comes first.

    For many years, the standard was "big-endian", that is, the byte the most signiificant came first.

    Intel came and went against the standard byte, i.e. 'little-endian' or less important first.

    LabVIEW has 'Big-Endian' as the standard for the transfer (he was born on non-Intel architectures).

    If both sides of the Exchange do not agree on the method, you will get the symptoms you describe,

    If the two bytes are 00 01, one side which will see as 00 01 = an and the other side will see it as 01 00 = 256.

  • string of decimal float

    Hello

    I am an intern and I have a problem with my system.

    I send information between a PCB to my computer. I send in my frame, a float to a string format and I would like to do the conversion in LabView to show the correct value.

    For example, there is something like that in my buffer: 3E94C2DC and I would like to convert that to decimal format.

    Could you help me please.

    Thanks in advance.

    Quentin

    Not clear to me:

    Source: "3E94C2DC" in what format? 2 words in Hex, or 8 bytes of ASCII-coded series?

    Output format: single float? (0,290549)

Maybe you are looking for

  • Tecra A2 - where can I find the drivers?

    Hello My daughters notebook recently crashed and had to replace the HARD drive. I reinstalled Windows XP, but it seems that the Wi - Fi modem and audio drivers are missing, (and probably others). What should I do to get all the drivers for his machin

  • Ink system failure code... 0xc19a003... Photosmart Plus B210a... Help

    I have a HP Photosmart Plus B210a printer code My problem is the following: -. The printer screen is display the following information:-the 0xc19a003 ink system failure code. Please turn printer and then turn it on again. I tried several times with H

  • Improve the 5 GHz range

    I was on the phone with cable Support TimeWarner during these days, trying to get the speed I pay for, the speed at which we found on the desktop computer that is connected to the router EA8500 has a download speed of speed 117.14Mbps and download th

  • Why my Vista computer restarts by itself on some occasions?

    Why my computer restart on its own occasionally, also why is that when I download a game, then open it but it does not play

  • How to create a shortcut to 'my computer '?

    I would like to create a shortcut to 'My computer' on the desktop, but when I right click on a box empty to make appear "new" and select "shortcut", ran into a brick wall. I get a window that allows me to browse to "my computer (that I've renamed 'Th