LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the fastest method of reading Field Point Digital I/O?

I have a Field Point system with an FP2010 and an FP-DI-330. The speed of reading the byte of inputs seems to be around 7ms.
 
What is the typical speed of reading?
 
7ms seems to be painfully slow.
I have minimized the code by setting up the Create Tag outside of my while loop.
 
Thanks,
Chris
0 Kudos
Message 1 of 4
(2,570 Views)
Chris,

This does seem a little long, if this is an embedded application. This module has a maximum input delay time of 1.2ms, so it will certainly be greater than that. What version of LabVIEW do you have? Are you running this code on the FieldPoint controller (with LabVIEW RT), or are you simply running code on the host PC and acquiring data from the modules? The delay may not be unreasonable for a network with a decent amount of traffic and the latter configuration. Also, if you are running this on the controller, but are still connected to LabVIEW on the host PC, this will also cause a delay. Perhaps you could try 1000 reads in a loop (not displaying any vaules from inside the loop), then display the average loop time. Timed loops with a high priority may also increase this rate.

Hope this helps,
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 2 of 4
(2,549 Views)

Ryan,

Thanks for the reply. I will not be back into the office to check out anything more until Jan. 3 or 4.

The code is running on the Field Point module RT style. I am running LV6.1. There may be a problem with the address and since there is no good error reporting off of field point, maybe the RT OS is doing something odd until it times out on a non-existant module or some such. Anyway, this will have to wait until next week.

Thanks,

Chris

 

0 Kudos
Message 3 of 4
(2,540 Views)

Ryan,

Thanks for the reply. I will not be back into the office to check out anything more until Jan. 3 or 4.

The code is running on the Field Point module RT style. I am running LV6.1. There may be a problem with the address and since there is no good error reporting off of field point, maybe the RT OS is doing something odd until it times out on a non-existant module or some such. Anyway, this will have to wait until next week.

Thanks,

Chris

 

0 Kudos
Message 4 of 4
(2,539 Views)