Labview data communicat​ion c borland builder ram memory

I have data generated by labview and I want it send to borland c++ builder as variable. but I dont want use the hardrive. how can I communicate with C++. the communication must be fast.
greeting paul

There are two ways to do this:
1.Pass the data value or pointer of the data that generated by LabVIEW vi to your c code using "call library function"
2. Have your C code to call LabVIEW using LabVIEW activeX server and get the data from the vi.
You can find examples in NI website, search for key words like "call external routine in LabViEW" or "call LabVIEW in C"
Irene
[email protected]
www.hytekautomation.com

Similar Messages

  • LabView/ Gilson Communicat​ion (16bit DLL) ?

    Gilson says their 506C interface can be talked to using GSIOCLIB.DLL
    supplied in the 506 software package. However, Labview 5 (on WIN 98)
    doesn't like that this is a 16 bit DLL. Does anybody know a workaround?
    Thanks for your help, Frank Alsmeyer

    > Gilson says their 506C interface can be talked to using GSIOCLIB.DLL
    >
    > supplied in the 506 software package. However, Labview 5 (on WIN 98)
    >
    > doesn't like that this is a 16 bit DLL. Does anybody know a workaround?
    >
    > Thanks for your help, Frank Alsmeyer
    Your options are to use the Win31 version of LV on Win98. It should be
    on the CD. This is sort of lame since you are running in a Win31 subsystem,
    and it may work OK, but LV doesn't get to use any Win98 features.
    OR
    You could get someone to write thunking DLLs for the calls into the GSIOCLIB.
    This would mean that the DLL could run on Win98 and other 32 bit Windows OSes,
    but it is also lame, and depending on the DLL, may be quite difficult to write.
    OR
    You can ask Gilson to recompile their DLL to support t
    he modern versions of
    windows or ask them to give you the source code so that you can
    recompile it.
    Recompiling the DLL may not be much easier than the thunking, but it
    would be
    much better usage of your time. One caveat though, if the DLL is a kernel
    level driver rather than a peek/poke variety, a simple recompile won't
    do, and
    it will need to be rewritten to use the newer DDK (Driver Development Kit)
    functions.
    Greg McKaskle

  • Can Ideapad Lynx k3011 micro USB port use for data communicat​ion?

    Greetings,
    I would like to connect on one end an VAG-Com USB dongle (http://www.ross-tech.com/vag-com/hex-usb+can.html) via a Micro USB adaptor to the tablet and the CAN bus to my car on the other end to turn some car features on and off. Can the Micro USB port on the tablet be used as communication device to achieve this?
    Thanks,

    Just check ebay or http://www.parts4repair.com/brands/Sony.html
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • Interproce​ss Communicat​ion C++ - LabView

    Hi,
    I have a C++ *.exe file wich is grabbing images with a Matrox framegrabber. This program ist startet via "system exec" from LabView. I want to do a kind of time measurement with this program so i need the exact time when the grabbing of frame starts. At the moment I dont know how long the *.exe file needs to initialize the framegrabber (something about 500-1000ms).
    My idea is to start a continous grabbing but start saving the images when another command via LabView will be send to the C++ application. But I don't know how to send this command! It should be a kind of a "wait until key pressed" controlled by LabView. Maybe a global bolean or something like that.
    I hope somebody can help me!
    (programming with LabView 7.0 and Visual C++ 2003.NET)

    Hi,
    What
    you are looking for is called an “inter-application communication”.
    There
    are several options to realize it. LabVIEW supports TCP/IP, ActiveX or UDP to
    communicate with another application.  So
    it’s not as simple as using a “global Boolean”
    as you mentioned.
    I advise you, to use the LabVIEW
    examples which shipped with the NI example finder to get some programs as
    reference. Search for keywords like TCP/IP, ActiveX and UDP.
    Attached
    you’ll find a link to a knowledgebase.
    Hope this helps.
    How Do I Use LabVIEW to Communicate with Other
    Applications?
    http://digital.ni.com/public.nsf/allkb/B3959ED76D5​5A9E586256965004D8092?OpenDocument
    Regards,
    Ulrich
    AE NICER

  • I still have no way how to deal with the LabView Data folder automatically created in the My Documents folder whenever I run the application

    I tried numerous ways that some people suggested in this forum but did not succeed in having the LabView Data folder created somewhere else than in My Documents when running a built LabView application. Changing the target destination folder did not help at all. A member suggested to put some line like " defaultdestination = ..." or so into the build file, but I did not know where exactly to put such a line. That folder created is particularly anoying for people who don't normally use LabView but are only using the application. Please let me know when you LabView Experts out there have found a way to eliminate or relocate the creation of that folder at application startup.
    Thanks a lot.
    Tim, Van

    Tim,
    use the path constant located in the Functions pallette under 'File I/O->File Constants->Default Data Directory'. It refers either to the default directory (which is (osdatadir)\Labview Data on my WinXP system) OR TO A NON DEFAULT PATH if you have defined one. To define a non-default path, got to the menu 'Tools->Options...' and change the entry under 'Paths->Default Data Directory'. This change will create an entry in the labview.ini file (located where the labview.exe is), e.g. the entry 'DefaultDataFileLocation=d:\temp' is created when I change the default data dir to 'D:\temp'.
    Now for a compiled .exe with the name (say) myapp.exe you will find a file myapp.ini in the same location where myapp.exe is. It is usually an emtpy file directly after the application build process. Put the line 'DefaultDataFileLocation=(your path)' in this file.
    Users of your compiled app can either
    - edit this .ini file to change the default,
    - or you can make the menu entry 'Tools->Options...' accessible in the built VI
    - or you can provide a self written dialog in your app and modify the myapp.ini programmatically
    (This last way is probably not a good one since the user might have to relaunch myapp.exe in order to affect a change of the 'Default Data Directory' path constant)
    -Franz
    Tc@labView wrote:
    I tried numerous ways that some people suggested in this forum but did not succeed in having the LabView Data folder created somewhere else than in My Documents when running a built LabView application. Changing the target destination folder did not help at all. A member suggested to put some line like " defaultdestination = ..." or so into the build file, but I did not know where exactly to put such a line. That folder created is particularly anoying for people who don't normally use LabView but are only using the application. Please let me know when you LabView Experts out there have found a way to eliminate or relocate the creation of that folder at application startup.
    Thanks a lot.
    Tim, Van

  • Is it possible to convert LabView data into OLE variant?

    Hi. I'm using Activex Data Objects (ADO) to communicate with MySQL. Some ActiveX methods give OLE variant output, with "Variant Type" like "VT_ARRAY|VT_UI1", "VT_UI1" or "VT_BSTR". With some deduction and trial and error is relatively simple to extract data from this OLE variants and convert them to LabView data types. The problem is when I try to input variant data to some ActiveX methods, it almost always give me errors, I suppose because it expects the same type of the outputs, this is: OLE variants. Now, the question is: ¿Is there any way to convert LabView data into OLE variant data? ¿How?
    I've been searching and found a lot of posts about problems when passing variant data into ActiveX, saying that sometimes SAFEARRAYs are needed, sometimes saying that there were some bugs in LV6, giving some workarounds to this bug and saying that it is fixed in LV7.1, but the supposed workarounds don't work and the bug is still present in LV7.1, if it is really a bug.
    I think that if I could put LV data into OLE variant shape I may find an answer and solution to this matter.
    Thank you
    Daniel R.
    UdeC - Chile

    Below I describe how to handle OLE Variants, but I wanted to mention that LabVIEW does have a Database Connectivity toolkit (http://sine.ni.com/nips/cds/view/p/lang/en/nid/6429) that has already created a set of VIs for ADO. You might check that out first.
    However, handling OLE Variants in LabVIEW is automatic. LabVIEW itself has a variant datatype. When you use the ActiveX property or invoke nodes and one of the parameters is an OLE Variant, it is automatically converted to a LV Variant. You can then use the LV Variant VIs (such as "Variant to Data" and "To Variant").
    Brian Tyler
    http://detritus.blogs.com/lycangeek

  • Problem with Borland Builder C++ AND NI-DAQ 6.9.3

    Hello,
    I am trying to porting a Data Acquisition application developed with Borland Builder 4.0 and NI-DAQ 6.5.1, changing data acquisition Hardware. Now I am using PCI - 6036E, with Ni driver version 6.9.3. My s.o. is Windows XP Professional.
    When I link application with nidaq32b.lib and nidex32b.lib and launch my EXE, without call any DAQ function, when I close my window PC is resetting! If I try to use Ni driver version 7.0 or 7.3, I obtain a GP fault as soon I start program.
    I think that there are problem of disallineament or other inside file EXE generated. I have tried to generate new file lib with implib utility from DLL, but with the same result.
    If anyone cannot help me, I think to substitute call to DAQ functions inside C code with DLL or EXE developed in Visual Basic.
    Can anyone give me any help for this? Is it better use VB 4.0 or VB 6.0?
    Thank you for your attention.
    Fabrizio

    Hi,
    I would definitely suggest to create the dll in VB6. There are shipping examples for VB6, so that you can see how it looks to program in VB6 with DAQ. These examples can be found at C:\Program Files\National Instruments\NI-DAQ\Examples\VBasic.
    I hope this helps. Have a Great Day!
    George

  • How can a LabView process communicate with a Visual c++ process

    How can a single Labview process communicate with another Visual c++ Process?
    Both Application are running separately. The LabView  Application must have the Possibility to send command to the C++ Application and receive Data from this process.
    Thanks.

    Thank y for your answer.
    The c++ application has already been written but don´t have an external interface.
    The LabView application can have an activeX  interface other dlls.
    Do you have some LabView example code using activeX interface other another Method to communicate with a c++ application?
    I have no practical experience with the interprocess communication.
    Any example in LabView will help me.
    Thanks

  • How to convert labview data into opc tag

    Hi all,
    Can any one please tell me how i can convert the labview data global into a OPC tag? I have some data globals reading and writing data to the globals. Now i wanted to use a PLC device to send its outputs to the field.
    The PLC device will supports the OPC tags so i wanted t create OPC recognised tags in my labview. Is it possible. I saw that labview also having OPC functinalities. Please any one guide me in doing this.
    I will be very thankful to them
    Ramme..

    As I said, I believe you can do this for globals as well by opening its front panel (double click the global) and using a DS connection for the control that represents that specific global.
    As for other alternatives:
    NI sells the DSC module which comes with an OPC server and with better tags.
    You can use a common protocol like Modbus to interact with the PLC.
    You can use the custom protocol used by the PLC.
    The last two would require that you would change your program structure, so you would only want to use them under certain conditions.
    I believe the practical limit for OPC tags with DS is a few hundred tags, but I never used it myself so I didn't run into it. You can try searching the forums to find out more.
    Try to take over the world!

  • POA SP3 and Data Synchroniser 1.2.3 Build 882

    Hi All,
    Last week we updated to Groupwise 8 SP3, running on Netware 6.5 with no issues. Since that update we have had major issues with Data Synchroniser 1.2.3 Build 882.
    Every 2 to 5 hours all the IOS devices ( we only use IOS devices) will throw up password messages and not connect. When the password is entered it is unable to verify and connection is not restarted.
    Restarting the Data Sync Server does not restart the sync. You have to restart the POA to get the sync working again.
    On the POA there are no obvious log messages at the time the sync fails, all the SOAP login in and log outs from the Data Sync server just stop. Sometimes the password requests will come up and if you wait 10 minutes and enter password it will accept and sync will start again.
    The only new message I see occassionally since the update is the following:
    Error: [0000] on Debug:2 hdebug=0, htemp=0
    But even this is not regular.
    When you restart the POA you will in most instances have a SOAP handler that is waiting to terminate which requires server restart to clear.
    I have run a full cwcheck on all the databases, a DOM and PO database check and recovery to no avail. I have checked all the POA settings against the recommended in the SP3 docs.
    I am out of ideas? Any help/thoughts will be much appreciated as this is frustrating.

    Originally Posted by blofts
    Hi All,
    See the following Thread and TID which is what I am experiencing as well, seems to be all related:
    TID7010410
    POA SP3 Feedback
    I have lodged a Support Request with Novell as per the TID, but have been advised the pacth is not ready yet as it needs testing, there is some discussion of this in the thread above. I asked about ETA which they advised is unknown but is a high priority. Novells suggestion was to backgrade to SP2HP2 if you cannot wait for fix.
    We are having restart our POA 1 to 2 times a day at present.
    Brad
    We do have a build that we believe fixes this issue. If you have an SR open, please contact your technician and ask them for build 803-102712. If you do not have an SR open, for tracking purposes we would need you to do so. As this is a bug for which there is no public patch at the moment, the cost of the SR would be credited back.
    Pam

  • LabView data socket callback

    does the LabView data socket object support a callback mechanism or event like the object for Measurment Studio does?

    dbru,
    I do not believe the exact functionality you are describing in Measurement Studio is implemented in the same way using LabVIEW.  Can you go into more detail of what you are trying to accomplish?  Perhapse there is another method or work around. 
    Mark
    LabVIEW R&D

  • Is it possible to hide the LabView Data folder through the labview application?

    I really want to get rid of the LabView Data folder in the My Documents Folder that is created when the built labview application is run. Since it does not seem to be possible to remove or relocate it, i was wondering whether it is possible to at least hide it - but I want it to be done automatically, i.e. through the program itself when it is executed.
    Thanks
    Tim, Van

    Hi,
    you cannot delete the "LabVIEW Data" Folder since your application is active!
    It's possible that you change the attribute (hide) for the whole folder before you start the compile process!
    If you want to do this automatically, you should ask microsoft which dll is relevant for this scope!
    regards,
    Thomas Sandrisser
    NI Germany
    http://www.newgistics.com

  • How can we publish Labview data using the web

    how can we publish Labview data using the web?
    Dr. Eugene Berman, Moran Kamilyan and Ravit Bar

    [email protected] wrote:
    how can we publish Labview data using the web?
    You could use shared variables and publish them to the network or use data sockets.
    Kudos always welcome for helpful posts

  • Generate LabVIEW data from JSON

    Hello,
    I have a question about using the "Unflatten from JSON" function in LabVIEW. I have a JSON string data coming from an external application (Java) and I need to convert that to LabVIEW data type (a cluster) and use that information in my program. But the "Unflatten from JSON" function needs a data type to conver the JSON string to LabVIEW data. If I don't know about the data type, is there a way to create a LabVIEW data cluster from the incoming JSON string? Anybody has any experience on this?
    I appreciate all your inputs.
    Thanks...

    Try the JSON LabVIEW library.

  • Labview to communicate over usb with an Danfoss VLT Automation Drive FC 302 adjustable frequency drive

     Has anyone used Labview to communicate over usb (or RS232/RS485) with an Danfoss VLT AutomationDrive FC 302 adjustable frequency drive ?
     Thanks
     Hierromovil

    Duplicate - http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Labview-to-communicate-over-usb-with-a-Danfos...

Maybe you are looking for

  • List of orders with Dangerous goods error

    Hi All, How can I find the list of orders which are incomplete due to Dangerous goods checks. Is there any table available for that. Another thing, for testing, I need to create a Sales order with Dangerous goods check error. So I have selected a mat

  • Screen turning black on my Satellite C series

    Hi all, my laptop is about 10 months old. Recently the screen appears to go off. What actually happens is it becomes so faint I can't see anything. I've connected it to an external monitor and there the screen displays, so I presume there's no proble

  • PSC 1315 parcel page print

    My sister has an HP PSC 1315 connected to an older Dell.  She noticed a problem while doing online banking; she downloads and prints the statement which is in pdf format.  The banks logo will print but instead of printing the rest of the text it only

  • Issue in installing oracle apps 11.5.5

    Hello all, i have an issue while installing oracle apps single node(vis demo). if some one can help to sort out my issue or suggest some link where i can get the solution, i will be very thankful to him. problem 1. i installed the j2sdk-1_4_2_06-wind

  • W540 - boot from second hard drive?

    Morning, I've recently got an ultrabay adapter and wanted to know if I could run two separate OSs, one from each hard disc. Effectively, I would like to have one version of windows on the internal HDD for general day to day stuff and one as a program