LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to perform datalogging in a file using RT controller and a host PC?

I'm Using PXI-8145RT Controller and a Host PC(Dell Laptop),I used the TCP/IP DAQ Vi's but Im getting problems in logging data into a file at the Host using the Vi's .For 3 Channels the program works fine but as I increase the Number of Channels the program stops running on the RT Controller! Do we have to configure some TCP/IP settings for this or i have to use some other methods for datalogging into a file on the host using an RT Controller on the ethernet.
0 Kudos
Message 1 of 2
(2,863 Views)
If you increase the number of channels and the RT program stops running, it could be that your scan rate is too fast for the increased number of channels on the 8145. First try to lower your scan rate by a large amount (a factor of 10, for example) to see if this is the problem. If you still see the same behavior when going above 3 channels of input, I would suggest looking at the following links for more information on communication with RT.

General Communication Info:
NI Developer Zone: Communicating with a Real-Time Engine

Specific Documents:
NI Developer Zone: Real-Time FIFO for Deterministic Data Transfer Between VIs
NI Developer Zone: TCP/IP between the Host PC and Real-Time Series Hardware

Furthermore, if you are using LabVIEW RT 7.0, I would highly suggest the use of the RT Communication Wizard. It will create the communication portion of your RT application for you.
0 Kudos
Message 2 of 2
(2,863 Views)