functions to verify the trigger and channel settings

Post your LabVIEW discussions here
Post Reply
kanth_tvs
Newbie
Posts: 0
Joined: Wed Jun 23, 2010 2:41 pm

functions to verify the trigger and channel settings

Post by kanth_tvs » Fri Jul 02, 2010 1:33 pm

Hello,

Can some one point to me whether there are functions within ps4000.dll which allow me to verify whether the picoscope has accepted the settings for trigger and the channels, after they are set.

I do look at the status given by the corresponding set functions, but I would also like to double check the settings by reading them from the scope.

I am using a Pico 4424 scope.

Robin
Advanced User
Advanced User
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am

Re: functions to verify the trigger and channel settings

Post by Robin » Mon Jul 05, 2010 11:42 am

Hi

There aren't any functions to check the settings. All you need to do is check the the returned status code is PICO_OK (0). If any values are out of range or there are any other problems, the status code will be non-zero

Robin

JW@KITTIWAKE
Newbie
Posts: 0
Joined: Wed Jun 16, 2010 2:44 pm

Re: functions to verify the trigger and channel settings

Post by JW@KITTIWAKE » Mon Jul 05, 2010 2:37 pm

Hi
I was recently trying to do exactly the same thing (but eventually decided to rely on pico_status)

However- the ps4000 manual (page37) does mention a command called "ps4000IsTriggerOrPulseWidthQualifierEnabled"
I tried this, but 'triggerEnabled' always returned as zero, regardless of whether or not the trigger successfully fired a few lines later.

Personally, I dont actually need this line of code any more, but it could be useful to know if this command works- or at least does what it implies it should do!

J

Robin
Advanced User
Advanced User
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am

Re: functions to verify the trigger and channel settings

Post by Robin » Tue Jul 06, 2010 3:08 pm

Hi

The value of triggerEnabled enabled appears to not be changed by the dirver.

I have submitted a bug report.

Thanks

Robin

kanth_tvs
Newbie
Posts: 0
Joined: Wed Jun 23, 2010 2:41 pm

Re: functions to verify the trigger and channel settings

Post by kanth_tvs » Wed Jul 07, 2010 12:54 pm

Thank you for informing about this bug!

Robin
Advanced User
Advanced User
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am

Re: functions to verify the trigger and channel settings

Post by Robin » Tue Jul 13, 2010 12:27 pm

This will be fixed in the next release.

Robin

Post Reply