NI Home > Community > NI Discussion Forums

Data Acquisition Idea Exchange

Showing results for 
Search instead for 
Do you mean 
Announcements
The NI Idea Exchange is a product feedback forum where NI R&D and users work together to submit ideas, collaborate on their development, and vote for the ones they like best. View all of the NI Idea Exchanges to post an idea or add your opinion on an existing one today!
manu.NET

Interactive DaqMx simulation interface ... (Popup panels for simulated hardware) ... Or better, DaqMx Simulation API for process simulation ...

Status: New
by Active Participant manu.NET on ‎03-31-2010 10:37 AM

Hello,

 

How often you have build Labview applications using simulated DaqMx boards ...

And how often you were limited by the default behaviour of simulated boards ... ( Sinewave for analogic inputs, Counter square signal for digital inputs ... )

 

It would be nice to integrate in DaqMx simulated boards, the abilty to modify the default behaviour of simulated inputs ... thru dedicated popups

 

It would be nice, for each task linked to a simulated daqMx board, to launch a popup window ...

 

  • For digital input, give the abilty to modify for each configured channel , the current binary value.
  • For analog input, give the ability to choose between a fixed value, a sine wave, a square signal ... white noise ...
  • For digital output, give the ability to view the current setted values
  • For analog output, give the ability to view the current simulated output value on a waveform chart ...

 

A more powerfull tool could also integrate a simulated channels switching mechanism ... A simulated output could be linked to a simulated input 

 

This feature could be a good way to create an application which could simulate a complete process ... this application could be used to validate a complete system

(such a kind of SIL architecture)

 

Other idea .... A complete daqMx simulation API ...

 

  • Creation of an API which could instanciate a simulated daqMx board (Wich could be seen via MAX)
    • Takes place of the actual limited daqMx simulated board
  • This device could then be accessed by other application thru daqMx
  • This API could have access to all channels of this simulated device.
  • This API could force, programmatically, the value of the simulated input channels according to a realistic process model

 

Something like this ...

 

 

 DaqMxSimulatedAPI.PNG

 

Comments
by Member fabiencmoi on ‎04-22-2010 03:21 AM
hoplà!
by Member TimmTheEnchanter on ‎10-30-2010 05:03 PM

I like this idea, but it would be incredibly difficult to implement.

 

Basically, this would require a software model of how each and every DAQ card will function in every simulated situation:

1) Every DAQ card will need to be characterized

2) in software, according to

3) every single kind of input (or a custom input, as defined by the user), and

4) every possible kind of routing, and

5) these models will need to compare "realistically" to actual hardware

 

Not only would this be a LOT of R&D time and effort spent, but the last point about this model being "realistic" approaches impossible.  Just how accurate does the software model need to be?  To answer that, it would require additional specifications every time a new product is released, and additional support every time a customer finds a certain application where that specification is inaccurate.

by Trusted Enthusiast on ‎03-03-2011 12:35 PM

See:

http://forums.ni.com/t5/Data-Acquisition-Idea-Exchange/Specify-source-of-simulated-device-data/idi-p...

 

This fits in nicely with this idea.

 

I dont understand why this is so difficult, I dont think we need an real world model, just want to acquire simulated data that matches the expected signal, I have never really acquired a slightly noisey sine wave.

I think a property node in the daqmx api called simulated.source (polymorphic) that could take a waveform from constant or array and returnde back on read would not require any simulation models.

by Active Participant gsussman on ‎03-28-2011 08:11 AM

What about a simulation interface similar to the way that the FPGA simulation interface operates? We can simulate the input on any FPGA device by setting the simulation mode in the project?

by Active Participant Alex.T on ‎06-25-2012 05:33 AM

I really like this idea, and it has to be said that we get a lot of requests for implementing custom simulated data with DAQmx simulated devices.

 

I don't think that this would be too difficult to implement, either. I base this purely on the fact that a lot of these features would just need to be built on top of the existing generic properties and methods that all NI-DAQmx Simulated Devices inherit anyway!

by Member stijnhel on ‎10-17-2012 08:51 AM

I don't know how I overlooked this proposal, but after telling it to someone from NI, I've proposed something similar here, getting the response that it was already proposed.  So, I only want to show that I'm interested too!

by Proven Zealot on ‎10-17-2012 09:00 AM

stijnhel, if you are interested give the idea a Kudos.  That is how the folks at NI know our interest in the idea.

by Knight of NI on ‎02-07-2013 04:18 PM

For me, the current simulated devices are completely useless. For example, my process monitors a safety switch, and since the DIO of the simulated device goes high in rapid succession, my simulated process constantly goes into emergency shutdown mode and I cannot realistically operate it unless I have real hardware present or code around it.

 

As an alternative solution, I propose a simple action engine that contains all possible inputs and outputs (with specs and limits defined as for the real device).

 

Now we should be able to create our own VI that runs in parallel and simulates the instrument and interacts with the IO as received via the action engine. It would receive the simulated DAQmx outputs (AO, DO, etc.) as inputs and writes to the inputs (AI, AO) as our instrument would. For example if one of the digital outputs (simulating a valve) goes high, it could sense that and gradually ramp a certain AI up (e.g.. the one measuring the pressure actuated by the said valve) and vice versa.

 

Of course we would only need to implement code for the few connectors that we actually use, so a custom simulated device could be quite simple.

 

The action engine acts as a middle man. The simulated DAQ functions would blindly read and write to the action engine, without really caring what happens to it. 

by Member Dustin_D on ‎03-04-2013 09:42 AM

I can agree with altenbach's first statement for sure.  The only real value the current simulated instruments provide is for someone who is not familiar with the API to make sure the driver (in a software sense) will not scoff at their choice of API calls.

 

Being able to define a simple range/shape of waveform for the simulated output would be extremely useful.  Being able to vary that akin to a function generator would be even better.  There are may cases where NI hardware would be more valuable for purchase if a concept could be proven prior to purchase.  This stems from folks be skeptical of all hardware NI or otherwise but being able to develop applications prior to making a large hardware purchase would be extremely valuable.  Can we at very least hope for a phased approach into this set of features that people clearly would love to use?

by Member BenFre on ‎01-24-2014 01:57 PM

Or coud NI open an interface to self-develop hardware or simulated device for DAQmx Driver? I think this is more about the marketting than programming. 

About Data Acquisition Idea Exchange

Have an idea for new DAQ hardware or DAQ software features?

  1. Browse by label or search in the Data Acquisition Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see implemented!
Idea Statuses
Top Kudoed Authors
User Kudos Count
1
1
1
1