I have developed a application that controls Agilent 34980A RF switches and an N9020A spec An, using Excel as database.
My user interface imports 2 User functions:- 1. -Switch control of the 34980A switches and 2.-Specan interface.
If I run the application within the VEE development enviroment I have no problems with the 2 import fuctions operating. (program runs where I am able to control the SpecAn and the switches), but when I try to create a runtime version only the function controlling the 34980A switches is imported, while the Specan function is "not seen", error message - "launchSpecAn not found".
(launchSpecAn is the name of the function I am importing) - see attached files
Can anyone please provide any input where I maybe going wrong? I googled my "but off" :)
Kind Regards
Matthew Alamangos
Perth, WA
My user interface imports 2 User functions:- 1. -Switch control of the 34980A switches and 2.-Specan interface.
If I run the application within the VEE development enviroment I have no problems with the 2 import fuctions operating. (program runs where I am able to control the SpecAn and the switches), but when I try to create a runtime version only the function controlling the 34980A switches is imported, while the Specan function is "not seen", error message - "launchSpecAn not found".
(launchSpecAn is the name of the function I am importing) - see attached files
Can anyone please provide any input where I maybe going wrong? I googled my "but off" :)
Kind Regards
Matthew Alamangos
Perth, WA
I'm a big fan of neatness in VEE: I think it well worth the few minutes needed to put things into a logical and tidy fashion, so I was pleased to see your code ( or at least that which you posted! ) was easy-to-read.
I'm thinking your problem is simple to fix: the order of running unconnected threads is 'undefined', so, unless there is anything connected to your import of Specan lib then the bug is that the call to the library happens before the import.
Very easy to fix that of course: typically I have an 'Initialise' UF ( UserFunction ) which has all imports, setting of defined variables etc. before anything else is run. You could do the same or simply connect the sequence out pin of your Specan import to the sequence in pin of the other imports.
Please re-post if that is already the case ( but not shown in your Word doc ).