09-03-2015 10:09 PM
09-04-2015 08:53 AM
I think Im going to go out on a limb and say that network streams only work with Ethernet cables.
09-04-2015 09:20 AM
Scratch that last statement.
09-04-2015 10:49 AM
Good news the system works..sort off.
I set up a network stream writer which I attempted to connect to the cRIO on my application. For a sanity check, I used a laptop on a wireless module with a basic network stream reader which i attempted to stream a basic numerical control. This proved somewhat successful as the connect would make and the initial numeric value would stream but any change in this value would not stream. I then attempted this simple example on my cRIO to no avail.
I then decided to make a stream manager which didn't work, so I attempted to setup the simple network steam once again. For this attempt, I added a -1 constant to the Read Single Element from Stream vi. For some odd reason this time the connection worked as expected. I was able to stream the varying numeric value over a wireless connection! With this success, I attempted to connect to the cRIO by alternating the IP address to the cRIO and low and behold I'm able to stream the initial value only.
It maybe the uncertainty of the wireless module or magic, but I'm very much pleased with the progress. I'm going to attempt to modify read vi on the cRIO side and see if adding the -1 constant to the Read Single Element from Stream.vi will do the trick, even though the default is in fact, -1, but hopefully it will make the difference.
To answer my own question; yes you can use network streams on a wireless network. I did have to change to the primary IP port to do it (which was a pain). And so far I'm somewhat success at achieving my goal but still for away.
Here is the code for the network write if anyone is interested.
09-04-2015 05:04 PM
It's awesome to see the progress you've made. Thanks for sharing your results with everyone!