08-16-2011 08:34 PM
Hello,
I have a microboard that can output an array of voltages. Using assembly language (software), I can send these values to my PC's COM Port.
Questions:
1. How can I read these values using LabVIEW?
2. If I can, how can I separate these values in separate columns after acquiring this data?
3. Do I need additional software other than LV e.g. NI Serial or NI VISA to do this?
Thanks.
08-16-2011 10:57 PM - edited 08-16-2011 11:00 PM
@PSerial wrote:
Hello,
I have a microboard that can output an array of voltages. Using assembly language (software), I can send these values to my PC's COM Port.
Questions:
1. How can I read these values using LabVIEW? you read these with a VISA read function after you configure the resource settinggs, COM port# Baud rate data bits....
2. If I can, how can I separate these values in separate columns after acquiring this data? VISA Read returns a string of data. Scan from string ( hopefully ther are delimiters from the device to seperate the data elements) will convert them to any type of data you need
3. Do I need additional software other than LV e.g. NI Serial or NI VISA to do this? Yes, both! but they install from your "device drivers" DVD that shipped with LabVIEW. You can verify they are present by opening MAX Measurement and automation explorer an opening the software folder
Thanks.
08-17-2011 08:05 AM
Correction: You only need NI-Serial if you are using one of NI's serial interface products. If you are using the PC's serial port then you do not need it.
Also, you should open the Example Finder (Help -> Find Examples) and look at the serial port examples. You should also do some reading: http://zone.ni.com/devzone/cda/tut/p/id/4359
Also, if you have not already done so, spend some time doing some LabVIEW tutorials. The forums is not a replacement for doing your own studying. To learn more about LabVIEW it is recommended that you go through the introduction material, tutorial(s), and other material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. There are also several Technical Resources. You can also take the online courses for free.