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

Getting a data type error and can't work out why

$
0
0

LabVIEW NXG 5.0

 

I have a simple bit of code that reads a tag and writes a new value to it, but it fails on a data type error at the Read Tag Node and Write Tag Node:

Code to run.png

"All Notifiers" is a gtype: a cluster containing a "Reference" to a Notifier.

 

The value of the nodes:

Probe Values.png

Wire definition, for wire at Probe 1/3:

Wire defn Probe 1.png

Wire Definition for wire at Probe 2/4:

Wire defn Probe 2.png

The Tag Definition:

Tag Defn.png

 

And the actual error:

Error message.png

 

I can't work out why it's an invalid data type.  I've done something similar but with Event and Message Queue types - exactly the same setup - and they are fine.  

 

Has anyone got any idea why or how I can debug further?


Viewing all articles
Browse latest Browse all 69348


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