cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Does AMC library slow down application (.EXE) versus running VIs?

Highlighted

Does AMC library slow down application (.EXE) versus running VIs?

Hello all,

 

I'm using LabVIEW 2014 SP1. I have a simple project where I'm reading data from an FPGA (on NI-9146) and sending the data to a datalogger VI for logging in a TDMS file. I have a separate VI for reading & processing FPGA data, and a separate VI for datalogging. I use the AMC library for sending local messages between the 2 VI's.

 

I noticed that the VI's have a loop rate of 40ms, as the timestamps in the TDMS file are 40ms apart. However, when I build an application (.EXE) it seems to slow down. The timestamps are 1sec apart. 

 

Does the AMC library actually slow down the application? 

 

Also, what is the maximum speed achievable using AMC messages?

 

Thanks!

0 Kudos
Message 1 of 3
(70 Views)

Re: Does AMC library slow down application (.EXE) versus running VIs?

There should be little difference in execution time between running as a built .exe versus in the development environment. Most likely your issue is unrelated to the AMC messenger library. 

0 Kudos
Message 2 of 3
(56 Views)

Re: Does AMC library slow down application (.EXE) versus running VIs?

I agree with Paul. If you are using the local messaging API the AMC library is just wrapping up the enqueue and dequeue primitives so I wouldn't attribute the slowdown you are seeing to that library. Hard to tell exactly what it might be without any code though.

Matt J
National Instruments | CLA/CTD
0 Kudos
Message 3 of 3
(19 Views)