10-11-2018 03:37 PM
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!
10-11-2018 04:13 PM
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.
10-12-2018 04:26 PM
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.