• 0
Sign in to follow this  
norbe13

Recording Data Labview Discovery

Question

Hi everybody,

 

I'm trying to acquire digital data from a digital discovery employing LabVIEW and WaveForm SDK. In fact, I would like to acquire continuous time data. However, I can not acquire any data. This is a picture of my .VI. This VI also generates output signals but it does works.

1228828598_Screenshot2019-07-03at18_18_13.thumb.png.2052d1cb34d162853f1910ca78b67fc9.png

2018332142_Screenshot2019-07-03at18_43_51.thumb.png.93d1802daddc41f5762e83b50b4c3772.png

I noticed that "psts out" is never "stsDone". In fact, it is nothing. I have tried a lot of thing in order to capture data but nothing works. 

 

Could some one give me a working example of recording data with SDK or something related? or just help me with my problem? Thank you

 

 

CLK.vi

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I think my problem is, mainly, in FDwfDigitalInStatusData because the input argument is a pointer to a buffer to save data. However, I don't know how to that in LabView. Could someone help me? Thank you in advance.

Share this post


Link to post
Share on other sites
  • 0

Hi @norbe13,

I apologize for the delay. I'm not sure of the recording capability built into the LabVIEW set of VIs, but there are a couple of threads that might be of help to you here and here. Maybe @attila will have some more advice for you.

Thanks,
JColvin

Share this post


Link to post
Share on other sites
  • 0

I got the same problem with analog acquisition. The State you get is always DwfStateReady. In analog acquisition I solved the issue by using Record Acquisition mode. Sadly for the Digitial In Module there is nothing compared available.

This is my thread:

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this