01-22-2015 05:25 PM
Hello,
I have a Windows 7 computer running Labview 2014. The computer as Oracle VM Virtualbox installed which is running Fedora 7. With Oracle already started and Fedora running, here's what I need to do:
1 - Be able to open a terminal window.
2 - Send commands to terminal window.
3 - Receive data from terminal window.
Basically, from Labview running in Windows, I need to run a ping session in the Linux Terminal window and collect the ping results. I have no idea where to start with this, or if it is even possible.
Thank you!
01-23-2015 02:43 PM
Hi robbb81,
I have two possible route ideas:
Out of curiosity, why are you trying to do this? This also might be a post applicable for a VirtualBox forum, or even a general linux forum. It touches many applications.
Have a nice day,
Andrew
01-23-2015 02:55 PM
Thanks for the reply Andrew, this may be a bit over my head for now.
I am writing a test program for testing an inflight entertainment seat back display. A majority of the testing can be done in Windows using serial communication, but there is some ethernet testing that needs to be performed per the original test specifications which requires the use of Linux (hence the VM).
An example of one test is to start a ttcp transmitter on the UUT, and a ttcp receiver on the Linux PC (currently ran as script files). When the test has completed after x number of transfers, we check the transfer rate. I was hoping to automate these tests instead of having someone start the scripts manually.
01-23-2015 04:47 PM - edited 01-23-2015 04:49 PM
@robbb81 wrote:
Thanks for the reply Andrew, this may be a bit over my head for now.
I am writing a test program for testing an inflight entertainment seat back display. A majority of the testing can be done in Windows using serial communication, but there is some ethernet testing that needs to be performed per the original test specifications which requires the use of Linux (hence the VM).
An example of one test is to start a ttcp transmitter on the UUT, and a ttcp receiver on the Linux PC (currently ran as script files). When the test has completed after x number of transfers, we check the transfer rate. I was hoping to automate these tests instead of having someone start the scripts manually.
Well you can sort of do this if you look in your Windows Network Connection in the Control Panel you will see that Virtual Box has it own "network interface" so it could be possible to set a static IP address to that interface in Linux and connect to it in Windows like a peer to peer network connection.
BUT your transfer rate test will probably give you artificially high throughput readings because you are basically just doing a software loop-back.
Oh forgot to add you could always use LabView to Telnet into the VM and start the scripts to automate this.
01-23-2015 04:58 PM
Thanks for the advice! I'll give it a shot.