03-09-2021 11:47 AM
Can someone point me to any documentation that tells how to simulate a DAQ Card ( PXI-6229) then be able to use Labview to run a VI as thought LV was obtaining data from the channels on the simulated DAQ?
So I simulate the DAQ in MAX?? How? Documents?
How do you hard code say voltages in the simulated DAQ so that when I run my VI it uses them?
Thxs
03-09-2021 01:20 PM
Hi Clint,
@Clint1000 wrote:
Can someone point me to any documentation that tells how to simulate a DAQ Card ( PXI-6229) then be able to use Labview to run a VI as thought LV was obtaining data from the channels on the simulated DAQ?
So I simulate the DAQ in MAX?? How? Documents?
You can create (simulated) devices in MAX. Your 6229 should be one of them…
@Clint1000 wrote:
How do you hard code say voltages in the simulated DAQ so that when I run my VI it uses them?
You cannot "hard code" signals for simulated devices. Analog input channels will give full scale sine waves…
03-09-2021 01:30 PM
Go give this idea a kudo: Interactive DAQmx simulation interface
03-10-2021 06:49 AM
So not to be sarcastic but what is the purpose of creating a simulated DAQ if you can't simulate signals to see if your code is correct?
03-10-2021 07:12 AM
Hi Clint,
@Clint1000 wrote:
what is the purpose of creating a simulated DAQ if you can't simulate signals to see if your code is correct?
But MAX does exactly that: it creates your simulated device and it creates simulated signals.
Those signals don't fit to your expectations, but they fit to the capabilities of the simulated device…
You still can test your code for "correctness" in terms of creating DAQmx channels/tasks and so on.
03-10-2021 07:17 PM
@Clint1000 wrote:
So not to be sarcastic but what is the purpose of creating a simulated DAQ if you can't simulate signals to see if your code is correct?
Testing tasks, configuration, etc. But yeah, actually testing with modifiable signals is not possible from within NI Max. You would need to create your own VIs and use their generated data.
Which is why you should go kudo that idea up there.