PCSGU250 and LabView

Hello,

I am trying to write a simple program for displaying the data from the PCSGU250 Oscilloscope in Labview 2013, 32bit, Windows 7 SP1 64bit. I have downloaded the SDK from here and unzipped all of the contents to the same directory as my labview program.

As a simple check, I attempted to execute PCSGU250.dll:Start_PCSGU250 which returns 1… but nothing happens. I then tried PCSGU250.dll:Show_PCSGU250 which causes Labview to freeze.

Throughout this process, the oscilloscope itself remains powered off. This is different from the behavior when I run the PCLab2000LT software - it powers up and the light comes on. So something is not working in my Labview program.

Any ideas ?

Thanks in advance.

-Greg

Screenshots from my labview program here

Does the PCSGU250DLL_Demo.exe in this directory work OK?

Yes, it works ok.

OK.
You may start testing by using the functions in the DSOLink.DLL.
In this case have to start the program PcLab2000LT manually.

There may be some helpful info in this thread: viewtopic.php?t=4785

Thanks. DSOLink.dll works. I am able to read data and plot it after following your post.

One question I had, how do I convert the time axis? I get back 4096 samples and my time base is set to 10ms. Does that translate into 10ms/4096 of time per point?

With regards to PCSGU250.dll, it still does not work. Labview hangs on Show_PCSGU250.

You can check the used sample rate in Hz by reading the first value in the buffer.
As a return the following data is put to the buffer:
[0] : Sample rate in Hz
[1] : Full scale voltage in mV
[2] : Ground level in A/D converter counts. The value may be beyond the 0…255 range if GND level is adjusted beyond the waveform display area.
[3…4098] : The acquired data in A/D converter counts (0…255).

For more info please see Help -> Oscilloscope Help -> Data acquisition to other applications

[quote] Labview hangs on Show_PCSGU250.[/quote]Does it work if you start the oscilloscope software manually?