Could we write and read from a external drive using a IPad?

√could we write and read from a external drive using a IPad?

No, the iPad doesn't work that way. The only thing you can access is camera cards (with the adaptor).
Matt

Similar Messages

  • FV2 and booting from an external drive

    Hi,
    When Lion came out I decided to enable filevault as I take my laptop everywhere.
    Periodically I take a full SuperDuper backup of my hard drive just in case the worst happens.
    I have read that its best to remove the FileVault protection before entertaining an upgrade so I have removed FV and took another full superduper backup.
    Part of my upgrade plan is to test the backup by booting my MBP from the external drive so that I know I can get back to my old machine but I am finding that I can reboot my MBP and select the backup drive from the bootable selection and I get the apple logo and the spinning cog but it doesnt go any further.
    I think this has happened since enabling FV as I have never had an issue before booting from an external drive.
    I have formatted the drive and started a fresh SuperDuper backup and this hasnt made a difference either.
    Any help would be appreciated.
    Thanks
    Gavin

    They all are formatted Extended and with Guid partition map.  So I am good that way. I will have to experiment I suppose.  Thanks for your response.

  • How do I transfer files from an external drive to my IPad air

    How do I transfer files from an external drive to my new IPad air with wifi?

    Does your hard drive have an app? there needs to be some soft of app to facilitate the data transfer.

  • Java - Write And Read From memory Like CheatEngine ( Writing not working?)

    Hello Oracle Forum
    I came here some time ago to ask about javaFX , i solved all my issues and im right now waiting for javaFx tot ake over swing and hmm, im working on learning LIBGDX to create games in java.
    However, im in need to create an app to change values of memory to fix a bug in an old program that i have, and the only way until now is using cheatEngine, So i decided to take a tutorial and learn how to do that in java.
    Well, im able to read from the memory but the write isnt working somehow... Im posting the code here, if anyone can give me a hint, i would thank and a lot, because theres a community that really needs this app to automate the fix without using cheat engine.
    package MainStart;
    import com.br.HM.User32;
    import com.br.kernel.Kernel32;
    import com.sun.jna.Memory;
    import com.sun.jna.Native;
    import com.sun.jna.Pointer;
    import com.sun.jna.ptr.IntByReference;
    public class Cheater {
        static Kernel32 kernel32 = (Kernel32) Native.loadLibrary("kernel32", Kernel32.class);
        static User32 user32 = (User32) Native.loadLibrary("user32", User32.class);
        static int readRight = 0x0010;
        static int writeRight = 0x0020;
        //static int PROCESS_VM_OPERATION = 0x0008;
        public static void main(String[] args) {
            //Read Memory
            //MineSweeper = Campo Minado
            int pid = getProcessId("Campo Minado"); // get our process ID
            System.out.println("Pid = " + pid);
            Pointer readprocess = openProcess(readRight, pid); // open the process ID with read priviledges.
            Pointer writeprocess = openProcess(writeRight, pid);
            int size = 4; // we want to read 4 bytes
            int address = 0x004053C8;
            //Read Memory
            Memory read = readMemory(readprocess, address, size); // read 4 bytes of memory starting at the address 0x00AB0C62.
            System.out.println(read.getInt(0)); // print out the value!      
            //Write Memory
            int writeMemory = writeMemory(writeprocess, address, new short[0x22222222]);
            System.out.println("WriteMemory :" + writeMemory);
            Memory readM = readMemory(readprocess, address, size);
            System.out.println(readM.getInt(0));
        public static int writeMemory(Pointer process, int address, short[] data) {
            IntByReference written = new IntByReference(0);
            Memory toWrite = new Memory(data.length);
            for (long i = 0; i < data.length; i++) {
                toWrite.setShort(0, data[new Integer(Long.toString(i))]);
            boolean b = kernel32.WriteProcessMemory(process, address, toWrite, data.length, written);
            System.out.println("kernel32.WriteProcessMemory : " + b); // Retorna false
            return written.getValue();
        public static Pointer openProcess(int permissions, int pid) {
            Pointer process = kernel32.OpenProcess(permissions, true, pid);
            return process;
        public static int getProcessId(String window) {
            IntByReference pid = new IntByReference(0);
            user32.GetWindowThreadProcessId(user32.FindWindowA(null, window), pid);
            return pid.getValue();
        public static Memory readMemory(Pointer process, int address, int bytesToRead) {
            IntByReference read = new IntByReference(0);
            Memory output = new Memory(bytesToRead);
            kernel32.ReadProcessMemory(process, address, output, bytesToRead, read);
            return output;
    package com.br.HM;
    import com.sun.jna.Native;
    import com.sun.jna.Pointer;
    import com.sun.jna.Structure;
    import com.sun.jna.platform.win32.WinDef.RECT;
    import com.sun.jna.ptr.ByteByReference;
    import com.sun.jna.ptr.IntByReference;
    import com.sun.jna.win32.StdCallLibrary.StdCallCallback;
    import com.sun.jna.win32.W32APIOptions;
    * Provides access to the w32 user32 library. Incomplete implementation to
    * support demos.
    * @author Todd Fast, [email protected]
    * @author [email protected]
    public interface User32 extends W32APIOptions {
        User32 INSTANCE = (User32) Native.loadLibrary("user32", User32.class, DEFAULT_OPTIONS);
        Pointer GetDC(Pointer hWnd);
        int ReleaseDC(Pointer hWnd, Pointer hDC);
        int FLASHW_STOP = 0;
        int FLASHW_CAPTION = 1;
        int FLASHW_TRAY = 2;
        int FLASHW_ALL = (FLASHW_CAPTION | FLASHW_TRAY);
        int FLASHW_TIMER = 4;
        int FLASHW_TIMERNOFG = 12;
        public static class FLASHWINFO extends Structure {
            public int cbSize;
            public Pointer hWnd;
            public int dwFlags;
            public int uCount;
            public int dwTimeout;
        int IMAGE_BITMAP = 0;
        int IMAGE_ICON = 1;
        int IMAGE_CURSOR = 2;
        int IMAGE_ENHMETAFILE = 3;
        int LR_DEFAULTCOLOR = 0x0000;
        int LR_MONOCHROME = 0x0001;
        int LR_COLOR = 0x0002;
        int LR_COPYRETURNORG = 0x0004;
        int LR_COPYDELETEORG = 0x0008;
        int LR_LOADFROMFILE = 0x0010;
        int LR_LOADTRANSPARENT = 0x0020;
        int LR_DEFAULTSIZE = 0x0040;
        int LR_VGACOLOR = 0x0080;
        int LR_LOADMAP3DCOLORS = 0x1000;
        int LR_CREATEDIBSECTION = 0x2000;
        int LR_COPYFROMRESOURCE = 0x4000;
        int LR_SHARED = 0x8000;
        Pointer FindWindowA(String winClass, String title);
        int GetClassName(Pointer hWnd, byte[] lpClassName, int nMaxCount);
        public static class GUITHREADINFO extends Structure {
            public int cbSize = size();
            public int flags;
            Pointer hwndActive;
            Pointer hwndFocus;
            Pointer hwndCapture;
            Pointer hwndMenuOwner;
            Pointer hwndMoveSize;
            Pointer hwndCaret;
            RECT rcCaret;
        boolean GetGUIThreadInfo(int idThread, GUITHREADINFO lpgui);
        public static class WINDOWINFO extends Structure {
            public int cbSize = size();
            public RECT rcWindow;
            public RECT rcClient;
            public int dwStyle;
            public int dwExStyle;
            public int dwWindowStatus;
            public int cxWindowBorders;
            public int cyWindowBorders;
            public short atomWindowType;
            public short wCreatorVersion;
        boolean GetWindowInfo(Pointer hWnd, WINDOWINFO pwi);
        boolean GetWindowRect(Pointer hWnd, RECT rect);
        int GetWindowText(Pointer hWnd, byte[] lpString, int nMaxCount);
        int GetWindowTextLength(Pointer hWnd);
        int GetWindowModuleFileName(Pointer hWnd, byte[] lpszFileName, int cchFileNameMax);
        int GetWindowThreadProcessId(Pointer hWnd, IntByReference lpdwProcessId);
        interface WNDENUMPROC extends StdCallCallback {
             * Return whether to continue enumeration.
            boolean callback(Pointer hWnd, Pointer data);
        boolean EnumWindows(WNDENUMPROC lpEnumFunc, Pointer data);
        boolean EnumThreadWindows(int dwThreadId, WNDENUMPROC lpEnumFunc, Pointer data);
        boolean FlashWindowEx(FLASHWINFO info);
        Pointer LoadIcon(Pointer hInstance, String iconName);
        Pointer LoadImage(Pointer hinst, // handle to instance
                String name, // image to load
                int type, // image type
                int xDesired, // desired width
                int yDesired, // desired height
                int load // load options
        boolean DestroyIcon(Pointer hicon);
        int GWL_EXSTYLE = -20;
        int GWL_STYLE = -16;
        int GWL_WNDPROC = -4;
        int GWL_HINSTANCE = -6;
        int GWL_ID = -12;
        int GWL_USERDATA = -21;
        int DWL_DLGPROC = 4;
        int DWL_MSGRESULT = 0;
        int DWL_USER = 8;
        int WS_EX_COMPOSITED = 0x20000000;
        int WS_EX_LAYERED = 0x80000;
        int WS_EX_TRANSPARENT = 32;
        int GetWindowLong(Pointer hWnd, int nIndex);
        int SetWindowLong(Pointer hWnd, int nIndex, int dwNewLong);
        int LWA_COLORKEY = 1;
        int LWA_ALPHA = 2;
        int ULW_COLORKEY = 1;
        int ULW_ALPHA = 2;
        int ULW_OPAQUE = 4;
        boolean SetLayeredWindowAttributes(Pointer hwnd, int crKey,
                byte bAlpha, int dwFlags);
        boolean GetLayeredWindowAttributes(Pointer hwnd,
                IntByReference pcrKey,
                ByteByReference pbAlpha,
                IntByReference pdwFlags);
         * Defines the x- and y-coordinates of a point.
        public static class POINT extends Structure {
            public int x, y;
         * Specifies the width and height of a rectangle.
        public static class SIZE extends Structure {
            public int cx, cy;
        int AC_SRC_OVER = 0x00;
        int AC_SRC_ALPHA = 0x01;
        int AC_SRC_NO_PREMULT_ALPHA = 0x01;
        int AC_SRC_NO_ALPHA = 0x02;
        public static class BLENDFUNCTION extends Structure {
            public byte BlendOp = AC_SRC_OVER; // only valid value
            public byte BlendFlags = 0; // only valid value
            public byte SourceConstantAlpha;
            public byte AlphaFormat;
        boolean UpdateLayeredWindow(Pointer hwnd, Pointer hdcDst,
                POINT pptDst, SIZE psize,
                Pointer hdcSrc, POINT pptSrc, int crKey,
                BLENDFUNCTION pblend, int dwFlags);
        int SetWindowRgn(Pointer hWnd, Pointer hRgn, boolean bRedraw);
        int VK_SHIFT = 16;
        int VK_LSHIFT = 0xA0;
        int VK_RSHIFT = 0xA1;
        int VK_CONTROL = 17;
        int VK_LCONTROL = 0xA2;
        int VK_RCONTROL = 0xA3;
        int VK_MENU = 18;
        int VK_LMENU = 0xA4;
        int VK_RMENU = 0xA5;
        boolean GetKeyboardState(byte[] state);
        short GetAsyncKeyState(int vKey);
    package com.br.kernel;
    import com.sun.jna.*;
    import com.sun.jna.win32.StdCallLibrary;
    import com.sun.jna.ptr.IntByReference;
    // by deject3d
    public interface Kernel32 extends StdCallLibrary
        // description from msdn
        //BOOL WINAPI WriteProcessMemory(
        //__in   HANDLE hProcess,
        //__in   LPVOID lpBaseAddress,
        //__in   LPCVOID lpBuffer,
        //__in   SIZE_T nSize,
        //__out  SIZE_T *lpNumberOfBytesWritten
        boolean WriteProcessMemory(Pointer p, int address, Pointer buffer, int size, IntByReference written);
        //BOOL WINAPI ReadProcessMemory(
        //          __in   HANDLE hProcess,
        //          __in   LPCVOID lpBaseAddress,
        //          __out  LPVOID lpBuffer,
        //          __in   SIZE_T nSize,
        //          __out  SIZE_T *lpNumberOfBytesRead
        boolean ReadProcessMemory(Pointer hProcess, int inBaseAddress, Pointer outputBuffer, int nSize, IntByReference outNumberOfBytesRead);
        //HANDLE WINAPI OpenProcess(
        //  __in  DWORD dwDesiredAccess,
        //  __in  BOOL bInheritHandle,
        //  __in  DWORD dwProcessId
        Pointer OpenProcess(int desired, boolean inherit, int pid);
        /* derp */
        int GetLastError();
    http://pastebin.com/Vq8wfy39

    Hello there,
    this tutorial was exactly what I needed, so thank you.
    Your problem seems to be in this line:
    int writeMemory = writeMemory(writeprocess, address, new short[0x22222222]); 
    The problem is, you're creating a new short array with the length of 0x22222222. Which not only results in an java.lang.OutOfMemoryError: Java heap space
    but also, if it would work, would create an empty array with the length of 0x22222222.
    I think you want to write 0x22222222 as value in your address.
    Correctly stored the code you'd need to write would be:
    short[] sarray = new short[]{(short) 0x22222222};
    But because the value is too long for the short, the value stored in your array would be the number 8738.
    I think, what you want to do is to store the number 572662306, which would be the hex value, stored in an int variable.
    So first of all you need to strip down your hex-value to shorts:
    Short in Java uses 16 Bit = 2 Byte. 0x22222222 -> 0x2222 for your high byte and 0x2222 for your low byte
    So your array would be
    short[] sarray = new short[]{0x2222,0x2222};//notice, that sarray[0] is the lowbyte and sarray[1] the high byte, if you want to store 20 it would be new short[]{20,0} or if you use hex new short[]{0x14,0x00}
    The next part is your writeToMemory Method. If I'm right, the method in the tutorial is a little bit wrong. The right version should be this:
    public static int writeMemory(Pointer process, int address, short[] data) {
      IntByReference written = new IntByReference(0);
      int size = data.length*Short.SIZE/8;
      Memory toWrite = new Memory(size);
      for (int i = 0; i < data.length; i++) {
      toWrite.setShort(i*Short.SIZE/8,
      data[i]);
      boolean b = kernel32.WriteProcessMemory(process, address, toWrite,
      size, written);
      return written.getValue();
    You need to calculate your offset right. And the size of your memory. Maybe you could write this method not with shorts, but with integers. But this should work.
    If you pass your new array to this function, it should write 0x22222222 to your adress. If you read out your toWrite value with toWrite.getInt(0) you get the right value.
    And there is one more thing. In order to write data to a process, you need to grant two access rights:
    A handle to the process memory to be modified. The handle must have PROCESS_VM_WRITE and PROCESS_VM_OPERATION access to the process.
    You have to grant the right to write data: PROCESS_VM_WRITE: 0x0020 and PROCESS_VM_OPERATION: 0x0008
    So your writeProcess needs to get initialized this way:
    Pointer writeprocess = openProcess(0x0020|0x0008,pid);
    I hope this works for you. Let me know.
    Greetings
    Edit:
    Because every data you write will be 1 byte to whatever count of byte I think the best way is to use the following method to write data to the memory:
    public static void writeMemory(Pointer process, long address, byte[] data)
      int size = data.length;
      Memory toWrite = new Memory(size);
      for(int i = 0; i < size; i++)
      toWrite.setByte(i, data[i]);
      boolean b = kernel32.WriteProcessMemory(process, address, toWrite, size, null);
    You can see some changes. First I changed all address values from int to long, because some addresses are out of range. And with all, i mean all. Not only in writeMemory, but also in readMemory and in your kernel32 Class.
    Second I don't use the IntByReference anymore..
    To use this method you need to store your data the following way if you would write 4 Byte data:
    byte[] values = new byte[]{0x14,0x00,0x00,0x00};
    This value would be the number 20. Index 0 will be the lowest byte and index 3 will be the highest byte.
    And one more thing I wrote is an method which you can use to calculate your address if you have a baseAddress.
    If you restart your program/game your old addresses won't point at the same values of your game. With some research (I use CheatEngine) you can get the baseaddress. This one will alway be the same.
    To get from your baseaddress to the dynamic adress you use offsets.
    public static long findDynAddy(Pointer process, int[] offsets, long baseAddress)
      long pointer = baseAddress;
      int size = 4;
      Memory pTemp = new Memory(size);
      long pointerAddress = 0;
      for(int i = 0; i < offsets.length; i++)
      if(i == 0)
      kernel32.ReadProcessMemory(process, pointer, pTemp, size, null);
      pointerAddress = ((pTemp.getInt(0)+offsets[i]));
      if(i != offsets.length-1)
      kernel32.ReadProcessMemory(process, pointerAddress, pTemp, size, null);
      return pointerAddress;
    This methods gets a process, an array of offsets (hex-values) and your baseadress and returns the dynamic address.
    For Solitaire the following code would give you the address to the score:
    long baseAddr = 0x10002AFA8L;
      int[] offsets = new int[]{0x50,0x14};
      long addr = findDynAddy(process, offsets, baseAddr);
    If somebody wants to get the whole code (user32, kernel32 and the cheater) just pm me and I will give you a link.

  • HOW TO WRITE AND READ FROM A TEXT FILE???

    How can I read from a text file and then display the contents in a JTextArea??????
    Also how can I write the contents of a JTextArea to a text file.
    Extra Question::::::: Is it possible to write records to a text file. If you have not idea what I am talking about then ignore it.
    Manny thanks,
    your help is much appreciated though you don't know it!

    Do 3 things.
    -- Look through the API at the java.io package.
    -- Search previous posts for "read write from text file"
    -- Search java.sun.com for information on the java.io package.
    That should clear just about everything up. If you have more specific problems, feel free to come back and post them.

  • How do I get iTunes to read from my external drive?

    Ok, before you post this link http://docs.info.apple.com/article.html?artnum=301748 please read this. That link only seems to give advice if you have your music on your computer's hard drive and you want to transfer it all to another drive. My problem is that all of my music is currently on an external drive. There is nothing to transfer or consolidate from my computer. I've gone into the preferences and set the iTunes music folder to the location on my external drive. The part about consolidating doesn't seem applicable in my case. So now that I've set the location of my iTunes music folder why isn't anything showing up in my iTunes library? Why can't I play any music?

    So have any of this "external" music ever been added to iTunes? If not, go to File>Add to Library. Then navigate to the external hard-drive folder that contains the music.

  • After copying my Applications and Users folders to external drive using Carbon Cooy Cloner, I cannot see the files on the drive when accessing them from a freshly installed OS.

    The folder where the Archive should be is empty yet activity monitor shows that the drive isn't empty

    Use Data Rescue on the Mac and out the recovered files to another external drive.
    Just grab your users files, the rest you trash. That's all you can do.
    Good Luck

  • Backing up iPhoto library from an external drive using time machine

    I have a rMBP that is rapidly running out of storage.  I purchased an external USB drive to store my iphoto library on.  I have a time capsule that backs up my rMBP.  If i include the external drive in the time machine set up, what happens when  it backs up and the USB drive is not connected?
    Any one have a similar setup that can give some advise i would appreciate it. 

    If i include the external drive in the time machine set up, what happens when  it backs up and the USB drive is not connected?
    Well, since the drive is not connected, any changes since the last backup will not be backed up.
    When you reconnect the USB hard drive, Time Machine will backup your Mac and the USB drive.

  • I need to transfer GB sessions from an external drive to my IPad after MacBook crashed. Any useful help is appreciated!

    So my MacBook finally died a quiet death right as I've been knee deep in some fun GarageBand sessions.
    My sessions were backed up on an external drive and I'd like to continue working on them with my Ipad 2.
    First off, being that IPads have no access to external drives, would I have to use a cloud-based drive to pull up my sessions?
    Is the IPad 2 fast enough?
    Thanks for your help!

    You can upload GarageBand projects to your iPad using iTunes, but that is only supported for GarageBand on iPad projects, not for projects that you originally created on a Mac,  see this help text:
    Share GarageBand songs
    You can import a GarageBand for iPad song via iTunes, and export a song as a GarageBand for iPad song or as an audio file to share with your friends or to use on another iPad. You can also email a song without leaving GarageBand. You can import GarageBand for iPhone songs via iTunes, but you can’t import a GarageBand for Mac song to GarageBand for iPad.
    So that will not work, sorry.
    Léonie

  • Using a PCI-6534 card, how does one write and read from the board simultaneously after being triggered on the StartTrig input ?

    I've copied two NI-developed VI's into a single VI. The first VI is the LV 'Buffered Pattern Input-Trig VI' under examples/daq/digital/653x. Using an external data generator, I send it a pulse on StartTrig, a clock on REQ1 and data on DIOA0. The start pulse is negative going so I set the front panel input to trigger on "falling edge" with clock set to 'external'. This VI is configured as Port 0 and Group 0. Once this VI is triggered I need to then start another VI which is simply the Buffered Pattern Output VI that also ships with LV. This VI is configured on Port 2, Group 1. This VI is used to simply send out a previously d
    efined array of data on DIO C0, C1 and C2.
    So, I receive a Start Trig, then clock in data, and then immediatly want to send out data. My problem is that I can't figure out when my receiving VI gets triggered on the StartTrig input. If I know when the trigger occurs, then I can wire this condition to a case statement and activate the second, or write VI. Without having the Trigger condition be met to enable the output VI, the problem is that it always outputs without even be triggered. So, where or how do I tap to find out when the StartTrig happens ? In other words, how do I know when the receiving VI has received a StartTrig pulse. There's got to be a way to do this, and I need to run in continious mode, so I can keep receiving and sending out data over and over again. Any ideas ? If your answer is to look at the examples, please tell me exact and specific examples, because I have not been able to find any examples directly related to my goal. thanks.
    Kirk

    Nestor-
    I tried your first suggestion of connecting ACK1 to ACK2. But, I get Error 10010 at Digital Buffer Control when I run the VI. I've added an array of 32 ones and zeros to the output VI so that I have some data to write. What's really interesting is when I have a scope probe on ACK1 and ACK2 which are now common, the voltage level is less than 5 volts, around 4.7, but there is something wrong with the signal, a few spikes, I've seen this before, like 2 signals are trying to drive the same output or something. When I remove the connection between ACK1 and ACK2 the signal looks perfect since ACK1 is being driven by my data generator. This leads me to believe that you can't connect ACK1 to ACK2, or atleast you can't do it with the way I have the VI'
    s configured. Also, I have a scope probe monitoring DIOC0 (since I'm writing to Port 2,which is Port C) and I don't see any data coming out, which makes sense since I get the error mentioned above.
    In terms of my configuration, I have 2 VI's on the block diagram. I have Buffered Pattern Input-Trig.VI with the following settings:
    Group: 0
    Device: 1
    Port List: 0
    Buffer Size: 1000
    Clk Soruce: External
    Trigger Type: Start Trigger
    Trigger Condition: Trigger off Falling Edge
    # of pretrigger points: 0
    For the 'writing VI' I copied the Buffered Pattern output-Trig.VI with the following setup:
    Device: 1
    Group: 1
    Port List: 2
    #of updates: 1000
    Clock Source: Internal
    Trigger Condition: Trigger on falling edge
    So, do you have any ideas on what might be wrong ? Just realized that I can attach files, so my VI is attached.
    thanks.
    Kirk
    Attachments:
    input_output_at_the_same_time.vi ‏164 KB

  • Write to and read from TCP/IP address using Flash and Actionscript

    Hi,
    I'm a bit of a newbie with flash and Actionscript. I have been programming for a number of years now, but I have only been messing around with flash since CS4. I have CS5 now, and need a bit of help. I have a wireless device that I have made, I wish to make a flash program (potentially adapted to iPhone or Android) that sends and receives data (in the form of Word or Byte sized variables) from an IP address assigned to the device. Is this achievable?
    Please help. Thank you

    bump
    Please! anyone! HELP

  • Running 10.4 and Classic from an external drive

    I just installed 10.5 on my work machine (PPC G5) and to my dismay found out I cannot run classic applications.I have one application (never updated to 10.0 or above) that accesses some archived files. I don't need it very often but the files are critical when needed.
    Since I don't need to do this often I'd like to install 10.4 on my external Firewire drive (Apple Partition Map) and reboot whenever I need the archived material.
    Can this be done? Is there a recommended procedure for doing it? Does anyone know of any problems doing this?
    Thanks in advance for any help provided.

    For more info try http://discussions.apple.com/category.jspa?categoryID=99
    or http://discussions.apple.com/forum.jspa?forumID=726

  • How can i write and read the same data

    hi,
             i have attached my program to this mail. i have some problems in this program.
    problems:
    1. I want to select the threshold for the rms,varience and s.d.
    But what i used is not doing that. i want to fix the upper threshold value and lower threshold value.
     when ever the input crosses upper threshold value i want the output and it will remains uptill the value above the lower threshold value.
    Once it come down the lower threshold value the output should be stopped.
    2. I want to write this in to a  file and i want to read this file. is this possible or not. 
                please try to help me i am very new with lab view6i
           REGARDS
    CHAMARTHY KOMAL DILEEP.
       [email protected]
    Attachments:
    dileep.vi ‏93 KB

    The easiest way to perform a certain action (such as file I/O) based on a certain condition (such as whether a value has passed a certain threshold) is to use a comparison VI in combination with a case structure. Then you can specify that if your rms, standard deviation and variance are above a threshold then perform a certain action.
    Also consider using shift registers to keep track of data from the last loop. If I understand you correctly, you want to start logging data when an upper threshold has been passed. Then you want to continue logging data until a lower threshold is passed. I have attached a non-functional but explanatory VI that will help explain how to implement logic to that effect. It also demonstrates that you can indeed write and read from the same file in a loop. The best way to do this is to open the file before the loop, do all the necessary writing and reading in the loop, and then close the file after the loop.
    Hope this helps!
    Jarrod S.
    National Instruments
    Attachments:
    dileep_example.vi ‏61 KB

  • Error copying from one external drive to another

    Hi - I am trying to transfer three large iMovie files from an external Firewire hard drive to an external USB 2.0 hard drive. I have the USB drive connected to my 1GHz TiBook through a PCMCIA card. I have the Firewire drive connected at the TiBook's Firewire port. When I try to copy the files, I get about 1/4th of the way through and then I get the following error message:
    "Sorry, the operation could not be completed because an unexpected error occured. (Error code -1309)."
    The three files are about 25GB each, and the problem happens with all of them. I tried copying them altogether and each one individually. I also tried connecting the Firewire drive to the Firewire port on the PCMCIA card. Same problem no matter what I try. I also tried copying my iTunes music folder, which is about 25GB as well, in case file size was an issue. That copied with no problem.
    This is driving me nuts. Why won't these particular files copy? What is "error code -1309"? How can I resolve this issue? Any ideas?

    I have not yet been able to figure out what the problem is. I have checked the iMovie and other forums, both here and elsewhere on the Web, and I have not come across a single post that relates to this problem. The files I have been trying to copy are still on the external drive, and I have used the drive to store and transfer other files to and from my TiBook with no problems. But those three iMovie files, which will open and play from the external drive, STILL won't copy back onto my hard drive.
    The one thought I had involved disk space: Maybe a significant amount (30GB or more) of free space needs to be on the target drive when copying such large files. When I get to a point where I can delete some of the larger files I have been tinkering with, I'll try again.
    In the meantime, any insight from anybody into this issue will still be appreciated.

  • HT201250 how do I disable time machine? I want to use my external drive as additional storage. But it mirrors everything I edit. If I remove a document, it removes it from the external drive as well.

    how do I disable time machine? I want to use my external drive as additional storage. But it mirrors everything I edit. If I remove a document, it removes it from the external drive as well.
    I purchased a 1 TB WD passport drive, formatted for Mac. I set it up originally (mistakenly) to backup time machine. I went back and set it to "do not backup"  It still backs up evey document I edit. If I add a document when the drive is disconnected, it automatically adds it to the external drive the next time connect to the passport drive. If I remove a document the same thing happens.
    I need additional storage to free up space on my laptop hard drive. This is not working the way I want it to. Help!

    Do not backup your startup volume to another partition on the same drive. If the drive fails you have nothing. Always backup to another drive or volume on another drive.
    The I/O error usually means there's a problem with the drive. Clone ASAP, then repartition and reformat the main drive. Then restore the clone. Here's the basic process:
    You will have to backup your OS X partition to an external drive, boot from the external drive, use Disk Utility to repartition and reformat your hard drive back to a single volume, then restore your backup to the internal hard drive.
    Get an empty external hard drive and clone your internal drive to the external one.
    Boot from the external hard drive.
    Erase the internal hard drive.
    Restore the external clone to the internal hard drive.
    Clone the internal drive to the external drive
    Open Disk Utility from the Utilities folder.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    Restart the computer and after the chime press and hold down the OPTION key until the boot manager appears.  Select the icon for the external drive and click on the downward pointing arrow button.
    After startup do the following:
    Erase internal hard drive
    Open Disk Utility in your Utilities folder.
    After DU loads select your internal hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.  Do not quit Disk Utility.
    Restore the clone to the internal hard drive
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the internal hard drive. Source means the external startup drive.
    Note that the Source and Destination drives are swapped for this last procedure.

Maybe you are looking for

  • How to handle a fully depreciated asset that has been brought back to life?

    I have an old fully depreciated asset(from the 1990s) that has been brought back to life and has new cost to add to it. The fixed asset master data looks like this: Capitalization date: 01.01.1998 Historic APC: 0 Acquisition value: X NBV: 0 Ordinary

  • HT1926 Unable to download the latest version of Itunes

    I have never had any issues downloading Itunes before but when i try to download the most recent version I get the following error message. "The feature you are trying to use is on a network resource that is unavailable.  Click ok to try again or ent

  • Invalid byte 1 of 1-byte UTF-8 sequence

    Hello all, I get an xml string say (xmlString)from a SQL server DB, to which I do 1) byte[] barray = xmlResults.getBytes("UTF8"); xmlResults = new String(barray, "UTF8"); 2) xmlresults = <?xml version=\"1.0\" encoding=\"UTF-8\"?><reports>" + xmlResul

  • Captivate 5 freezes when opening edit video timing

    When I insert a video slide and go to Properties > Video > Edit Video Timing,  Captivate freezes and I need to restart the program. I first played around with feature about three weeks ago and did not experience a problem. Is there something in a rec

  • Suspend + Resume crashes

    I moved from Ubuntu to Arch today on my main computer in an effort to curb a problem I have been having: On Ubuntu, every once in a while when I would suspend + resume, the computer would freeze upon resume. Now, with Arch it has yet to suspend and n