LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

class conflict of VISA port

To do implement code quickly, I used a local variable of (serial class) VISA port as the attachment.

The value property cannot be wired due to class conflict.

If the class of control was changed to (instr. class), wiring is accepted.

Is it a bug in LabVIEW 2018?

 

labmaster.

0 Kudos
Message 1 of 2
(1,237 Views)

It looks like the property node only accepts the Instr class.  I even did a "create constant" from the property node and it was broken.  Property nodes' value data types can be weird.  I think you just found one of the weird cases.

 

But more importantly, the fact you are trying to write to a property node for the VISA Session points to a bad architecture.  Why are you trying to do this?



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 2
(1,208 Views)