Memory Read/Write (LabView)

I'm trying to do something that is probably simple but I seem to be missing something. I need to read and write to a memory location (such as 0D00:0000) through LabView. I have downloaded accessHW (Port and Memory Utilities for Windows) but it still doesn't seem to work. I checked and the cvirte.dll and accessHW.dll are loaded when I run LabView (6.0). Any clues?

Try using the read port and write port functions native to LabVIEW. They are under the advanced palette in Port VIs. They are called In Port and Out Port, and read and write to memory locations.
However...I have not been successful in using these very well, probably because I haven't a clue about writing manually to the memory locations.
Good luck, and please let everyone know how you do.

Similar Messages

  • LabVIEW for memory read/write?

    I know LabVIEW has In Port / Out Port vi for the I/O space read /
    write. I am wondering if LabVIEW has read/write memory vi? As we know,
    Windows 2000/XP do not allow to read/write I/O port and memory
    directly from user level(kernel level is OK).

    May be this post can be of interest to you (I haven't try this myself but it looks like a solution). Hope this helps.

  • Slight static during major memory read/write

    It just started doing this. Random static comes on whenever I load a big program like firefox. Stops as soon as firefox is done loading. (not a page, the application)
    Does the same thing for other programs like openoffice.

    The enterprise manager said the the datafile needs recovery but when I execute the recover I receive:
    638.1497.793881221 thread=3 sequence=638
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 09/13/2012 10:45:57
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '+RECOVERYREP/dpctrdb/archivelog/2012_09_13/thread_3_seq_638.1497.793881221'
    ORA-00283: recovery session canceled due to errors
    ORA-10562: Error occurred while applying redo to data block (file# 7, block# 3282782)
    ORA-10564: tablespace MDBE2ES3TBS
    ORA-01110: data file 7: '+DATAREP/dpctrdb/datafile/mdbe2es3.274.789498073'
    ORA-10560: block type '0'
    ORA-00600: internal error code, arguments: [4553], [2], [0], [], [], [], [], [], [], [], [], []

  • How to user labview with rfid reader/writer

    i am trying to connect labvie 2010 to my rfid reader/writer, here is the site for spec of the readers: http://www.gaorfid.com/index.php?main_page=product_info&cPath=97&products_id=615
    Can anyone help with instructions on how to interact the two.
    Any help would be appreciated

    Duplicate post please refer to:
    http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/How-to-make-labview-to-receive-information-fr...
    Thanks!
    Chris T.
    Applications Engineer
    National Instruments

  • Can I read/write a LabVIEW DataSocket cluster in Lookout?

    Can read/write DataSocket text, logical, and numerical arrays but how do I read/write a LabVIEW style cluster datatype (i.e. an array of clusters or a cluster of arrays)?
    Thanks!
    Tom
    Thomas G. Duffey
    Engineering and Research Consultants, Inc.
    Air Force Research Laboratory
    3 Antares Rd.
    Edwards AFB, CA 93524
    661.275.6172 FAX 661.275.5073
    mailto:[email protected]
    http://neverworld.net

    You should be able to wire your cluster or array of clusters or cluster of arrays directly into the datasocket write/read primitives. They are polymorphic and should handle the data directly.
    Marc Monroe
    National Instruments

  • Read/Write PCI Memory

    Hi All,
    This question may be outside the scope of Java and this forum (appologies if so). However, I'm trying to read/write some PCI memory locations in either Linux or Windows. I'd like to access these locations via Java. Is there any direct method to do this? Is there an API to access more low level hardware? Currently, I can read/write the memory locations with a program called PciTree. So, I know my PCI device is working, and the basic driver for the PCI device is installed.
    If this is not possible in Java, I can try C and study the device driver's functionality.

    You could write something in C/C++ and then expose methods to Java via JNI. But Java doesn't have built-in support for accessing memory at that level. A third party library may be availble though. Good luck.

  • Choice of RFID reader/writer compatible with a PDA and LabView

    Hello All,
    I need information on a RFID reader/writer that i can use with a PDA. The ones i have being coming across don't have a LabView driver except Phidget product. But Phidget uses USB. I need a RFID module with a compact flash. Pls reply.
    Demmy

    Hi Junaid,
    In one of my AII presentations I found: 
    Tested readers:
    <b>Intermec, Alien, Matrics, Philipps, AWID, Tyco Sensematic</b>
    maybe you can call those companies and just ask or e-mail them?
    also this may help you:
    Simple SAP Device Controller with limited functionality is provided. It supports readers:
    - <b>Alien ALR-9780</b> (4-port reader)
    - <b>Intermec IntelliTag 500 API</b>
    - <b>Philips SDK</b> reader
    But I'm not sure how occurate this presentation is because I got it in 2004 (december as far as I remember)
    BTW
    If they answer please post their suggestions here if you may:)
    Regards,
    michal

  • Exception(DoConnect): "Attempted to read/write protected memory. This is of

    Hi Experts,
    Client is experiencing the following issue when performing task/s in SAP B1, please assist.
    SAP B1 version 8.81 PL4
    OS Windos 7 32 bit
    Error message: Exception(DoConnect): "Attempted to read/write protected memory. This is often indicator that memory is corrupt"
    Regards,
    David Tengani

    Hi
    Thanks for your response, Yes there ia addon, XL Reporter and a 3rd party addon.
    We tried disabling these addons but the error still shows.
    Regards,
    David

  • Automotive Diagnostic Command Set & kwp2000 Read/Write Memory By Address

    I used NI Automotive Diagnostic Command Set 1.0 Read/Write EEPEOM By Address of ECU base VW TP2.0  KWP2000 diagnostic protocol . I used NI example ReadWrite Memory.vi but not successful. I know must use below step. 
    Description
    The usual procedure for getting a security access to the ECU is as follows:
    Request a seed from the ECU using RequestSeed.vi with access mode = n.
    From the seed, compute a key for the ECU on the host.
    Send the key to the ECU using SendKey.vi with access mode = n + 1.
    The security access is granted if the ECU validates the key sent. Otherwise, an error is returned.
    Who has used NI Automotive Diagnostic Command Set 1.0 and know VW TP2.0 KWP2000 protocol. Please support some suggest and example VI.
    Thanks

    I modify NI example Read/Write Memory lool at attached files.
    Now I know how to calculate the key and successful.But sometimes ok and sometimes no ok. The best luck is pass three error.
    Attachments:
    pho0.JPG ‏99 KB
    ReadWrite ECU.vi ‏66 KB
    seedaddkey.vi ‏12 KB

  • Has someone already succesfully used the ni i2C library to read/write an eeprom with ni pxi 6551 on labview?

    Hi,
    I'm trying to read/write an eeprom with an i2c protocol and ni pxi 6551 module.
    At first, I tried to simply read the eeprom, because i know i am expecting 11111111 as a response, but it did not work.
    So I tried something easier, and I succesfully wrote a pcf8574ap.
    But i can't read it.
    Seems like I am not able to "hear" the answer; when the sda line should be filled with an 8bit information, it remains at Z-state.
    And because I am using the i2c library, i think there might be a problem with this library, or i am doing something wrong.
    Hoping someone has an answer.
    Johanna

    I think the best place to ask your question in this thread
    I2C Digital Waveform (IDW)
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Read & Write to Buffer an Image

    I'm newbie.
    I try to program an application(digital image processing). And I want read/write an image from/to buffer (physic memory) or temp file. Is there any one can help ?
    Thank you very much!
    Sorry about my English.

    Hello Trung,
    I am very excited to hear that you are interested in using IMAQ Vison for your image application and thank you for using our discussion forums. To answer your question, you certainly can use IMAQ Vision to read from a jpeg or tiff file, run your algorithm for processing the image and then save back your results as an image. Some of the VIs you will need to use are IMAQ ReadFile.vi, IMAQ Write JPEG File.vi and IMAQ Write TIFF File.vi. These VIs can be used to read and write image files. There are some examples included with IMAQ Vision that demonstrate how to use these VIs. One good example on reading image files is ..\Examples\Vision\2. Functions\Analysis\Histogram Example.vi, included as an example under your LabVIEW folder.
    For your application you will begin by creating a memory buffer for your image using the IMAQ Create.vi then read the file using IMAQ ReadFile, process the images, save your file and finally deallocate the memory associated with your image using the IMAQ Dispose.vi. The memory allocation, file read, processing and dispose part of this process is shown in the example I mentioned above. For more information about vision concepts refer to the IMAQ Vision Concepts Manual. This is the manual for the newest release of IMAQ Vision 7.1.1, but most of the concepts should apply to your version of Vision.
    For information about using the different VIs and functions refer to the IMAQ Vision for LabVIEW User Manual installed on your computer and found under Start>>Programs>>National Instruments>>Vision>>Documentation. I hope this helps you out. If you have more questions I would encourage your to continue using the discussion forums or if you would like one on one assistance from an Applications Engineer contacting your local National Instruments Representative and looking into the IMAQ Vision Standard Service Program (SSP). Have a great day!
    Regards,
    Nipun M
    Applications Engineer
    National Instruments

  • System Folder errors after I changed all permissions on HD to read & write

    Hi,
    Two things may have caused probs on my new 2010 iMac (Snow Leopard), and Applecare is shut so I would really appreciate some help as I have urgent work.
    1) INCORRECT PERMISSIONS
    I have been stupid. I clicked on Macintosh HD and changed all permissions to read & write because I wanted to be sure I could open and edit all documents on other computers.
    I ran Disk Utility Repair Permissions from the install disc, but I am still getting system error messages, and my HP printer won't work.
    The first message, in Repair Permissions, said: Warning: SUID file System/Library/Cores has been modified and will not be repaired. I have read a support doc on this which says no need to worry but I don't like it and would like to fix this.
    More importantly, my HP printer won't work, displays error beside the document in print dialogue box.
    Deleting the printer and readding it didn't work, so I downloaded new drivers and tried to install them, which is when I got the second system error message: System extension System/Library/Extensions/BJUSBLoad.kext was installed improperly and cannot be used. Please try reinstalling it or contact product's vendor for an update.
    I checked the permissions on the file and they were still wrong despite Repair Permissions, allowing everyone to read & write. So I have now clicked on the entire System folder and changed the permissions to: System read & write, admin read only, everyone read only.
    Will this fix it or do I need to do something else, such as check ownership, to make sure all permissions on the computer are now correct?
    2) MEMORY STICK SHUT DOWN MY IMAC
    Additionally (though I don't think this had anything to do with my problems), I inserted a Sandisk USB memory stick the other day and it immediately shut down the computer. When I inserted it into my Macbook it initially rejected it and gave me a message saying the device wanted too much power so it had ejected it to prevent damage to my computer. When I tried again it was OK. I totally reformatted the stick in case there was something harmful on it, but should I now bin the stick as faulty? Scared to use it again.
    3) IS IT BEST TO REINSTALL ENTIRE SOFTWARE?
    If I do a reinstall of all the software from the install disc, will it wipe out all my data, such as Mail, documents, bookmarks and other apps?
    I would back-up, but if I try and back up files on my external drive it will automatically do a Time Machine back-up and I don't want to do that in case it backs-up all the corrupted files. Otherwise, I wouldn't mind starting again just to be sure all is well.
    Expert advice would be very much appreciated.
    Thank you
    Sarah

    Oh, silly really. I was in a hurry and working on docs that I needed to take to the office and open on another computer there.
    But when I checked the permissions on the doc it said I could read & write but everyone else was read only.
    I thought if I opened it on another machine I'd be stuck with read only access and not be able to work on there. I think I couldn't change it, so I thought to avoid any future problems like that I would change everything on machine!
    Yikes. Won't do that again
    Sarah

  • How to programmatically read/write the range of a fieldpoint AI channel using LV

    Is there a way to programmatically read/write the range of a fieldpoint AI channel using LV ? The example on NI site only permit you to have the name of the device and channels, not the actual set of the range of measure. Anybody has a VI (LV5.1 please)to share?
    Thank you very much

    If you are using the FieldPoint VI's (Open, Create Tag, Read, Write, Advise), you do not have the ability to change the range of a channel. If you have a FP-1000 or FP-1001, you can use the Optomux commands as described in the FP-1000/1001 Programmers Reference Manual (FieldPoint Optomux VI's are available at ftp://ftp.ni.com/support/fieldpoint/LVFPOpto/ ).
    Alternatively, if you have an ethernet network module and LabVIEW 6i or later, you can use the ethernet configuration VI's that ship with FieldPoint Explorer 3.0.1.
    Regards,
    Aaron

  • Slow performanc​e to read/write shared variables programati​cally

    We are using datasocket read and write functions to read and write shared variables programatically (in the same machine) but we only achieve a performance of aprox. 200 reads/writes per second. We are using Labview 8.6 with DSC.
    Is possible to get better results? That performance is normal?
    Any help would be appreciated. Thank you in advance.

    Hi MMCDAT,
    I think this value can
    be normal as you can see in this link:
    http://zone.ni.com/devzone/cda/tut/p/id/5037
    As you can see, the
    limit for datasocket depends on your Ethernet limitations, even if you as using
    it just in one PC:
    http://digital.ni.com/public.nsf/websearch/6AC9E65​734E53F9A8625672400637ECC?OpenDocument
    You can improve the
    performance changing the update mode or Vis configurations:
    http://digital.ni.com/public.nsf/allkb/F8F7DE98856​B50588625672400648045?OpenDocument
    http://digital.ni.com/public.nsf/allkb/2D9C6D73A16​0537986256B290076456E?OpenDocument

  • Lion server file sharing issue with windows API read/write ini file (GetPrivateProfileString)

    Hello,
    I try to config lion server as file server for a windows application we use at work. All other computers are windows 7 or XP, lion server is the only mac. I choose lion server because it's size, quality and personal love of apple products.
    10.7.2 lion server's samba file sharing works almost perfectly with all my windows machines, I can copy, delete, modify any text files or office files without any issue, but the most important windows application for my business doesn't work with samba file sharing. After some digging, I found it is because windows program can't read or write INI file stored on lion share. Windows API GetPrivateProfileString always returns empty if the INI file is store on lion share.
    You can download a small application for read/write windows INI file from codeproject.com to test this problem:
    http://www.codeproject.com/KB/files/ini.aspx
    I can open/edit the in file using any text editor without any problem. The only problem is with those windows APIs. ACL is turned on for my lion share and assigned "delete" rights to samba users.
    I install samba3 on the same server; it works perfectly with windows API. My windows program also works. Looks like there is something wrong with lion server's sambax.
    I'd prefer to use built-in samba even I have samba3 working. Built-in samba is very immature right now, but considered how young it is, I will give apple some time to make it mature.
    Does anyone have same issue or knows how to fix it?
    Thanks,
    Michael.

    All the memory is fine. The server rarely if ever goes down when there are only around 10-12 users connected. When there are 20+ users connected and working heavily it goes down often. When I say working heavily, I mean they are transferring huge files to the SAN (100GB+), sometimes 5 at a time per user, and there are a bunch of others who are reading large video files at a minimum of 220MB/sec from the SAN.
    Though this worked on Snow Leopard without any issues, Lion just doesn't seem to be able to handle it. The odd thing is, on Snow Leopard there was only a single 1GB ethernet connection to a NAS system, whereas with Lion we have a much more powerful machine with a 6-port 10GB ethernet card and a 4 lane 8GB fiber card to a true SAN. You would think that the newer scenario with Lion would handle far more users with ease.
    So far, very disappointing with regards to Lion's file serving performance.

Maybe you are looking for