QPSK Mod and Demod - gnuradio

I have implemented the attached flow graph but I am unable to receive the same data/text via file.
image
I am sending '0011' data via .txt file but receiving ' ' garbage data in received text file
Where is the problem in flow graph?

Related

Godot - Loading a Saved Game

I am trying to create a C# script to save and load the saved games in Godot. I have organized the information of each node (each node that will be saved) in a dictionary (one dictionary is created for each node that will saved) and all the information is saved in a txt document with a format like “gamesaved.txt”.
The system is saving the information without problem in the Project Data folder. The problem is that when I want to load the game saved, Godot appears to have problems to open the File. I use something like this in my “load method”:
saveGame.Open("user://savegame.text", File.ModeFlags.ReadWrite)
and in the next line I use
While (saveGame.GetPosition() < saveGame.GetLen())
to start to read the file and use the information of the dictionaries but system says ERROR!` And says:
“get_position: File must be opened before use”
It appears that the system doesn’t recognize that the File has been opened in the previous line with saveGame.Open()
Do you have any idea what the open method could not be working?

How to save html

An external service email editor is used on the front-end side.
The mail editor outputs HTML in the end, but we need to save that data.
In this case, what is the appropriate processing flow?
1Save the data as text in DB. 
2Save the data as a file in S3.  
The saved data is supposed to be used when editing the data again in the mail editor and when actually sending the mail. 

Adding a file to Libreoffice-writer as OLE and converting the Writer to PDF

I have created a Libre-office Writer and attached Spreadsheet as OLE object using Insert-Object-OLE-object.
Now I converted my Writer file to a PDF file for distribution to general recipients. But when I did this, the attached Spreadsheet is not longer available to open upon Click.
Is there any way to keep that attached file clickable, so that when user click on that Icon in the PDF file, the Spreadsheet will open directly?
Any pointer will be really appreciated.

Is there a way to generated several PDFs from a loop and store them without saving the files to disk?

I am trying generate several individual pdfs from html in a group of elements within a node on a webpage with jsPDF. (Report cards for students). Then I need to email the individual report cards to each students parent using JavaMail.
The problem is: I don't want to save the pdf files to disk as they are generated, instead I want to programmatically loop through the report card elements in the page (id="'studentCard_' + studentId", generate the individual pdfs from the html and store or push each individual pdf into an array or object on the fly (as they are created) that I can then pass over to JavaMail and loop through to attach each individual pdf to the associated parents email.
I can convert the html to pdf without a hitch...
I am just not sure as to how to then attach this pdf to the email since the only option is to pdf.save(filename), and I don't want to actually SAVE each individually generated pdf in the loop to disk - I just want to temporarily store the generated file before I attach it to the emails and send it out.
I have converted the pdf to a blob and a blob URL and I am able to then push the blob into an array. Can I just convert the pdf to a blob or blob url and push it to an array and then loop through that array and attach that to the email. Is this my Solution to convert each pdf to a blob, then push the blob to an array to be passed on to JavaMail to loop through?
I don't know anything about this aspect of my problem. If I attach a blob to the email, or insert the blob URL in the body, when the parent clicks on the file to download it, or clicks on the link inserted into the body, will it automatically be converted back to PDF format for them to read by their own mail program or in the browser? How do I do this correctly?
You may use IndexedDB, the client-side storage of the browser. I like JsStore, an IndexedDB wrapper. I have used it for a couple of my projects. It's pretty neat.
pdf.save(filename) is NOT the only option. You should be able to use pdf.output(datauristring) or pdf.output('blob') and save it to IndexedDB. Depends on your pdf file size, you may even use localStorage, which is easier to use but has much less storage than idb.

How to create mfra box for ismv file if it is not present?

I am working on Live Smooth Streaming and it creates ismv file.
I want to copy this ismv file to other location.
But as streaming is in progress so copied file is corrupted.
I tested this file using Mp4Explorer and compared with other ismv files.
I found that copied ismv file lacks mfra atom.
Please suggest how to add mfra atom for ismv file so that copied ismv file can be easily played?
If you're live streaming I would not expect the Movie Fragment Random Access (mfra) box to be present. I believe it is used only used server side to allow for easy fragment extraction and is never passed across to the player. You'll also see the mfra in any mp4 files you have on your local disk.
What you are likely capturing is the individual fragments of the stream. These are made from the Movie Fragment (moof) and Media data (mdat). The moof has two other atoms inside, Movie Fragment Header (mfhd) and the Track Fragment (traf).
If you are trying to reassemble the file from fragments you will need to do this (conceptually)
[ftyp][moov][fragment][fragment]...[fragment][mfra]
Where each [] is a box that may contain other boxes. See Alex Zambelli's blog for some good info. You will need to create the [ftyp][moov] and the [mfra] to properly represent all of your other fragments.