Description
Creates a raw importer instance.
Example
importer = client << Importer(
Data Source("MYDATASOURCE"),
Tag Set("TAG1", "TAG2", "TAG3"),
Start Time(Today() - In Days(1)),
End Time(Today()),
Retrieval Type("Interpolated"),
Period(Minute(90))
);
See Also
“Common Options in the Import from AspenTech IP.21 Server Wizard” in Using JMP.
Description
Imports data from an existing AspenTech IP.21 server connection.
Optional Arguments
Async
Performs the import in the background. This allows you to work on other tasks simultaneously. When using the Async argument, the Run message returns a Promise object to the imported data table. Use the Promise object to check if the import is complete.
Example
dt promise = importer << Run( Async );
// Perform other actions while waiting for the import to complete
While( !(dt promise << Has Result),
// Perform other actions here, or just wait
Wait( dt promise );
);
// Imported data table is now available
dt = dt promise << Result;