Hi all
I have a strange situation when I call "errorMessage.vi" in various instrument drivers.
If we use an instrument driver which delivered by vendor always has a group vi to operate instrument such as "init.vi","open.vi","close.vi" and usually a "errorMessage.vi" to deal with "error status code" which has been transferred by other VIs and translated by "errorMessage.vi" as an user readable string. e.g. if "init.vi" pass a code "-107354001" and "errorMessage.vi" accept this code and popup a "check your instrument connection."
Just not only when using Agilent drivers but also occur in other instruments.
Please have a look for the attachment1, when I push the statuscode from "initilize.vi" to "errorMessage.vi" the message port show nothing for me, but if not connect the "errorMessage.vi" to accept the statuscode, LabVIEW show a popup message give a right statuscode and message, this is not my expected way to show message, I do not to use LabVIEW warning message, I just want to show the message on UI.
I can use "initialize" and "errorMessage" very well in LabwindowsCVI, the "errorMessage" function show me right message, LabVIEW invoke the same dll, why not show the message on output port of "errorMessage.vi"
********************************
*The best Chinese farmer*
********************************