Search found 143 matches

by serg
Fri Jun 11, 2010 11:52 am
Forum: SUB-20 General Discussion
Topic: Some questions regarding the sub-20
Replies: 7
Views: 14850

Re: Some questions regarding the sub-20

Hi eryaf, What i mean here is for I2C and SPI, so if there is I2C or SPI transaction in the bus, and I plug new I2C or SPI device, what will happen? I would say nothing. What do you expect to happen? How about if the SUB-20 is configured as slave, both SPI and I2C slave, and there are 2 communicatio...
by serg
Thu Jun 10, 2010 1:14 am
Forum: SUB-20 General Discussion
Topic: Some questions regarding the sub-20
Replies: 7
Views: 14850

Re: Some questions regarding the sub-20

1. Can I ask SUB20 to do multiple lets say SPI communication? So can I say to the SUB20: "Do this SPI 32 times and report the result to me." either than executing one by one SPI until 32 time. No, you have to send the "transfer" command 32 times to the board or use customized firmware 2. Can I use ...
by serg
Wed Jun 09, 2010 4:03 pm
Forum: SUB-20 General Discussion
Topic: C# Sample Loads an Exception
Replies: 4
Views: 9014

Re: C# Sample Loads an Exception

Probably :)
by serg
Sun Jun 06, 2010 3:14 am
Forum: SUB-20 General Discussion
Topic: MATLAB & NET. Package
Replies: 10
Views: 21173

Re: MATLAB & NET. Package

Hi Hugoneus, We have prepared a simple example which demonstrates direct sub20.dll calls from Matlab % ------------------------------------------------------------------------------ % The following example demonstrates direct sub20.dll calls % The main disadvantages of this method (in contrast to th...
by serg
Sat Jun 05, 2010 4:54 am
Forum: SUB-20 General Discussion
Topic: I think XDIMAX SUB-20 VB.NET I2C Libary have a Big Bug.
Replies: 1
Views: 5733

Re: I think XDIMAX SUB-20 VB.NET I2C Libary have a Big Bug.

Hi pawow, You are right. This looks like a bug in our VB.NET sample code. We use the "ReDim" keyword incorrectly :oops: . You can fix this by replacing any ReDim(X) with ReDim(X-1), where X - is a previous function argument. So, for instance, in the DoI2CWrite function replace the "ReDim Bytes(N)" s...
by serg
Sat Jun 05, 2010 4:22 am
Forum: SUB-20 General Discussion
Topic: C# Sample Loads an Exception
Replies: 4
Views: 9014

Re: C# Sample Loads an Exception

Hi eryaf, This is because the MVS2010 default MS .NET version is 4, but the SUB-20 component is based on MS .NET v2. We plan to include a SUB-20 .NET component v4 into our next release. In the meantime you can add the following <startup useLegacyV2RuntimeActivationPolicy="true"></startup> into the a...
by serg
Thu Jun 03, 2010 7:52 pm
Forum: SUB-20 General Discussion
Topic: MATLAB & NET. Package
Replies: 10
Views: 21173

Re: MATLAB & NET. Package

Hi Hugoneus The following link explains how to do that. http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f23224dfi7.html Unfortunatelly we don't have examples which would demonstrate this interface. We can certainly consider preparing some for you, but before doing this can you ...
by serg
Thu Jun 03, 2010 12:02 am
Forum: SUB-20 General Discussion
Topic: MATLAB & NET. Package
Replies: 10
Views: 21173

Re: MATLAB & NET. Package

The .NET component is a wrapper around the main SUB-20 interface library - sub20.dll, located under system\windows32 directory. Most likely you can call exported functions from the Matlab.
Regards
by serg
Mon May 31, 2010 12:24 am
Forum: SUB-20 General Discussion
Topic: VBA Example on Excel 2003???
Replies: 3
Views: 8451

Re: VBA Example on Excel 2003???

No problem, George
by serg
Sun May 30, 2010 4:05 am
Forum: SUB-20 General Discussion
Topic: VBA Example on Excel 2003???
Replies: 3
Views: 8451

Re: VBA Example on Excel 2003???

Hi George,
Does it say what file is missing?
Try to unzip the attached file and put the excel.exe.config into the directory, where the EXCEL.EXE lives. On my machine it is in C:\Program Files\Microsoft Office\Office10. Run excell and try again.

Serg