concept Posted November 25, 2021 Share Posted November 25, 2021 (edited) Hello Where can I find a sample CS project example that uses the WaveFormSDK in Visual studio? The only thing in the samples directory is a wrapper, but no starting project. thanks Matthew Edited November 25, 2021 by concept Link to comment Share on other sites More sharing options...
0 attila Posted November 25, 2021 Share Posted November 25, 2021 (edited) Hi @concept Add the WFSDK/ samples/ cs/ dwf.cs to your project, see the WFSDK/manual and /samples/py using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int hdwf; if (dwf.FDwfDeviceOpen(-1, out hdwf)==0) { Console.WriteLine("failed to open device"); return; } Console.WriteLine("connected"); //... Console.WriteLine("diconnecting"); dwf.FDwfDeviceCloseAll(); } } } Edited November 25, 2021 by attila Link to comment Share on other sites More sharing options...
0 LHji Posted January 12, 2023 Share Posted January 12, 2023 Hi Attila, Thanks. It solved my problem. Link to comment Share on other sites More sharing options...
Question
concept
Hello
Where can I find a sample CS project example that uses the WaveFormSDK in Visual studio? The only thing in the samples directory is a wrapper, but no starting project.
thanks
Matthew
Edited by conceptLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now