GetStreamingLatestValues:PICO_STATUS = 12

Post your LabVIEW discussions here
Post Reply
jrayeske
Newbie
Posts: 0
Joined: Fri Sep 09, 2022 7:25 pm

GetStreamingLatestValues:PICO_STATUS = 12

Post by jrayeske »

Starting with the example PicoScope2000aExampleStreamingMSO.vi, I have copied the suitable library calls into my application. I left out any calls for the digital port as our scope is not a MSO model. The GetStreamingLatestValues call is returning a Pico_Status of 12. What does that indicate?

Martyn
Site Admin
Site Admin
Posts: 4499
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: GetStreamingLatestValues:PICO_STATUS = 12

Post by Martyn »

Status code 12 is Invalid_Handle which means you are probably not passing the correct handle into the function calls. You need to use the OpenUnit call to get the handle and then pass this through to each API call you use. Check through our code and you should see how we have done this.
Martyn
Technical Support Manager

Post Reply