Need a DLL for Windows based GUI
epif18
Posts: 4
Im building a scalar network analyzer and I need to plot (x and y) in log scales. I have viewport ultimate, but that doesnt do it for me. I want to write a VB app and I'm looking for a DLL. Is there a better idea out there? Oh, and thru the USB
Thanks
Mark
Thanks
Mark
Comments
Python is a far superior language to VB, especially when there is any data processing involved.
Thanks
Mark
Hanno did nice work there and you can write your own application in VB or whatever Language and use ViewPort in the Background to talk to the Prop like ViewPort does.(conduit etc)
Look in the ViewPort Help/Example. There is something. Maybe Hanno can help and chime in here.
Enjoy!
Mike
Do you have access to the programming of the Window App? If so, what language is it written in?
VC++ is a far superior language to VB, and I am sure you will have much better success with VC++, especially where comm ports are concerned.
How are you going to get your required information into the Windows App from a DLL? The Windows App must know ahead of time to call certain DLL functions.
If the Windows App has not be created yet or is in the creation process, then simply provide access through your GUI program.
http://www.codeguru.com
http://www.codeproject.com
http://msdn.microsoft.com
http://zedgraph.dariowiz.com/
And you don't have to pay for it.
Cheers
http://msdn.microsoft.com/en-us/library/dd489237%28v=vs.100%29.aspx
BTW, all .NET flavors target the same runtime. Stating language one .NET language is better than the other is a personal preference. However, C# programmer get paid more.
Mark, for the communication from PC to Propeller, I use the FTDI DLL driver and one of the Parallax FTDI USB-to-Serial adapters (or a Parallax board with USB on it).
I use Excel and VBA but you should be able to use any language that allows you to call DLLs.
If you need an example let me know and I'll dig up the code.
Bean
Previous post link.
The downloadable package has a few examples that would serve to put you well on your way. Real-time data R/W between Prop and Excel; you can use any data analysis tools in Excel, and chart data changes in real-time. Pretty cool, but it does require Excel to be running, although it does work nicely as you can start/stop the Prop and/or Excel without any reset/connection headaches.
Oh yeah, the Excel back-end is programmed in VBA.
The Hanno solution is more flexible as you're not tied to just Excel at the expense of perhaps a bit more of a learning curve.
Please share your solution!
Once I knew where to look, this was a lot easier than I thought it would be. Again, thanks