background left curve

Vernier Discussion Forum

Welcome to the community!
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 31, 2010, 09:00:32 AM
Return to www.vernier.com
background right curve
Left icon Home Help Search Login Register Right icon

Vernier Discussion Forum  >  Customer Service  >  Technical Support  >  Topic: SDK with Visual Basic « previous next »
Pages: [1] Print
Author Topic: SDK with Visual Basic  (Read 7629 times)
breeyet
Newbie
*
Posts: 1


SDK with Visual Basic
« on: December 11, 2007, 10:52:39 AM »

Has anyone used Visual Basic to talk to a Go!Temp sensor?  I have the SDK but it only has C++ examples.
Logged
dvernier
Vernier Specialist
Full Member
***
Posts: 108


Re: SDK with Visual Basic
« Reply #1 on: January 02, 2008, 10:26:10 AM »

Several people have used our Go Software Developer's Kit, available at www.vernier.com/diy , to take data in Visual BASIC. We have not tried it ourselves. We used to use Visual BASIC 6.0 for projects, but when Visual BASIC.NET came out that changed everything and we have just not been motivated to use it. We have done most of our miscellaneous, odd, projects with LabVIEW. There are a lot of great sample programs (VIs) at www.vernier.com/labview to get you started with that.

Having said all that, I have a box on my desk with the Visual Basic.NET software in it and I hope to get around to trying it out with the Go! SKD sometime soon.
Logged
beckerben
Newbie
*
Posts: 2


Re: SDK with Visual Basic
« Reply #2 on: January 11, 2008, 07:50:08 PM »

I tried to use the DLL in both a .NET 1.1 and 2.0 project and I received errors that the DLL would not work.  Looks like because it is unmanaged C++ DLL there are some interop things needed.  I tried using the tblimp command to wrap the DLL, but no luck.  Has anyone gotten the SDK to work in .NET?  The other option I saw was to rewrite the DLL...not a good option for me.
Logged
beckerben
Newbie
*
Posts: 2


Re: SDK with Visual Basic
« Reply #3 on: January 14, 2008, 05:46:46 AM »

I have written a wrapper class of the DLL, have it somewhat working in .NET 2.0.  I have been able to init, open and read latest raw measurement.  Now I'm trying to convert the raw reading I have using the voltage and calibrate functions. 

Here's the basic sequence of function calls I do, the only issue is I have a value returned for volts, but always get a 0 when calling the GoIO_Sensor_CalibrateData, from what I can tell it all looks good and it appears I am getting some sort of reading, just not Celcius or F:

GoIO_Sensor_SendCmdAndGetResponse (then wait 2 seconds)
GoIO_Sensor_GetLatestRawMeasurement
GoIO_Sensor_DDSMem_SetActiveCalPage
GoIO_Sensor_DDSMem_GetCalPage
GoIO_Sensor_ConvertToVoltage
GoIO_Sensor_CalibrateData

Thoughts?
Logged
salty
Newbie
*
Posts: 1


Re: SDK with Visual Basic
« Reply #4 on: March 15, 2008, 12:07:58 PM »

Hi,

I'm now in the same boat. Just bought Go!Temp and trying to use VB.
I think my VB is reasonable but my C++ knowledge is none existant.

Did you ever get anywhere?

Happy to share code if and when we get them working.

Regards
Logged
kupton
Newbie
*
Posts: 1


Re: SDK with Visual Basic
« Reply #5 on: November 07, 2008, 04:32:24 AM »

Has anyone figured this out yet?  I would like to mount a temp. sensor, connect it to a GoLink and simply write the temperature to a .txt file every 60 seconds or so.  I have access to VB6 if necessary.  How easy would this be?
Logged
mic_k86
Newbie
*
Posts: 5


Re: SDK with Visual Basic
« Reply #6 on: November 24, 2008, 05:15:28 AM »

Hi,

i have just bought Go!Temp and planning to write a software using Visual Basic on it. But i found that the SDK provided is in C++. Have anyone have successful done a program write on visual basic? Can share the coding here?

thanks
Logged
scottr99
Newbie
*
Posts: 1


Re: SDK with Visual Basic
« Reply #7 on: April 24, 2009, 11:28:03 PM »

Wow, these posts are pretty old.  I'd like to develop a custom interface in Borland Delphi, actually I think it's not Inprise Delphi.  I imagine I'd have a hard time finding drivers for the sensors, however.  Anyone tried anything with Delphi???
Logged
Pages: [1] Print 
Vernier Discussion Forum  >  Customer Service  >  Technical Support  >  Topic: SDK with Visual Basic « previous next »
Jump to:  


Login with username, password and session length
 
www.vernier.com » Home | Products | Subject Areas | Support | Training | Resources | Downloads | Ordering | Legal | Site Map
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC