You Are Here:
You are here: SCPI Guide > Command Reference > Source Subsystem > SOURce:FILe:DATA

SOURce:FILe:DATA

Function

This command sends the file data to the unit. The file being transferred is divided into multiple data commands. There can be as many data commands as needed to send the whole file. The maximum data in one command is 4000 bytes. At the start of each data block there is a header #800001234 which tells that 8 following digits gives the length of block.

Command Syntax

SOURce:FILe:DATA

Notes

The example below depicts the transfer of a file. The first DATA command depicts the transfer. The checksum shown cannot be recreated from the file data because the end of line characters cannot be identified from the text below.

A space must separate the DATA command from the “#” character.

This command not allowed during scenario execution, and will result in the error code “-190,"Execution in progress"”.

Example

Sending a scenario file to the unit:

SEND:

SOURce:FILe:TYPe SCEN 

SEND:

SOURce:FILe:NAMe scen02 

SEND:

SOURce:FILe:LENgth 335 

SEND:

SOURce:FILe:CHECKsum 234 

SEND:

SOURce:FILe:DATA #800000335StartTime 01/06/2009 00:00:00 
Duration 31 3 46 0 
NavigationData Default 
EventData None 
NumSignals 14 
Startpos 60.00000000 degN 24.00000000 degE 10.0000 m 
UserTrajectory Circle 
TrajectoryParameters 300 10 -1 
AntennaModel Zero model 
IonoModel 1 
TropoModel Saastamoinen 
Temperature 15 
Pressure 1100 
Humidity 50 
MinElev 0 
NrSBASChannels 2