04-20-2010 04:12 AM
I was testing with Ethernet/IP communications, plan is to use I/O data communications.
But i have a problem regarding Data type to be use.
The VI"s : "EthernetIP Get Assembly Instance Data VI" and "EthernetIP Set Assembly Instance Data VI" have an input/outupt terminal for Data and it is an U8 array.
The help states to use the un/flatten to string functions, but this is not possible.
"Because the data is written as a raw bytestream, you must convert the data to the correct data type. In LabVIEW, use the Flatten To String function to convert the data to a specific data type. Note that you must specify little-endian byte order."
Does anyone have an example available?
I have another question, can anybody give an idea on the communication speed possible using Messaging and I/O data, target is an Allen Bradley PLC.
Thanks,
Ben Engelen
04-23-2010 07:35 AM - edited 04-23-2010 07:35 AM
Hello,
what do you mean with thatit's impossible to use flatten/unflatten to string functions?
The following way should work: