Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69691

running instruments in parallel with a slight twist

$
0
0

Hello, first post here. I am very new to labview (less than 2 weeks) and I am currently learning C++, so I don't have a ton of experience programming. I am working with a research group in a summer internship and currently I am working on writing some code for a ferromagnetic ressonance experiment. Right now my code is at a point where everything works very well except for my power supply. I am using official drivers, the problem is that these drivers run great as a standalone since they can run continuously. When I use the driver in my code it starts running and, since it never technically ends until I power it down, it keeps the rest of my code from executing, which means I don't get any data collection. 
How can I run the power supply live while executing the rest of my code for measurements? I need the events to be synchronized in this order:
set frequency

     set current(field strength)

          read voltage

          read x and y values

          read teslameter

     set new current

          read voltage

          read x and y values

          read teslameter

etc.

 

Thank you in advance.

-Kike (keekay)


Viewing all articles
Browse latest Browse all 69691

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>