ScriptStop Method - intrepidcs API
C/C++ declare -
VB.NET declare
- C# declare - Parameters - Return
Values - Remarks - C/C++ example
- VB.NET
example - C# example
This method stops the execution of a script that is running on a neoVI device.
int
_stdcall icsneoScriptStop(void * hObject);
Visual Basic .NET Declare
Public
Declare
Function icsneoScriptStop
Lib "icsneo40.dll" (ByVal
hObject As IntPtr)
As
Int32
C# Declare
[DllImport("icsneo40.dll")]
public
static
extern
Int32 icsneoScriptStop(IntPtr hObject);
Parameters
hObject
[in] Specifies the driver object created by OpenNeoDevice.
1 if the function succeeded. 0 if it failed for any reason. GetLastAPIError must be called to obtain the specific error.
If a script is executing on the neoVI calling this method will stop it. The script will still be present on the device and can be started again by ScriptStart. The errors that can be generated by this function are:
NEOVI_ERROR_DLL_NEOVI_NO_RESPONSE
= 75
NEOVI_ERROR_DLL_SCRIPT_NO_SCRIPT_RUNNING = 226
Examples
int iRetVal;IntrepidCS API Documentation - (C) Copyright 2000-2022 Intrepid Control Systems, Inc. (www.intrepidcs.com) |
Last Updated : Monday, April 27, 2020