10-10-2019 11:55 AM
Hello,
I am wondering if there is an equivalent command that allows me to actually access the data inside the converted array without passing it to another application.
Here is a brief description of what I am doing:
1) I save data as groups/channels in a .tdm file
2) I use parallel work to run the same script on several cores, and all cores must access the data stored in the tdm file
3) once the single parallel workers are evoked, I load the tdm file in the data portal, but I don't want all those groups to stay there, so I try to convert the desired channels to arrays and use them locally
I understood that the data converted from channels to array with the ChannelsToArray command actually cannot be accessed by the same application: should I just run a For cycle to load all values of the desired channel into an array or there is a command for this?
Thank you,
Mattia
10-10-2019 12:44 PM
Just run a for loop to put in array or use ChannelObject.GetValuesBlock(Start, Count, Type)