Search found 4 matches

by JacobDixon
Mon Jun 04, 2012 9:18 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: get_unit_info2 c#
Replies: 2
Views: 3521

Re: get_unit_info2 c#

Thanks that was VERY helpful and works perfectly! revised code: [DllImport("usbtc08.dll")] public static extern short usb_tc08_get_unit_info2(short handle, StringBuilder info, int string_length, int line_no); then implement it: StringBuilder serialNo = new StringBuilder(11); usb_tc08_get_unit_info2(...
by JacobDixon
Thu May 31, 2012 8:55 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: get_unit_info2 c#
Replies: 2
Views: 3521

get_unit_info2 c#

I cannot seem to get usb_tc08_get_unit_info2 or any of the info functions to work in c#, I have tried declaring a struct like so: public struct usbtc08Info { public short size; public char[] DriverVersion; public short PicoppVersion; public short HardwareVersion; public short Variant; public char[] ...
by JacobDixon
Wed May 30, 2012 12:18 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Error when using tc08 get temp
Replies: 1
Views: 2439

Re: Error when using tc08 get temp

I've just found out that this method wouldnt be suitable for what my client requires anyway,

Sorry and Thanks,
Jacob Dixon
by JacobDixon
Wed May 30, 2012 8:43 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Error when using tc08 get temp
Replies: 1
Views: 2439

Error when using tc08 get temp

Hi, Im trying to use tc08 get temp in c# and it keeps returning empty values and an error code of 133758979, I've tried googling the error code but it returns no results, does any one know what the error code is? my code is below: using System; using System.Collections.Generic; using System.Componen...