LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Virtual tcp device

Hello all
We develop tcp device and we want to create NI device drivers for it. To test system of commands for the device I want to create virtual tcp device. My question is: is it possible to install some own program as a NI device and operate it using visa?
0 Kudos
Message 1 of 2
(2,557 Views)
One of the ways:
1. Create VI with TCP Listen.vi, set fixed port number, set net addres as localhost
2. Run VI
3. Run MAX, select create new tcp device, set port number from 1. and net adress as localhost
4. Device ready for action!
Now you can operate your virtual device using visa. When you call VISA open, TCP Listen.vi produced connection id. Using this id with tcp functions you can send/receive commands with your device drivers.
0 Kudos
Message 2 of 2
(2,537 Views)