I have trying to create an array of gpib instructions.

The following is an example.
Time           instruction               X                  Y              Z
0 00:00:00,mot,v1_m1,-1492316.6919,-5204326.7860,3360431.4341,0,0,0,0,0,0,0,0,0,0,0
The problem is I can create the time format column array but putting in the string command instruction in the second column is giving me problems.

With an array, you cannot mix data types. Instead of a 2D numeric array, create a 1D cluster array. A cluster can have elements of different data types.

Similar Messages

  • My iMessage does not appear to be working. Every time I go to reply to an existing message it just appears as normal text. I have tried to create a new message but it still just defaults to normal messages. I have checked my settings but looks ok. Help?

    My iMessage does not appear to be working. Every time I go to reply to an existing message it just appears as normal text. I have tried to create a new message but it still just defaults to normal messages. I have checked my settings but it is all set up as it should be. Is there anything I've missed or could try? Thanks

    Try the following:
    In Finder, select the problematic volume and then press command-I.
    Expand the Sharing & permissions section if it's collapsed.
    If the section is locked, then unlock it by pressing the padlock button and then authenticating as directed.
    Tick/check Ignore ownership on this volume.

  • Trying to create an array of a class

    This is the first time ive tried to use an array so its not surprising im having trouble.
    this is my program:
    import java.util.*;
    public class studentRecordDemo
         public static void main(String[] args)
              int studNum, index;
              System.out.println("Enter the number of students you wish to record");
              Scanner keyboard = new Scanner(System.in);
              studNum = keyboard.nextInt();
              studentRecord student[] = new studentRecord[studNum];
              for (index = 0; index < studNum; index++)
              {student[index].readInput();
              student[index].writeOutput();}
    }And it lets me compile it but when i enter a number it gives me the error:
    Exception in thread "main" java.lang.NullPointerException
    at studentRecordDemo.main(studentRecordDemo.java:15)the
    So yeah im trying to create an array of the class "studentRecord" and the number is input by the user. Is there a way to make that work or would it be easier to just make the array a really high number?

    your error is in here:
    student[index].readInput();its null...
    This is the first time ive tried to use an array so
    its not surprising im having trouble.
    this is my program:
    import java.util.*;
    public class studentRecordDemo
         public static void main(String[] args)
              int studNum, index;
    System.out.println("Enter the number of students
    ts you wish to record");
              Scanner keyboard = new Scanner(System.in);
              studNum = keyboard.nextInt();
    studentRecord student[] = new
    ew studentRecord[studNum];
              for (index = 0; index < studNum; index++)
              {student[index].readInput();
              student[index].writeOutput();}
    }And it lets me compile it but when i enter a number
    it gives me the error:
    Exception in thread "main"
    java.lang.NullPointerException
    at
    studentRecordDemo.main(studentRecordDemo.java:15)the
    So yeah im trying to create an array of the class
    "studentRecord" and the number is input by the user.
    Is there a way to make that work or would it be
    easier to just make the array a really high number?

  • HT5570 I have forgoten the security questions,i have tryed ewerithing to reset all of the instructions i have recived from the apple support team. I still can not reset the questions. Can some body please help me to reset them. Thank you and best regards

    I have forgoten the security questions,i have tryed ewerithing to reset all of the instructions i have recived from the apple support team. I still can not reset the questions. Can some body please help me to reset them. Thank you and best regards

    Since this is a user-to-user support forum, there isn't much we can do other than refer you to the following instructions and as noted in the instructions, then to Apple Support if you can't reset as shown in the instructions: If you forgot the answers to your Apple ID security questions

  • My family uses a single lap-top as our main internet connection and when we synch our respective I-pods, our I-tunes account seems to wipe-out our playlists, even though we have tried to create separate I-tune accounts.  Help!!

    My family uses a single lap-top as our home computer and several of us have i-pods that we like to synch, using I-tunes.  Although we've tried to create separate I-tune accounts, our i-tunes playlists are getting wiped out when one of us deletes songs on our I-pod and it seems as though I-tunes is not distinguishing our distinct accounts and all i-pods are being synched to reflect the latest i-pod anyone makes on their respective account.  It appears as though our distinct I-tune accounts are not being loaded on our lap-top when we sign in and unfortunately, when we're in I-tunes, there is nothing to indicate what account is on the screen.  For all the glowing appraisals apple-related products usually receive, we are finding i-tunes and its interface with our respective i-pods to be a very, very frustrating experience. 
    Can anyone shed some light on this for a family of non-techies?  Thx 
    Pegger64  

    You need to create separate Windows user accounts if you want to seperate the behaviour of iTunes for each user. That also means separate iTunes libraries for each user.
    Windows is a multi-user operating system but you are not using it properly. iTunes is not a multi-user application. No application is. You can't expect it to treat different users differently when they are all using the same computer user account.
    Do you understand what I mean?

  • I have an Ipod Nano 6th Gen.  I have been getting the error 13019.  It puts the song title into my playlist, but the song isn't there when I disconnect, and find the song.  Everything is up to date.  I have tried to create a new user, and nothing works.

    I have tried putting music onto it, and it puts it on the playlist, but when I disconnect, it isn't there.  I have also tried creating a new user, and still get the error.  Please Help!!!  Thanx!

    Your nano would really have nothing to do with it at that point. It is really something between iTunes and whatever server out there on the internet that it is trying to connect to for the update.
    Try posting this one in the iTunes forum, they might have a solution for you.
    i

  • I have plex app on my mac computer and on my i pad while on the apple air port i am able to use the plex app on my i pad when i get on 3 g i am not able to connect to my plex app on my mac to use the remote app i have tried to creat port fowarding on the

    i am trying to use my plex app while on 3G i have tried to set up port forwarding on my airport router and cant see to get the app to work i also have a myplex account.  how can i get it to work. i followed the direction on the apple port forwardering but still no positive results.  i can use the app while at home.
    thank

    If you don't get any answers here, I'd suggest you post over at the Plex forum.

  • TS3988 I have tried to create an icloud account but I get this message "apple id valid not a valid icould id"

    I have tried to set up an icloud account however I repeatedly get a message telling me my apple id is valid but not a vaild icould id. Is there a fix for this or do I need to make a new apple id?

    Your Apple ID must be an email address to use it for and iClouid account.  If it isn't in the form of an email address you can change it so is by following this guide: http://support.apple.com/kb/HE40.  The ID must also have an active email address associated with it.  If it doesn't, first go to appleid.apple.com and add one before trying to use the ID for iCloud.

  • HT3529 I cannot delete my messages. I have tried the support site and followed the instructions to the letter but still no luck.When I get my messages on screen I try to swipe left to right but nothing happens, if I tap edit red disc appears but nothing h

    I am having trouble deleting messages from my phone (5C) I have followed the intructions on the support site but no luck.
    I cannot swipe left to right to delete message neither can I delete after pressing the edit pad, nothing happens.
    Have I set up the phone wrong or has the phone a fault. (I have had it for about a month.)

    I hope that link points to mozilla.com or mozilla.org
    You will have to close firefox.exe with the Windows Task Manager from the "Processes" tab of the WTM since you don't have a widow to close.
    The best way to close Firefox is through File > Exit, for those who stuck with the "Firefox" button click on the Firefox button then Exit. It is not perfect but it is a lot better than just closing the window with the "X" in the upper right corner

  • I have been trying to create a movie from a project that is primarily stills and one video clip.  I cannot successfully create the movie without iMovie shutting down unexpectedly.  Any ideas for the cause of the problem?

    I am getting an unexpected shut down of iMovie when I try to share a movie from a project that is made up of still pictures, one video clip and music.  Have tried to create the movie several times with different formats and continue to get the message.  When I removed all music I was able to create the movie without a problem but when I added the music back, I was unable to create the movie.  I'm using iMoive 11' version 9.0.9
    Thanks.
    Bill

    I'm no expert in iMovie, but I've found that processing memory (as well as sheer hard disk space for the project to 'turn around in') can be a big issue with constructing, editing, and distilling projects in iMovie. I've improved the success by moving 2gb of image files off to an external drive, but only really got moving again on an hour-long project by doubling RAM and again freeing up h/d space.
    Some tunes are also an issue, but if you can see it in the iTunes list to place in your project, it should work okay... Does the project run with any other piece of music, or does just that one tune mess it up?
    Good luck,
    Laura

  • Creating many arrays with different names

    I'm trying to create many arrays with a different names by calling this method:
    n=name of array
    c= some string
    public Array[] newArray(String n, String c)
    n[n.length]= new String();
    n[n.length]= c;
    As you experts might guess this does not compile. Is it even possible to do this?

    no, you cannot make a dynamic variable like that.
    and no, that is not the way to make arrays.
    and no, there is no such thing as "Array[]" ( unless u have made an "Array" object ).
    code for a new array is as such
    public Object[] newArray(int size){
      return new Object[size];
    }called as such:
    String[] strings = (String[]) newArray(10);
    strings[0] = "hmmm";mmmmm

  • Out of memory error when creating an array

    I'm trying to create 3D array of Bytes.
    Byte[][][] disk = disk = new Byte[11][9][25344];
    This is where I get an OutofMemory error.
    Please help!!!

    It is not as ballubadshah asserts a matter of how much memory you have but rather how much is allocated by default to the JVM heap.
    This number according to http://java.sun.com/docs/hotspot/ism.html is 64megabytes.
    When I run the following code, I get the number 64618496 which is just shy of 67108864, 64 meg. If I increase the array size I get the same error as you.
    To get past this, you can increase the heap size at runtime with the option -Xmx###m where ### is the number of megabytes to use for heap.
    ex
    c:/test>java -Xmx128m Memorypublic class Memory
       public static void main(String[] args)
          Runtime.getRuntime().gc();
          long start = Runtime.getRuntime().totalMemory();
          Byte[][][] bytes = new Byte[11][9][25344];
          for(int i = 0; i < 11; i++)
             for(int j = 0; j < 9; j++)
                for(int k = 0; k < 45344; k++)
                   bytes[i][j][k] =
                      new Byte(new Double(Math.random() * 256).byteValue());
          Runtime.getRuntime().gc();
          long end = Runtime.getRuntime().totalMemory();
          System.out.println("memory usage  = " + Long.toString(end - start));
    }

  • Creating an array of objects

    Hey,
    I basically have two classes and am trying to create an array of one class in the sub class. My code keeps coming up with <identifier> expected on complie:
    Main Class
    import java.util.ArrayList;
    import java.io.*;
    * @author David Bainbridge
    * @Date 12/02/07
    public class Main {
             public ArrayList<City>ListOfCities;
    public static void main(String[] arguments) {
         Main.newcity();
         public Main() {
         ListOfCities = new ArrayList<City>(); //this creates an array which stores all instances of the cities.
         public static void newcity() {
              String Name = "Lincoln";
              String Lat = "10";
              String Long = "11";         
              ListOfCities.add(new City(Name, Lat, Long)); 
              Lincoln.displaycity();
    }City Class
      * The City class represents a City.
      * @author David Bainbridge
      * @Date 13/02/07
    public class City {
         private String Name;
         private String Latitude;
         private String Longitude;
          * Constructor for the City.
         public City(String cityName, String cityLat, String cityLong) {
              Name = cityName;
              Latitude = cityLat;
              Longitude = cityLong;          
          * Display the current City.
    public void displaycity() {
              System.out.println("Name: " + Name);
              System.out.println("Latitude: " + Latitude);
              System.out.println("Longitude: " + Longitude);
    }

    Thanks JJCoolB but neither worked!
    I have rejigged my code:
    import java.util.ArrayList;
    import java.io.*;
    * @author David Bainbridge
    * @Date 12/02/07
    public class Main {
             public static ArrayList<City>ListOfCities;
    public static void main(String[] arguments) {
         ListOfCities = new ArrayList<City>(); //this creates an array which stores all instances of the cities.
         Main.newcity();
         public static void newcity() {
              String Name = "Lincoln";
              String Lat = "10";
              String Long = "11";         
              ListOfCities.add(new City(Name, Lat, Long)); 
              Lincoln.displaycity();
    }I get two complie errors with it one says:
    public static ArrayList<City>ListOfCities; - <identifier> expected
    ListOfCities = new ArrayList<City>(); //this creates an array which stores all instances of the cities. - '(' or '[' expected.
    Thanks in advance for any help people!

  • I am getting a warning message when i am trying to create a host-named sitecollection.

    Hi guys,
          I am trying to create a host-named site collection. I have created the root site collection. After that i have tried to create customer root site. I have doing this process with the guidance of this link.
    http://technet.microsoft.com/en-us/library/cc424952.aspx#section2a
    When i tried to create a customer root site. I am getting a warning message
    " WARNING: The port specified for the new host header site does not match any known bindings in the specified Web
    Application.  The new site will not be accessible if the Web Application is not extended to an IIS Web Site serving
    this port."
    I couldn't when this warning message comes. I tried to bind the server with webapplication which is created for host-named site collection. No use.
    Can anyone help me to solve. And i wanna know why this error message comes!!!
    Thanks in advance
    Rajendran.

    First, you shouldn't create a host named site collection on a Web app that has host header named.  Doing that implements host names at two different levels and will not work reliably.  Second I'm not sure what you mean when you say you didn't
    use the FQDN but used just the domain name.  A Full url will always be either an FQDN or a shorter Netbios name.  If you use a Netbios name it simply assumes the local AD domain of the workstation to create an FQDN as the url  There is no way
    to use just the domain name.  For example, Contoso.com is the domain name.  Server.contoso.com or WEbsite.contoso.com are FQDNs.  YOu can also use a shorter version that is just server or website, but when those resolve in TCP/IP they would
    still resolve using server.contoso.com or website.contoso.com if the workstation where your browser is was in the contoso.com domain.  What is the URL for your root site and your host named site?
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Error when trying to create new single user

    When I fill out the "basic", "groups", and "home" sections of single user in Workgroup Manager and then go to click "save" and error pops up ... actually 4 errors. They say:
    Got Unexpected Error
    error of type -14134 on line 487 of
    UserBasicPluginView.mm
    Got Unexpected Error
    error of type -14134 on line 1656 of
    UserAdvancedPluginView.mm
    Got Unexpected Error
    error of type -14134 on line 225 of
    UserGroupPluginView.mm
    Got Unexpected Error
    error of type -14134 on line 1183 of
    UserVolumesPluginView.mm
    It then saves the user as "Untitled1". And I have to quit WM and restart it before I can delete "Untitled 1". I have created many successful log-ins. This only happens to two (2) of the log-ins I have tried to create. I know I made some mistake (can't remember exactly what ... think I typed the user name wrong or something) on one of them, but the other was long ago and I don't remember if I did something and then it didn't work, or if it didn't work the first time I tried.
    Any other info that would help I would be glad to offer, just let me know what info to gather. Thanks for your help in advance.
    Eric

    Has nobody else had this issue? I thought I had read a while ago on these boards about others having similar issues, but I searched again and couldn't find anything. Any ideas?
    Message was edited by: erigm

Maybe you are looking for

  • Blank csv from interactive report

    I have an interactive report that shows the data just fine. but when I choose download and csv, I get a blank file, zero lenght. there is data in the report, but the download shows nothing. has anyone see this before? its just a standard report, noth

  • Page with two iviews

    Hi all, I created in portal (portal content) a new page with two iviews. The first iview it is a bsp site with different links (html links). At the moment if I press a link in this iview WAD web template opens, but it open in the same iview and I wis

  • Hi all! Is there a way to use pages and numbers to mail merge?

    I'm a teacher and its the start of exam season admin - if anyone could help it would cut a workload down dramatically!

  • FCP X to DVDSP 4

    I'm a bit mixed up. In FCP X, my project is 1920 x 1080 and I exported it as ProRes422. I want to make a DVD with this 2-minute project using DVD Studio Pro 4. What are the DVDSP4 settings to make this 16:9 project play correctly on a 16:9 monitor/TV

  • What type of cord do I need to hook my ipad up to a stereo?

    I am a dance instructor and I am wondering how to hook my ipad up to a stereo to play music