Transmission of HDLC frames and signals over FDL from an HDL file
run task "FdlFuncT1:FdlTxFile" using " 'File_Name' CONT|EOF|N_frames [SignalRepeatCount] [FLAGS nFlags] " #Dev;
run task "FdlFuncT1:FdlTxFile 'File_Name' CONT|EOF|N_frames [SignalRepeatCount] [FLAGS nFlags]" #Dev;
'File_Name' - name of HDL file in single quotes to transmit CONT - transmit file in round robin fashion (after the last frame
transmit the 1st frame)
EOF - transmit an entire file once
N_frames - transmit N_frames. Frame means an HDLC frame or a signal.
If file is shorter than N_frames start transmitting the 1st frame after the last frame till N_frames are transmitted. For example, if
file contains 3 frames and N_frame = 12, the file is transmitted in circular fashion 4 times: frames 1,2,3,1,2,3,1,2,3,1,2,3
SignalRepeatCount = 1 by default, otherwise the signal from the HDL file will be repeated SignalRepeatCount-times. To transmit a
signal for a second SignalRepeatCount should be 256; SignalRepeatCount affects only signals which are stored in the HDL file as one
byte. Before transmission FF is appended before each transmitted signal. Therefore, transmitting 256 signals is equivalent of
transmitting 512 bytes (FF,Sig). FDL transmission rate is 4 kbits/sec. FLAGS nFlags - number of flags (0x7E) between frames to
SignalRepeatCount is for one-byte frames representing signals; FLAGS nFlags is number of flags appended to
an HDLC frame. Each HDLC frame always has at least one preceding flag. HDLC frame must be at least two bytes long.
run task "FdlFuncT1:FdlTxFile" using "'c:\test.hdl' 3 Flags 1000" #1 continuous;
Transmit first three frames on card 1 with 1000 flags between frames
run task "FdlFuncT1:FdlTxFile" using "'c:\data files\test.hdl' CONT 4096 " #1 continuous;
Receiving HDLC frames and signals over FDL into an HDL file
Continuously transmit file
c:\data files\test.hdl' on card 1 with 4096 signal repetition for each signal in the HDL file.
Syntax: run task "FdlFuncT1:FdlRxFile" using " 'File_Name' FileSize CONT|N_frames_signals "
run task "FdlFuncT1:FdlRxFile 'File_Name' FileSize CONT|N_frames_signals "
`File_Name' - name of HDL file in single quotes to saved received frames to
FileSize - maximum disk file size in bytes
CONT - record frames in circular fashion, i.e. when the file capacity (size) is reached purge earlier frames.
N_frames_signals - receive up to N_frames or/and signals
Repetitive signals are recorded as single one byte long frame in the HDL file. FF is not recorded.
run task "FdlFuncT1:FdlRxFile" using "'c:\test.hdl' 10000000 100000" #1 continuous;
receive into file c:\test.hdl (allocate 10MB disk space for the file) up to 100000 frames on card 1.