09-15-2014 04:12 AM
Hi,
im using a NI FPGA Card on one Computer and i would like to control it from other computers. It would be nice if it is possible to make the FPGA Computer a VISA instrument. So i could find
this FPGA-Computer over NI MAX as Ethernet resource. Then i could simply pass commands over the VISA interface from other computers. Is this possible? Are there existing examples how i could
archive this?
greetings
Alexander
09-15-2014 05:54 AM
09-15-2014 11:28 AM
If you create a VI that acts as a server and accepts TCP connections, then you can use the VISA TCP functions to read and write to it. There are plenty of examples of TCP communication in LabVIEW. You need to implement the commands yourself; VISA will only send and receive data. Making it possible for your device to be discovered automatically is more difficult (and may not be possible depending on the configuration of your network) - you will need to find and implement whatever protocol NI uses for discovery. Otherwise, on the clients, you'll need to create the VISA resource manually, by entering the IP address of the FPGA computer.