Need to find the memory address of a buffer or string

Two basic questions:
-How does LabVIEW treat the concept of a "buffer"?  Isn't it just a string wired from one block to another?
-How can I find the address of a memory location or buffer location?
I am using the Call Shared Library Node to call two functions to unwrap a custom communication protocol packet.  I will be reading packets of information from the serial port and sending them through this unwrapper  The first function expects as the arguments a)the address of the buffer and b)the length (in bytes) of the buffer.  I can measure the length, but am unsure of the address.  I would have just wired the string output of the serial port to the input of the unwrapper, but the unwrapper wants the address of that string/buffer.  The data type of the buffer address that the function expects is "unsigned char*" in C++ which translates to "uInt8" in LabVIEW according to http://zone.ni.com/devzone/cda/tut/p/id/3009.  The second function that is being called writes the unwrapped data to the destination buffer address that I specify as an argument. 
I located this VI that handles buffering, but am unsure how it would help me, because it doesn't deal with the address issue either (and it used arrays of doubles, not characters or strings which is what the output of the serial port will be).  http://zone.ni.com/devzone/cda/epd/p/id/2499
Any help would be appreciated.
Nathan
Previous related post: Call Library Function Node: Instantiate a class/handle constructors in a C++ Shared Library?

This question is probably better asked on the LabView forum.  I've never seen this type of question asked here.
Duncan
CVI user, even though I also have LabView ;-))

