キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Creating complex data waveform

解決済み
解決策を見る

Hi,

I have a 2 channel audio file that contains both the real and complex parts of an I/Q wave. I am trying to demodulate this using the MSK block from the modulation toolkit but I have trouble getting the I/Q stream in the right type. The MSK block asks for a complex waveform as input but after building this complex waveform I found out that it really needed a 'Complex Data Waveform.ctl'.

How can I get my data in the right format? I can't find a block that generates this 'Complex Data Waveform.ctl'.

I have attached a picture of the situation.

Best regards,

Jan

0 件の賞賛
メッセージ1/12
9,418件の閲覧回数

The standard waveform does not support complex data.

 

Try creating a control by popping up on the input to the MSK VI. To see the datatype of the wire hover the wiring tool over the wire connecting the control to the VI. The context help window will show the datatype of the wire.

 

I do not have the modulation toolkit so I cannot try it on your code.

 

Lynn

0 件の賞賛
メッセージ2/12
9,390件の閲覧回数

Well, it is possible to put complex data in a waveform type. Problem is that the MSK block demands a 'Complex Data Waveform.ctl' (the pink wires) of which I can't find how one should compose it.

0 件の賞賛
メッセージ3/12
9,369件の閲覧回数
解決策
トピック作成者JanVerwilligenが受理

Try this

 Right click on the input complex waveform node of that MT Demodulate MSK subvi. Click 'Create' >>'Constant'. Now delete the wire between the newly created constant and that subvi. Add a bundle by name cluster. Wire the constant into the top of the bundle by name cluster. Left click and  Pull down on the bottom of the bundle by name cluster until 3 inputs appear. Right click each input and use the select item to get the inputs you require.

Now Using LabVIEW 2019SP1 and TestStand 2019
メッセージ4/12
9,350件の閲覧回数

Okay, what you suggested allowed me to wire up the complex signals to the MSK block without, but I don't think the complex data is transferred correctly to the Complex Data Waveform.ctl. Running this leads to an error message (21837, not found in the explain error help page) stating a possible reason: 'Waveform contains no values'.

 

I've put an image with the setup in the attachment.

 

Thanks for all your help

Jan 

0 件の賞賛
メッセージ5/12
9,319件の閲覧回数

Do you have data in both of those Y arrays?  And data in the array coming out of the Real/Imaginary to Complex function?

 

You are wiring a 1 and a 2 into the Index Waveform function.  Should you be wiring a 0 and a 1?

 

Also, the Index Waveform function is kind of overblown.  A simple Index Array would work, then you could expand the bottom border down and get both waveforms from a single function.

メッセージ6/12
9,307件の閲覧回数

Thanks! It got that problem solved.

Kind regards,

Jan

0 件の賞賛
メッセージ7/12
9,288件の閲覧回数

I am getting the same problem..Could u xplain how u got it??

 

0 件の賞賛
メッセージ8/12
8,923件の閲覧回数

Hellon Chahatb,

 

What does your code look like?

Where are you gettingg issues?

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 件の賞賛
メッセージ9/12
8,897件の閲覧回数

Hello

 

Here is my code. The constellation diagram is not displaying anything.

 

Thanks

0 件の賞賛
メッセージ10/12
8,891件の閲覧回数