DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Connection between Pure Data and Diadeem

I have a project to implement but i dont have any experience with diadeem. Because of that your ideas would be a good starting point. 

My project :  We have motion captured data from rowing machine, and we have Pd program to sonify that data . And we use same data to visualise in diadeem.  Two parts run correctly. My mission is while sonifying this data in Pd they want to see visualization in Diadeem synchronously .  

 

I am waiting for your ideas, anything from you would be great. 

0 Kudos
Message 1 of 9
(5,110 Views)

Hi bedrettin,

 

Does your data load into the DIAdem Data Portal?  Does your video load into an area in DIAdem VIEW?  If you made it that far, is the problem synchronising the two?  Did the data start at time = 0?  Did the data start being acquired at the same time as the video camera started recording?

 

What does "sonify" mean?

 

What is a "Pd" program?

 

Brad Turpin

DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 2 of 9
(5,103 Views)

This is the general view of sonification ...  "Direct audio feedback during general movements or sport exercises opens a fascinating field of sonification in sport training and rehabilitation. " 

and my data is csv file  .  There is no any video . there is  a model in DIAdem and according data values , it moves .  

 

pure data is a open source project and it is a real-time graphical programming environment for audio, video, and graphical processing. 

 

I was thinking create a tcp ip server and connect pure data patch and DIAdem via TCP connection , and start sending data same time . But is doesnt sound a good way. 

 

Thank you for your atention... 

0 Kudos
Message 3 of 9
(5,101 Views)

Hi bedrettin,

 

Yeah, DIAdem is not the best tool for showing real time data streamed from an external application.  DIAdem is primarily intended to investigate the data offline, after the acqusition is finished, using the data sets created during the test.  DIAdem could load your CSV data files and show 3D CAD model synchronization of that data, but ideally that would be after the test is complete.

 

What functionality are you hoping DIAdem can give you that your PD application is not already providing?

 

Brad Turpin

DIAdem Product Support Engineer

National Instrumetns

0 Kudos
Message 4 of 9
(5,088 Views)

Uni Bonn

 

Hi brad, 
ok i am clarifying little bit. 
We have motion data in CSV file.   There are two aspect one is visualise other is sonify.
Sonifying is done by PD (pure data) this part works correctly. Visualisation is done by DIAdem and this part also works correctly.  Each system doesn't have any problem initially . 
I have a master thesis , and my professor has given the task that synchronize  those systems. When PD program starts sonifying, the DIAdem simulation should start on the same time. and when they are looking the visualizing the motion data on DIAdem they should hear the sound of that motion. I know it is very specific question.  Thanks anyway.
Best Regards,
Bedrettin
0 Kudos
Message 5 of 9
(5,086 Views)

Hi Bedrettin,

 

Please, can you send me your contact infos to mailfordiademhelp at ni dot com. I live in the same time zone so that I can call you.

 

Greetings

Walter

0 Kudos
Message 6 of 9
(5,073 Views)

Hi all, 

 

is it possible to create plug in for DIAdem to trigger the PD patch and send the current data which is DIAdem processing ? 

 

Regards,

Bedrettin

0 Kudos
Message 7 of 9
(5,045 Views)

Hi Bedrettin,

 

The public APIs for creating DataPlugins only read data into DIAdem.  DIAdem R&D has created a few C++ DataPlugins that can also write data out from DIAdem to file or to a data base, but in general DataPlugins are read-only.

 

It is possible for a DIAdem VBScript to send data from DIAdem to another product, usually via ActiveX or SQL, though there are other communication options.

 

Brad Turpin

Product Support Engineer

National Instruments

0 Kudos
Message 8 of 9
(5,035 Views)

Hi, How can I get the connection between my device and DIAdem with a TCP/IP protocol, the example in your VB Script Driver doesn't work well.

0 Kudos
Message 9 of 9
(4,618 Views)