LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

program does not work after build

Hi,

 

I have built a program today that builds fine (no errors or warnings) but it fails when running the exe.  I am using drivers for a spectrum analyzer (Rohde & Schwarz FSG) and when one of these drivers is called, it returns an error.  Other drivers are run before this particular vi.  Anyone have any idea how to troubleshoot this?  I'm going to try and build the vi on its own and see if it works.  In the mean time, if anyone has any suggestions, please let me know.

 

UPDATE: I built the file on its own and it still does not work.  Again, when I run it in developer mode, it works fine.

 

VISA Write in rsspecan_core_write.vi->rsspecan_core_attribute_write_int.vi:3->subrsspecan_core_attribute_express.vi:2->rsspecan Configure Averaging Type.vi:Instance:Instance           1 41Saved   rsspecan Configure Averaging Type .vi:1->rsspecan Configure Averaging Type.vi

 

Thanks.

0 Kudos
Message 1 of 4
(2,590 Views)

hatemachine,

 

Exe's usually run faster than a vi running in development mode.  Sometimes when communicating with instruments this means things happen faster than the program expects.

0 Kudos
Message 2 of 4
(2,578 Views)

I've decided to post the vi since it is free to download.  If anyone has an FSG and wants to build this file and see if they can run it, please do so.

0 Kudos
Message 3 of 4
(2,566 Views)
0 Kudos
Message 4 of 4
(2,537 Views)