Log an Array

Mark Walser 3 years ago in IQANdesign updated by Hugo Giroux 16 hours ago 3

Is there a way to log an array.  I have 4 values that are put into an array that I want to log for future data analysis and logging them as 4 separate items does not allow for using the data effectively.

No, the log functionality does not include a feature for storing the contents of an array channel. You can drop an ARC in an event log, and it will look like a value event, but the log record will only show the channel name, as an event log item would do. 

The current workaound would be to split up your content in separate channels, and log these with individual value event log items.

In some cases where I have had the need for storing batch data, I have been thinking that it would have been nice to have some sort of struct type when logging, with one event saving multiple channels of different value types.

I can change the question topic into a feature idea if you like?

I think that it is a good idea to change it to feature idea. The ability to log an array is available on other platforms.  it makes it much easier to look at the data when trying to compare or graph multiple items from the same time stamp.  You can make the data appear like saving the data from IQAN run after using a measure group.

This would help a lot. Or is there another way to log let's say 3 differents channels at 1s intervals and then save in Excel format in a way that all 3 channels can be shown on a graph?

Or even shown in iqanrun with the graphing tool just like a measure group but from the MD4 memory?