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: 

Slow Execution or Display Time with DAQmx inputs

Hello All,

I have been using LabView for about 3 months now and have managed to reduce the execution time of an VI from about 20 ms to 3 ms. However, the requirement is less than a ms.
We are looking at only the Torque measurement (Drehmoment). The data is acquired from a Kistler Torque Sensor and then passing through an NI M Series device (SCB-68) comes into the workstation. The data is acquired using DAQmx (can be seen in Multi Global Channels) and then displayed. Now a point is displayed every 3 ms for Drehmoment on the chart. However, I need it faster (about 0.6 ms per point).
Is there something which is slowing down this display.

Please have a look at the attached VI's. A solution needs to be obtained quickly so please respond asap.

Thank You.

Download All
0 Kudos
Message 1 of 6
(2,492 Views)

I am guessing a few are not able to open the attachment above...So I have also attached a PNG file

Download All
0 Kudos
Message 2 of 6
(2,478 Views)

Do you use a Real Time System or Windows?

 

If it's Windows, you're restricted to 1 ms by the the System Clock when you are lucky.

But there might be a way to forward the "timing" to your hardware.


What Hardware (M-Series) do you use?

 

With this information I could help you to optimize your VI.

0 Kudos
Message 3 of 6
(2,443 Views)

Hello Adilo,

I am using a Windows 7 system....with 6 Gb of RAM..
I tried doing it with only the Torque measurement and I got measurement values at every 40 microsec...approx.
But when I put in all the values it shows 3ms.

I am using a SCB-68 M-Series device...pic attached.

0 Kudos
Message 4 of 6
(2,429 Views)

Thank you for the quick answer!

 

Your sensor is connected to the NI SCB-68 I/O Connector Block.

I already understood that, but what card is the connector connected to?

 

Best regards,

Adilo

0 Kudos
Message 5 of 6
(2,404 Views)

I can't help you without the name of your card.

 

Greetings, Adilo

0 Kudos
Message 6 of 6
(2,385 Views)