Can labview globals or controls be modified directly from a dll

Is it possible to obtain a pointer or handle to LabVIEW global variables - specifically clusters of scalars, not including strings or arrays, which presumably would occupy a fixed memory area.
If this is not possible, can the value of data held in LabVIEW controls be modified from a dll by passing control references to the dll and if so how can this be done?
Using LabVIEW 6i, Windows NT SP6, MS-VisualC++ 6.0

I created a dll with LabVIEW 6.0 which had as its only input parameter a control refnum for a string control. I used this refnum to modify the value of the string control. I built the dll and then from a new VI called the dll using a call library function, passed it a refnum to a string control in the calling VI and ran it. The value of the string control in the main VI was change by the dll by only passing it a refnum.
To do this you must have LabVIEW 6.0 Pro or App builder. (I did all this with LabVIEW 6.0.2 update installed)
Attachments:
caller.vi ‏8 KB
chngstring.dll ‏17 KB

Similar Messages

  • HT204088 Why can't I see the purchase history from the ipad? I mean, I can buy apps and in game content directly from my iPad, but I have have to install iTunes on my PC to see the purchase history? What kind of deal is that?

    Why can't I see the purchase history from the ipad? I mean, I can buy apps and in game content directly from my iPad, but I have have to install iTunes on my PC to see the purchase history? What kind of deal is that?

    Welcome to Apple Communities
    You don't need to install iTunes for the purchase history. You can see it in your iPad (iTunes > Purchased), but you need to install it if you want the order numbers

  • I am ordering a new IPad 4 and I now own an Original IPad.  Can I transfer all settings and info. direct from old to new?

    I am ordering a new IPad 4 and I now own an Original IPad.  Can I transfer all settings and info. direct from old to new?  How?

    Yes, restore the iPad usind a backup file created in iTunes from the iPad 1.

  • Can i send out an Ical invite directly from my iphone or did Apple drop this huge ball?

    Can i send out an Ical invite directly from my iphone or did Apple drop this huge ball?

    No I have my own iPhone iPad and MacBook  so everything is set up on devices that are mine and as far as I know I never connected to anyone else's device and logged with my apple ID.  But are you saying it is possible for someone to have obtained my apple ID and send an iMessage from their device with my contact information so it looks like it came directly from me?  It's crazy I looked down at my iPhone and saw this message had just been sent that I did not type or send

  • How can i control the DAQ directly from VB

    Actually, it is my first trial to use Visual Basic to get signal from DAQ.
    And i don't how to interface them. I have read an article to use DataSocket.
    However, it demostrated the OPC demo in OPC sever only, and so i didn't know
    how to get the signal directly from DAQ card to monitor the real-time
    signal.
    Also, i have tried to build a .dll from my VI file which is used to monitor
    the DAQ signal. However, the .dll file didn't have any return value or
    argument, did it mean i can use this method?
    And how can i interface the DAQ using VB?and my ADC model is AT-MIO-16E-2!
    Thank you very much

    Hi Sen,
    Are you using Measurement Studio ? If so then you can use the DAQ activeX controls.
    If not and you are using VB directly, then NI-Daq installs with examples for visual basic ( if you chose the option while installing- if not do a custom install and choose VB support). If so then you should find them under Program Files ->National Isntruments->NI-DAQ->Examples->VisualBasic. These may help you.
    Essentially NI-DAQ ships with a .bas file that contains the "declares" for the NI-DAQ dll functions. These files should be in
    Program Files ->National Isntruments->NI-DAQ->Includes (look for the .bas files) You can add these to your project to get access to the DAQ functions..
    On the second question, do you mean you are using labVIEW to create your dll ? If this
    is the case, then when you create your dll (in labVIEW's applciation builder) you have to set the parameters for the function (VI) and also the VI's return values. This will ensure that you can make use of your VI ..If you don't set a return value you really can't use it...Once you set the return value ,and create a dll, then you can use it like any other dll in Visual basic.
    Hope this helps...
    This link may help you
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/5052ad60f1accc3d862568a100717fd1?OpenDocument
    Nandan Dharwadker
    Staff Software Engineer
    Measurement Studio Hardware Team

  • Can LabVIEW global variables be shared between UUT sequence steps in the parallel sequence model?

    Sorry for this simple question,  I'm having a hard time finding this answer.
    If I launch a sequence to run on two UUTs in the parallel sequence module,   can I get both UUTs to run LabVIEW vis that use global variables such that :
    1) UUT 0  executes 20 LabVIEW Vi  steps asynchronously,  5 of which access data from LabVIEW global variables A, B, C (Strings)
    2) UUT 0 executes the same 20 LabVIEW based steps asynchronously  5 of which access data from then same LabVIEW global variables A, B, C (Strings)
    I am a little worried that using file globals may have some delays or more of a race condition than using native LabVIEW global variables like in a single labview application perform.  
    QUESTION 2:  Are file globals actually written to the hard drive and shared between parallel sequences through file transfer?  OR  are they in memory?
    Brad Whaley
    LabVIEW Certified Engineer

    Hi bdwhaley,
    Are your parallel sequences only reading from the global variable? Or are they writing to the variable as well? If it is just reading, then you should be okay. File globals are read from memory. Every time they are read, a copy of the data is made in memory.
    Humphrey H.
    Applications Engineer
    National Instruments

  • Is it possible to control a Mac directly from an iOS device without being connected to a WiFi network, i.e. an airport or similar.

    I would like to control my MacMini (Late 2012) 2.3GHz Intel Quad Core i7 processor directly from my iOS device, either my iPhone 6 or my iPad G3. By directly I mean without having a wireless or wired network in place.
    I know there are a number of iOS apps that utilize VNC technology but I believe they all require the Mac to be connected via WiFi to an Airport or similar wireless networking device. I would like to control my MacMini remotely without having it already connected to a WiFi network and wondered is it possible? The iOS device and Mac would be in close proximity to one another.
    Has anyone had any experience with this? Thanks.

    Guys, thanks but I did not mean to control it by infrared. I know only too well that iOS devices do not have that capability. However they and the Mac both can send and receive WiFi signals so is there any reason they can't talk to each other directly.
    When I am in my home I have an airport but I would like to take the Mac Mini out on music gigs with my Apollo interface which serves as my mic preamp and mixer as it does in my studio but the Apollo needs to be connected to the mac via thunderbolt to download the plugin software that provides reverb and eq, etc. I would like to do this without the need of a monitor and keyboard, hence my dilemma. The only thing I basically need to do is start the mini and the rest happens automatically but I need to also shut down (which I know can be accomplished a couple of ways) but with out having a visual interface you can't make any changes or verify what setting are being used.

  • Does anyone else think the new iPhoto is not very good? you can no longer burn photo cd's directly from it!

    I do not like the new iphoto, it will not let you burn a photo cd directly from iphoto like it used to. It use to be simple, now it's not. I also think the faces feature is a waste of time and you can't disable it. Overall i am not happy with this new product i had to pay for. I had to update the iphoto i loved because they stopped letting you send your photo's to be printed from it. Apple is failing. It seems they are more after new sorces of revenue then keeping a good product.

    Did you have a question?
    I don't use the Faces feature, nor the Places one either, but I don't find them a waste of time. There's nothing to disable, just don't use them. Burning to optical media is going the way of the floppy disk. New computers of every brand are showing up now without optical drives. In five years you'll have trouble finding a computer with a built-in drive to buy and in 10, you'll find it hard to get a drive that will play optical media at all. iPhoto 08 was released in 2007 and that means they supported online printing services for 6 years. The installed base of iPhoto 08 is so small now that it's not worth their while.  How you get from your inconvenience to "Apple is failing" is not clear to me. iPhoto 11 is a much more capable application that 08, complete with full non-destructive editing.

  • How to access Autocad2013 drawing and modify directly from c#?

    I want to open autocad 2013 from C# & open drawing file & modify it. how to send autocad command to autocad2013 directly from visual studio.

    Hi Kishor,
    AutoCAD is out of our support range, I think what you need is AutoCAD API for .NET. Please refer to the following link to see AutoCAD .NET Developer’s Guide.
    http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html?url=WS1a9193826455f5ff-e569a0121d1945c08-2024.htm,topicNumber=d0e52566.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can Labview 7.0 control an instrument without the labview driver?

    hellow,i have an instrument which do not have the labview driver,its output signal is RS232,so can i use labview7.0 to read the signal? thanks!

    You sure can. There is a popular program to check on serial hardware, the loopback.vi. It sends out a signal and reads in a signal. You can modify the vi to send a signal to whatever you need to or receive a signal from whatever you want to. So if you just have an output signal to read in you can modify it to just read in that output signal into a graph or anything you'd like. So you could just get rid of "serial port write.vi" or that entire sequence if you wanted to. I hope that helps.
    Attachments:
    LoopBack.vi ‏42 KB

  • Can I record audio on an iPad direct from a mac via line out

    I use the noteability app alot, recording audio at a live lecture works great.  However, due to a bug you can not add an audio file directly into your notes (at the moment), you must record them.
    I have a bunch of podcasts that I would like to add to my notes.  I know I could play them from my mac and record audio through the ipads mic but what I hoped  to do was connect a male to male cable between the line out of my mac into my ipad, playing the audio without interferance.  This didn't work
    Does anyone know if there is a similar way to do this or something I could have done wrong. 
    Thanks

    yeah - you can do it, but you need an adapter.  The earphone jack on a pad is a special jack with stereo headphone uot put and a seperate mic in channel.  The adapters i have seen are usually built to accomodate a standard 1/4 in - into the pad, like the one in the attached link.  In theory, you could use the lineout on the mac, to a 1/4 in male - then into this adapter to get it back into the pad.   Somebody probably makes the cable you need with the 1/4 shift, but I couldn't find one.
    Options - in you notes, insted of copying the file, put a link to the podcast
    http://www.tmart.com/Multimedia-Guitar-Audio-Interface-Adapter-for-iPhone-iPod-T ouch-iPad-Black_p126356.html?fixed_price=us_us&utm_source=base&utm_medium=organi c&utm_term=87002502&utm_campaign=product&gclid=CPq6t_jal74CFdDm7AodhSoABw
    Message was edited by: pjl123  forgot the link...

  • Can Connect via Database Control but Cannot Connect from Enterprise Manager

    Hi experts,
    This is a 10g database on a Windows server.
    when I remote into the server:
    - I CAN connect via the web-based Database Control
    - I CANNOT connect to any db/instance via regular Ent Mgr - get the ugly "ORA-12154 TNS: could not resolve the connect identifier specified" error.
    I thought both tools used the same connection files (tnsnames, listerner etc), but maybe not.
    When db control connects, but Enterprise Manager cannot, what should I check to find the problem?
    Thank you.
    John

    Thanks madrid.
    I eventually got it to work by changing the tnsnames.ora in the client_1 folder
    This is the original:
    FS9ENFP1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PNCLAFDB)(PORT = 1521))
    (CONNECT_DATA =
    (SID = FS9ENFP1)
    (SERVER = DEDICATED)
    ORCL=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PNCLAFDB)(PORT = 1521))
    (CONNECT_DATA =
    (SID = orcl)
    (SERVER = DEDICATED)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    I removed the EXTPROC entry and added entries for the ORCL and FS9ENFP1 databases, specifying server_database like this:
    FS9ENFP1_PNCLAFDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PNCLAFDB)(PORT = 1521))
    (CONNECT_DATA =
    (SID = FS9ENFP1)
    (SERVER = DEDICATED)
    Not really sure WHY it is necessary to list an instance twice, once without server name and another with server name... but EM is able to connect now. I simply modeled tnsnames after another Oracle server where EM was able to connect.
    John

  • Can I download music to my iPhone directly from my computer- WITHOUT using iCloud?

    Does anyone know how to download music from iTunes on your computer onto your phone without using iCloud?  It used to be that I would just plug in my phone, hit sync, and all the music I wanted (which I had selected in iTunes on my computer) would be added to my phone's music library.  Easy peasy.  Now, none of the music actually gets downloaded to the phone- if I'm connected to wi-fi, I can access all those selected songs through the cloud, but if I'm not, then the songs are grayed out in my playlists.  Each song has a little cloud icon next to it, and I can download the songs by tapping that… one at a time.  I talked to Apple support and they told me to go into the iTunes store app and select "download all," which I did try, but given the quantity of songs I have, and the rate at which things were going, it would have taken forever to get them all downloaded.  I have thousands of songs I like to have on my phone, and the point is to be able to listen to them in places without wi-fi (like my car, or on a hike, or an airplane); it is SUPER annoying that I can no longer quickly download all of those songs by simply connecting my phone to my computer.  I have searched high and low in these forums and I can't seem to find a solution; I would really appreciate any help anyone can offer. 
    Some details:  I have an iPhone 6, and I use iTunes on my Mac, and all of my software on both is up to date.  I do not subscribe to iTunes Match, so turning that off (as has been recommended elsewhere) is not helpful to me. 

    Thanks, but I should have clarified:  I already have USB syncing set up with iTunes on my Mac and have been adding music to my iPhone for years that way; now with the latest IOS, it no longer appears to be working.  I follow the exact steps I always have (and which are outlined in the link provided), but no actual music is downloaded to my phone- if I am not connected to a wi-fi network, I cannot listen to my music unless I download it from iCloud.  (And downloading it from iCloud is a laborious task because I have many songs.)

  • How can I get my photoshop serial number directly from Adobe ?

    I have been paying to use Photoshop CC for more than a year now but can't find the serial number... I have tried logging in to "my adobe" but can't find the serial number... is there another way of getting my serial number ?

    There are no serial numbers for CC products. Refer to this:
    Sign in, activation, or connection errors | CS5.5 and later, Acrobat DC
    Mylenium

  • I can't create Entity Data Model Class directly from database

    I have just installed odac beta (ODAC1120250Beta_EntityFramework) and Orace XE 11g for test.
    I have Visual Studio 2010 on Windows 7 32bit.
    The problem is that after updating odac I can't create ADO.NET Entity Data Model class. If I try, VS2010 wizard makes me choose if I want to generate from db or create an empty model. If I choose to generate from database, the next window disappers making me return to VS2010.
    The workaround is to create an empty model and then update model from database. In this way it works.
    Anybody has experimented the same?...
    Best regards
    Francesco

    A couple of things you could try:
    1. Install SP1 for Visual Studio 2010.
    2. Do you already have an Oracle connection created in server explorer? If not, try creating one and then create the model.

Maybe you are looking for