How make one square impulse in Gnu Radio?

How make one square impulse in Gnu Radio?

I didn’t know how make one impulse in GRC ? If u know how write block in GRC on python help me please

An impulse starting at zero time is a one followed by zeros - so, you could write a file with the one followed by zeros and use the “File Source” to read it in.

excuse me, but how do I write this down?

I am not sure what you mean, but a simple program to write the data-

#include <stdio.h>
#include <stdlib.h> 
// cc -o writeData.x writeData.c -Wall
// writeData.x
int main()
	FILE *out=fopen("data.raw","wb");
	if(out == NULL){ 
	    fprintf(stderr,"Error Opening File to write\n");
	float value=1.0;
	for(int n=0;n<2000;++n){
		size_t nw=fwrite(&value,sizeof(float),1,out);
		if(nw != 1){
	    	fprintf(stderr,"Error Writing File nw %ld\n",(long)nw);

Thank you!