Hi all.
I have a problem to understand some values of the instruction on Subject.
When i call it i get back a array called from wrapper Times:
[DllImport(_DRIVER_FILENAME, EntryPoint = "ps2000_get_times_and_values")]
public static extern short GetTimesAndValues(
short handle,
short[] Times, <------- this one
short[] buffer_a,
short[] buffer_b,
short[] buffer_c,
short[] buffer_d,
out short overflow,
short TimeUnits,
int no_of_values);
I dont understand what are this values.........
I am triggering a signal on Channel A with runblock function,using before the Get_timebase function and everything does what i want.
The array Times how exactly i can traduce it in nanoseconds value??
Referring to section 6.7 (ps2000_get_times_and_values) in the Programmer's Guide, you will need to specify the correct value for the TimeUnits parameter (2, which corresponds to PS2000_NS).
Unless a trigger delay has been setup, the first value in the Times array should be 0, the next value should be at one sample interval from 0 and so on.