Test and Measurement Forum

ps4000.xls

Post your VB and VBA discussions here

ps4000.xls

Postby postlund » Wed Jun 30, 2010 2:47 pm

I wan't to set my 4424 oscilloscope to trig when the measured signal goes above 5VDC on Channel A. What changes do i have to make to the VB code in the Excel document? I have made modifications but i can't seem to find any logic in the behaviour of the 4424. If i raise the signal slowly up above 5V nothing happens but if i make a quick change the 4424 trigs.
postlund
Newbie
 
Posts: 0
Joined: Fri Nov 20, 2009 6:51 am

Re: ps4000.xls

Postby Robin » Wed Jun 30, 2010 4:27 pm

Hi

All you should need to do is set the thresholdUpper to your desired threshold value ((5V / range) * 32764).

The direction is already set to rising (2).

Robin
Robin
Zen Master
Zen Master
 
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am


Return to VB and VBA (Excel, Access)

Who is online

Users browsing this forum: No registered users and 0 guests