Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69203

Two properties One Node FAIL, two nodes OK

$
0
0

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.

 

 

Config Fails 1.PNG

 

But it succeeds if I do the same thing in two separate nodes:

Config Works 1.PNG

 

 

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?

 

Viewing all articles
Browse latest Browse all 69203

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>