Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

optimize ethernet settings LV 7.1 RT

I am having trouble with a slow RT, when commands are sent it takes a long time to respond and MAX is slower than usual (two or more minutes to change channel settings).

 

Our program is using TCP/IP to transfer to and from host to RT in case that makes a difference. This is using LV 7.1 and this is RT desktop with some NI DAQ cards.  Both the host and RT are using the Pro 100/S Ethernet card.

 

Attached is the newest NI-RT.ini files, from after I went into advanced Ethernet mode. These
lines were added:

 

 

RTEnetSpeed=100

RTEnetDuplex=half

RTEnetPerformanceManager=0

RTEnetPerformanceDelay=60

RTEnetTTLFieldValue=5

RTEnetTimeoutValue=5

RTEnetMode=0

RTEnetPollingDelay=1



Changing the settings did not appear to help.

 

Also attached are the options for the Pro 100S under windows.

 

Anybody have experience setting up the ethernet for this style RT.  

 

 

0 Kudos
Message 1 of 8
(4,490 Views)
tsksesa-

Are you only seeing this lag time in MAX, or if you setup TCP/IP in the LabVIEW environment with a Host and Client, do you see the lag there too?  We have seen issues with the Pro 100S on RT systems before.  But I want to narrow down exactly what is happening in your setup.

Regards,

Mike S
NI AE
0 Kudos
Message 2 of 8
(4,477 Views)

Mike

 

Mostly with MAX, but also sometimes the LV program it will hang or the refresh will be slow.  I had gatherd from the site that the Pro 100s was one of the recomended cards (and one of the only ones that tradDAQ supports) .  Is there a better card out there that we should know about, we used the broadcoms for some of our DAQmx systems.  

 

TK

0 Kudos
Message 3 of 8
(4,474 Views)
TK-

Which site are you referring to?  Have you noticed your DAQmx systems run slowly or lag?  I know our DAQmx drivers do run more seamlessly than our TDAQ drivers. 
Regards,

Mike S
NI AE
0 Kudos
Message 4 of 8
(4,443 Views)

Mike

 

This is the newer document, there was an older one but it appears to have been pulled down.  

 

I have noticed some slugishness in the response of the DAQmx RT but nothing on the scale of the TDAQ systems.  

 

TK

0 Kudos
Message 5 of 8
(4,427 Views)
TK-

A few more questions for you:

1. What version of DAQmx are you using and what hardware? 
2. How quickly are you trying to acquire data?
3. Are you running two parallel loops, one for data acquisition and one for sending data to the host?
4. Are your loops finishing “Late”?

Regards,

Mike S
NI AE
0 Kudos
Message 6 of 8
(4,410 Views)
My problem is not with the DAQmx its with the TDAQ.  I just wanted to know if I had somewhere near the optimal settings.  The DAQmx is running slow most likely because we are using the same TCP technique that we used with TDAQ and its not the most efficient. 
0 Kudos
Message 7 of 8
(4,383 Views)
tsksesa-

This is all dependent on your network and the hardware you are using such as switches etc.  The more reliable method for your system would be using a crossover cable directly connected to your host.  This will ensure there are no network issues with your communication. 
Regards,

Mike S
NI AE
0 Kudos
Message 8 of 8
(4,366 Views)