キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Labview interface with micro contoller

解決済み
解決策を見る

i am new to labview. I need to know whether DAQ card is needed to interface with micro controller? if no need then any one can you explain how to inter face microcontroller 89c51 with Labview...... if needed then explain how to interface?

 

JAGADESAN ASOKAN

J@G@De5@N
0 件の賞賛
メッセージ1/17
5,385件の閲覧回数

Hi jagadees put more details.

Are you communicating with the microcontroller or reading digital signals from it???

0 件の賞賛
メッセージ2/17
5,378件の閲覧回数

Need to communicating,

 

My application is monitoring irrigation system, need to control it by using Labview.

 

Then get data from microcontroller and display.Then instruct labview to microcontroller Regarding Setpoint and some other datas......                                                                    

J@G@De5@N
0 件の賞賛
メッセージ3/17
5,359件の閲覧回数

In general, no, you don't need a DAQ, because in your case, the uC is the DAQ. Your challenge is to set up an interface between the computer and the uC (whether using LabVIEW or anything else).

 

In my opinion, the easiest way to accomplish that is to set up a serial interface with the uC, and use LabVIEW to control / read the uC serially using VISA. This would require the least amount of hardware and least cost. I2C, if available, is also a way to go if you have the interface.

 

 

Richard






メッセージ4/17
5,347件の閲覧回数

What hardware do you have to work with?  Is it an eval board with a couple of interfaces (serial, USB, etc)?  Or are you designing the hardware and considering how to interface with it?

We'll need more info to help with the LabVIEW side.

0 件の賞賛
メッセージ5/17
5,323件の閲覧回数

Hi

If you are already acquiring data with the microcontroller, you only need to program a serial communication (RS-232 is easily, could be USB too) to transmit and receive data to your PC. Search the LabVIEW examples, you can find several sourcecodes for TX and RX serial data. Greetings,

 

Jorge N.

0 件の賞賛
メッセージ6/17
5,309件の閲覧回数

Hi Jagadesan,

You can use the example vi - basic serial write and read with COM1 as VISA resource name if you have serial port on your PC.

If you dont have serial port you can use USB - RS232 serial adapter and check device manager for the COM port number and use that COMX as VISA resource name in the example vi.

You will need to write a program on 89c51 to read and write to serial port. If you are planning to use I2C then you will need I2C hardware for PC and need to write bit-banging program on 89c51, using Serial port is easier compared to I2C on 89C51.

 

Regards

Rajshekar P

0 件の賞賛
メッセージ7/17
5,277件の閲覧回数

Thanks ... Broken....

J@G@De5@N
0 件の賞賛
メッセージ8/17
5,267件の閲覧回数

By Using Serial port

J@G@De5@N
0 件の賞賛
メッセージ9/17
5,266件の閲覧回数

thank you sir.....

J@G@De5@N
0 件の賞賛
メッセージ10/17
5,265件の閲覧回数