What is the fastest way of printing history data to a file?
I use the following code but it takes too much time to write a file.
fish define outpiledispdata
loop local iii(1,1480,1)
local PDisX=“PileDx”+string(iii)
local PDisY=“PileDy”+string(iii)
local PDisZ=“PileDz”+string(iii)
local PRoX=“PileRx”+string(iii)
local PRoY=“PileRy”+string(iii)
local PRoZ=“PileRz”+string(iii)
command
history export [PDisX] vs “time” skip 1000 table “PDisX”
history export [PDisY] vs “time” skip 1000 table “PDisY”
history export [PDisZ] vs “time” skip 1000 table “PDisZ”
history export [PRoX] vs “time” skip 1000 table “PRoX”
history export [PRoY] vs “time” skip 1000 table “PRoY”
history export [PRoZ] vs “time” skip 1000 table “PRoZ”
Thank you for the information. I skipped the table part as you recommended but it is still too slow.
I use “append” because I transfer the data for more than one structural element. I add the new data at the end of the previous one thereby piling all data in just one file. Because I am doing it for 1400 pile elements.
Is there a way to export all existing histories to one file, without having to list all of them by name? or somehow dynamically pass a list of histories to export?
Currently, there is no direct way to export all existing histories to one file without listing them by name or dynamically passing a list of histories to export.