Thread: Java vs Labview
View Single Post
  #10   Spotlight this post!  
Unread 07-05-2016, 14:20
Bell-Inequaliy's Avatar
Bell-Inequaliy Bell-Inequaliy is offline
Registered User
AKA: Josh
FRC #5332 (Toaster Tech)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2013
Location: Georgia
Posts: 4
Bell-Inequaliy is an unknown quantity at this point
Re: Java vs Labview

It really depends on your taste. Java is object oriented and LabVIEW is data-flow paradigm.

In LabVIEW, data is generated by predefined functions based on the inputs of the function, or by pulling data from some other input. This data is sent along data paths and operated on by other functions. The data is then either stored or sent out. The advantages of this is that it is a simple graphical programming interface, and that data processing is easy. The disadvantage is that routines and objects are more difficult to handle in state machines, e.x building a complex autonomous from simpler behaviors is more difficult than in Java.

In Java, data is either given by the programmer as a type or is pulled from some other input. This data is treated as an object, and is therefore defaultly stored as an object. Retrieving and handling this data is more difficult as a method is typically require to get or give data. Building routines and simple behavior to create complex behavior is easier in Java, at least in my opinion and having used both languages. It is a text based program as well, which means your data flow can be a bit harder to track.

I suggest you read more about each type of language as I have highly simplified the two paradigms and only overviewed them. Having used both languages independently and alongside each other, I can say I personally prefer Java and I assure you if you know what you are doing it does not take much longer to program a robot in Java, and it is easier to collaborate and set up multiple development environments in Java than in LabVIEW.
Reply With Quote