Similar Messages

  • How do i find the email address for my HP Deskjet 3051A

    I need to find the email address for my printer to finish up my eprint capabilties for my IPad Air.
    I have a HP Desktop 3051A wireless printer.

    Hi mjs208, thanks for posting your question
    Here are the exact steps you'll need for that email - please follow this document: Getting Started with ePrint
    If you also need more information on Airprinting, here is the link for that as well: How to Use Apple's AirPrint Over a Wireless Network
    Cheers
    *** If my reply was helpful, please click on the "Kudos Thumbs-Up" on the right, as a way to say "Thanks!".
    If this reply also fixed your issue - please click the "Accept as Solution" button, so that others can find the same answer. ***

  • I just purchased my Mac and trying to set it up with my office network.  Need to know how to find the airport address

    How do I find the Airport address on my MAC

    The first time you set up the iPad you must do it by connecting the iPad to a computer, which needs to be running the latest version of iTunes, using the provided USB cable that came with it.  It cannot be done wirelessly initially.

  • Is there a way to find the email address of the user's from SCCM database.

    Hi All,
    I am using SCCM 2012 R2 and trying to find a query/report that can help in finding the email address of the user the machine is assigned to (Primary device). And if that is a machine which is being shared between different user, I need to gather the same
    information or the user who last logged on that machine.
    Can you please help?
    Thanks
    Manish

    My opinion: I think you'll need to define what, to you, means "primary user".  a primary user relationship can be defined manually by you one by one in the console, automatically by usage, imported via script, or the end user (if they know
    how and you've allowed this in settings) can indicate a machine is a primary machine for themselves.
    How is primary user relationship set, in your environment?  Depending upon how that relationship is determined in your environment, then you can track for that particular machine how or why the relationship you expect to be there, isn't the relationship
    the database acknowledges.
    Standardize. Simplify. Automate.

  • My MacBook was stolen and I need to know the MAC address

    An emergency question to Apple support. My MacBook was stolen and I need to know the MAC address of its network card. I have a receipt with the serial number of my MacBook. Can you assist?
    My serial: W8***66D
    Thank you
    p.s Any ideas how I can find it?

    Report the theft to your local authorities.
    Apple has no means of tracking thefts, as thieves themselves may claim the machine is theres just by looking up the information on the computer, and unless you registered the machine, it is really their word against yours, unless you also have receipt or other information that they can track to your receipt against your serial number.
    Your homeowners insurance may be able to recoup the cost.
    In the future, consider getting Lapcop, or Lojack for notebooks.
    Good luck!

  • I NEED TO FIND THE PURCHASE ORDER NO.

    HAI ALL,
         I NEED TO FIND THE PURCHASE ORDER NO.
    I have MATNR (material no.), LIFNR (vendor no.), RDOC OR MBLNR (material doc.no). values of these in my internal table. Using this i need to find purchase order no. I HAVE TRIED WITH MSEG TABLE ,but purchase order no. is not stored there.
    PL. tell me TABLE NAME OR HOW TO JOIN THA TABLES OR ANY VIEWS to find purchase order no.
    If u need any clarification regarding my req. pl send mail to below address.
    [email protected]
    THANKS IN ADVANCE,
    SENTHIL KUMAR

    HAI,
        THANKS FOR UR REPLY.
    I am using 541 movement type, (which is used for subcontracting)
    my req. is for 541 movement type in which table purchse order no. and mblnr(material doc. no.) are stored.
    Thanks in advance
    senthil kumar

  • How to find the email address by display name

    as title,
    i can get the display name from the to, cc, bc edit box,
    then i need to get the email address,
    current i use object API to query: GWAccount->GWAddressBook->GWAddressBookEntrie->get_EmailAddress,get_DisplayName
    but i find it is really slow when there are many contacts, example 10000.
    so is there any other effective method to get the email address?

    First off, you are not really doing:
    GWAccount->GWAddressBook->GWAddressBookEntrie->
    get_EmailAddress,get_DisplayName()
    are you?
    If you enter the full line, it will read in all
    of the entries each time it is called.
    You should break each part into an object:
    gwAccount
    gwBook
    gwEntries
    I'm not sure what you are doing.
    Are you trying to compose an email?
    If so, why are you not using Recipients.Resolve()?
    Are you trying to get the recipients from an email?
    Preston
    >>> On Friday, April 16, 2010 at 1:26 AM,
    hillp<[email protected]>
    wrote:
    > as title,
    > i can get the display name from the to, cc, bc edit box,
    > then i need to get the email address,
    > current i use object API to query:
    >
    GWAccount‑>GWAddressBook‑>GWAddressBookEntrie >get_EmailAddress,get_Di
    splayName
    > but i find it is really slow when there are many contacts, example
    > 10000.
    >
    > so is there any other effective method to get the email address?

  • Where to find the MAC address?

    I just purchased the latest iPod Touch. I need to know the MAC address to register with my WI-FI. Where do I look for it?

    Hello LCMan,
    On your iPod Touch, head to *Settings -> General -> About*. Then look for the *Wi-Fi Address* field and there is where you will find the MAC address.
    B-rock

  • I need to change the email address in iCloud

    I need to change the email address in iCloud

    What do you mean? - the address you use for login or the @icloud.com email address created when you opened your iCloud account?
    LOGIN
    If your login is an @mac.com, @me.com or @icloud.com address you cannot change it. If it is a non-Apple email address you can change it, but please be careful to follow the procedure outlined here:
    Firstly, if you have 'Find My iPhone/iPad/iMac' enabled on any of your devices, turn it off.
    Create a new email address, for example  at Yahoo or Gmail, or anywhere convenient (or you can use an existing address as long as it has never been associated with an Apple ID).
    Go to http://appleid.apple.com and click 'Manage your Apple ID'. Sign in with the current ID.
    Where it says 'Apple ID and primary email address' and gives your current ID email address, click 'edit'.
    Enter your new address and click 'Save changes'.
    Now you will need to go to each of your devices and sign out in System Preferences (or Settings)>iCloud - 'Sign out' on a Mac, 'Delete this account' on an iOS device (this will not delete the account from the server).
    Then sign back in with your new ID. Your iCloud data will disappear from your devices when you sign out, but reappear when you sign back in.
    I re-iterate: before you start, turn off 'Find My Mac' (or whatever) or you will need the services of Support.
    EMAIL ADDRESS
    Once you have created an iCloud account and chosen an @icloud.com address to go with it you can't change the address (short of creating an entirely new account).
    However, all is not lost. You can add up to three 'email aliases' - these are additional addresses (not accounts) which deliver into the same inbox as the main account. (In fact it's a good idea to give out alias addresses, rather than the main address, because if they attract spam you can easily change them.)
    You should be aware before you start that once you've created an alias you cannot turn that address into a full iCloud account or move it to another account.
    More information on aliases here: http://help.apple.com/icloud/#mm6b1a490a

  • How to find the base address of a pci device in register programming?

    Hello Everyone
     I am making a register program to pci-7344.
     At this link http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/15f094f65a17e3af8625660d0018a20a?O... I find a method that finds the correct address in the register programming a pci device,but I am confused with some details.
    It says BAR0 is assigned to the miniMITE ASIC,while BAR1 is used to program the PCI device itself.So the address mapped from BAR0 is
    supposed to be the base-address of the registers on the miniMITE,but why 0x300 is added to the base-address? What 0x300 means?
    I wonder if the address mapped from the BAR1 is not the valid baseadress for the pci board and a initial offset should be added to
    it.If so what is the initial offset?
    Thank you!!

    Thank you for your reply !!
     I am developing pci-7344`s driver under venturecom`s rtx,now I have found the baseadresses[0] and baseadresses[1] . baseaddresses[0] is the base-address of the miniMITE and I can get the vendor ID, device ID by directly reading from baseaddresses[0] +offset,but  baseaddresses[1]  does not like to be the base address of the 7344 registers,because I can not get the correct status information when I read from the csr(baseaddresses[1]+0x04)(all the value read back is 1).According to your advice I add the following codes to the program.
     window_data_value = ( (0xffffff00 & (ULONG)BAR1.LowPart) | (0x00000080) );
            *((PLONG)(vMemAddr[0]+0xc0)) = window_data_value;
      vMemAddr[0] is the virtual address that is mapped from BAR0 into the user`s program ,which gives us access to physical memory locations on the system.
      After adding these codes I still can read the correct information from BAR0,but I still can not read back the correct value from BAR1(all the value read back is 0).
     It says in ddk that the csr(a read-only register) is located at cardlogicaddress+4(8byte offset),so I wonder what  the cardlogicaddress is . What is relationship between baseaddresses[1] and cardlogicaddress?
    Thank you!!!!!

  • Where do I find the MAC address on my new Airport Express?

    Where do I find the MAC address on my new Airport Express?  There's no label like there was on my Time Capsule (now dead).  I need to supply it to my ISP in order to get hooked up.  Thanks.

    If you use AirPort Utility 5.6, you will find the MAC addresses under Manual Setup>AirPort>Summary.
    There should be three MAC IDs: one for each of the wireless channels and one for Ethernet.

  • To find the Memory statistics for past 30 days

    Hi gurus,
    how to find the memory statistics for the past 30 days , i have tried with the options ST06 and ST02  but i cant able to have the data for 30 days.
    can any one help me out  in this reply with solutions rewarded!
    regards,
    S.Rajeshkumar

    Hi Rajesh,
    what do you call system statistics ?
    There are many many statistics in SAP that can be called "system".
    I already gave you the way to look at 3 of them.
    For your information, and it may not please you but it is rude to tell that the problem is urgent for you.
    Guess what : it is not at all urgent for ME as I know how to look at every statistics I would need.
    If your problem is really urgent, don't ask it on volontary answered forums but open a message with SAP support. As you pay for SAP support, you are in a position to tell SAP that your problem is urgent, not with me...
    I choose to answer to questions that
    I find interesting.
    I know something about.
    In that case, I'm very happy to help but I really really don't care about points.
    These points can't be eaten or sold and I already own enough t-shirts !  
    Good luck !
    Olivier

  • How to find the MAC address of my iPad2?

    My WiFi hot spot has MAC address filter for better security.
    But I cannot find the MAC address of my new iPad2.

    If you need to setup wifi to start the MAC address with iPad, try  the http://www.ipad-tablet-help.com/2010/03/how-to-find-ipad-mac-address.html   to find it out.  Works for iOS5.

  • Where can I find the MAC Address of a Airport Extreme ?

    Where can I find the MAC Address of a Airport Extreme ?
    I need this to extend the wi fi range in my home. I'm using a Motorola Cable modem and to extend with Airport Extreme, I need to set up inside Motorola the MAC Address of the Airport Extreme.
    Message was edited by: JPA3003

    There are actually 3 MAC Addresses on an AirPort Extreme......1 for Ethernet, 1 for 2.4 GHz wireless and 1 for 5 GHz wireless.
    You can normally see them by using AirPort Utility. The rub here is that the AirPort needs to be setup and working to be accessed by AirPort Utility.
    The other approach is to look on the bottom of the AirPort. The newer AirPorts usually have this information in very small print, so a magnifying glass will probably be required. Other versions embed the numbers in the foam mat.
    Note.....Apple uses proprietary settings for the their wireless "extend" feature.....designed to only allow other Apple devices to connect. So, it is extremely unlikely that the AirPort would be compatible with a 3rd party router if you are trying to use the AirPort to wirelessly extend the network.
    Let us know if you are able to do this.

  • How to find the MAC address of iPod Shuffle?

    Hi,
    I need to add MAC address of iPod shuffle to the wireless router. Does anyone know how to find the MAC address of iPod shuffle? I would appreciate your help! Thanks.

    Thanks for reply. So then I am not sure why my laptop is not recognizing iPod shuffle when it is connected through USB cable. I don't see DEVICES option under iTunes..so can't sync the music.

Maybe you are looking for

  • I have a Canon MX420. The scanner WILL NOT connect to my PC. I am ready to toss Canon products!

    I have been several months now, unable to scan anything.  It always tells me either the usb cable is not connected, or the scanner is shut off.  I followed ALL DIRECTIONS to connect this device -- I even bought a new cable, all to no avail.  I have r

  • Getting error when running the jar file..

    Hi All, I am new to executing jar file..Actually i have one class which contains the following code. import com.documentum.fc.client.DfClient; import com.documentum.fc.client.IDfClient; import com.documentum.fc.client.IDfSession; import com.documentu

  • PDF to PPT by command line

    Can the new PDF to PPT feature of Acrobat Pro XI be used through the command line?

  • Error showing exception column

    Hi, I get the following error message trying to generate an exeption column: Field "USAGE" is unknown. I have the following sample code: REPORT  zdktesticon. TYPE-POOLS: icon. TYPES: BEGIN OF t_sflight.         INCLUDE STRUCTURE sflight. TYPES: seats

  • Designing Form Template

    Our company just purchased CS2 with the expressed intent of creating interactive order forms. Unfortunately, we do not have reference books or users guides for any of the software packages. I've been asked to create an order form template with fillab