From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview and mitsubishi plc

can LabVIEW program communicates with mitsubishi plc?
if there is then what are the required drivers?
0 Kudos
Message 1 of 4
(4,010 Views)
If the communication is done via the serial port then it's pretty simple. You basically just use VISA to talk to it as if you were using HyperTerminal. If the communication is done via USB, that's more complicated. How is communication done to the PIC?
0 Kudos
Message 2 of 4
(4,000 Views)
mitsubishi plc and LabVIEW communicate using serial com.  you mentioned VISA, can expand more on how to use VISA?
0 Kudos
Message 3 of 4
(3,980 Views)
VISA is an API that allows you to talk to instruments. It provides a way to interface to GPIB/Serial/TCP-IP without having to write lots of duplicate code. There is a brief KB article on serial instrument control that would apply to you. There's also examples that ship with LabVIEW. Open the Example Finder (Help -> Find Examples and expand the "Hardware Input and Output -> Serial" tree node. The "Basic Serial Write and Read" is a simple example you can look at.

You will need to adapt it to whatever protocol you're using with the PIC. For instance, what is the PIC using to indicate an end of a message. What does the PIC need to indicate the end of a command?
0 Kudos
Message 4 of 4
(3,978 Views)