05-27-2020 12:01 AM
Hello, I am trying to create the analog DC output from myDAQ. I got how to create voltage with the express output function but couldn't find what I need. I need to generate a step increasing and decreasing sequentially DC voltage that looks like shown in the figure. For example, 0V and hold 1sec -> 2V and hold 1sec -> 4V and hold 1sec ->2V and hold 1sec -> 0V and hold 1sec.
I have tried using for loop and array but couldn't figure out how to. Does anyone know how to do this? or is there any sample vi looks like figure that I can use for?
Thanks in advance.
05-27-2020 03:40 AM
Hi hchun, and welcome to the forums!
Is your problem with generating the signal or with getting it output to the myDAQ? Perhaps you could show us the code that you've tried so far. If you post a VI, please save for LabVIEW 2015 as I haven't upgraded yet!
PsyenceFact
05-27-2020 08:37 AM
The reason we ask users to attach their code is it really helps us to help you if we can see what you've done, so far. It helps us to judge your level of experience in LabVIEW, tells us which version of LabVIEW you are using, lets us thoroughly examine your code (including "hidden" cases in a Case Structure), edit your code (to fix "broken wires"), and test your code (to understand any error messages you might be seeing).
Assuming you are new to LabVIEW, you might not know about LabVIEW Versions. LabVIEW VIs can be opened in the Version that created it (for example, if you are running LabVIEW 2018, it can be opened with LabVIEW 2018) and with later Versions (such as 2019 or 2020), but not with earlier Versions (such as 2015). If someone needs to see your code, but doesn't have an up-to-date version, there are two ways to provide the code:
Bob Schor