04-10-2008 09:25 AM
04-10-2008 11:25 AM
the only limit to what you can do with Labview is your imagination.. 🙂
The best place to start is actually designing the software. The same is true for any language.
Clearly define what you want to do. Create BOTH a flow chart AND a state machine diagram. Since LV follows dataflow (not sequences as in text languages), the events and data availability are very important, thus the state machine. You can do a search for examples.
After you've defined the steps and possibly grouped them into individual functions, you can proceed with the coding. You can also ask how to do individaul functions (typically called sub-vis).
RayR
04-10-2008 11:26 AM
LabVIEW can do just about anything you want it to. Do you have a specific problem question? Or have you never used LabVIEW and don't know how to begin programming with it?
If the latter, I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
04-10-2008 11:28 AM
If you are learning LV, you can also obtain an excellent book called "Labview for everyone". 🙂
Taking the courses offered by NI is one of the best way to learn.
This forum is also a very good way to get help.
04-11-2008 01:48 AM
04-11-2008 01:52 AM
04-11-2008 07:14 AM
dhirah wrote:
can a program using labview able to search a file in the computer,open it, runs it? do you know where i can find those exemples? at least, i can get inspired by it coz right now i have no idea how to programme it.
04-14-2008 03:36 AM
Hye JoeLabview,
Thanks for replying. Sorry for the late reply.Anyway about the project, yes it is an executable. And this file situated in the database(network) of this company. All i want to do is, whan i click somthing on the front panel, i want it to seach in and execute it. Once it has been done, it will close the window of the executable and displays a window saying 'Done' or something. That's just the first out of several part.Thanks again JoeLabView.
Dhirah
04-14-2008 07:10 AM
I just want to confirm if I understand the first part correctly.
>> You need to search and retrieve an executable from a database. The executable will be downloaded (from the database) to the PC and then run.
If the above is correct, you will first need to setup the database access and create a VI to locate and retrieve the executable. Is the executable zipped?
I ask because some clients place items in the database as zipped, especially if there are support files that must accompany an application.
RayR