Search found 5 matches

by JW@KITTIWAKE
Mon Jul 05, 2010 2:37 pm
Forum: LabVIEW
Topic: functions to verify the trigger and channel settings
Replies: 5
Views: 3506

Re: functions to verify the trigger and channel settings

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 n...
by JW@KITTIWAKE
Mon Jun 28, 2010 8:37 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: ps4000_GetTimebase problem
Replies: 6
Views: 4838

Re: ps4000_GetTimebase problem

Ah- while my status variable was set okay (integer), some of my other data types were wrong- I was using longs where i should be using integers. Turns out you were right with your first reply!
Thanks for the help
by JW@KITTIWAKE
Thu Jun 24, 2010 2:50 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: ps4000_GetTimebase problem
Replies: 6
Views: 4838

Re: ps4000_GetTimebase problem

Yes, I've tried changing the segment index- although now it needs to be "Convert.ToUIint16(0)" rather than just "0"...

No difference though.
by JW@KITTIWAKE
Thu Jun 24, 2010 12:07 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: ps4000_GetTimebase problem
Replies: 6
Views: 4838

Re: ps4000_GetTimebase problem

Okay, I've updated all of the data types to those specified in the ps4000pg.pdf and I've also ensured that I have updated the appropriate "byval"s to "byref"s to update to .net, but I still get pico_status = 38 I may have been mistaken in saying that this corresponded to "The memory index is out of ...
by JW@KITTIWAKE
Wed Jun 23, 2010 3:52 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: ps4000_GetTimebase problem
Replies: 6
Views: 4838

ps4000_GetTimebase problem

Hi I am trying to run a 4424 over vb.net, but when I call ps4000_GetTimebase, the PICO_STATUS returns the error code 38 (or 26hex), apparently meaning "The memory index is out of range" What does this mean, and what can I do about it? The values returned by GetTimebase(handle,timebase,samples,time_i...