LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sending data using labview

Hi,

 

I'm currently using labview to receive data sent from the microcontroller PIC18f4520. I'm using visa to receive data from the microcontroller. Is it possible that I will be able to send data back to the microcontroller? and what vi should I use to send data back to the microcontroller.

 

Regards.

0 Kudos
Message 1 of 5
(2,910 Views)

Did you try the VISA Write VI?

 

See this for more details.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 5
(2,890 Views)

Hi,

 

I've seen the web but I still don't understand how am I going to use labview to send data back to the microcontroller. Is it possible that someone can provide me an example to do it?

 

Thanks and Regards.

0 Kudos
Message 3 of 5
(2,845 Views)
In order to receive data from the PIC, you have a VISA Read and wired to the VISA Read is a VISA Resource Control/Indicator - correct? In order to write, the same VISA Resource would be wired to a VISA Write Function. The VISA Read has a string output - the data from the PIC. The VISA Write has a string input - the data to the PIC.
0 Kudos
Message 4 of 5
(2,839 Views)

Hi,

 

Thanks for your help. I'm currently now trying out on how to do it. Now the problem lies with the microcontroller as I'm not too sure how to receive the data from labview. Does anyone knows how to program a PIC18f4520 to receive data from labview? It will be great if somebody is able to help. Thanks.

 

Regards. 

0 Kudos
Message 5 of 5
(2,796 Views)