Discussions au sujet de NI LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

conversion des donnes

Solved!
Go to solution

Bonjour à tous ,

 

je souhaiterais convertir un waveform numérique( signal binaire)  en donnes dynamique .

Comment je dois faire ?

merci à vous.

 

Cordialement

0 Kudos
Message 1 of 10
(435 Views)

Hi asmae,

 


@asmae97 wrote:

I would like to convert a digital waveform (binary signal) to dynamic data. How should I do ?


Why do you want that? Why do you need DDT wires at all?

 

(As DDT is based on (arrays of) analog waveforms you cannot convert digital waveforms directly into DDT.)

 

Btw. when posting in this English speaking forum you should write in English. (Or use the French regional board…)

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
Message 2 of 10
(428 Views)
thank you for your reply .
I want to do a monchester coding, and I chose to generate a random binary signal not a square signal.
and I want to convert the two signal (clk, data) to digital data to build a waveform.

I don't know if it is so clear or not.

 1.jpg

0 Kudos
Message 3 of 10
(418 Views)

Hi asmae,

 


@asmae97 wrote:
I want to do a monchester coding, and I chose to generate a random binary signal not a square signal. and I want to convert the two signal (clk, data) to digital data to build a waveform. I don't know if it is so clear or not.

No, it's not clear to me! Why do you want to convert to DDT?

 

All you want is to convert from digital waveform to analog waveform, even though I don't know how that could help with your task:

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
Message 4 of 10
(379 Views)
Thank you very much for your answer .
I have to do a direct chain of transmission (generate a binary signal (0, 1) in a random way + encoding (I chose the manchester encoding) + modulation (BPSK)
I did  the 3 blocks separately.
The problem is, I can't seem to put them together in a single VI.
Thank you.
Best regards

 

Download All
0 Kudos
Message 5 of 10
(340 Views)
Solution
Accepted by asmae97

Hi asmae,

 

this is a solution without syntax errors:

I'm not sure if it fits to your requirements, check for yourself.

(The multiplication of those integer arrays is the same as ANDing boolean signals. An AND seems more natural to me…)

 

As I mentioned before: stay away from ExpressVIs and their DDT wires!

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
Message 6 of 10
(329 Views)
I made the same diagram but I did not find the same result (manch) I do not know whatis  the problem exactly.
you can send me your VI please?.
Thank you so much 

 

0 Kudos
Message 7 of 10
(314 Views)

Hi asmae,

 


@asmae97 wrote:
I made the same diagram but I did not find the same result (manch) I do not know whatis the problem exactly. you can send me your VI please?.

No, I didn't save the VI after posting the image.

When you have problems with your VI you are the one who should post the VI…

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
Message 8 of 10
(312 Views)
I found at the output a triangular signal (manch)
0 Kudos
Message 9 of 10
(308 Views)

Hi asmae,

 

take a closer look: compare my plot properties (visible in my image above) and your plot properties!

 

Then change the plot properties as needed (it's the interpolation style!)…

 


@asmae97 wrote:
I found at the output a triangular signal (manch)

Lessons learned:

  • Provide your VI when you have problems with it.
  • Provide a good error description, right from the beginning!
  • Don't use the "code"-box when you write messages! Just type plain text…
Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 10 of 10
(303 Views)