Jump to content

Writing to a simulated DAQmx resource


Recommended Posts

I do not think this is currently possible but I have a good use case for it. VI Logger lite is a free program from NI that is a fairly good general purpose data logger, except that it can only log analog input channels. It has a API that can be programmatically controlled

from labview to start, stop, enable logging, read data, etc. Although all channels must be analog, they can also be simulated channels. If you could setup a writable simulated channel then it would be easy to merge other asynchronous data such as RS232 based instruments, state info, etc. into the HW timed data stream. Any thoughts on the subject?

Link to comment

I've heard of the idea of using a simulated card to "playback" data from a file and I think it would be a good addition to DAQmx. You're idea would take it a bit further than I first thought about, and the only thing I can think of would be that it would be a real headache to program for the people who write the simulated card stuff in max...

Link to comment
I've heard of the idea of using a simulated card to "playback" data from a file and I think it would be a good addition to DAQmx. You're idea would take it a bit further than I first thought about, and the only thing I can think of would be that it would be a real headache to program for the people who write the simulated card stuff in max...

It seems like a writable simulated resource should be pretty easy to program. You could generalize things by having the resource read from an array of data that is stored in max, similar to scale tables. MAX already provides an interface for creating new scales so it is not outside the scope of what is already there. You would simple select the data source for the simulated resource to be either the default sine wave or an external table.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.