Stagg54 Posted June 14, 2017 Report Share Posted June 14, 2017 They could also be worried about this: https://www.usbkill.com/ Quote Link to comment
infinitenothing Posted June 14, 2017 Report Share Posted June 14, 2017 The original Sony rootkit was on a CD ROM How's that for provenance? I'm having a hard time seeing why usbkill is a concern. Why would an IT policy stop a motivated vandal? Quote Link to comment
Taylorh140 Posted June 30, 2017 Report Share Posted June 30, 2017 I noticed a little gem that was added, the "Is Value Changed.vim" but i found its implementation curious. typically when i want this functionality i would use a feedback node. Are feedback nodes becoming taboo? Quote Link to comment
smithd Posted June 30, 2017 Report Share Posted June 30, 2017 it also has a false and continue if true for the while loop, also odd. I would guess its based on old code written in an older style (i think openg or some similar package has that same function). feedback nodes are great. Quote Link to comment
PiDi Posted June 30, 2017 Report Share Posted June 30, 2017 3 hours ago, smithd said: it also has a false and continue if true for the while loop, also odd. I would guess its based on old code written in an older style (i think openg or some similar package has that same function). feedback nodes are great. Most, if not all, "statefull" VIs in vi.lib use while loops with continue if true option (examples: whole Point-by-Point pallete, filters in Signal Processing). OpenG follows the same convention. There is an old thread here: http://forums.ni.com/t5/LabVIEW/Execution-speed-feedback-node-vs-shift-register/td-p/295536 which points out that shift registers are faster than feedback nodes (the benchmark VI attached in second post there still shows that in LV2015 SP1). I don't have LV2017 installed, but it would be interesting to see which implementation of "Is Value Changed" is faster. Quote Link to comment
hooovahh Posted June 30, 2017 Report Share Posted June 30, 2017 Well then there is the fact that I didn't see any feedback nodes in NXG (unless I missed it) so it is possible it is going away. Or maybe it just hasn't been implemented yet. One point about the Value Changed function that someone at NI mentioned is a bug, is it doesn't work correctly for all values of doubles. For instance a NaN is never equal to anything, including NaN by definition. So if you used the Value Changed on a NaN and wanted to know if the value had changed from the previous NaN this function would return true, even though the value of NaN never changed. Just be aware of this functions limitation. Quote Link to comment
A Scottish moose Posted June 30, 2017 Report Share Posted June 30, 2017 3 hours ago, hooovahh said: ... For instance a NaN is never equal to anything, including NaN by definition. So if you used the Value Changed on a NaN and wanted to know if the value had changed from the previous NaN this function would return true, even though the value of NaN never changed. Just be aware of this functions limitation. Kinda like asking if infinity is equal to infinity.... yes?... and no... no it's not. Quote Link to comment
smithd Posted June 30, 2017 Report Share Posted June 30, 2017 7 hours ago, PiDi said: Most, if not all, "statefull" VIs in vi.lib use while loops with continue if true option (examples: whole Point-by-Point pallete, filters in Signal Processing). OpenG follows the same convention. There is an old thread here: http://forums.ni.com/t5/LabVIEW/Execution-speed-feedback-node-vs-shift-register/td-p/295536 which points out that shift registers are faster than feedback nodes (the benchmark VI attached in second post there still shows that in LV2015 SP1). I don't have LV2017 installed, but it would be interesting to see which implementation of "Is Value Changed" is faster. Thats fine, I just don't see a reason for it (continue if true) I think the feedback vs while loop performance changes based on the surrounding code, and it fluctuates from version to version. For example my test in 2012 for a specific use showed feedback nodes as faster, The difference is so minor as to be unimportant. Quote Link to comment
shoneill Posted July 6, 2017 Report Share Posted July 6, 2017 The version with a loop won't work in a SCTL on FPGA. The version with Feedback node will AFAIK. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.