NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Scan Engine & EtherCAT Custom Device Feedback

Sorry for all of that Glad you're up and running    

Stephen B
0 Kudos
Message 221 of 676
(615 Views)

Have you every seen Error 7 upon deployment of the Scan Engine and EtherCAT Custom Device in hybrid mode? The customer is able to deploy in scan mode just fine (modules are also able to be automatically detected), but when they use a custom bitfile in hybrid mode they get error 7 on deployment. The host RIO and Industrial Communication drivers are the same for the host and target. They have built the bitfile with all modules in all slots (even those being scanned) and are using the latest version of the custom device. I'm gathering the FPGA project from the customer to validate what I've been told.

Thank you.

National Instruments
Senior Systems Engineer
0 Kudos
Message 222 of 676
(615 Views)

No I have not. If you can get the error text from the console that would be great before reproducing it

Stephen B
0 Kudos
Message 223 of 676
(615 Views)

I'm attaching the log file. It looks like the Scanned Variable Read (FXP) - 45 bit - unsigned.vi is missing. Looking at my install, it is also missing.

National Instruments
Senior Systems Engineer
0 Kudos
Message 224 of 676
(615 Views)

I just replicated the same behavior on a local chassis system, using a new LabVIEW project calling the customer's FPGA VI and IO variables. I also receive Error 7 stating that the Scanned Variable Read (FXP) - 45 bit  - unsigned.vi is not found.

National Instruments
Senior Systems Engineer
0 Kudos
Message 225 of 676
(615 Views)

I see the issue. Unfortunately this was not listed on our known issues list. I just added it.

The scan engine and ethercat custom device does not support FXP UDVs above 32 bits. They should reduce the precision if possible

Stephen B
0 Kudos
Message 226 of 676
(615 Views)

I have a NI 9082 chassis with a 9411 card in it. I want to use this as a quadrature input.  I see I can configure it as such using the Scan Engine add on.  It lists the 2 quadrature channels on the configuration, but where do I read the quadrature value from to convert it from count to angle?  I only see the 6 DI channels, do I have to make a calculated channel or something. 

Thanks!

0 Kudos
Message 227 of 676
(615 Views)

Hey Joshe,

You can find details about the configuration options here:

http://zone.ni.com/reference/en-XX/help/372603F-01/riohelprt/quad_rt/

As you might be able to tell, you get position and velocity values from quad input... if you need something else you could calculate it.

Stephen B
0 Kudos
Message 228 of 676
(615 Views)

Hi Stephen,

Thanks for the information, but I guess I am still a little confused.  I see in VeriStand I have DI0,1,2 for the quadrature input, will these inputs be returning the count/timebase for the quadrature A and B input?  Is this an X1 count and I would have to add them for an X2 count? What about an X4 encoding?  To find degrees I would have to take the count from DI0 and divide it by the count/revolution multiplied by 360 in a calculated channel?

Thanks for the help.

0 Kudos
Message 229 of 676
(615 Views)

Pretty sure you need an fpga bitfile to get quadrature out with the EtherCAT custom device and the 9411...

0 Kudos
Message 230 of 676
(615 Views)