05-15-2013 12:27 PM
Hello, guys!
I'm using LabVIEW 8.6 and NI ELVIS II.
I have a message from LabVIEW: "Error 200088 occurred at property node daqmx channel (arg2) in DAQmx Create channel (AO FuncGen)", while trying continuously run the application. In my application I have flat sequence structure with 3 frames. There is a while loop in each frame and in each loop are FGEN and SCOPE .VIs.
First I have tried to use WHILE or FOR loop to execute my block diagram multiple times, but that didn't work. Seems that there are some errors during triggering in SCOPE or FGEN just doesn't generate samples. It finihes with message "Error 200284 at DAQ Some of the samples requested have not yet been acquired". If I set immediate triggering mode, it measured only some noise.
If I run the app not continuously it works perfect, but for my task I need doing this multiple times.
How can I optimize my app for working inside loop?
Help me, please.
Thank You in advance.
Attached VI below.
05-17-2013
07:08 AM
- last edited on
04-11-2025
02:20 PM
by
Content Cleaner
Hi samewings,
I suggest checking out the NI Elvis II page on ni.com. There are some tutorials and example code. Work through these to see how you could better set up your VI. Post again if you are still encounter the issue!
05-20-2013
01:02 PM
- last edited on
04-11-2025
02:20 PM
by
Content Cleaner
Well, I haven't find out, how to solve my problem, so I tried to use DAQmx instruments for my application. This time I'm trying to generate finite number of samples and then acquire them.
But error didn't disappear. This time it's a message, that tells, that I'm using DAQmx timing in wrong way and I need "On Demand" generation.
I made my VI joining two examples and using this tutorial:
Please, watch this. Thank You in advance.
05-22-2013 07:13 AM
Hi samewings,
You say you are now using DAQmx instruments? What hardware are you using now? Have you tried just analog output in a VI and just analog input in a separate VI? Getting analog output and analog input to work correctly separately would be a good first step. Once AO and AI are working separately, then we can combine them in one VI.
Within LabVIEW go to Help->Find Examples...-> Hardware Input and Output->DAQmx. There are multiple examples for both Analog Input and Analog Output. See if you can get any of these examples working.
05-23-2013 11:43 AM
Thank You for reply.
I found a lot of examples in the Example finder, but all of them concern operations with simple analog outputs(AO Voltage), and I need to use AO FuncGen in my application. So, I've created some application(first attachment) for AO FuncGen, but it throws me an error message 200077 from DAQmx Timing "Requested value is not a supported value for this property. Property: SampTimingTime. Requested value: Sample Clock. You can select On demand".
As I don't exactly now, what instruments are needed for creating AO FuncGen Channel, I've changed my app by removing DAQmx Timing.vi. As I know, this is how on demand generation can be implemented.(second attached VI). But I still have an error, now it's 200846 in DAQmx Write(attached picture).
Can You, please, take a look at those VIs, and tell me how to fix them. Or just give me some reference to examples with DAQmx Function Generator.
Thank You in advance.