05-31-2016 04:43 PM
Thank you Crossrulz. I have created the following two VIs, with the top one running on the cRIO and the bottom one running on my host PC, is that correct?
05-31-2016 05:05 PM
I got the network stream transmitting some data, but the data still only seems to be changing about every 1 second. Am I supposed to get the data off the cRIO by some method besides the shared variables?
05-31-2016 05:23 PM
Gregory,
Speed Issue:
1) Check cRIO Scan Period (right-click cRIO in project) set to at most 100ms
2) NI-9208 Conversion Time - right-click module - High Resolution 52ms - High Speed = 2ms
Note these are PER channel times - 10 channels = 20ms
PC Communication - Network Streams definitely the way to go.
At least on your cRIO (both is better) you should detect a connection error and retry.
Otherwise you would have to restart the cRIO when restarting the Host application.
steve
05-31-2016 05:30 PM - edited 05-31-2016 05:31 PM
Thank you stevem!
It is a 16-channel module, so what I thought was a 1 second delay was actually an 832ms delay (16 channels * 52ms). After changing the module from high resolution mode to high speed mode I can read much more quickly!
Thank you also to Crossrulz and Corey, the suggestions about network streams will be useful as I continue to work more with cRIOs.
06-01-2016 07:12 AM
My pleasure. Glad you got it resolved! Didn't even think about the module's configuration. Good thinking stevem.