How can I write a Dll to perform a union in visual studio for use in LabVIEW?

Hello

I am new to writing dll. I am trying to write a Dll that will perform a union on a number of LabVIEW and then return the result in LabVIEW for my use. I've been struggling with this during a few days and I finally give in to get help.

This screenshot is the only description I have to help me with what I'm trying to do. Basically, I'm trying to pass a value that will be different according to a measurement of partial discharge. In the screen below, the value used is '1061111989' this number is my reading. I need to pass that value of labVIEW in my dll to perform a union on that.

In my Dll, I need to write the value of MeterReading.IntVal and to the MeterReading.FloatVal.

I have Visual Studio complete 2012 2012 Edition LabVIEW full, I'm LabVIEW CLAD and I wrote 17 floors of test to the United States to date. However, I've never needed Visual Studio so far. Can someone help me with this?

Thanks in advance,-Chris

Trying to create a Trade Union is stupid. Have you tried to make a simple conversion from type?

Tags: NI Software

Similar Questions

  • How can I convert a LabWindows/CVI 2010 project to a Visual Studio 2011 project?

    I have a good size project, 12 source files, headers 14, 1 uir, I want to be able to edit and compile in MS Visual Studio 2011, MSVC ++.

    I remember that we tell him that LabWindows dropped support for C++ in 2008 and is more had a wizard to convert projects. I know that I can follow the path of the DLL, but I have never created a DLL before and don't know where to start with it. What would be the best way to go about this conversion?

    CVI 2010 always supports the Assistant Conversion of Visual Studio to Visual Studio 2005/2008. We are not planning to add support for VS 2010 in a later version.

    If you need a project to VS 2010 now, you can use the Visual Studio 2008 conversion wizard, and then upgrade the project VS 2008 for VS 2010.

  • How can I create a network and put in on my iphone 4S for use with wifi?

    I have a phone, a personal hot spot 4s, a router and a broadband cable. Everything is running but I can't figure out how to get my network on my iPhone for use with Wifi.  Also, I don't know how or where on the phone to set the password and since I don't have a different password, I can't use my wifi?  Help, please!  My iPhone tech is exhausted and I'm going against a brick wall with my internet service who refuses to provide me with their ISP, etc.

    Hello

    Please ask your question the following support forums.

    iPhone: Apple Support communities:
    https://discussions.Apple.com/community/iPhone?CategoryID=201

    Concerning

  • How can I write in a table cell (row, column appear) in a databae?

    How can I write in a table cell (row, column appear) in a database using LabVIEW Database Toolkit? I use Ms Access. Suppose I have three columns in a table, I write 1 row of the 1st column, then 1st rank of the 3rd column. The problem I have is after writing the 1st column of 1st row, the reference goes to the second row, and if I write in the 3rd column, he goes to the 2nd row 3rd column. Any suggestion?

    When you perform a SQL INSERT command, you create a new line. If you want to change an existing line, you must use the UPDATE command (i.e. UPDATE tablename SET column = value WHERE some_column = some_value). The some_column could be the unique ID of each line, date and time, etc.

    I don't know what is the function to use in the Toolbox to execute a SQL command, since I do not use the Toolbox. Also, I don't understand why you don't do a single INSERT. It would be much faster.

  • How can I write a DVD blu - ray on a mac?

    How can I write a DVD blu - ray on a mac? I tried a blu - ray burner and (if necessary) the software to use.

    I found the BE14NU40, BD playback/BD write LG, but I don't know if it's Mac compatible.

    Can anyone advice a good burner + software?

    I used one of them for several years and it works very well with Mac:

    ta-drive-solution-blu-ray-6x-dl-dvd-r-rw https://www.MacFixIt.com.au/OWC-mercury-Pro-super-multi-blue-Blu-ray-external-SA...

    Al

  • How can I write a letter in french with Pages

    I use my computer in English, and I have to write an essay in french

    So, how can I write a letter in french with Pages

    Hi Luke,.

    If you are familiar with the French keyboard layout, you can move from the keyboard to this provision.

    If not, you can acess of the accents you will need the English KB layouts using (for example) option-~, then press e to e, or -e option, then press e to e. see the viewer keyboard for other options. Open the keyboard Viewer, and then press option key to display the keys to use for each accent.

    If all the accents you need are not available from an English keyboard, you can still list a French KB language as a 'second choice' and switch to it when you need an accented letter.

    Choice of the keyboard are defined in system preferences > language and text > input sources. If you choose more KB a page layout, the entry menu (a flag) will appear in your menu bar. The indicator shows the currently active KB.

    Kind regards

    Barry

  • Satellite Pro M30: How can I write on a CD 900 MB?

    Hello
    How can I write on a CD 900 MB, I use nero 7 and nero on what they told me I have to update my firmware CD writer questioned. I got satalite pro M30 and windows XP SP2.

    Hello

    I found this firmware on the Toshiba driver page:
    http://support.toshiba-tro.de/Tools/updates/DVD-r-RW-firmware/SD-rxxxx/frmwre-na.zip

    But I m not 100% sure if it works.
    You can also try to search the FW on the driver page.
    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/download_drivers_bios.jsp?service=EU

  • How can I write a digital waveform to the digital output (traditional DAQ)

    Hello

    I use a NI 6023e, PCI, with 8 digital outputs. I generated a digital waveform. How can I write for a specific digital production line now?

    I only have Labview 7, so I can't use DAQmx.

    Thank you very much


  • How can I find MSVCR71.dll and how to download MSVCR71.dll on my computer?

    How can I find MSVCR71.dll and how to download MSVCR71.dll on my computer?

    If I use the sites in this search, it will download another unwanted SW (spy, etc.) with the DLL file?

    It's almost a universal recommendation that not download you file DLL download sites. Many, if not most of these sites are created to support a useless program as a tuneup program, registry cleaner, etc.

    Is MSVCR71. DLL.3 a typo? I found MSVCR71. DLL on 2 computers, but not MSVCR71. DLL.3 (with le.3)

    This DLL seems to be part of .NET (dot net) when you access Windows Update, updates Dot Net Framework listed as recommended downloads?

    The DLL can be installed, but not saved. Follow the instructions in tha to

    http://support.Microsoft.com/kb/175775#method5 (method 5 - re-register necessary...)

    Re-register with the command regsvr32 msvcr71.dll msvcr71.dll

    Don

  • How can I write my results to Excel in a perticular line sheet?

    Hi all

    I'm new in labview and I have a problem.

    I found my results, it is in the 2D array... He sometimes in 1 d array because I want to remove the header line.

    How can I write my results one by one in the row following on it?

    Hereby, I have attached the excel sheet where I write my results.

    There are about 25 result so I have to run my VI 25 times but the result appears in excel sheet in 25 succeeding row.

    hope you find my question...

    Thank you

    Ok..

    I'll probably do...

  • If I have floating values such as 6.3 6.7, 6.9, 7.1, 7.2, how can I write a case statement to handle this

    How can I write a case statement if I want a case for x< 1.5;  ="" a="" case="" for="" 1.5=""><= x=""><= 3.7; ="" case="" for ="" 3.7="">< x="">< 7.2.....etc.  ="" my="" input="" is="" a="" floating="">

    Thank you.

    You don't seem to have set rules on inclusion, but I often use the function in the range and Coerce in these cases.

  • How can I write the value of floats Unitronics vision230 PLC with modbus Ethernet

    How can I write the value of type Float in unitronics PLC Vision230 modbus ethernet (Ethernet Master Query.vi MB) usinsg I read and write register 32 bits, for example, I want to write the value 23.45 2nd Add. MF. And registry MF is the 32-bit registry. I read and write register 32-bit.

    Narendra.

    Narendra,

    Two characters can type cast into a uint16 you VI supports.

    To summarize. Take one (4 bytes). Flatten it to a string (4-byte) divided this string into two parts of 2 bytes each. Cast in u16 (16 x 2 = 32-bit).

    However, if you really want to follow the IEEE standards then you will need refer this KB. His is not that simple, but seems closer to what you are looking for.

    Amit

  • How can I write a whole byte to a port of digital I/o on a NI7340

    I was able to find a Port.flx of e/s from reading that allows me to read all 8 bits at a time. I can't find a Port.flx VI e/s writing. How can I write all 8 bits at a time?

    Take a look at the value of MOMO.flx of I/o Port. Here is general information about DIO with Motion and here an explanation on the Protocol of MOMO (should we need to Off).

  • How can I reinstall corefoundation dll free

    install the corefoundation dll for free

    I want to know how can I reinstall corefoundation dll for most programs that say they will solve the problem you wait to buy their free program.

    I want to install totally for free please help Im going crazy and the other person who wrote in

    It is a file installed by Apple software products such as iTunes, QuickTime, or iPhone.  Did you recently install or uninstall any Apple software?  See if anything here helps:

    http://search.Yahoo.com/search;_ylt=A0oG7hVzXIROuXEAwaWl87UF?p=corefoundation.dll+site%3Aapple.com&FR=YFP-t-701&FR2=SFP&iscqry=

    Another possibility is that a virus or other such pest that was disguised as a corefoundatio.dll has been removed from your system and that the remains remained in the registry.  Run a MalwareBytes scan on your machine.

    http://www.Malwarebytes.org/

    John

  • How can I reinstall uncdms.dll

    How can I reinstall uncdms.dll.

    Download Windows Desktop Search and reinstall.

    http://www.Microsoft.com/Windows/products/winfamily/desktopsearch/choose/windowssearch4.mspx?tab=install%20It

Maybe you are looking for