LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Partial Discharge Acquisition

Hello, I am a new in LabVIEW, I am working on a project that requires data acquisition, to capture partial discharge images. I was able to configure a read signals the channels via oscilloscope, but I am struggling to display the signals. Precisely I want to have a single cycle display instead of streaming continuous cycles on my waveform. I hope that makes sense, and Need help please.

See my code attached. Thank you

0 Kudos
Message 1 of 5
(1,177 Views)

Your code is in LV21, which I don't have installed so can't see exactly what you are doing, you could try saving for a previous version if you want (I'm on 20 but saving for 18 or 17 will allow everyone running any prior version back to the version you save as to see your code with some limitation).

 

So, without seeing your code, I'm gonna go ahead and guess that you might be using a loop. If your acquisition is in a while loop it will continuously acquire data until you stop the loop. If you just want one acquisition remove the while loop. It will run once, display the acquired data in your graph and end. There are also likely ways to leave the loop and set the scope for a single sweep on a trigger event like most bench top instruments. It wait in the loop, see the trigger event, acquire one sweep, then stop.

 

If you go up to the help> Find Examples... type in NISCOPE. There are a lot of examples on how to different things that you can modify to suit your needs. I would look at the niScope EX Getting Started.vi, it does what I think you want, runs and acquires once then stops. theres no trigger, it just grabs whatever is on the scope though. 

0 Kudos
Message 2 of 5
(1,157 Views)

Thank you for the reply,

I now attached code saved in previous version format,

0 Kudos
Message 3 of 5
(1,152 Views)

Uh yeah, so just right click the while loop and "Remove While Loop" from the dropdown. It will setup, run the acquisition once (once triggered, providing no timeout), then end the session. 

0 Kudos
Message 4 of 5
(1,146 Views)

Could also do this...

TheWolfmansBrother_0-1675864562623.png

 

Where the mechanical action of "Get Data" is latch when released. That should run an acquisition once every time user presses the button. 

0 Kudos
Message 5 of 5
(1,137 Views)