Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

VI STATUS list???

Hi ALL.
 
According to the Acqiris manual for digitizers it is possible to acquire Warnings if user set incorrect value to the one of scope parameters (it returns ACQIRIS_WARN_SETUP_ADAPTED as a statut for executed function). Meanwhile I didn't find such status list for NiScope functions in it's help (besides VI_SUCCESS which is known by examples)... Where can I get this list of possible statuses?
 
Regards ,Valery.

Message Edited by BABAY on 09-15-2006 09:15 AM

0 Kudos
Message 1 of 2
(4,096 Views)
Valery,

there are two ways to solve the issue:
1st) You know the correct values and catch all settings off these within your application before calling the configuration of the device with these settings.
2nd) The returnvalue of each niscope-function is a numeric value called viStatus. 0 means no error, positive values are warnings, negatives are errors. You could evaluate that. Sadly i cannot provide you with a list for warnings/errors you maybe be looking for, but you can use the number to retrieve an errormessage. The command for this is "niScope_error_message".

hope this helps,
Norbert B.
NI Germany
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 2
(4,063 Views)