Search found 41 matches

by yangzhaoshu
Mon Sep 02, 2013 1:23 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: VB: Ps2203 cannot start up together with an STC 51 SCM
Replies: 8
Views: 10143

Re: VB: Ps2203 cannot start up together with an STC 51 SCM

the codes is sent,
Thanks for your enduring help.
by yangzhaoshu
Mon Sep 02, 2013 12:12 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: VB: Ps2203 cannot start up together with an STC 51 SCM
Replies: 8
Views: 10143

Re: VB: Ps2203 cannot start up together with an STC 51 SCM

sorry, but I don't it is a power supply problem, becuse I once control both the devices by separeted programs successfully, through a USB hub without external sources, so I think there must be sth wrong with my codes. I guess the error may occur in the following codes, here is the codes for open pic...
by yangzhaoshu
Fri Aug 30, 2013 3:58 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: VB: Ps2203 cannot start up together with an STC 51 SCM
Replies: 8
Views: 10143

Re: VB: Ps2203 cannot start up together with an STC 51 SCM

I have tried to connect the devices without using USB hub, still make no difference. but it seems when I click the button opening pico, "ps2000_handle" turns to above zero, and also a sound of click comes, without flashing the LED
by yangzhaoshu
Fri Aug 30, 2013 10:32 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: VB: Ps2203 cannot start up together with an STC 51 SCM
Replies: 8
Views: 10143

Re: VB: Ps2203 cannot start up together with an STC 51 SCM

Hi, Martyn yes, actually I have modified the program in PC to control both devices, it seems there are sth wrong with the modifacition, because the original editon program can still works properly to control pico alone, whereas the modified one has failed to control both devices and even to start up...
by yangzhaoshu
Mon Aug 26, 2013 3:03 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: VB: Ps2203 cannot start up together with an STC 51 SCM
Replies: 8
Views: 10143

VB: Ps2203 cannot start up together with an STC 51 SCM

I am using ps2203 together with a STC 51 SCM to build a PWM signal generating system, but ps2203 seems cannot open properly with the SCM. When I am starting it up, but the light was off after a sound of click. Then I disconnected the SCM and PC, but the situation was not improved. The light of pico ...
by yangzhaoshu
Mon Apr 01, 2013 11:48 am
Forum: VB and VBA (Excel, Access)
Topic: how can I build a closed-loop control via pico
Replies: 10
Views: 15448

Re: how can I build a closed-loop control via pico

dear Hetish
I wonder if the 2203 could be regarded as a constant current source or just a constant voltage source
by yangzhaoshu
Tue Mar 26, 2013 3:01 pm
Forum: VB and VBA (Excel, Access)
Topic: how can I build a closed-loop control via pico
Replies: 10
Views: 15448

Re: how can I build a closed-loop control via pico

I redim the errorput as long, and the problem was solved, thank you for point me out the problem.
best regards
yangzhaoshu
by yangzhaoshu
Tue Mar 26, 2013 12:26 pm
Forum: VB and VBA (Excel, Access)
Topic: how can I build a closed-loop control via pico
Replies: 10
Views: 15448

Re: how can I build a closed-loop control via pico

dear hitesh
你太厉害了(You are too much )
the errorput(i) was calculated as 33048, beyond the permition value of integer, and can you give me some suggestion about how to transfer this excess value without causing overflow.
by yangzhaoshu
Tue Mar 26, 2013 9:37 am
Forum: VB and VBA (Excel, Access)
Topic: how can I build a closed-loop control via pico
Replies: 10
Views: 15448

Re: how can I build a closed-loop control via pico

Dear Hitesh As your suggestion, a couple of experiments was conducted, and the fact was that there will be no problem if I put the signal generated by AWG into channel A or B directly without connecting the external load, but if I put the generated signal into an amplifier and driving object under c...
by yangzhaoshu
Mon Mar 25, 2013 3:31 pm
Forum: VB and VBA (Excel, Access)
Topic: how can I build a closed-loop control via pico
Replies: 10
Views: 15448

Re: how can I build a closed-loop control via pico

Dear Hitesh 1. The error occurs in the line of errorput(i - 1) = (kp * (values_a(i) - values_b(i)) + ki * erri * 1000 * (values_time(i) - values_time(i - 1)) / 1000000 - kd * (values_a(i) - values_b(i) - values_a(i - 1) + values_b(i - 1)) / ((values_time(i) - values_time(i - 1)) / 1000000)) / 32767 ...
by yangzhaoshu
Mon Mar 25, 2013 8:15 am
Forum: VB and VBA (Excel, Access)
Topic: how can I build a closed-loop control via pico
Replies: 10
Views: 15448

how can I build a closed-loop control via pico

Hi I am using a pico2203 to build a displacement control system, while it seems that I am confronted with a problem in building the feedback link. My idea is that: firstly, generate a signal from pico2203 to drive the objects under control, then acquire the output data of it as a sequence and feed t...
by yangzhaoshu
Tue Feb 05, 2013 2:57 am
Forum: Pre-Sales Advice
Topic: need a picoscope to conduct PWM control
Replies: 1
Views: 6058

need a picoscope to conduct PWM control

Hi I want a picoscope to conduct PWM control, so the scope must be very convenient to generate a square wave, the Pulse width and duty cycle should be adjusted easily, Actually I’ve got a ps2203, the wave I want could be generated by AWG, but it is not convenient enough to conduct a PWM control, so ...
by yangzhaoshu
Thu Jan 31, 2013 9:52 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: VB arbitrary waveform signal generation problom
Replies: 52
Views: 62002

Re: VB arbitrary waveform signal generation problom

dear martyn
the problem is fainlly solved with your continuous help, and since I figure you may live in Cambirdge, a special gift is prepared for you which is attached, I hope you would enjoy it.
by yangzhaoshu
Tue Jan 29, 2013 11:59 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: VB arbitrary waveform signal generation problom
Replies: 52
Views: 62002

Re: VB arbitrary waveform signal generation problom

I have checked and I don't find anything wrong because all the elements are successfully read into the parameter of arbitrarywaveform, and the length of arbitrarywaveform just equals to that of the set sequence.
by yangzhaoshu
Tue Jan 29, 2013 3:04 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: VB arbitrary waveform signal generation problom
Replies: 52
Views: 62002

Re: VB arbitrary waveform signal generation problom

Dear Martyn, I was working on the problem for nearly a week; some phased progress has been acquired, for the entire waveform is already generated when I set the waveformsize twice of the real length of the sequence generating the wave, but there are still some zero- points are interpolated between t...