02-12-2010 05:54 AM
Hello there,
We've built a game controller as part of a student project and are seeking real time simulation using labview. I tried the usual I/O text method where labview writes the data and the other app ( autodesk maya in this case) reads it. This provided a maximum reading rate of 5 Hz. The I/O process is too slow. Is there a way to interface the 2 apps directly?
Thank you in advance for the help.
Nick
02-12-2010 06:52 AM
5Hz?
Did I read correclty? 5Hz? Wow... That's unusually slow..
That aside.. Is there an API or dll's that you can communicate directly from LabVIEW?
What environment is available to interface between the controller, LabVIEW, and AutoDesk?
R
02-12-2010 07:03 AM
02-12-2010 08:20 AM
hey guys,
this whole thing is out of the scope of my experience so i m gonna tell you what i need to do. i ve built a exoskeletal robotic arm controller. i have around 27 output pins that i need to read into a 3 d model for simulation of its application. Now i figured i d do the dac in labview and write the angular measurements to maya where i can control the model in real time. Now maya can be scipted with MEL( maya embedded language),python, and it allows for API scripting for plugins. Just let me know if you got what i need to do and we ll pick it up from there. Sry for the noobness. 🙂
02-12-2010 08:44 AM
For input, a DAQ card is probably easiest. Select it based on the following criteria:
I am unfamiliar with Maya, so cannot offer more than general suggestions for interfacing:
02-12-2010 08:50 AM
Thanks DFGRAY. I'll try and it look into all the methods you mentioned. Just curious. Is it possible to model directly in Labview instead of using two programs. That 'd be ideal.
Nick
02-12-2010
09:05 AM
- last edited on
11-12-2024
10:06 AM
by
Content Cleaner
There is a 3D control/indicator in LabVIEW. You can find quite a few examples of its use. It has undergone some fairly major changes in the last few versions, including some integration with CAD programs. However, I have never used it and really can't comment on it. There are quite a few people on these forums who have, however, so someone should be able to answer your question (Ben, where are you ).
02-12-2010 01:07 PM
02-12-2010 01:21 PM
I managed to get it up to 22Hz which is great for smooth hand motion I think. The problem is its not consistent and highly dependent on multithreading. I won't even go into giving the task priority cuz i m in over my head as it is. I ve been looking at the NI softmotion and how to integrate a solidworks 3d model into LV and control it. That would be great if it were real time control. Unfortunately, the information I went through was oriented towards play back simulation. If I'm mistaken please let me know because it's easy to pull off. Other than that, It's pointed out to me that MEL ( maya embedded language) which i m using for my scripts is slower than python. So if I translate my code to P, I may have a better simulation than the one I have right now.
cheers guys.. n thanks for the replies. I really appreciate it!