Test and Measurement Forum

Calling ps4000OpenUnitEx crash the program

Post general discussions on using our drivers to write your own software here

Calling ps4000OpenUnitEx crash the program

Postby Edgar » Thu Mar 10, 2011 2:09 pm

I try to use the function ps4000OpenUnitEx(&handle,serial_number) to get the serial number. But calling this function cause the program to crash.
Using the function ps4000OpenUnit(&handle) works fine and I can also run the function ps4000GetUnitInfo.

I have a scope of type 4424 and the software runs on a 64 bit Windows 7 machine.

What is wrong ??
Posts: 0
Joined: Tue Mar 09, 2010 7:08 am

Re: Calling ps4000OpenUnitEx crash the program

Postby Chris » Fri Mar 11, 2011 3:30 pm

calling the function ...

status = ps4000OpenUnitEx(&(unit.handle), "xyz12/345");

will open the unit with that particular serial number.

Is that what you are trying to do.

If you actually want to get the serial number, call ps4000EnumerateUnits.
Site Admin
Site Admin
Posts: 169
Joined: Tue Aug 17, 2010 9:00 am
Location: St. Neots

Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 2 guests