05-10-2021 04:20 AM
Good morning, everyone.
I am looking to convert a “. bin” binary file into a TDMS file so that it can be read by RFSG SFP (Soft Front Panel).
From what I read, the requested properties are the signal name, the header size and its I/Q rate.
The problem is that when I try to read in RFSG SFP, I get the following error :
So my question is, how do we solve this problem? Do I need to add an additional header?
Also, is there a general specification for TDMS files under RFSG SFP?
Thanks in advance.
05-10-2021 04:57 AM
Hi Nydearon,
@Nydearon wrote:
The problem is that when I try to read in RFSG SFP, I get the following error :
So my question is, how do we solve this problem? Do I need to add an additional header?
Apparently RFSG expects some UpConverter_Gain property, which is missing in your TDMS file…
(I haven't worked with that tool, but can't you create a TDMS file with RFSG and then analyze it to learn about all the needed properties?)
05-10-2021 06:41 AM
That is the whole problem.
To create my code, I first analyzed two sample files with the TDMS “List component” tool. These two files had several headers:
ChannelLength, Data-Type, Headroom, IQ_Rate, WaveformType,dt and t0.
Then I tried to put it on another “. bin” file, and it worked. I then narrowed it down to headers. Data -Type, IQ_Rate and Headroom, and it still worked.
But for a simple cosine written to a binary file, it asks me for a new “UpConvert_Gain” parameter that was not needed before.
That’s why I wanted to know if a general specification exists and which works for any . bin file.
05-10-2021 06:51 AM