Search found 143 matches

by serg
Tue Jun 05, 2012 3:42 am
Forum: SUB-20 General Discussion
Topic: Python support?
Replies: 27
Views: 89267

Re: Python support?

Sure, we will update the manual regarding the sub_reset functionality. Thanks
by serg
Sat May 26, 2012 9:51 pm
Forum: SUB-20 General Discussion
Topic: Python support?
Replies: 27
Views: 89267

Re: Python support?

Hi Slguy, Great! From your script: # sub_reset appears to be handled differently in 0.3.3 vs 0.3.5 Now it makes more sense to me. The sub_reset is not available in firmware 0.3.3. This is a new feature added in the 0.3.5. See the "Firmware releases" for details http://www.xdimax.net/forum/viewtopic....
by serg
Wed May 23, 2012 4:02 am
Forum: SUB-20 General Discussion
Topic: Python support?
Replies: 27
Views: 89267

Re: Python support?

Just tried the attached script which is slightly modified mdio script from here http://www.xdimax.net/forum/viewtopic.php?f=2&t=334 It works properly on my Virtual Win7x64. The Python package is python-3.2.3.msi. The SUB-20 package is SUB-20-120121-x32.exe Below is the output of the script. C:\Progr...
by serg
Tue May 22, 2012 3:10 am
Forum: SUB-20 General Discussion
Topic: Python support?
Replies: 27
Views: 89267

Re: Python support?

Hi Slguy, Something is definitely wrong with the installation. I just tried installing SUB-20-120121-x32.exe on a fresh Win7-x64 system. The sub-20.dll goes to the proper folder i.e C:\Windows\SysWOW64. Normally, Windows won't load 32-bit dll from the system32 directory on 64-bit OS. So, I don't und...
by serg
Mon May 21, 2012 9:00 pm
Forum: SUB-20 General Discussion
Topic: Python support?
Replies: 27
Views: 89267

Re: Python support?

Hi siguy, The subtool app and your script(Python interpreter) are both using the same sub20.dll, located in the c:\windows\system32 directory unless you have several copies of this dll on your machine, so first, please make sure that there is only one sub20.dll on your system. Assuming you have only...
by serg
Sat May 19, 2012 1:48 am
Forum: SUB-20 General Discussion
Topic: Python support?
Replies: 27
Views: 89267

Re: Python support?

What about sub-tool, does it work properly, i.e do you see correct serial number ? Can you try MDIO transferes by using Subtool?
by serg
Thu May 17, 2012 2:32 am
Forum: SUB-20 General Discussion
Topic: Python support?
Replies: 27
Views: 89267

Re: Python support?

Hi siguy, According to the source code this error is returned in three cases(assuming you don't use the w2k SUB-20 package ): - Bad device handle passed to the function - Memory allocation of ~20 bytes failed - Win32 event creation failed Does the subtool shows the same error, i.e SE_SETA (5)? If no...
by serg
Sat Apr 21, 2012 1:44 am
Forum: SUB-20 General Discussion
Topic: SUB-20 .NET Interface Update
Replies: 1
Views: 19552

SUB-20 .NET Interface Update

SUB-20 .NET build 1.4.20
Changes:
document: Added MDIO API description
interface dll: Added helper MDIO Methods
by serg
Tue Apr 17, 2012 4:32 am
Forum: SUB-20 General Discussion
Topic: using SUB-20 SPI read-write.vi
Replies: 1
Views: 8467

Re: using SUB-20 SPI read-write.vi

Hi acc-gyro, Before developing your vi in LabView I would suggest to use our GUI application - subtool, to communicate with your LSM330DL device, i.e - Configure SPI (or I2C), SS polarity, clock edge, clock rate etc. See the datasheet for the LSM330DL - Read registers from the device, check if readi...
by serg
Thu Apr 05, 2012 2:09 am
Forum: SUB-20 General Discussion
Topic: matlab >NET functions
Replies: 4
Views: 11963

Re: matlab >NET functions

Hi wanxiang, The entire list of methods along with sample code is available in the SUB-20 .NET component manual document which is included in the standard SUB-20 software installation package. I have attached one for your convenience. Please note that the .NET component is just a wrapper around the ...