04-14-2006 06:14 AM
04-17-2006 09:49 AM - last edited on 05-17-2024 03:42 PM by Content Cleaner
Hello Nishant,
When comparing LabVIEW and VB.NET, it really depends on what exactly you are trying to accomplish. Generally, LabVIEW will be easier to perform data acquisition and analysis as this is what it was designed for. The following assumes that you are using NI hardware.
If you are using DAQmx, the functions/methods used in LabVIEW are available to VB.NET through the .net support included in the driver. This makes programming in either language fairly easy, however LabVIEW will have more DAQ examples (example finder and online), online documentation, and it has the DAQ Assistant for quick and easy data acquisition. You can look here to see how DAQmx programming works in LabVIEW. If you have measurement studio 7.0+, the DAQ assistant is integrated into Visual Studio (for more information click here).
It is a similar situation for VISA or 488.2 programming. There is a native .net interface available for 488.2 and VISA in Visual Studio 2003. Again, there are several advantages to using LabVIEW. Besides the integration of VISA and 488.2 in LabVIEW, there are also drivers available to communicate with many common instruments. You can find these drivers here.
If you are using Measurement Studio, then both LabVIEW and VB.net will have similar indicators and controls (i.e. graph and knobs).
Finally, LabVIEW has a database connectivity toolkit found here.
Regards,
Jesse O.
Applications Engineering
National Instruments
04-18-2006 01:29 AM
Dear Mr. Jesso,
Thanks for the reply, but the thing is we are not using the DAQMX cards and we are neither using the DAQ system, we are just synchronously taking the data from the anpther instrument either from the RS-232/485, Ethernet,USB or by Modem, so we are also looking for the tool which can provide us a better communication interface, can you please post me your suggetions again?
Thanks,
Nishant
04-18-2006 08:23 AM - last edited on 05-17-2024 04:34 PM by Content Cleaner
Nishant,
Programming RS-232/485, Ethernet, USB etc is possible, however there are some things to keep in mind.
For rs232/485, when you install these devices they show up in windows as com ports, and NI-VISA can communicate with these devices. You can find a serial communication tutorial here.
Ethernet communication is possible with the TCP or UDP communication VIs in LabVIEW. You can see how this works in LabVIEW here.
NI-VISA also has supports USBTMC and RAQ USB communication in LabVIEW. You can see more information on this here.
I hope the information and links above help you in your decision.
Regards,
Jesse O.
Applications Engineering
National Instruments
04-19-2006 12:01 AM
04-19-2006 04:44 PM
Nishant,
I do not completely understand what you are asking. I do not know
what you mean by "develop communication for the modem in
LabVIEW".
By modem I assume you are connecting to the internet through a dialup
modem.
Once connected to the internet you can use TCP or UDP to communicate
over the intenet. I have given links for this above. If you
are trying to
control the modem's hardware you might be able to communicate with the
modem
through DLL or API calls.
Regards,
Jesse O.
Applications Engineering
National Instruments
04-19-2006 10:54 PM