06-08-2010 12:08 AM
Hi,
I am New to Labview.So, i have few doubts regarding labview.
The major role of Labview in my current project is for GUI development.
1. How can i save the final Labview GUI?, i mean shall i save it as exe file and execute in a system in which Labview is not installed?
2. How can i communicate to an I/O device through USB?, is it possible with VISA USB Control?
3. If i have a USB to CAN converter, Shall i communicate to Target Board with the help of Driver DLL file?
I would be greatful if anybody comment on this as early as possible.
Regards,
Muhammed Favas P.
Solved! Go to Solution.
06-08-2010 12:32 AM - edited 06-08-2010 12:34 AM
1) You can either run the VI in the development system or create an executable using the application builder (seperate addon for the base and full development system, included in the professional development system).
2) What USB device is it? If it is a TMC class device, VISA takes care of it automatically, if it is a virtual COM device it will simply appear as a serial port in VISA. Otherwise you could use VISA USB Raw if and only if you have a full documentation about the USB data protocol that the device is using.
3) If you got that converter from some manufacturer you should always use the provided (DLL) drivers. Changes are also that the manufacturer already did the LabVIEW library to use his DLL. Any respectable measurement hardware manufacturer should do that nowadays (preferably getting a LabVIEW pro to do it instead of an intern, because in latter case those VI libraries are usually just as bad as having none at all) or he looses out on quite a bit of potential business.
06-08-2010 12:53 AM
Thank you very much rolfk for your valuable inputs.
1. So i have to purchase the Labview for saving GUI in executable form, right?
2. Ok.
3. Yes, the converter is from a third party and they have the integrated labview library.
if so shall i directly call those Driver APIs (C-API) from Labview?
Regards,
Muhammed Favas P.
06-08-2010 01:23 AM
Well you have to purchase LabVIEW to create LabVIEW VIs for sure. And you have to make sure you get the application builder too to create executables.
Your 3 point is absolutely unclear. If the manufacturer has LabVIEW drivers he has created LabVIEW VIs to call into his DLL driver. You use those LabVIEW VIs in your LabVIEW application. No C code anywhere is involved as far as you are concerned.
06-08-2010 03:21 AM
Well.
Actually i meant the Labview Library API Calls, not C. Sorry for the Mistake.
Once again thank you for the valuable inputs.
Regards,
Muhammed Favas P.
06-08-2010 04:33 AM
06-09-2010 11:23 PM
06-09-2010 11:31 PM
Hi Ravens Fan?
Feel Happy Now?
Regards,
Favas
06-09-2010 11:32 PM
06-10-2010 01:12 AM
Hi All,
i have few a doubts,
1. I created a GUI for an application and build it as exe. But during ruuning it, when i click on the framed color box a color box showing to change
the color.How shall i lock the Framed Color Box so that its not possible to change the color while running?.
2. Its required to read a script file (text file) and display it in a table after parsing it according to different fields. How shall i do that?
Regards,
Favas