NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Scan Engine & EtherCAT Custom Device Feedback

Devin,

I did use labVIEW 2012 SP1 for creating the bit file. Towards the end of my bit file compilation, I got an error like this. I am not sure why. I do have NI RIO 12.1 on MAX. Compilation was successful though. Thoughts ?

Error.jpg

0 Kudos
Message 171 of 676
(1,227 Views)

Hi Sankar,

That error looks like you tried compiling by clicking the "Run" button in the VI.  You should instead go to the build specification in the project and right-click to build.  But, looking at the screenshot, it looks like the file compiled successfully, so that shouldn't be the problem.

When you get the 1124 error on deployment, can you check the RT console output?  You can go to http://targetipaddress and then click the "Console" icon on the left to see the RT target's output.  It might give more information about what exactly is not loading correctly.

0 Kudos
Message 172 of 676
(1,227 Views)

Devin,

This is what I see there. Almost idenitical to log status.

ConsoleError.jpg

0 Kudos
Message 173 of 676
(1,227 Views)

Hi Sankar,

The problem was that the VIs used to read/write fixed-point UDVs on VxWorks were incorrectly compiled for PharLap.  Version 4.0.4 should fix the problem.  You can download it here.

Let me know if that fixes your problem!

0 Kudos
Message 174 of 676
(1,227 Views)

Yes that did the trick ! Thanks for the help Devin. Appreciate it.

Regards,

Sankar

Message 175 of 676
(1,227 Views)

Hi,

I just have some general use recommendations regarding documentation.

  • Currently the Command and Status channels do not have descriptions. It would be great to document them. As an example, people may not know that a Scan Mode State of 3 indicates that it is faulted. (1 - Configuration, 2 - Active, etc.)
  • Fault recording would also be useful. At this point if someone experiences a fault they must open Distributed System Manager to review the fault. If possible it would be good to print to the console or have an additional channel which returns the current faulted code so that the user to take the appropriate actions. If this isn't possible, it would be useful to document on the support page that you can use DSM to gather fault information or even why one would receive faults.
  • Lastly, the Cyclic Data Bandwidth default is 40 in the latest version but the help .chm which loads on that page states that it is 20.

Thank you and great work!

National Instruments
Senior Systems Engineer
0 Kudos
Message 176 of 676
(1,228 Views)

I noticed that I am unable to apply a scale to channels defined under the scan engine custom device.  Is there a way to do this or are scales not supported?

Thanks for your help.

0 Kudos
Message 177 of 676
(1,227 Views)

Hmm they should be scalable. I just double checked the code and we are setting them scalable. Is there a specific module you see this problem on?

Stephen B
0 Kudos
Message 178 of 676
(1,227 Views)

I can scale 9205 channels

Stephen B
0 Kudos
Message 179 of 676
(1,227 Views)

I defined a scale in the system def.  I can right click a channel under my FPGA and get a menu that asks me to "Select Scale" (first image).  Also notice the scale icon appears in the tool bar.  If I select a channel under the ethercat, the scale icon goes away and there is no right click menu (second image).

Capture.pngCapture.png

0 Kudos
Message 180 of 676
(1,227 Views)