11-19-2014 07:26 PM
Hello NI Forums! Cheers
As everyone knows, everyone is looking for a solution to get along ASIO drivers into LabView. In another post about this same topic, Dr. Ben Sternberg, from University of Arizona, told us about an existent ASIO LabView VI that was developed in the Laboratory for Advanced Subsurface Imaging (Original post: http://forums.ni.com/t5/LabVIEW/Has-anyone-written-an-ASIO-sound-card-VI/td-p/405683), the GenMon.
I'm an acoustic engineering student and i'm on an undergraduate research about beamforming, and i need to use the ASIO driver to acquire data and then analyse.
But there's an issue, the ASIO driver no longer works with the recent versions of LabView (LabVIEW 2010 and newer), because the ASIO interface was built in LabView 6.x using the CIN (code interface node) technology. Now, we know that LabView no longer supports this function, and the function used to do the same thing is Call Library Function Node. That's why I'm creating another post: to discuss with you guys a solution for updating this ASIO interface. So we can create a collective solution.
Given that other people besides me is looking for this kind of software, we need you guys, please, help us.
I'm an beginner programmer and i really can't do this alone.
The ASIO interface can be downloaded here: https://drive.google.com/file/d/0Bz8qBRJgS7wvN1ZJc1dYbmV6SUU/view?usp=sharing
11-19-2014 09:16 PM
11-19-2014 09:21 PM
11-19-2014 09:26 PM
11-19-2014 09:34 PM
11-19-2014 10:13 PM
If you're not willing to try to work with the code yourself, you really should look at one of two options:
1) Pay someone to develop your code for you
2) Acquire LabVIEW 8.6 where your code works.
It's not really fair of you to say you can't do this all by yourself while expecting others to do a significant portion of your research work for you.
11-19-2014 10:27 PM - edited 11-19-2014 10:34 PM
11-19-2014 10:49 PM
You're going to want to know the dll function you're looking to call. Look up the function to see what kind of inputs and outputs it has. Once you find those, you can use a reference like: http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/how_labview_stores_data_in_memory/ That will tell you how those values map into LabVIEW.
Here's a tutorial on how to use that node: https://decibel.ni.com/content/docs/DOC-9069
11-20-2014 07:11 AM - edited 11-20-2014 07:12 AM
In addition to what natasftw already told you, you will want to have a pretty sound understanding about C programming even if you can get away without writing a wrapper DLL in C (but from what I remember about ASIO that chance is slim, the API was not designed with high level languages like LabVIEW or Visual Basic in mind but rather as a means for C programmers to interface to various high performance audio hardware).
The Call Library node allows you to call DLLs but it requires you to know what a C programmer would have to do when calling that function from a C program and sometimes even a little more about how a C compiler treats specific situations that the C programmer wouldn't really have to worry to much about.
11-20-2014 09:51 AM
All your VIs in the archive are being opened fine in LabVIEW 2013 x32. Yes, LabVIEW no longer supports CINs but they still work if you open old VIs but only on 32-bit version of LabVIEW. So, if you talk that CINs don't work on your LV then you maybe are using 64-bit LV?.. In this case you may install 32-bit LV instead of 64-bit one. But if ASIO driver interface is not operable on current LV versions then you should rewrite its code and turn it to DLL which can be called in LabVIEW.