LabVIEW Code Questions

cancel
Showing results for 
Search instead for 
Did you mean: 

XRS450 Gyro open menu item

I noticed that the Gyro menu only has the Analog gyro open item.   The help example for the XRS450 still opens okay, so it appears the open VI is only missing from the menu. 

 

Is this device no longer supported?  (I realize it is old.)

 

Thanks

Jim

0 Kudos
Message 1 of 3
(1,114 Views)

The Select menu lists both analog and SPI XRS450. I expect both to work, though as you mention, they are both somewhat old. I think I have the SPI gyro on my test bench, but it hasn't been part of standard testing for a bit.

0 Kudos
Message 2 of 3
(1,089 Views)

Maybe I missed how the selection should be made.  I could only wire analog channel to the source input terminal 

 

When looking at WPI_Gyro_Open, the menu name for the XRS450 is empty and the selector is turned off.

 

JimASim_0-1642212796942.png

 

When selecting from the palette only WPI_GyroAnalogOpen.vi is used.

 

I changed "C:\Program Files (x86)\National Instruments\LabVIEW 2020\Targets\NI\RT\vi.lib\Rock Robotics\WPI\Gyro\WPI_GyroOpen.vi" to the following:

 

JimASim_1-1642212944037.png

 

This seemed to now allow the selection.

 

Does the copy in vi.lib need to be changed too?

 

The updated VI is attached.

 

Thanks

Jim

0 Kudos
Message 3 of 3
(1,078 Views)