DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Mark the signal route in 2D-Curve

Solved!
Go to solution

Hello guys,

 

I'm looking for a way to mark the route of the signal in a curve, where the x-axis is not a time, but another measured channel. The attached picture "initial" shows the actual situation. The start and end points are marked, but the signal route is ambiguous.

 

My first idea is to have something similat to "option A". Though the markers available in Diadem (e.g. triangles) don't change the direction with the curve, so it doesn't help...

 

Another one possibility could be the "mirroring" of the x-axis (see "option B"), but here I cannot imagine how Diadem can handle this...

 

Maybe someone have similar issue and know the solution?

 

Best regards,

dia

Download All
0 Kudos
Message 1 of 8
(4,095 Views)

Hi Dia,

 

Would you have the original TDM file of your data or at least an example file so that we can play with it ? 🙂

 

Thanks

CLAMaxime -- Kudos are a great way to say thank you
0 Kudos
Message 2 of 8
(4,061 Views)

Sure 😉

A TDMS sample is attached.

0 Kudos
Message 3 of 8
(4,059 Views)

Hey Dia,

 

I am sorry to say that I haven't found any direct solution to your problem. A workaround that I've been thinking about though : why don't you split your data in 5 or more sets to graph them all on the same chart ? This way, this will all have different colors which will help you to determine the "direction" of your data. You can even modify the curves color to have some king of colour gradation.

 

Would that work for you ?

CLAMaxime -- Kudos are a great way to say thank you
0 Kudos
Message 4 of 8
(4,047 Views)

Well, this could be a solution, but currently I don't know how to get this in a simple way.

 

Alternatively I tried to create the 3D-Curve with a "dummy time", to use the colour palette over the runtime, but cannot apply the scaling to this time channel then...

0 Kudos
Message 5 of 8
(4,019 Views)
Solution
Accepted by topic author Dia791

Are you familiar with VBS scripting in DIAdem ?

 

If yes, some reference that might help you :

https://forums.ni.com/t5/DIAdem/Split-a-Waveform-into-Smaller-Segments/m-p/2646797#M17804

 

The idea is to create N new channels and copy data blocks to the new channel each time. Pretty easy if you use For Loop (http://zone.ni.com/reference/en-XX/help/370859J-01/vbs/general/vbs_fornext/).

CLAMaxime -- Kudos are a great way to say thank you
Message 6 of 8
(4,013 Views)

As for scripting, I would get it. And yes, this would be a way to solve the problem.

However I think that the marker option for the curves could be improved somewhen with the next DIADEM version in order to have this possibility...

Thank you!

0 Kudos
Message 7 of 8
(4,005 Views)

Maybe you could post a new update idea here : DIAdem Idea Exchange 🙂

CLAMaxime -- Kudos are a great way to say thank you
0 Kudos
Message 8 of 8
(3,995 Views)