LV 2010, PXI, EtherCAT 9144
I'm working on configuring EtherCAT modules from code, rather than from LV project settings (need to have dynamic configuration options).
If I start with MOD1 CH0 configured(from the project) as a Thermocouple, this code works. But it doesn't CHANGE the channel's mode.
If I start with MOD1 CH0 configured(from the project) as VOLTAGE or anything else, this code fails will error 65720.
Image may be NSFW.
Clik here to view.
But it succeeds if I do the same thing in two separate nodes:
Image may be NSFW.
Clik here to view.
If the property really is "not valid for this module", then why wouldn't it fail every time?
Why would it fail only if it changes the value of a setting?
And why does doing the same thing in TWO nodes succeed, where doing it in ONE fails?