04-02-2019 08:16 AM
hello,
i have a problem, can you help me ?
in annexe, you will find my VI and my problem. I want connect an amplitude modulated signal but is impossible.
the error tells me: you have connected two terminals of different types, the source is of dynamic data type and the receiver is of cluster type of 3 elements.
what can i do ?
Thanks you
MP
04-02-2019 08:31 AM
I'm not sure why your title says you have a graphic problem. The subject of your message says you have a wiring problem.
The error describes the problem pretty clearly. You are trying to wire a dynamic datatype into a terminal that won't accept it. I don't have that subVI, but when I hope your VI, the error gives more more details that the cluster type consists of t0 and dt that are both doubles, and a 1-D array of complex doubles. That is remarkably close to a waveform datatype.
Try using convert from dynamic data to change the blue data wire to a waveform. Now I don't know if that will directly connect to your subVI. I'm guessing not. You can then use Get Waveform components to get the t0 dT and the Y-array and bundle them into the cluster the subVI is looking for. But I also don't know if you'll need to do anything special to convert the 1-D array of doubles that will come from the waveform to a 1-D array of complex that the cluster is looking for.