From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquisition Time issue on Simulated Oscilloscope device (PXIe 5105)

Solved!
Go to solution

I used a simulated Oscilloscope (PXIe 5105) for code development.

I noticed that the timing is not correct for the acquisition.

For Example, the Sample Rate was set to be 10kS/s, and record length is 8MS.

So the acquisition time should be 800s (10kS/sX800s=8MS).

In the small vi I wrote, the simulated device was initialized and configured first. Then after a software trigger was set and initialize, a while loop was used and in the while loop the backlog was fetched immediately. When the vi was started, the backlog size gives 8e6 immediately. This is clearly not right.

 

I have read on http://www.ni.com/tutorial/3698/en/, that a simulated device created in NI-DAQmx 8.3 and later do simulate timing, which means Task read and write operations will simulate the actual time they would take to complete as if they were being run on a physical device.  But PXIe5105 is not a DAQmx device.

 

So is it true that Simulated Oscilloscope does not simulate timing? 

Will this feature be supported in the future driver, like DAQmx driver?

 

Environment

LabVIEW 2016, NI Scope 18.7, Signal Express 2015

 

Download All
0 Kudos
Message 1 of 2
(2,076 Views)
Solution
Accepted by topic author zxzhaohui

Hi, 

Simulated devices do not simulate timing.Simulated Devices.PNG

 

0 Kudos
Message 2 of 2
(2,028 Views)