Iam trying to connect a array to a invoke node Bit i couldnt succed..Iam getting an error saying
""You have connected an array datatype to its element data type.This type of conflict may be resolved by indexing the array access individual elements of the array.Check for a tunnel on a loop that has indexing incorrectly enabled"".
Can anyone pls help me out how to reslove this kind of error.
Thank You,
Shanth.
Hello Cory,
Thanxs for your reply, Iam attaching the VI and a Image where Iam getting an error. In the VI I have to connect the "Data to write " which is an array to the "Value" in the invoke node which is not an array.. Can u pls help me out how to do this.
Thank you,
Shanth.
It looks to me like you're trying to pass your CAN data to ncWriteNet as an array of eight bytes, but your DataChannels ActiveX object expects a double-precision floating point number. Since both of those are the same length (8 bytes or 64 bits) you can typecast your array to a double to pass to the SetValue method. See image below. The typecast function is found in the numeric palette under data manipulation.
Nathand,
Its not giving any broken line I was able to run the VI but couldnt find out the expected solution.
Thanxs
Shanth.
Instead of using typecast, maybe you can try using Join Numbers as in the following illustration:
Wire the hi.lo U64 into your property node.