FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

FP-2000 FP Read.vi problem : too much time to call

Hi,
 
Since I installed LabVIEW 8.0 and all the latest softwares for Real-Time targets, I have a problem with my FieldPoint FP-2000 when I try to read an I/O on the Fieldpoint :
On the project, when I launch my VI on my computer, the FP Read.vi or FP write.vi executes instantly, so no problem.
But if I launch the exactly same VI on the RT Target, it deploys correctly, but takes about 5-10 seconds to execute EACH call to the FP VIs. It means, if I want to read for example 10 inputs on the Fieldpoint, it will take more than 1 minute! The VI hangs until the FP read executes, but I don't have any error message.
 
I discovered that it was the DLL call that takes a lot of time to execute. If I launch a VI without a DLL call, it will execute instantly.
I verified, the softwares on my FieldPoint target are exactly the same that on my host PC...
 
I hope somebody can help me, I'm very annoyed !
Message 1 of 4
(3,968 Views)
Hi sebk1,
how far I know with this fp-driver version only the FIRST call on every I/O channel takes so much time.
A workaround could be to call all these resources once immedialtely after boot-up. After that you could
enter your continious fast control loops etc. .

Hope, this helps.

Regards,
Thomas.

0 Kudos
Message 2 of 4
(3,927 Views)
Hi Thomas,
Yes it's only the first call that's take time. And yes I can call all my I/O after the boot, but it takes a lot of time (I have 34 I/O to call, with 5-10 seconds for each).
But for the moment it's the only workaround...

Message Edité par sebk1 le 03-01-2006 06:18 AM

0 Kudos
Message 3 of 4
(3,920 Views)
The solution is here : http://forums.ni.com/ni/board/message?board.id=110&message.id=4281
0 Kudos
Message 4 of 4
(3,779 Views)