Test and Measurement Forum

3203D MSO to integrate .vi with single function into one .vi

Post your LabVIEW discussions here

3203D MSO to integrate .vi with single function into one .vi

Postby Maik » Thu May 04, 2017 3:40 pm

The .vi examples with single function like Streaming mode capture and AWG from installed SDK work well.

I want to integrate single .vi(s) with single function like Streaming mode capture and AWG into ONE .vi.
Sothat I can apply the LabVIEW driven PicoScope for DAQ to the bigger Project with other LabVIEW driven Hardware.

By modification, Errors like data type mismatch always occur?

Have you thought about the Problem of single function Integration?
Could you please give me Suggestion?

Is there other better solution (other Hardware) for LabVIEW development?
Maik
Newbie
 
Posts: 0
Joined: Thu May 04, 2017 2:57 pm

Re: 3203D MSO to integrate .vi with single function into one

Postby Hitesh » Mon May 08, 2017 3:13 pm

Hi Maik,

We provide example vi files to demonstrate how to call the relevant driver functions for PicoScope devices in order to collect data in different modes or control the signal generator functionality. The llb files provides sub-vi files which can be used within examples as required so you can combine signal generator and streaming data functionality.

We do not provide a single function, as allowing the various parameters to be set for the function calls provides the User with a high level of control over the functionality of the device.

You could turn the code for the PicoScope into a sub-vi which can be integrated into a larger project.

The latest examples for our products can be found on our GitHub Repository.

I hope this helps.
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2359
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: 3203D MSO to integrate .vi with single function into one

Postby Maik » Tue May 09, 2017 2:50 pm

Hello Hitesh,

thank you for your advice.
The Situation is, each single function (.vi) works well, But by modification of these SDK examples, Errors of data type mismatch occurs.
Could you please tell me, if there are already successfull use cases to apply PicoScope's functionality of Scope+signal Generator in a larger Project? Sothat I can be motivated to explore PicoScope for the Project.

Maik
Maik
Newbie
 
Posts: 0
Joined: Thu May 04, 2017 2:57 pm

Re: 3203D MSO to integrate .vi with single function into one

Postby Hitesh » Fri May 12, 2017 12:46 pm

Hi Maik,

This link points to a project by another Customer using PicoScope 4000 and 5000 Series oscilloscopes but I am not sure if this incorporates the signal generator functionality.

Other Customers have been able to successfully adapt and use our LabVIEW examples to control our oscilloscope and data logger products.

It would be helpful to see screenshots of the error messages that you are seeing. Alternatively, you can send your code to support@picotech.com and we can advise you further.

Please note Pico Technology is not responsible for the content of third party sites.

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2359
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: 3203D MSO to integrate .vi with single function into one

Postby Maik » Fri May 19, 2017 7:25 am

mismatch.jpg
Is data type mismatch the root course? The code works well on xuejie's PC.
Maik
Newbie
 
Posts: 0
Joined: Thu May 04, 2017 2:57 pm

Re: 3203D MSO to integrate .vi with single function into one

Postby Maik » Mon May 22, 2017 9:19 am

The PicoScope300aSettings.vi differs from the one in picoScope300a.llb from SDK. Where the PicoScopeVoltsToAdc.vi can not been found.
Is the picoScope300a.llb on development?
Maik
Newbie
 
Posts: 0
Joined: Thu May 04, 2017 2:57 pm

Re: 3203D MSO to integrate .vi with single function into one

Postby Hitesh » Mon May 22, 2017 4:13 pm

Hi Maik,

We have been updating our LabVIEW examples on our GitHub repository.

Could you please try downloading the files and see if the examples from the ps3000a/32-bit-examples folder work for you?

Thanks,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2359
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: 3203D MSO to integrate .vi with single function into one

Postby Maik » Tue May 23, 2017 3:07 pm

I downloaded the LabVIEW examples with .dll from GitHub repository.
They have the same error message as previous: missing "PicoScopeVolts'ToAdc.vi". While the examples with .dll from your Homepage are OK.
Setting.jpg
Maik
Newbie
 
Posts: 0
Joined: Thu May 04, 2017 2:57 pm

Re: 3203D MSO to integrate .vi with single function into one

Postby Hitesh » Wed May 24, 2017 10:19 am

Hi Maik,

The PicoScopeAdcToVolts.vi is available via the PicoScope.llb file.

Please right-click on the missing sub-vi and select to relink to the Sub-vi then find the file in your directory structure.

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2359
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: 3203D MSO to integrate .vi with single function into one

Postby Maik » Wed May 24, 2017 1:00 pm

Thank you very much for the link of the .llb file.
With this .llb, the previous vi works!

After Evaluation of the .vi with the function combination of BlockMSO and Signal Genrator, I found it not satisfactory: it does not have the full function of both single .vi.

Optimized .vi examples for would be great.
Maik
Newbie
 
Posts: 0
Joined: Thu May 04, 2017 2:57 pm

Re: 3203D MSO to integrate .vi with single function into one

Postby Hitesh » Thu May 25, 2017 8:48 am

Hi Maik,

These are examples designed to demonstrate how to call our driver API functions in order to setup the device and collect data/control the signal generator. Depending on the product, our driver API functions allow for a great level of control over device functionality.

We provide sub-vi files for modular code which can be reused across different examples.

As we are now providing our examples via GitHub, you can submit a pull request if there is code that you would like to share with fellow users of LabVIEW and Pico products.

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2359
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 0 guests