LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CompactDAQ via virtual machine

Solved!
Go to solution

Hi all,

before I dive into the documentation, how do I connect an ethernet CompactDAQ to a virtual machine ?

In other word, what kind of ethernet setup is necessary ?

Does the device have a static address (on what subnet ?),

does it use DHCP (do I need a DHCP server on my host ?),

can I run my guest in NAT or does it need to be bridged ?

Or is the protocol entirely different, non-IP based (in which case how do I pass it to a VM ?).

 

Thanks

0 Kudos
Message 1 of 2
(4,413 Views)
Solution
Accepted by topic author gdargaud

OK, I'll reply to my own message as it may be useful to others.

In the VM config, define two networks:

- one as a NAT is binded to the network interface used to access the web. Here since the host is Linux and it's wifi, I use wlan0

- one as a BRIDGE is binded to the ethernet plug connected to the CompactRIO

Boot the VM and configure the 2nd ethernet connection to use DNS and no firewall. After installing NIDAQmx, rebooting and starting MAX, the devices should start to appear.

Message 2 of 2
(4,397 Views)