LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Right-Click menu appears as default in build even when it was configured to be disabled during development

Solved!
Go to solution

The right click was disabled for graphs by creating a custom RTM file. In development environment, when I run the VI, it seems to work just fine. I built the exe and ran it, the right click context menu appears.
Why is this so?

NI System Configuration:
- NI PXIe-1071, 4-Slot 3U PXI Express Chassis , 1 GB/Slot throughput, Part Number: 781368-01
- NI PXIe-PCIe8381,x8 Gen2 MXI-Express for PXI Express Interface,3m, Part Number: 782522-01
- PXIe-5160 PXI Oscilloscope, 500 MHz, 10 bits, 2.5 GS/s, 2 Channels, 64 MB, Part Number: 782621-01
- Astronics PXIe-1209 2-Channel, 100 MHz PXI Pulse Generator, Part Number: 785033-01
0 Kudos
Message 1 of 3
(2,337 Views)
Solution
Accepted by topic author asukumari
  • Make sure the rtm file is included when building the exe.
  • I typically use appropriate mouse-down filtering events to disable certain clicks. Would that work for you?
0 Kudos
Message 2 of 3
(2,325 Views)

Thank you.. I had to add the RTM file to the project for it to show in the Source Files category. Once it showed, I included it in the build and the build works correctly now.

 

Thank you.

NI System Configuration:
- NI PXIe-1071, 4-Slot 3U PXI Express Chassis , 1 GB/Slot throughput, Part Number: 781368-01
- NI PXIe-PCIe8381,x8 Gen2 MXI-Express for PXI Express Interface,3m, Part Number: 782522-01
- PXIe-5160 PXI Oscilloscope, 500 MHz, 10 bits, 2.5 GS/s, 2 Channels, 64 MB, Part Number: 782621-01
- Astronics PXIe-1209 2-Channel, 100 MHz PXI Pulse Generator, Part Number: 785033-01
0 Kudos
Message 3 of 3
(2,286 Views)