NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Scan Engine & EtherCAT Custom Device Feedback

I installed RIO 13.0.1 - it doesn't show up as an update when installing software on an RT target.  I selected reinstall anyway for all RIO drivers with no apparent change.

Sync or async mode makes no difference.  When I try to run faster than 500hz I will either get a deploy error ("This module cannot be configured while"...) or it deploys but the data is all zeroes.

In LabVIEW I can run a single channel scan at over 10khz with what appears to be valid data and no late counts on my timed loop, however the point isn't that 10khz is valid or not, but that I can run faster than 500hz.  I have acquired all 32 channels (of a NI-9206 in a NI-9144) at 2khz in LabVIEW Real-Time using the scan engine (which should take approximately 256 usec(assuming 8usec/ch) + overhead & transport delay).

Is there something wrong with my setup or can I not get over 500hz from EtherCAT and a NI-9206?  It seems like I should be able to get well over 1khz...

0 Kudos
Message 191 of 676
(975 Views)

Hello Devin,

You had previously helped me create a fpga based personality for exposing channels on NI 9381 C series module. I currently use:

  • cRIO 9075 with VxWorks OS
  • I was previously using Veristand 2012 evaluation version. Now I am using Veristand 2013 full development version

The UDV was working perfectly fine before but gives me the following error now (in veristand 2013)

Details:

Error -307970 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi

Possible reason(s):

NI VeriStand:  An inline custom device attempted to access invalid data in the VeriStand Engine. The inline custom device attempted to read or write data using an invalid reference, or a reference that did not have the read or write access required for that operation.

=========================

NI VeriStand:  NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi >> NI VeriStand Engine.lvlib:VeriStand Engine.vi >> NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi >> HP Loop.lvlib:HP Loop Main.vi

List of software installed on my cRIO:

Software.jpg

Please let me know if I am doing something wrong. I did check synchronize NI veristand to scan engine version = 4.1.2

Regards,

Sankar

0 Kudos
Message 192 of 676
(975 Views)

Bumping my previous question: Has anyone run over 500hz with a 9206 module scanning 32 channels?  This should definitely be possible but my system is not letting this happen - getting frustrated...  All drivers updated, not CPU limited, etc.

0 Kudos
Message 193 of 676
(975 Views)

I have with a 9205 module. This is from memory, but I think you can get near 3kHz before it throws a very specific error about the multiplexing delay slowing you down. Then you have to go change the default delay from 8uS down to 4uS to go further.

500 Hz sounds like a differnet problem. What error do you get? Have you installed the RIO jitter pactch (13.0.1, see known issues on the custom device page) and latest version of this custom device?

Stephen B
0 Kudos
Message 194 of 676
(975 Views)

Actually, I just read your previous post. Sorry about that. I'll get a 9206 and try it out. What target are you using?

Stephen B
0 Kudos
Message 195 of 676
(975 Views)

Sankar,

That is not good. It clearly looks like a custom device bug.

Can you provide the bitfile for me to test with?

Stephen B
0 Kudos
Message 196 of 676
(975 Views)

Sankar,

also, did you see any error text posted to the console? could you copy and paste it here? view the console by visiting http://<ip address of target>

Make sure to click console on the left and then hit deploy so the error comes up

Stephen B
0 Kudos
Message 197 of 676
(975 Views)

Sankar,

I've reproduced the issue and I'm looking into it now.

Stephen B
0 Kudos
Message 198 of 676
(975 Views)

Stephen - target is desktop PC real-time system (i7 quad core)

0 Kudos
Message 199 of 676
(975 Views)

Can you verify hyperthreading is off?

Stephen B
0 Kudos
Message 200 of 676
(975 Views)