11-19-2010 09:36 AM - edited 11-19-2010 09:44 AM
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.
11-19-2010 09:45 AM
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.
11-19-2010 09:54 AM
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.
11-22-2010 03:31 AM - edited 11-22-2010 03:32 AM
Hello,
the solution for your issue is descriebed here (http://www2.rohde-schwarz.com/en/service_and_support/Downloads/Application_Notes?discontinued=all&ty... in chapter 5.4.2, as well as in this thread: http://forums.ni.com/t5/LabVIEW/Error-1073807346-occurred-at-VISA-Write-in-rsspecan-core-write/m-p/1...
BR juergen