|
Pages: [1]
|
 |
|
Author
|
Topic: SDK with Visual Basic (Read 7629 times)
|
breeyet
Newbie

Posts: 1
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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]
|
|
|
|
|
|