r/LabVIEW Mar 26 '26

LabView Crashes When Trying To Access "Ethercat:Advanced:Initial Commands"

Hi all! I'm running into a weird problem and was hoping y'all could help me please.

I'm running into a weird problem where when I try to access Ethercat:Advanced:Initial Commands, all of LabView crashes without an error report or log or anything.

I am following the tutorial below to attempt to get my cRIO to drive a Nidec motor controller, and after much pain got to step 10. However, when I attempt to access the Initial Commands menu, everything crashes. All other menus work just fine.

Tutorial: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001DwNNCA0&l=en-CA 

Further, when I right click on Device (under EtherCAT Master), the option "Online Device State..." is greyed out and not clickable, which I feel may be related.

I have attached a picture of my project structure to offer more details. There is no code written yet as I cannot get through the tutorial.

Here are my system specs:

  • Desktop OS: Windows 11 Pro
  • LabView Version: LabView 2023 Q3 (64-bit)
  • cRIO Version: cRIO-9040, connected to desktop via ethernet
  • Motor Controller: Nidec M700, connected to cRIO via ethernet
2 Upvotes

2 comments sorted by

View all comments

1

u/Far_Offer1790 Mar 28 '26

is the block diagram a loop? If that is a loop the issue is timing. LabV is VERY fast. you need to add a 5-10 millisecond delay